About the code

Thank you for providing such nice work here. Do you have any plans to release the project code recently?

Sorry for the late reply.
Codes are going through some intellectual property-related routines.
It will be released as soon as the process is completed. :)

Thank you for providing such nice work here. Do you have any plans to release the project code recently?

Sorry for the late reply.
Codes are going through some intellectual property-related routines.
It will be released as soon as the process is completed. :)


First step towards getting java8 workaround for maven.

schroederc has #3093 in, which breaks maven/gradle stuffs, need to fix
forward.

Ah nope, this is insufficient.  It did fix the first bit:
$ docker run  -v /tmp/someoutdir/:/tmp/someoutdir/ -v /tmp/somecoderepo/:/repo \
  -it extractiondockerfile1234567 /bin/bash

# jar tf /opt/kythe/extractors/javac8_extractor.jar | grep com/sun/tools/javac | wc -l
1244

But more problems remain:
# TMPDIR=/tmp/waterr \
KYTHE_ROOT_DIRECTORY=/repo \
KYTHE_OUTPUT_DIRECTORY=/tmp/watout \
REAL_JAVAC=`which javac` \
JAVAC_EXTRACTOR_JAR=/opt/kythe/extractors/javac8_extractor.jar \
mvn clean install \
-Dmaven.compiler.forceJavacCompilerUse=true \
-Dmaven.compiler.fork=true \
-Dmaven.compiler.executable=/opt/kythe/extractors/javac-wrapper.sh

<bunch of output>

# ls /tmp/watout
(nothing)

# cat /tmp/waterr/javac-extractor.err
no main manifest attribute, in /opt/kythe/extractors/javac8_extractor.jar
no main manifest attribute, in /opt/kythe/extractors/javac8_extractor.jar

TMPDIR=/tmp/waterr \
KYTHE_ROOT_DIRECTORY=/repo
KYTHE_OUTPUT_DIRECTORY=/tmp/watout
REAL_JAVAC=which javac
JAVAC_EXTRACTOR_JAR=/opt/kythe/extractors/javac8_extractor.jar
mvn clean install
-Dmaven.compiler.forceJavacCompilerUse=true
-Dmaven.compiler.fork=true
-Dmaven.compiler.executable=/opt/kythe/extractors/javac-wrapper.sh

The command listed above is incorrect.  JAVAC_EXTRACTOR_JAR should still be the Kythe extractor jar.  KYTHE_JAVA_RUNTIME_OPTIONS should include -Xbootclasspath/p:javac-9-dev-r4023-1.jar

current guess is that mvn needs to have a maven.compiler.source/target that is explicitly set
the fact that I didn't package any editor into the docker image was, in retrospect, a dumb decision.  no vi/vim/emacs/nano/ed/?? to edit files with.

current guess is that mvn needs to have a maven.compiler.source/target that is explicitly set
the fact that I didn't package any editor into the docker image was, in retrospect, a dumb decision. no vi/vim/emacs/nano/ed/?? to edit files with.

Well that was indeed sufficient to make the error go away:
# rm -f /tmp/waterr/* /tmp/watout/* && TMPDIR=/tmp/waterr KYTHE_ROOT_DIRECTORY=/repo KYTHE_OUTPUT_DIRECTORY=/tmp/watout REAL_JAVAC=`which javac` JAVAC_EXTRACTOR_JAR=/opt/kythe/extractors/javac_extractor.jar KYTHE_JAVA_RUNTIME_OPTIONS=-Xbootclasspath/p:/opt/kythe/extractors/javac8_extractor.jar mvn clean install -Dmaven.compiler.source=1.6 -Dmaven.compiler.target=1.6 -Dmaven.compiler.forceJavacCompilerUse=true -Dmaven.compiler.fork=true -Dmaven.compiler.executable=/opt/kythe/extractors/javac-wrapper.sh

# cat /tmp/waterr/javac-extractor.err
(nothing)

but still no output, so that wasn't the right idea:
# ls /tmp/watout/
(nothing)

current guess is that mvn needs to have a maven.compiler.source/target that is explicitly set
the fact that I didn't package any editor into the docker image was, in retrospect, a dumb decision. no vi/vim/emacs/nano/ed/?? to edit files with.

Well that was indeed sufficient to make the error go away:
# rm -f /tmp/waterr/* /tmp/watout/* && TMPDIR=/tmp/waterr KYTHE_ROOT_DIRECTORY=/repo KYTHE_OUTPUT_DIRECTORY=/tmp/watout REAL_JAVAC=`which javac` JAVAC_EXTRACTOR_JAR=/opt/kythe/extractors/javac_extractor.jar KYTHE_JAVA_RUNTIME_OPTIONS=-Xbootclasspath/p:/opt/kythe/extractors/javac8_extractor.jar mvn clean install -Dmaven.compiler.source=1.6 -Dmaven.compiler.target=1.6 -Dmaven.compiler.forceJavacCompilerUse=true -Dmaven.compiler.fork=true -Dmaven.compiler.executable=/opt/kythe/extractors/javac-wrapper.sh

# cat /tmp/waterr/javac-extractor.err
(nothing)

but still no output, so that wasn't the right idea:
# ls /tmp/watout/
(nothing)

Ah ah!
But actually we don't care if this works!  Because lo and behold, my binary runextractor already goes in and mucks with pom.xml to set the right things:
Sure enough:
# /opt/kythe/extractors/runextractor maven -pom_xml pom.xml -javac_wrapper /opt/kythe/extractors/javac-wrapper.sh

# ls -l /tmp/realoutdir/
total 12
-rw-r--r-- 1 root root 9873 Oct  2 23:44 extractor-output.kzip

yea :)


Does it have echo cancellation?

I am currently looking a voice chat solution for my game and your project is 100% hit.
However, I consider echo issue might be disturbing to the point no one would ever use that chat.
So, does it have echo cancellation in some kind?

Sorry, this is super late and probably irrelevant to you by this point, but the answer is yes, it does. Rather than echo cancellation there is ‘echo prevention’ meaning that the audio data is not sent to the client that recorded it. The reason why you hear an echo in the example project is because I set it up intentionally this way, to ensure that the audio was being sent.
If you are still interested in this project, I am going to update it soon to fix some core issues such as lack of optimisation and flexibility. If you have used a different solution or have moved on, I’m glad that you took an interest in this anyway!
Have a good day.


Add relative names and imports

I'm not sure if the code is good enough so i'm going to find ways to improve it without having to modify the AST type.
Now top-level definitions and variables can use relative identifiers and aliases to make names shorter e.g:
A/B/c.kind2
// Instead of writing "A.B.c : ..." we can simply use the current folder operator "/".
/c : U60
/c = ./d // We can navigate back using dots in front of the slash

// I'm defining this function in the previous folder (I navigated back using the
// dot in front of the slash) so the absolute name of the function is "A.d"
./d : U60
./d = 2

main.kind2
// I can make an alias like that
use A.B as C

Main : U60
Main = C/c // Instead of a dot, we use the backslash to use the alias.

I really don't like that . in absolute paths means "go forward" and in relative paths it means "go back"

If we're going with . and /, why not just use unix convention?
/name1/name2/name3 for an absolute path
./name1/name2/name3 or name1/name2/name3 for a relative path

Personally, I don't think relative paths are even needed, a use User.developedby.LibWithALargeName as mylib already covers basically every use case.
I also don't think having a different syntax for non-absolute paths is needed. It's reasonable to expect the user to know what names they aliased in the beginning of a file and it's cheap for the parser/compiler/etc to resolve these paths even if they use the same syntax as absolute paths. To me there isn't any real advantage to making this distinction.

The structure of the code looks good to me.
I think relative paths are important, though, because if you have multiple small files in a long sub-namespace, then use might start getting overwhelming. For example:
// Apps.AcademyOfCats.Board.Map.Restricted.get_range.kind2

use Apps.AcademyOfCats.Board.Map as Map
use Apps.AcademyOfCats.Board.Map.Unrestricted as UMap
use Apps.AcademyOfCats.Board.Map.Vec as Vec
use Apps.AcademyOfCats.Board.Map.Result as Res
use Apps.AcademyOfCats.Board.Entity as Ent

/get_range (map: Map/) (from: Vec/) (to: Vec/) : Res/ (List Ent/)
/get_range map from to = UMap/get_range map from to

VS
// Apps.AcademyOfCats.Board.Map.Restricted.get_range.kind2

/get_range (map: ../Map) (from: ../Vec) (to: ../Vec) : ../Res (List .../Ent)
/get_range map from to = ./Unrestricted.get_range map from to

The point is that use works well when you have a small list-of-imports vs size-of-file ratio, but if the size of the file itself is small, then the imports become substantial noise.

I agree with most of your points, but I still don't see the need for using /.
Why not write .name for a relative name in the same folder, ..name for a relative name in a folder above and .name1.name1 for a relative name one folder down?
Also why not just shadow names by default? If the user conciously chose to use Map as the alias for their structure I think it's fine if they can't access the base Map anymore, they're the ones that chose that name so I don't think there'll ever be any confusion.

Why create conflicts when we can not create conflicts? Is it something about the aesthetics of the / symbol in particular? I don't get it. I think using / is a good idea precisely because it doesn't conflict with anything, it becomes a symbol with a well-defined semantics (it expends to a larger name) and there is no risk someone will use Map, then realize they actually want the base Map and need to rename everything. Also I really like the clarity aspect of being able to read a name and know what it refers to. If I read Map.get in a file, I know it refers to Map/get.kind2, I can assume that in a glance, no need to also look the import list to be sure it isn't anything else.

Because having two different syntaxes for referring to names is annoying, adds to the list of things you have to keep in mind at all times when writing/reading code and creates a lot of opportunities for making mistakes.
I'd also argue that if you have a relative Map you definitely don't want to have an absolute Map at the same time. Just imagine a code like
let name = Map.get base_map "key"
let my_map = Map/set my_map "key" name

Super confusing and error-prone.

Okay, let's remove the relative imports and keep qualified imports. But I then agree with you both that you should be able to shorten names in the same file. Can we do it?
use Foo.Bar.Map as M

causes

M/name

to expand t o

Foo.Bar.Map.name

And
top_level_definition

causes

to_level_definition

to expand to

Full.File.Expansion.top_level_definition


Custom linux build

{"GOOS":"linux","GOARCH":"i686","addons":"github.com/caddyserver/forwardproxy@caddy2=github.com/sagernet/forwardproxy@latest"}

GOARCH的参数请参考 https://go.dev/doc/install/source#environment

感谢，我再试试


PlantUML support

Add a formatter for the PlantUML format

Added formatter for PlantUML that supports current features:

Classes
Interfaces
Inheritance


Tower of hanoi in JAVA

🚀 Feature
Have you read the Contributing Guidelines on Pull Requests?
Yes
Pitch
Tower of Hanoi is a mathematical puzzle where we have three rods and n disks. The objective of the puzzle is to move the entire stack to another rod, obeying the simple rules:

Only one disk can be moved at a time.
Each move consists of taking the upper disk from one of the stacks and placing it on top of another stack i.e. a disk can only be moved if it is the uppermost disk on a stack.
No disk may be placed on top of a smaller disk.

/assign


T223427 - Replace ChangeProp service with TesttServer from service-runner

I linted the tests and replaced the service.

Please rebase on #317 so that we have Travis on our team for this one.

Hm... The tests pass locally... Please rebase so that we could see what's up with travis.

The test failures are definitely unrelated, I'll look into the test separately. LGTM!
Please resolve the ticket


Ews type contact

We shouldn't actually merge this to xml-parser-invalid-chars-fix, but here you can comment on the work that has been done.
If you think we should merge this branch and xml-parser-invalid-chars-fix to master, by all means we can.

Is this going to merge cleanly into Viewpoint upstream? We really want them to take this PR so can you ensure that's the case and open the PR with them?
I'm fine with this the way it is for our app


rig (running on opensuse) does not find system installed R.

R installed by opensuse zypper.  R version 4.3.  rig does not find the installed R package as either user run or root run.
rig list     ---> shows nil
`(base) tom@mydesktop:~> rig list

name  version  aliases

(base) tom@mydesktop:~>
`
Does rig need some environment set up ?

Rig does not do anything about the built in R version, it doesn't even see it, so this is normal.
It creates its own R installations.


Publishing error messages

When publishing a new work or version, any errors need to be styled appropriately.
WDLL

style the overall errors at the top of the page
make each error field appear in red

Fixed in #538


Merge pull request #1 from rg3/master

Update from original

I think you've gotten the wrong place.


Introduce a framework for hooks at different stages of request processing

:tada: :tada:  Does this mean the next release will contain the possibility to write modules and use them?

@muuki88 Sure. you can already try it. Documentation is coming soon.
For now, please see unit-tests for example usage.


Document how to deactivate periodic deploy in environment settings (#7704)

Pull request opened by the merge tool on behalf of #7704

Merged into branches iso6 in efcdf24f76e0a3de8299b3c4c7f1294899436fa1


Can i use CSS to format the PDF output?

Hello,
Can i use CSS (Prefered way) to format the PDF Output?
Thanks!
Johan

Sorry, please provide more info.
This tool compiles your markdown in Obsidian through Pandoc.
It can only do what pandoc does.
Does pandoc do this? (I havent looked).
If so show where.
Your best bet for now might be to try running pandoc from the terminal and seeing how far you can get.


Registration

@furkantanyol the username is already taken, please try with another

The check fails again. Here is the related part from README:
Create a new public repository called "my-links". (You can also fork this) This repository should contain two files:
page.json, which contains the content of your page.
[Optional] custom.css, which allows you to customize the look of your page.

You are trying to add your page.json to this PR but you should not do that. You should create your my-links repository instead.


Filter records which are indexed

Description
I have Firestore records with different publishing status (public, private, draft etc) and only want to include the public records in the search results. How can I achieve that today? If not available, it's a very clear feature request
Expected Behavior
Some kind of filter in the Firestore extension I assume?
OS:
Typesense Cloud :-)

While the extension does not have a way to filter records that are indexed, you can limit which records show up in the search results using a filter_by clause embedded inside a scoped search API key.


ExtractPluginMissingException

I'm trying to use svg-sprite-loader in extract mode but I get the error:
Module build failed: ExtractPluginMissingException:
svg-sprite-loader exception. svg-sprite-loader in extract mode requires the corresponding plugin

Webpack
const SpritePlugin = require(`svg-sprite-loader/plugin`)
...
module: {
  rules: [
    {test: /\.(png|jpe?g|woff2?|ttf|eot)$/, loader: `url-loader`},
    {test: /\.svg$/, loader: `svg-sprite-loader`, options: {extract: true}}
  ]
}
plugins: [
  ... ,
  new SpritePlugin()
]

As soon as I remove options: {extract: true} from rules, it works but I get svg list in my html.
However I want svg list out of my html file.
Usage
import appLogo from './app-logo.svg'

const AppLogo = () => (
  <svg>
    <use href={appLogo.url}/>
  </svg>
)

Enviroment

Node.js version: 10.4.0
webpack version: 3.10.0
svg-sprite-loader version: 3.8.0
OS type & version: windows 10

Could you please create repo with minimal setup to demonstrate a problem (package.json, webpack config, SVG image and piece of your code). If you don't want to create a repository - you can create a gist with multiple files.

@sultan99 ping

I don't know for @sultan99 but I had the problem when linking my build library (NPM module containing the Webpack configuration).
In that case the NAMESPACE constant is /var/workspaces/application/node_modules/svg-sprite-loader/lib and the key in the compiler context is /var/workspaces/common/node_modules/svg-sprite-loader/lib.
It might be caused by this configuration in my "common" module I used to properly resolve loaders while developping in linked mode.
resolveLoader: {
            modules: [
                path.join(config.dir, 'node_modules'), // config.dir == __dirname of the application
                path.join(__dirname, 'node_modules') // __dirname of the common module
            ]
        }

I have the same problem here, using webpack 4. It appears, webpack changed the structure of some internal data, so the loader can't find the plugin anymore. The point where it fails seems to be https://github.com/kisenka/svg-sprite-loader/blob/af52b750bd91c0bbc6b3be5eaf0afe4817244ec9/lib/loader.js#L49
Hope this helps!

Any progress on this issue? I have same problem now. In building prod svg-sprite created, but not connected to index.html. In dev mode - every single svg processing produce same error:
'ExtractPluginMissingException: svg-sprite-loader exception. svg-sprite-loader in extract mode requires the corresponding plugin'

@adenisovgit
I have resolved the issue, please check it here: https://github.com/sultan99/pizza-order
after running npm run build
In public folder you will find sprite.svg file which contains all svg (sprites). Check webpack.config and svg plugins. You don't need ramda or cdn plugin.

@kisenka I'm really sorry, I have missed your reply. As I mentioned above, I have resolved it but not sure how far is it in correct way.


Inquiry about accept length results for EAGLE-Qwen2-7B-Instruct

Hi EAGLE Team,
Thank you for your contributions to the community!
I downloaded the released weights for EAGLE on Qwen2-7B-Instruct from https://huggingface.co/yuhuili/EAGLE-Qwen2-7B-Instruct. However, while testing the weights on the MT-Bench dataset, I noticed that the accept length is relatively low as follows:
Model:Qwen2-7B-Instruct
Dataset:MT-Bench
EAGLE version: EAGLE-1

accept length
tree draft
chain draft

t=0.0
2.14
1.69

t=1.0
1.71
1.50

For your information, I successfully reproduced the EAGLE1-Vicuna-7B results, achieving an accept length of over 3. Additionally, I have utilized your newly released Qwen2-related codes (modeling_qwen2_kv.py) from the EAGLE-2 code branch; however, I was unable to run it successfully with the EAGLE-2 code branch, as mentioned in issue 136. Consequently, I adapted the Qwen2-related codes to the EAGLE-1 code branch for testing.
I'm curious about the low accept length I'm experiencing with EAGLE-Qwen2. I see that only the weights for EAGLE-Qwen2 were released, without accompanying results. Could you please share the accept length or any other results for EAGLE-Qwen2 on MT-Bench?
Thank you!

Thank you for your interest. Could you please provide more detailed error information from Qwen on the main branch?

As for the error on the main branch:
1.the function “initialize_tree” in utils_alpha.py returns 5 arguments, whereas the “forward” function in ea_model.py outputs only 3 arguments.
2.I noticed that the authors removed the “logits_processor” argument from the “forward” function in ea_model.py in the main branch, compared to the code branch of EAGLE-1. Could the authors please explain why this argument was deleted? I see that “logits_processor” is still being passed into the function call in evaluation/gen_ea_alpha_vicuna.py in the main branch.

@Liyuhui-12 您好，可以帮忙提供下Qwen2 EAGLE相关的基准吗？我测试了EAGLE-Qwen2-72B-Instruct模型得到的alpha比较低

我在v1分支，添加了modeling_qwen2_kv.py模型，
加载模型时设置torch_dtype=torch.bfloat16，
使用gen_ea_alpha_llama2chat.py脚本跑mt_bench数据，
使用alpha.py脚本计算alpha
得到的alpha为[0.4  0.23 0.23 0.17 0.18]，同样的方法EAGLE-Vicuna-7B-v1.3

@Liyuhui-12 你好，可以提供下EAGLE Qwen2的测试i基准吗？我在EAGLE-Qwen2-72B-Instruct模型上测试的alpha值比较低

在v1分支上，添加modeling_qwen2_kv.py模型文件

@Liyuhui-12 @zhangtia16 Hello, can you provide the test benchmarks for EAGLE Qwen2?  The alpha value I tested on the EAGLE-Qwen2-72B-Instruct model is relatively low.

Add the modeling_qwen2_kv.py model file on the v1 branch.
When loading the EAGLE-Qwen2-72B-Instruct model parameters, set torch_dtype=torch.bfloat16.
Use the gen_ea_alpha_llama2chat.py script to test on the mt_bench dataset.
Perform inference in a Chain.
Obtain the alpha value through the alpha.py script.

The alpha of EAGLE-Qwen2-72B-Instruct is [0.5 0.34 0.32 0.33 0.47],
and under the same conditions, the alpha of EAGLE-Vicuna-7B-v1.3 is [0.79 0.74 0.72 0.73 0.72].
I don't know if the test results of EAGLE-Qwen2-72B-Instruct can be consistent with your internal results. Thank you.

I have configured my setup similarly to your points 1-5 (modified v1-branch, bf16, mt-bench, chain-draft, temperature=0), with the only difference being that I am using the EAGLE-Qwen2-7B-Instruct checkpoints provided by the authors. Here are my alpha results: [0.31, 0.24, 0.25, 0.31, 0.31], corresponding with an accept length of 1.87 (already considering the +1 token issue).

I have configured my setup similarly to your points 1-5 (modified v1-branch, bf16, mt-bench, chain-draft, temperature=0), with the only difference being that I am using the EAGLE-Qwen2-7B-Instruct checkpoints provided by the authors. Here are my alpha results: [0.31, 0.24, 0.25, 0.31, 0.31], corresponding with an accept length of 1.87 (already considering the +1 token issue).

How is the accept length of 1.87 calculated？
I use computational methods: (the total number of tokens accepted  + the inference steps of the base model) / the inference steps of the base model
forward_numbers = alphas_num[0]
 accept_lengths = []
 for i in range(len(alphas)):
     accept_lengths.append((alphas_num[i] - alphas[i]) * (i + 1))

 print((sum(accept_lengths) + forward_numbers) / forward_numbers)

alphas_num and alphas are obtained from alpha.py
I did a test on EAGLE-Qwen2-7B-Instruct, and the result is as follows:
chain-draft
temperature=0: [0.43 0.35 0.42 0.5  0.8 ] accept length：2.55
temperature=1：[0.36 0.28 0.31 0.31 0.45] accept length：2.47
tree-draft
temperature=0: [0.66 0.46 0.47 0.34 0.71] accept length：2.98
temperature=1：[0.4  0.3  0.27 0.19 0.37] accept length：2.54

Since the authors did not directly output the acceptance length, I modified the code to calculate it. For details on the modification, please refer to issue #146. In summary, we record the number of accepted tokens at each step for every sample. Finally, the average number of accepted tokens (first averaged across the steps of a single sample, and then averaged across all samples) represents the acceptance length of the dataset.
As for your implementation, I think the right version should be accept_lengths.append((alphas_num[i] - alphas[i]) * (i)) rather than accept_lengths.append((alphas_num[i] - alphas[i]) * (i + 1)). Take an simple example of a [right,wrong,wrong,wrong,wrong] chain draft, the accept length should be 1 while your codes produce 2 with alpha=[1,0,0,0,0] and alpha_num=[1,1,0,0,0].
Btw, did you used the released checkpoints on MT-bench to get the alpha results?

@zhangtia16 You are correct. I modified  accept length  method and got new results for the EAGLE-Qwen2-7B-Instruct model, which are generally consistent with yours.
chain-draft
temperature=0:  accept length：1.70
temperature=1：accept length：1.50
tree-draft
temperature=0:  accept length：2.19
temperature=1：accept length：1.55
Here is the new calculation method for the accept length:
`forward_numbers = alphas_num[0]
accept_lengths = []
for i in range(len(alphas)):
accept_lengths.append((alphas_num[i] - alphas[i]) * (i))
accept_lengths.append(alphas[4] * 5)
print((sum(accept_lengths) + forward_numbers) / forward_numbers)`

The checkpoints used are those published by the author at https://huggingface.co/yuhuili/EAGLE-Qwen2-7B-Instruct.
If our testing results are correct, the model's performance does not appear to surpass that of the Vicuna and Llama models released by the author.


Old version published as 2.7.0

Hi, it looks like the version published to npm as 2.7.0 is something prior to 2.6.0.
I just came across this component, and it looks perfect for my needs. Thank you! I just need to use the body parameter from getUploadParams, but it looked like it's not getting set. When I run the dist file through prettier I can see that it doesn't have this option.
I was going to submit a pull request to add a field parameter, so that you could customise this field name without having to override body. If you find that helpful I can submit. Otherwise I'm happy to use the body option.
For now I'll use a github url in my package.json to get this working.


docs: don't support multi-type car info

it was a hack in the beginning, see no reason why we can't always specify lists

Also propose adding “Docs” to the class name to make it clear


Provide capability for cleaning up environment’s blob storage

If a user wants to redeploy the devbox environment, it can cause trouble if the storage blobs are not cleaned first. This can cause errors during workload installation.
There should be an option in the devTools allowing users to clean up the blobs easily.

API for the Azure Storage Blobs:
https://www.nuget.org/packages/Azure.Storage.Blobs


Load geojson file from main bundle + catch missing file errors

Status
READY
JIRA Ticket
SPACON-267
Description

Removes the isMainBundle option from the config for GeoJSON stores, and always loads files from the main bundle.
Catches errors when trying to start a store when the file does not exist

Todos

[x] Tests
[x] Documentation
[x] License

Steps to Test or Reproduce
git fetch --all
git checkout <feature_branch>
xctool -workspace SpatialConnect.xcworkspace -scheme SpatialConnect -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 6 Plus' ONLY_ACTIVE_ARCH=NO test

@boundlessgeo/spatial-connect

Changes

Check bundle directory and documents directory
Remove isMainBundle config option
Check geojson uri, download to documents directory if http


Table heading icons -again

Table heading icons. #89 was closed on 2013.  4 years later there is no solution. Please kindly add it. In a column I really need to add a button at the header for insert a new line on click.

I'd like to keep this project, there are many feature and improvement we could add. are u active?


[Arabic] Fix official chat rooms link

Fix gitter href for the chat rooms home page

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

thank you for you PR :)


when can the knowledge_intensive code loaded?

very interseted in this project.when can we see the code and data set.
by the way,did you used the Knowledge Graph to build your knowledge bank?or something else?

@hahahaha1234haha Thanks for your interest in our work! I am working on both AAAI and EMNLP open source. They would both come out recently.
For your question, we accumulate knowledge resources from multiple sources, which we detailed in Section 3.3. Notably, we consider not only the Mandarin Chinese resources, but also English ones (our annotators translate them into Chinese). Specifically, we collect knowledge from knowledge sharing forums, academic research papers, industry reports  and data analyzes websites.

thank you for your patient answer,wish to see more of your research in the future.

Hi! I am interested in KnowSQL and REGROUP framework. When is expected the code and dataset to be published?

Hello @longxudou ! Any news about when KnowSQL and REGROUP framework will be published? I am masters student in DSIT program of University of Athens, Greece and I am studying the topic of Unanswerable and Ambiguous questions for my thesis


edit the generate-bmc-password.js job so it takes the username and pa…

…ssword from the user

@uppalk1 , @amymullins @jlongever @zyoung51 @keedya

:+1:

test this please

:+1:


I fixed the styling of the button when it gets focused. 🙂
Fixed #69
Type of change
In the code

In the UI of buttons
Now

Before

Please check options that are relevant to your PR.

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] This change requires a documentation update

Checklist:

[x] I have squashed my commits
[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
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings

I'm not able to join the slack, it says that the link gets expired can you provide me a new link.

@abdus can you please review it.
So that I can fix and add more features to this project.


EDM-237: Correct location of tooltip for managed by RS

The tooltip is now only in the icon, and not in the Fleet name.

/lgtm


thermometer and accuracy (bangle1)

I see that thermometer in my bangle.js1 is not showing accurate temperatures, I assume that the problem is not in this app but in the sensor or fw.
Anyway as changes of temperatures seems coherent so maybe it can be calibrated from this app.
Also the app should detect when you have it on your wrist or not because there is a logical alteration cause by human temperature.

Yes, the app uses the CPU's internal thermometer, which needs calibration. Realistically I guess some option for calibration would need to be built into the app.

Closing - this is for Bangle.js 1 which we stopped selling years ago, and B.js 2 has a better temp sensor inside the pressure sensor


When sending to IoT Hub that has exceeded message quota, azure.iot.device.aio.IoTHubDeviceClient.send_message generates uncatchable exception and message Exception caught in background thread.  Unable to handle.

Context

OS and version used: Ubuntu 20.04
Python version: 3.8.10
pip version: pip 20.0.2 from /usr/lib/python3/dist-packages/pip (python 3.8
list of installed packages:

Package                Version
---------------------- --------------------
apturl                 0.5.2
autopep8               2.0.1
azure-core             1.26.2
azure-iot-device       2.12.0
azure-storage-blob     12.14.1
bcrypt                 3.1.7
blinker                1.4
Brlapi                 0.7.0
certifi                2022.12.7
chardet                3.0.4
charset-normalizer     3.0.1
Click                  7.0
colorama               0.4.3
cryptography           2.8
cupshelpers            1.0
cycler                 0.10.0
dbus-python            1.2.16
decorator              4.4.2
defer                  1.0.6
deprecation            2.1.0
distro                 1.4.0
distro-info            0.23ubuntu1
duplicity              <IP_ADDRESS>
entrypoints            0.3
fasteners              0.14.1
future                 0.18.2
httplib2               0.14.0
idna                   3.4
isodate                0.6.1
janus                  1.0.0
jetson-stats           4.0.0
Jetson.GPIO            2.0.20
keyring                18.0.1
kiwisolver             1.0.1
language-selector      0.1
launchpadlib           1.10.13
lazr.restfulclient     0.14.2
lazr.uri               1.0.3
lockfile               0.12.2
louis                  3.12.0
macaroonbakery         1.3.1
Mako                   1.1.0
MarkupSafe             1.1.0
matplotlib             3.1.2
monotonic              1.5
msrest                 0.7.1
numpy                  1.24.1
oauthlib               3.1.0
olefile                0.46
onboard                1.4.1
opencv-python          <IP_ADDRESS>
packaging              23.0
paho-mqtt              1.6.1
pandas                 0.25.3
paramiko               2.6.0
pexpect                4.6.0
pgi                    <IP_ADDRESS>
Pillow                 7.0.0
pip                    20.0.2
protobuf               3.6.1
pycairo                1.16.2
pycodestyle            2.10.0
pycrypto               2.6.1
pycups                 1.9.73
pyds                   1.1.4
PyGObject              3.36.0
PyJWT                  1.7.1
pymacaroons            0.13.0
PyNaCl                 1.3.0
pynmea2                1.18.0
pyparsing              2.4.6
pyRFC3339              1.1
PySocks                1.7.1
python-apt             2.0.0+ubuntu<IP_ADDRESS>
python-dateutil        2.7.3
python-dbusmock        0.19
python-debian          0.1.36ubuntu1
pytz                   2019.3
pyxdg                  0.26
PyYAML                 5.3.1
requests               2.28.2
requests-oauthlib      1.3.1
requests-unixsocket    0.2.0
scipy                  1.3.3
SecretStorage          2.3.1
setuptools             45.2.0
simplejson             3.16.0
six                    1.14.0
systemd-python         234
telnetlib3             2.0.0
tomli                  2.0.1
typing-extensions      4.4.0
ubuntu-advantage-tools 27.12
ubuntu-drivers-common  0.0.0
urllib3                1.26.14
urwid                  2.0.1
wadllib                1.3.3
wheel                  0.34.2
xkit                   0.0.0

cloned repo: None

Description of the issue
If you have exceeded your message quota on IoT hub (e.g., >8000 on free tier), then you will get unceremoniously disconnected without a real error message from Azure. The SDK seems to handle this by generating an azure.iot.device.common.transport_exceptions.ConnectionDroppedError somewhere in the background. The error message states that it's "unable to handle", and indeed you can't catch this exactly.
Exception caught in background thread.  Unable to handle.
['azure.iot.device.common.transport_exceptions.ConnectionDroppedError: Unexpected disconnection\n']

This occurs even if you catch the exception and seemingly regardless of what level your logging is set to.
I have managed to work around this as under certain circumstances (that I can't reliably reproduce in sample code) an OperationCancelled exception is thrown which is catchable. However, even in that case, the above error messages are always printed, which causes problems in logs when I have clearly dealt with the exception.
Code sample exhibiting the issue
#!/usr/bin/env python3
import asyncio
import sys
import os
from azure.iot.device.aio import IoTHubDeviceClient
from azure.iot.device import Message
import logging
import traceback

azurelogger = logging.getLogger("azure")
azurelogger.setLevel(logging.DEBUG)
handler = logging.StreamHandler(stream=sys.stdout)
azurelogger.addHandler(handler)

def get_from_env(v, d):
    if v in os.environ and '' != os.environ[v]:
        return os.environ[v]
    else:
        return d

IOTHUB_HOSTNAME = get_from_env('IOTHUB_HOSTNAME', 'host.azure-devices.net')
IOTHUB_DEVICEID = get_from_env('IOTHUB_DEVICEID', '')
IOTHUB_SAS = get_from_env('IOTHUB_SAS', '')  # No default, so it's *REQUIRED*
IOTHUB_CONN_STR = "HostName=" + IOTHUB_HOSTNAME + ";DeviceId=" + \
    IOTHUB_DEVICEID + ";SharedAccessKey=" + IOTHUB_SAS

async def main():
    device_client = IoTHubDeviceClient.create_from_connection_string(
        IOTHUB_CONN_STR)
    # invent a message for this test
    MSG_TXT = '{{"temperature": {temperature},"humidity": {humidity}}}'
    msg_txt_formatted = MSG_TXT.format(
        temperature=20.0, humidity=60)
    msg = Message(msg_txt_formatted)
    msg.content_encoding = "utf-8"
    msg.content_type = "application/json"
    try:
        await device_client.send_message(msg)
    except:
        print(traceback.print_exc(), flush=True)
        raise

if __name__ == "__main__":
    asyncio.run(main())

Console log of the issue
If I comment out the azurelogger.addHandler(handler) line in the code above, the following is the output:
$ IOTHUB_DEVICEID="redacted" IOTHUB_SAS="redacted" IOTHUB_HOSTNAME="redacted" python3 ./test.py
Exception caught in background thread.  Unable to handle.
['azure.iot.device.common.transport_exceptions.ConnectionDroppedError: Unexpected disconnection\n']
Exception caught in background thread.  Unable to handle.
['azure.iot.device.common.transport_exceptions.ConnectionDroppedError: Unexpected disconnection\n']
Exception caught in background thread.  Unable to handle.
['azure.iot.device.common.transport_exceptions.ConnectionDroppedError: Unexpected disconnection\n']

Uncommenting it, the following happens:
$ IOTHUB_DEVICEID="redacted" IOTHUB_SAS="redacted" IOTHUB_HOSTNAME="redacted" python3 ./test.py
Starting run_op in pipeline thread
Creating pipeline executor
Gateway Hostname not present. Setting Hostname to: redacted
HTTPTransportStage(InitializePipelineOperation): got connection args
creating a SSL context
InitializePipelineOperation: completing without error
Starting <azure.iot.device.common.evented_callback.EventedCallback object at 0xffff85d3a1f0> in callback thread
Creating callback executor
Callback completed with result None
Starting run_op in pipeline thread
SasTokenStage: Scheduling automatic SAS Token renewal at epoch time:<PHONE_NUMBER>
Gateway Hostname not present. Setting Hostname to: redacted
MQTTTransportStage(InitializePipelineOperation): got connection args
creating mqtt client
Creating client for connecting using MQTT over TCP
creating a SSL context
configuring SSL context with default certs
Created MQTT protocol client, assigned callbacks
InitializePipelineOperation: completing without error
Starting <azure.iot.device.common.evented_callback.EventedCallback object at 0xffff85d47070> in callback thread
Callback completed with result None
Creating new event loop - CLIENT_INTERNAL_LOOP
Sending message to Hub...
Starting SendD2CMessageOperation on the pipeline
Starting run_op in pipeline thread
SendD2CMessageOperation: creating worker op of type MQTTPublishOperation
AutoConnectStage(MQTTPublishOperation): Op needs connection.  Queueing this op and starting a ConnectionOperation
AutoConnectStage(MQTTPublishOperation): calling down with Connect operation
ConnectionStateStage(ConnectOperation): State changes DISCONNECTED -> CONNECTING. Sending op down
MQTTTransportStage(ConnectOperation): connecting
MQTTTransportStage(ConnectOperation): Starting watchdog
connecting to mqtt broker
Connect using port 8883 (TCP)
_mqtt_client.connect returned rc=0
connected with result code: 0
Starting _on_mqtt_connected in pipeline thread
_on_mqtt_connected called
ConnectionStateStage(ConnectedEvent): State changes CONNECTING -> CONNECTED. Connection established
PipelineRootStage: ConnectedEvent received. Calling on_connected_handler
Starting _on_connected in callback thread
MQTTTransportStage: completing connect op
MQTTTransportStage(ConnectOperation): cancelling watchdog
ConnectOperation: completing without error
Connection State - Connected
AutoConnectStage(MQTTPublishOperation): connection is complete.  Running op that triggered connection.
MQTTTransportStage(MQTTPublishOperation): publishing on devices/redacted/messages/events/%24.ct=application%2Fjson&%24.ce=utf-8
publishing on devices/redacted/messages/events/%24.ct=application%2Fjson&%24.ce=utf-8
_mqtt_client.publish returned rc=0
Waiting for response on MID: 1
disconnected with result code: 7
  File "/usr/lib/python3.8/threading.py", line 890, in _bootstrap
    self._bootstrap_inner()
  File "/usr/lib/python3.8/threading.py", line 932, in _bootstrap_inner
    self.run()
  File "/usr/lib/python3.8/threading.py", line 870, in run
    self._target(*self._args, **self._kwargs)
  File "/home/me/.local/lib/python3.8/site-packages/paho/mqtt/client.py", line 3591, in _thread_main
    self.loop_forever(retry_first_connection=True)
  File "/home/me/.local/lib/python3.8/site-packages/paho/mqtt/client.py", line 1756, in loop_forever
    rc = self._loop(timeout)
  File "/home/me/.local/lib/python3.8/site-packages/paho/mqtt/client.py", line 1164, in _loop
    rc = self.loop_read()
  File "/home/me/.local/lib/python3.8/site-packages/paho/mqtt/client.py", line 1558, in loop_read
    return self._loop_rc_handle(rc)
  File "/home/me/.local/lib/python3.8/site-packages/paho/mqtt/client.py", line 2350, in _loop_rc_handle
    self._do_on_disconnect(rc, properties)
  File "/home/me/.local/lib/python3.8/site-packages/paho/mqtt/client.py", line 3475, in _do_on_disconnect
    on_disconnect(self, self._userdata, rc)
  File "/home/me/.local/lib/python3.8/site-packages/azure/iot/device/common/mqtt_transport.py", line 208, in on_disconnect
    logger.debug("".join(traceback.format_stack()))

Forcing paho disconnect to prevent it from automatically reconnecting
in paho thread.  nulling _thread
Done forcing paho disconnect
Starting _on_mqtt_disconnected in pipeline thread
MQTTTransportStage: _on_mqtt_disconnect called: The connection was lost.
ConnectionStateStage(DisconnectedEvent): State changes CONNECTED -> DISCONNECTED. Attempting to reconnect
PipelineRootStage: DisconnectedEvent received. Calling on_disconnected_handler
Starting _on_disconnected in callback thread
MQTTTransportStage: Unexpected disconnect (no pending connection op)
PipelineRootStage: BackgroundExceptionEvent received. Calling on_background_exception_handler
Starting _on_background_exception in callback thread
Connection State - Disconnected
Cleared all pending method requests due to disconnect
Exception caught in background thread.  Unable to handle.
['azure.iot.device.common.transport_exceptions.ConnectionDroppedError: Unexpected disconnection\n']
Starting on_reconnect_timer_expired in pipeline thread
ConnectionStateStage: Reconnect timer expired. State is ConnectionState.DISCONNECTED.
ConnectionStateStage: Starting reconnection
ConnectionStateStage: State changes ConnectionState.DISCONNECTED -> CONNECTING. Sending new connect op down in reconnect attempt
MQTTTransportStage(ConnectOperation): connecting
MQTTTransportStage(ConnectOperation): Starting watchdog
connecting to mqtt broker
Connect using port 8883 (TCP)
_mqtt_client.connect returned rc=0
connected with result code: 0
Starting _on_mqtt_connected in pipeline thread
_on_mqtt_connected called
ConnectionStateStage(ConnectedEvent): State changes CONNECTING -> CONNECTED. Connection established
PipelineRootStage: ConnectedEvent received. Calling on_connected_handler
Starting _on_connected in callback thread
MQTTTransportStage: completing connect op
MQTTTransportStage(ConnectOperation): cancelling watchdog
ConnectOperation: completing without error
ConnectionStateStage(ConnectOperation): on_connect_complete error=None state=ConnectionState.CONNECTED
Connection State - Connected
disconnected with result code: 7
  File "/usr/lib/python3.8/threading.py", line 890, in _bootstrap
    self._bootstrap_inner()
  File "/usr/lib/python3.8/threading.py", line 932, in _bootstrap_inner
    self.run()
  File "/usr/lib/python3.8/threading.py", line 870, in run
    self._target(*self._args, **self._kwargs)
  File "/home/me/.local/lib/python3.8/site-packages/paho/mqtt/client.py", line 3591, in _thread_main
    self.loop_forever(retry_first_connection=True)
  File "/home/me/.local/lib/python3.8/site-packages/paho/mqtt/client.py", line 1756, in loop_forever
    rc = self._loop(timeout)
  File "/home/me/.local/lib/python3.8/site-packages/paho/mqtt/client.py", line 1164, in _loop
    rc = self.loop_read()
  File "/home/me/.local/lib/python3.8/site-packages/paho/mqtt/client.py", line 1558, in loop_read
    return self._loop_rc_handle(rc)
  File "/home/me/.local/lib/python3.8/site-packages/paho/mqtt/client.py", line 2350, in _loop_rc_handle
    self._do_on_disconnect(rc, properties)
  File "/home/me/.local/lib/python3.8/site-packages/paho/mqtt/client.py", line 3475, in _do_on_disconnect
    on_disconnect(self, self._userdata, rc)
  File "/home/me/.local/lib/python3.8/site-packages/azure/iot/device/common/mqtt_transport.py", line 208, in on_disconnect
    logger.debug("".join(traceback.format_stack()))

Forcing paho disconnect to prevent it from automatically reconnecting
in paho thread.  nulling _thread
Done forcing paho disconnect
Starting _on_mqtt_disconnected in pipeline thread
MQTTTransportStage: _on_mqtt_disconnect called: The connection was lost.
ConnectionStateStage(DisconnectedEvent): State changes CONNECTED -> DISCONNECTED. Attempting to reconnect
PipelineRootStage: DisconnectedEvent received. Calling on_disconnected_handler
Starting _on_disconnected in callback thread
MQTTTransportStage: Unexpected disconnect (no pending connection op)
Connection State - Disconnected

etc.

@djryanj
Apologies for the delay in response
The background exception can be caught via the .on_background_exception handler. It will be returned as a parameter to the handler/callback function you set.
Unfortunately, we aren't able to provide a particular exception that indicates this specific issue (quota exceeded) is the issue however. The best we can do is ConnectionDroppedError. This is because when a quota is exceeded, IoTHub simply closes the connection, it does not provide an indication of why it did so.

@cartertinney I'm not so worried about a specific reason as to why the connection was dropped, what was bugging me was the fact that the error message seemed impossible to catch/suppress. I'm fully willing to accept that it was likely just my bad coding, but always printing output to the console (or whatever) in spite of wrapping the calls in a try/except block seems like undesirable behaviour.

@djryanj do you have logging turned on? It isn't printing output, it's generating a log. If logging is off, you shouldn't be seeing it.

@cartertinny I have logging turned on but via a custom logger. It doesn't target the Azure modules, but again it very much could just be poor coding on my part that is inadvertently targeting the Azure modules.
I appreciate your comments, but I'm going to close this as I've moved away from using my original code and am using the hub module on the edge device instead.


ignore and count require $ident instead of just ident

this is also seen in the recent stabilization PR attempt: https://github.com/rust-lang/rust/pull/122808 and rust playground confirms it.
error: meta-variables within meta-variable expressions must be referenced using a dollar sign
rendered
Double checked:

[x] the anchor links^1 still work, as $ must be removed which was already
[x] count example works on playground
[x] ignore example works on playground

CI fails because of https://github.com/Veykril/tlborm/issues/106


Accessing factories like React.DOM.input has been deprecated

React/ReactDOM 15.6.1 is giving me a deprecation warning:
Accessing factories like React.DOM.input has been deprecated and will be removed in v16.0+. Use the react-dom-factories package instead.  Version 1.0 provides a drop-in replacement. For more info, see https://fb.me/react-dom-factories
printWarning	@	lowPriorityWarning.js:40
lowPriorityWarning	@	lowPriorityWarning.js:59
React.DOM.(anonymous function)	@	React.js:123
render	@	DateTime.js:412

Looks like this might be the culprit?
https://github.com/YouCanBookMe/react-datetime/blob/master/DateTime.js#L412

@gwing33 has made a PR that should fix it #353 :)

Closing as fix has been merged.


Building app from scratch

The docs does not contain anything about how to build a springboot/vert.x/swarm application from scratch.

We already had several issues that touched on this topic (#240, #243, #700), but all of them are closed and this content still doesn't exist. (Well maybe it does for Swarm, as we import the Swarm community docs; not sure about others.)


Renumber 2.2.2 as 2.1.2

Great to see this initiative.  I'll be proposing more soon.
I think your subsection numbered 2.2.2 should be 2.1.2.
Peace.

@HazardJ - I've renumbered the subsection. Looking forward to additional comments from you.


Vcpkg is unable to link because we cannot decide between Release and Debug libraries.

Version: git latest
Message: Vcpkg is unable to link because we cannot decide between Release and Debug libraries. Please define the property VcpkgConfiguration to be 'Release' or 'Debug' (currently 'release').
Fix:
scripts/bootstrap.ps1
Line 348:
-"/p:Configuration=release",
+"/p:Configuration=Release",

Regards,
TheAifam5

Nvm, its already in Pull Request by another person.


Feature Request: Sort alphabetically/numerically

Would be cool to see a feature where you could sort the items rather than doing it manually.

That would indeed be cool. Would that involve re-arranging every element within the node, or do you think it would be better if the user interactively selects a (start, end) range in which everything between those two nodes is sorted?

I think both might be interesting. The code would be similar judging by what I've seen in the code so far.

I can't think of a satisfying way to sort them. I've considered:

piping to external program (like Unix utility)
delegate to Lua or Vimscript function
lexicographical ordering

It would be helpful if you had an original use in mind, off of which I could base this feature. :)

I do not have an original use in mind yet. My thought was to tap into your are swapping the values given from treesitter but then use the builtin Lua sort to just sort the table and spit back out the sorted table to the user. I may be able to tackle this issue later this week/month and submit a PR for this functionality.

I don't think this is in the domain of this plugin.


finder integration is not working on macOS Ventura,

Hello.
Finder integration is not working. The fuse was upgraded to the latest version.
my log id: 0e30a7d2027cdc8c5a3fb31c

Dupe of #25226


[To split] Refactor BaseFold and add some features.

Massively refactored the code. Eliminate the repetitive codes.
Add features:

[X] Add new API that supports opening multiple groups of polynomials at one point.
[x] Configurable hash function
[x] Update the query complexity according to the new paper
[ ] Skipping rounds optimization (consider canceling this because it's complex to implement, but the benefit is small since proving time is only 200ms now.)

API change:

(Breaking change) To differentiate the three versions of batching protocols, rename the original batch_open/verify into batch_vlmp_* where vlmp stands for "polys of Variable Length opened at Multiple Points".
The new API is named batch_vlop_open/verify where vlop stands for "polys of Variable Length opened at One Points".
(Breaking change) Remove Rng from the template parameters for Basefold.

Too big PR. Splitting gradually (but not top priority for now), close first.


[html5] scrollToElement method support no animation

scrollToElement method support no animation

this could be closed, refer to #226


Failure to update terraform provider when version number in registry.terraform.io contains build metadata (X.X.X+Y)

Package ecosystem
terraform
Package manager version
n/a
Language version
1.1
Manifest location and content prior to update
terraform.tf
terraform {
  required_version = ">= 1.1.0"

  required_providers {
    snowflake = {
      source  = "chanzuckerberg/snowflake"
      version = ">= 0.28.8"
    }

    aws = {
      source                = "hashicorp/aws"
      version               = ">= 4.4.0"
      configuration_aliases = [aws.global]
    }
  }

  experiments = [module_variable_optional_attrs]
}

dependabot.yml content
version: 2

updates:
  - package-ecosystem: "terraform"
    directory: "/"
    schedule:
      interval: "weekly"
    labels:
      - "dependencies"

Updated dependency
N/A
What you expected to see, versus what you actually saw
Dependabot errors trying to parse an old version of https://registry.terraform.io/providers/chanzuckerberg/snowflake, version 0.13.0+b2a3596
updater | ERROR <job_329871097> Error processing chanzuckerberg/snowflake (ArgumentError)
updater | ERROR <job_329871097> Malformed version number string 0.13.0+b2a3596
updater | ERROR <job_329871097> /usr/local/lib/site_ruby/2.7.0/rubygems/version.rb:214:in `initialize'
updater | ERROR <job_329871097> /home/dependabot/dependabot-updater/vendor/ruby/2.7.0/gems/dependabot-terraform-0.180.2/lib/dependabot/terraform/version.rb:14:in `initialize'
updater | ERROR <job_329871097> /usr/local/lib/site_ruby/2.7.0/rubygems/version.rb:203:in `new'
updater | ERROR <job_329871097> /usr/local/lib/site_ruby/2.7.0/rubygems/version.rb:203:in `new'

Expect not see an error
Native package manager behavior
N/A
Images of the diff or a link to the PR, issue or logs

🕹 Bonus points: Smallest manifest that reproduces the issue

terraform.tf
terraform {
  required_version = ">= 1.1.0"

  required_providers {
    snowflake = {
      source  = "chanzuckerberg/snowflake"
      version = ">= 0.28.8"
    }
  }
}

Is there a workaround for this? Would it be possible to use the ignore  condition to ignore versions that have the metadata so that the check goes through?

@varunkvv - I don't think so, I just tried updating the dependabot config to
version: 2

updates:
  - package-ecosystem: "terraform"
    directory: "/"
    schedule:
      interval: "weekly"
    labels:
      - "dependencies"
    ignore:
      - dependency-name: "chanzuckerberg/snowflake"
        versions:
          - "0.13.2-pre+4d09e5e"
          - "0.13.0+5f54964"
          - "0.13.0+b2a3596"

which errored in

Dependabot encountered the following error when parsing your .github/dependabot.yml:
The property '#/updates/0/ignore/0/versions' includes invalid version requirements for a terraform ignore condition

Please update the config file to conform with Dependabot's specification.

I have also tried using a valid range expression
version: 2

updates:
  - package-ecosystem: "terraform"
    directory: "/"
    schedule:
      interval: "weekly"
    labels:
      - "dependencies"
    ignore:
      - dependency-name: "chanzuckerberg/snowflake"
        versions:
          - "~> 0.13"

but the same error occurs
updater | ERROR <job_361616149> Malformed version number string 0.13.0+b2a3596

I'll reach out to the chanzuckerberg/snowflake devs to see if they can remove them as they are quite old

Related:

https://github.com/dependabot/dependabot-core/issues/1676


uncaught error Error: TypeError: Object.assign is not a function

I use this command "react-native bundle $OPTS --bundle-output ios.jsbundle --minify --entry-file index.ios.js --platform ios" ReactPackager,but error :
Created ReactPackager
uncaught error Error: TypeError: Object.assign is not a function
at transform (/Users/panwei/Desktop/Mall/react/node_modules/react-native/packager/transformer.js:33:25)
at module.exports (/Users/panwei/Desktop/Mall/react/node_modules/react-native/packager/transformer.js:66:14)
at handle (/Users/panwei/Desktop/Mall/react/node_modules/react-native/node_modules/worker-farm/lib/child/index.js:41:8)
at process. (/Users/panwei/Desktop/Mall/react/node_modules/react-native/node_modules/worker-farm/lib/child/index.js:47:3)
at emitTwo (events.js:87:13)
at process.emit (events.js:172:7)
at handleMessage (internal/child_process.js:632:10)
TransformError: /Users/panwei/Desktop/Mall/react/node_modules/react-native/packager/react-packager/src/Resolver/polyfills/prelude_dev.js: Object.assign is not a function
See logs /var/folders/yl/_sv0db5x7bl5tb0z5hy6rzcw0000gn/T/react-packager.log
at SocketClient._handleMessage (SocketClient.js:139:23)
at BunserBuf. (SocketClient.js:53:42)
at emitOne (events.js:77:13)
at BunserBuf.emit (events.js:169:7)
at BunserBuf.process (/Users/panwei/Desktop/Mall/react/node_modules/react-native/node_modules/bser/index.js:289:10)
at /Users/panwei/Desktop/Mall/react/node_modules/react-native/node_modules/bser/index.js:244:12
at doNTCallback0 (node.js:407:9)
at process._tickCallback (node.js:336:13)

@PWDream What version of Node are you using? You need at least Node 4.

had the same issue and my node was up-to-date, updating react-native-cli fixed it for me
npm install -g react-native-cli

+1
It will work if I replace all the Object.assign(Guess this might be babel object assign env error) statement to object-assign module.

@facebook-github-bot answered


Output mp4 instead of Gif

Hi,
Thanks for this it's really nice, I'd like to know if you know a way to output mp4 instead of a gif?
At this moment I've sound as a wav file.
Regards,

For that you'd need a video encoder (h264 would be your best bet for compressed data, raw otherwise) and pack everything into a mp4 container. That's way, way out of scope of this small project :)


Determine code standards and reconstruct MatMul case.

This PR intends to improve code readability of buddy-benchmark, make adding new benchmark cases easier through decent templating and file decoupling.

Improve code readability through templating while avoiding over-templating

CMakeLists.txt now builds target files through macro functions. If a new case meets the template, the macro function can be called directly. If the new case does not meet the template (for example, the toolchain compilation options are different, or a different pass is used), this case should be built separately.

Let each file perform its own duties

Helper functions like "allocArray" and "verify" are moved to Utils.hpp. Let Main.cpp concentrate on benchmarking and verification. To add a new case, we only need to modify the benchmarking and verification in Main.cpp respectively.

Reduce memory usage and prevent "core dump"

All benchmark cases use unique inputs, exclusive outputs, and continuous memory space allocated on the heap.
Encapsulate the benchmark verification into a function, pass the same input Memref to each case, and define the output Memref as a temporary variable. In this way, whenever the verification function returns, the output Memref of current case will be automatically destructed.

The above problem has been solved, thanks! I will merge this version of PR first.


Installation problem

Sorry to disturbing for that problem
All was going well till this message
Python 2.7.9 (default, Mar  1 2015, 12:57:24)
[GCC 4.9.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.

import soundtouch
Traceback (most recent call last):
File "", line 1, in
ImportError: /usr/local/lib/python2.7/dist-packages/soundtouchmodule.so: undefined symbol: _ZN10soundtouch9BPMDetect12inputSamplesEPKsi

Thanks

Hi,
I just ran through the install process on a new machine, and it worked properly for me.  The error you get means that the 'inputSamples' function in the soundtouch library can't be found.  Did you install soundtouch library that is included in the source?  If you had a more recent version of soundtouch, the interface may have changed.
If that doesn't help, please include the output from the soundtouch make and make install commands.

I actually just barely had this similar problem:

import soundtouch
Traceback (most recent call last):
File "", line 1, in
ImportError: dlopen(/Library/Python/2.7/site-packages/soundtouchmodule.so, 2): Symbol not found: __ZN10soundtouch10SoundTouch17setPitchSemiTonesEf
Referenced from: /Library/Python/2.7/site-packages/soundtouchmodule.so
Expected in: flat namespace
in /Library/Python/2.7/site-packages/soundtouchmodule.so

I'm wondering if my problem is coming from my misunderstanding that lead me to installing soundtouch directly from the soundtouch website before realizing I should have used your version. Once I realized, I just went through the steps again to install your version, but maybe somehow the version I got from the soundtouch website is somehow still causing this? I couldn't figure out the best way to uninstall all the soundtouch stuff to start from scratch. Any tips?
Ps. I've seen people with similar errors altering the ext_modules in setup.py; this have anything to do with it? I saw that you have "ext_modules = [soundtouchmodule]" in your setup. Not really familiar with how this all works.
https://groups.google.com/forum/#!topic/cython-users/hoxiD1HVLFg
http://stackoverflow.com/questions/7068721/what-is-the-meaning-of-this-importerror-when-importing-a-cython-generated-so-fi
Thanks!

It's possible that this error is caused by a difference in the version of the soundtouch library you have installed, but I don't actually think so.  The error says that it can't find the function SoundTouch::setPitchSemiTones, which looks to be in both the old version and the new version.  The most likely guess I have is that the soundtouch library that it's finding is not compiled to used integer samples.  Did you compile soundtouch with the command
./configure --enable-integer-samples CXXFLAGS="-fPIC"

?  You might want to try removing the library entirely, to make sure that it's not finding the other version which was not compiled with that flag.

It's true I didn't have the flags set when I installed SoundTouch directly from their website. I actually attempted to erase that version, but it didn't seem so straightforward. Any advice on how to do that?
Thanks for getting back to me.

It would probably be installed into /usr/lib or /usr/local/lib.  But I would actually expect that if you recompile and install the integer version, it will just overwrite the original.  Have you tried that?

Sorry for bothering, but I recently came across the same problem. I tried everything you mentioned in the previous discussion, and still get this when importing:

import soundtouch
Traceback (most recent call last):
File "<pyshell#1>", line 1, in
import soundtouch
ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/soundtouchmodule.so, 2): Symbol not found: __ZN10soundtouch10SoundTouch17setPitchSemiTonesEf
Referenced from: /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/soundtouchmodule.so
Expected in: flat namespace
in /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/soundtouchmodule.so

output of 'make':

Making all in include
/Applications/Xcode.app/Contents/Developer/usr/bin/make  all-am
Making all in source
Making all in SoundTouch
make[2]: Nothing to be done for all'. Making all in SoundStretch make[2]: Nothing to be done for all'.
make[2]: Nothing to be done for all-am'. make[1]: Nothing to be done for all-am'.

output of 'sudo make install':

Making install in include
make[2]: Nothing to be done for install-exec-am'.  ../config/install-sh -c -d '/usr/local/include/soundtouch'  /usr/bin/install -c -m 644 FIFOSampleBuffer.h FIFOSamplePipe.h SoundTouch.h STTypes.h BPMDetect.h soundtouch_config.h '/usr/local/include/soundtouch' Making install in source Making install in SoundTouch  ../../config/install-sh -c -d '/usr/local/lib'  /bin/sh ../../libtool   --mode=install /usr/bin/install -c   libSoundTouch.la '/usr/local/lib' libtool: install: /usr/bin/install -c .libs/libSoundTouch.lai /usr/local/lib/libSoundTouch.la libtool: install: /usr/bin/install -c .libs/libSoundTouch.a /usr/local/lib/libSoundTouch.a libtool: install: chmod 644 /usr/local/lib/libSoundTouch.a libtool: install: ranlib /usr/local/lib/libSoundTouch.a /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /usr/local/lib/libSoundTouch.a(mmx_optimized.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /usr/local/lib/libSoundTouch.a(sse_optimized.o) has no symbols make[3]: Nothing to be done for install-data-am'.
Making install in SoundStretch
../../config/install-sh -c -d '/usr/local/bin'
/bin/sh ../../libtool   --mode=install /usr/bin/install -c soundstretch '/usr/local/bin'
libtool: install: /usr/bin/install -c soundstretch /usr/local/bin/soundstretch
make[3]: Nothing to be done for install-data-am'. make[3]: Nothing to be done for install-exec-am'.
make[3]: Nothing to be done for install-data-am'. make[2]: Nothing to be done for install-exec-am'.
config/install-sh -c -d '/usr/local/share/aclocal'
/usr/bin/install -c -m 644 soundtouch.m4 '/usr/local/share/aclocal'
config/install-sh -c -d '/usr/local/lib/pkgconfig'
/usr/bin/install -c -m 644 soundtouch-1.4.pc '/usr/local/lib/pkgconfig'
config/install-sh -c -d '/usr/local/doc/soundtouch'
/usr/bin/install -c -m 644 COPYING.TXT README.html '/usr/local/doc/soundtouch'

output of 'sudo python setup.py install':

running install
running build
running build_ext
running install_lib
running install_egg_info
Removing /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pysoundtouch-0.1.0-py2.7.egg-info
Writing /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pysoundtouch-0.1.0-py2.7.egg-info

Does it having anything to do with my mac OS version? Mine is 10.11.4
Any advice? Thanks!

Hi @ssssophiaxd, I'll need more information to help you debug this.  Your make command would probably have some useful information, but you'll note that the one you sent me does not do any make-ing because it's already been compiled on your computer.  You should try cloning the repository and trying it again there.
It might also help to send me your /usr/local/lib/libSoundTouch.a file, since that's where the symbol is missing.
And, yes, it might be your OS version.  I've head of other problems related to libraries (not for soundtouch) in 10.11.

libSoundTouch.a.zip
Thanks for getting back to me! Here is my libSoundTouch.a file.

I just checked this file and it has the function __ZN10soundtouch10SoundTouch17setPitchSemiTonesEf .  I then put it into my /usr/lib/local folder and ran sudo python setup.py install and then called import soundtouch and it worked properly.
Is it possible that you didn't re-run setup.py after fixing an error above?  What is the output of sudo python setup.py install?

You will probably need to delete the build directory to get setup.py to recompile the module: sudo rm -r build.

here is the output of setup.py after I've removed the build directory:

running install
running build
running build_ext
building 'soundtouchmodule' extension
creating build
creating build/temp.macosx-10.6-intel-2.7
creating build/temp.macosx-10.6-intel-2.7/src
g++ -fno-strict-aliasing -fno-common -dynamic -arch i386 -arch x86_64 -g -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DVERSION_MAJOR=0 -DVERSION_MINOR=1.0 -DVERSION="0.1.0" -I/usr/local/include/soundtouch -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c src/soundtouchmodule.c -o build/temp.macosx-10.6-intel-2.7/src/soundtouchmodule.o
clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated
In file included from src/soundtouchmodule.c:6:
In file included from /usr/local/include/soundtouch/SoundTouch.h:75:
In file included from /usr/local/include/soundtouch/FIFOSamplePipe.h:53:
In file included from /usr/local/include/soundtouch/STTypes.h:47:
/usr/local/include/soundtouch/soundtouch_config.h:79:9: warning: 'VERSION' macro
redefined [-Wmacro-redefined]
#define VERSION "1.4.0"
^
:4:9: note: previous definition is here
#define VERSION "0.1.0"
^
1 warning generated.
In file included from src/soundtouchmodule.c:6:
In file included from /usr/local/include/soundtouch/SoundTouch.h:75:
In file included from /usr/local/include/soundtouch/FIFOSamplePipe.h:53:
In file included from /usr/local/include/soundtouch/STTypes.h:47:
/usr/local/include/soundtouch/soundtouch_config.h:79:9: warning: 'VERSION' macro
redefined [-Wmacro-redefined]
#define VERSION "1.4.0"
^
:4:9: note: previous definition is here
#define VERSION "0.1.0"
^
1 warning generated.
g++ -fno-strict-aliasing -fno-common -dynamic -arch i386 -arch x86_64 -g -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DVERSION_MAJOR=0 -DVERSION_MINOR=1.0 -DVERSION="0.1.0" -I/usr/local/include/soundtouch -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c src/pysoundtouch.cpp -o build/temp.macosx-10.6-intel-2.7/src/pysoundtouch.o
In file included from src/pysoundtouch.cpp:13:
src/pysoundtouch.h:9:9: warning: '__cplusplus' macro redefined
[-Wmacro-redefined]
#define __cplusplus
^
:330:9: note: previous definition is here
#define __cplusplus 199711L
^
In file included from src/pysoundtouch.cpp:13:
In file included from src/pysoundtouch.h:12:
In file included from /usr/local/include/soundtouch/SoundTouch.h:75:
In file included from /usr/local/include/soundtouch/FIFOSamplePipe.h:53:
In file included from /usr/local/include/soundtouch/STTypes.h:47:
/usr/local/include/soundtouch/soundtouch_config.h:79:9: warning: 'VERSION' macro
redefined [-Wmacro-redefined]
#define VERSION "1.4.0"
^
:4:9: note: previous definition is here
#define VERSION "0.1.0"
^
2 warnings generated.
In file included from src/pysoundtouch.cpp:13:
src/pysoundtouch.h:9:9: warning: '__cplusplus' macro redefined
[-Wmacro-redefined]
#define __cplusplus
^
:333:9: note: previous definition is here
#define __cplusplus 199711L
^
In file included from src/pysoundtouch.cpp:13:
In file included from src/pysoundtouch.h:12:
In file included from /usr/local/include/soundtouch/SoundTouch.h:75:
In file included from /usr/local/include/soundtouch/FIFOSamplePipe.h:53:
In file included from /usr/local/include/soundtouch/STTypes.h:47:
/usr/local/include/soundtouch/soundtouch_config.h:79:9: warning: 'VERSION' macro
redefined [-Wmacro-redefined]
#define VERSION "1.4.0"
^
:4:9: note: previous definition is here
#define VERSION "0.1.0"
^
2 warnings generated.
g++ -fno-strict-aliasing -fno-common -dynamic -arch i386 -arch x86_64 -g -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DVERSION_MAJOR=0 -DVERSION_MINOR=1.0 -DVERSION="0.1.0" -I/usr/local/include/soundtouch -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c src/pybpmdetect.cpp -o build/temp.macosx-10.6-intel-2.7/src/pybpmdetect.o
In file included from src/pybpmdetect.cpp:13:
In file included from src/pybpmdetect.h:10:
In file included from /usr/local/include/soundtouch/BPMDetect.h:60:
In file included from /usr/local/include/soundtouch/STTypes.h:47:
/usr/local/include/soundtouch/soundtouch_config.h:79:9: warning: 'VERSION' macro
redefined [-Wmacro-redefined]
#define VERSION "1.4.0"
^
:4:9: note: previous definition is here
#define VERSION "0.1.0"
^
1 warning generated.
In file included from src/pybpmdetect.cpp:13:
In file included from src/pybpmdetect.h:10:
In file included from /usr/local/include/soundtouch/BPMDetect.h:60:
In file included from /usr/local/include/soundtouch/STTypes.h:47:
/usr/local/include/soundtouch/soundtouch_config.h:79:9: warning: 'VERSION' macro
redefined [-Wmacro-redefined]
#define VERSION "1.4.0"
^
:4:9: note: previous definition is here
#define VERSION "0.1.0"
^
1 warning generated.
g++ -fno-strict-aliasing -fno-common -dynamic -arch i386 -arch x86_64 -g -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DVERSION_MAJOR=0 -DVERSION_MINOR=1.0 -DVERSION="0.1.0" -I/usr/local/include/soundtouch -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c src/WavFile.cpp -o build/temp.macosx-10.6-intel-2.7/src/WavFile.o
creating build/lib.macosx-10.6-intel-2.7
g++ -bundle -undefined dynamic_lookup -arch i386 -arch x86_64 -g build/temp.macosx-10.6-intel-2.7/src/soundtouchmodule.o build/temp.macosx-10.6-intel-2.7/src/pysoundtouch.o build/temp.macosx-10.6-intel-2.7/src/pybpmdetect.o build/temp.macosx-10.6-intel-2.7/src/WavFile.o -L/usr/local/lib -lSoundTouch -o build/lib.macosx-10.6-intel-2.7/soundtouchmodule.so
ld: warning: ignoring file /usr/local/lib/libSoundTouch.dylib, file was built for x86_64 which is not the architecture being linked (i386): /usr/local/lib/libSoundTouch.dylib
running install_lib
copying build/lib.macosx-10.6-intel-2.7/soundtouchmodule.so -> /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages
running install_egg_info
Removing /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pysoundtouch-0.1.0-py2.7.egg-info
Writing /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pysoundtouch-0.1.0-py2.7.egg-info

Is it because of the warnings?
Thanks again for helping!

Hi @jrising , sorry for bothering you for this long, but can you give me any reply regarding the output of my setup.py I posted above? Many thanks!

My best guess at this point is that it has to do with the .dylib file you have in /usr/local/lib:
ld: warning: ignoring file /usr/local/lib/libSoundTouch.dylib, file was built for x86_64 which is not the architecture being linked (i386): /usr/local/lib/libSoundTouch.dylib

When I run the install commands, I don't get a .dylib file.  It could be that this is from a previous compiling of the library and that it doesn't have the integer samples that the library needs.  You could try removing all of the libSoundTouch files in /usr/local/lib (sudo rm /usr/local/lib/libSoundTouch.*), and then start over from the ./boostrap command.

@jrising Thank you so much for the help! Finally everything worked!!!!
Thanks again for answering my silly questions <3


Cleanups in Spatial Transform Gizmo

Fixed planar translation in local space.  Fixes #12157
Fixed bug with rotations when object is scaled.
Added safety check preventing scaling to 0 in local space.
All Gizmoz display numerical output message on the bottom of the viewport.
Unified code a bit, so it will be easier to maintain.

works really nice, however there is a little problem, im not sure if its in this commit, but general rotation is not working.

@djrm
I fixed in this commit issue when rotating in local space scaled object.
If you found some other situation that breaks behavior write me steps how to reproduce it and I will check it out :)

@djrm
Ou, merged. Welp, write bug report with steps how to break rotation and CC me. I will look into it. :)