Update incremental builds docs

Makes the docs clearer about incremental builds requiring Outputs to be a transformation of Inputs.
Related to https://github.com/dotnet/msbuild/issues/7021

@ghogen
Can you review the proposed changes?
When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team


Android: Method 'AiForms.Renderers.PickerCell.set_ItemsSource' not found.

Hello,
I have the problem only with android and only in version 0.2.1 (0.1.0 was ok)
I need to calculate the ItemSource of PickerCell on page load and it can be empty sometimes. But if the ItemSource binding variable is empty, the SettingsView return me this error:
System.ArgumentException
ItemsSource must have items more than or equal 1.
For this way I decide to remove ItemSource="{Binding xxx}" from my xaml:
            <sv:PickerCell x:Name="pickIn3" SelectedCommand="{Binding SetColoreValueTextCommandPickIn3}" ValueTextColor="{Binding DefaultColorPickIn3}"
                    Title="Aree"  DisplayMember="Etichetta" MaxSelectedNumber="{Binding BackupSelected_IN_AreeItems.Count}"
            SelectedItems="{Binding BackupSelected_IN_AreeItems}" KeepSelectedUntilBack="true" PageTitle="Seleziona"  />

and add it programmatically after (and only) the binding variable is filled with items.
            InitializeComponent();
            ...
            if (ViewModel.Lst_IN_AreeItems.Count > 0)
                pickIn3.ItemsSource = ViewModel.Lst_IN_AreeItems;

In iOS (0.1.0 and 0.2.1) and Android (0.1.0 and 0.2.0-pre2) it works, but in Android 0.2.0-pre3 and 0.2.1  it give me the error:
System.MissingMethodException
Method 'AiForms.Renderers.PickerCell.set_ItemsSource' not found.
Thanks for your support

@matteopiccioni
Hello.
Thank you for reporting the issue.
Though I tried testing similar code, I could not reproduce it.
In version 0.2.1, ItemsSource property allows you to set an empty collection.
So that message "ItemsSource must have..." cannot be displayed by now.
Thinking over that, this issue might attribute to caches in obj and bin folder.
Can you try it again after you delete obj and bin folder in each project and uninstall your app on device or simulator?

oh! you are right! after cleaning bin, obj, etc etc... no more 'ItemsSource must have items more than or equal 1.'
Thank you!

@matteopiccioni
It was good!
I'm glad that you solved that problem.
Thank you.


Consider OneToOneAssociationFields in the EntityForeignKeyResolver

1. Why is this change necessary?
The EntityForeignKeyResolver doesn't consider OneToOneAssociationFields when evaluating the CascadeDelete and RestrictDelete flags.
2. What does this change do, exactly?
Let the code responsible for ManyToOneAssociationFields handle OneToOneAssociationFields too. The corresponding if-block was already modified in commit cf92c8aa3df916f36b60d6bd3e62e86c9f1774b5.
3. Describe each step to reproduce the issue or behaviour.

Create an EntityDefinition with an OneToOneAssociationField and add the RestrictDelete flag
Send a delete request for an entity that can't be deleted due to this constraint
The DELETE won't get caught at framework-level and gets passed to the database instead

4. Please link to the relevant issues (if any).
5. Which documentation changes (if any) need to be made because of this PR?
6. Checklist

[x] I have written tests and verified that they fail without my change
[x] I have squashed any insignificant commits
[x] This change has comments for package types, values, functions, and non-obvious lines of code
[x] I have read the contribution requirements and fulfil them.

Hi @313 ,
Thanks for your pull request. We can't merge changes to the DAL without unit tests, otherwise we can't guarantee the stability.
Please add some tests for the different cases.

Hi @OliverSkroblin ,
I've added tests for CascadeDelete and RestrictDelete.

Hi @313,
I'm sorry about the late answer. I've just imported your PR and we'll put the changes into the core right away.

hey @313
thanks for your contribution. could you please sign the CLA?

@mitelg Sure

@313
We have merged your contribution and it will be synced to github soon.
👍


Bash syntax highlighting doesn't understand three consecutive opening parentheses

Does this issue occur when all extensions are disabled?: Yes

VS Code Version:
Version: 1.95.1
Commit: 65edc4939843c90c34d61f4ce11704f09d3e5cb6
Date: 2024-10-31T05:14:54.222Z
Electron: 32.2.1
ElectronBuildId: 10427718
Chromium: 128.0.6613.186
Node.js: 20.18.0
V8: 12.8.374.38-electron.0
OS: Linux x64 5.19.0-50-generic snap

OS Version: Ubuntu 22.04.5 LTS

Steps to Reproduce:

Create a file named test.sh with the following content:

#!/bin/bash -e

function to_num() {
	if [[ $1 =~ ([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+) ]]; then
		addr=$(( (${BASH_REMATCH[1]} << 24) + ( ${BASH_REMATCH[2]} << 16 ) + ( ${BASH_REMATCH[3]} << 8 ) + ${BASH_REMATCH[4]} ))
		echo "$addr"
	fi
}

to_num "<IP_ADDRESS>"
to_num "<IP_ADDRESS>"

Open it in Visual Studio Code and observe that syntax highlighting is broken after the line with three consecutive opening parentheses.

No special Bash extensions are installed. Just for reference, these are the installed extensions:

test@test:~/.vscode/extensions$ ls -1
coolbear.systemd-unit-file-1.0.6
extensions.json
hangxingliu.vscode-systemd-support-2.2.0
iliazeus.vscode-ansi-1.1.7
jaehyunshim.vscode-ros2-0.0.9
ms-azuretools.vscode-docker-1.29.3
ms-python.debugpy-2024.12.0-linux-x64
ms-python.python-2024.18.0-linux-x64
ms-python.vscode-pylance-2024.11.1
ms-vscode.cmake-tools-1.19.52
ms-vscode.cpptools-1.22.10-linux-x64
ms-vscode.cpptools-1.22.11-linux-x64
ms-vscode.cpptools-extension-pack-1.3.0
ms-vscode.cpptools-themes-2.0.0
ms-vscode.makefile-tools-0.11.13
ms-vscode.remote-explorer-0.4.3
ms-vscode-remote.remote-containers-0.388.0
ms-vscode-remote.remote-ssh-0.115.0
ms-vscode-remote.remote-ssh-edit-0.87.0
twxs.cmake-0.0.17

Copied to https://github.com/jeff-hykin/better-shell-syntax/issues/106, which is where we get our bash syntax highlighting grammar from.


Quick question : Option queryAttributes - ambiguous column name

This is  a question.

Prerequisites

[ 4.7.1] Are you running the latest version?
[x] Are you reporting to the correct repository?
[x] Did you check the documentation?
[x] Did you perform a cursory search?

Description
Hi,
Quick question: If in the option query for my modelA I have a join with modelB, and both models have an attribute / a column "name", when I select the option $queryAttributes to ['name'] the query will fail with SQL error that the name is ambiguous, so my initial reaction was to set the table name as my_table.name.
But this is interpreted as isNested and the query changes to $myModel->my_table()->name.
Is there a workaround for this?
I just need my Option select for ModelA to have searchable column 'name', but with some relations to modelB.
PS: trying aliases will not work for WHERE clauses.
Thank you,

could you post the base query here?

I just realized I forgot an important clue in the scenario above. Error is given when I use the select search function
SQL with search:
select lb_virtuals.id, lb_virtuals.name from `lb_virtuals`
left join `lb_pools` on `lb_virtuals`.`pool_id` = `lb_pools`.`id`
where ((`name` LIKE %test%))
group by `lb_virtuals`.`name`
order by `name` asc
limit 100

Error:
{,…}
exception: "Illuminate\\Database\\QueryException"
file: "..\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php"
line: 678
message: "SQLSTATE[23000]: Integrity constraint violation: 1052 Column 'name' in where clause is ambiguous (SQL: select \n            lb_virtuals.id,\n            lb_virtuals.name\n         from `lb_virtuals` left join `lb_pools` on `lb_virtuals`.`pool_id` = `lb_pools`.`id` where ((`name` LIKE %test%)) and `lb_virtuals`.`id` not in (1) group by `lb_virtuals`.`name` order by `name` asc limit 100)"

Options.php for "Virtuals":
class Options extends Controller
{
    use OptionsBuilder;

    protected $model = Virtual::class;

    protected $queryAttributes = ['name'];

    public function query(Request $request)
    {
        $request['trackBy'] = 'lb_virtuals.id';

        return Virtual::selectRaw('
            lb_virtuals.id,
            lb_virtuals.name
        ')
            ->leftJoin('lb_pools', 'lb_virtuals.pool_id', '=', 'lb_pools.id')
            ->groupBy(
                'lb_virtuals.name'
            );
    }
}

I was thinking maybe this is not something you want to look into, since this is not a problem for you.
In this case, can I ask for some flexibility on class exposure -> binding. At the moment most methods are private and class vendor/laravel-enso/select/src/Services/Options.php is instantiated with new in the only place  :(
vendor/laravel-enso/select/src/Traits/OptionsBuilder.php
private function response(Request $request)
    {
        ...
        return (new Options($query))

As always, I can contribute.

Created PR : Quick question : Option queryAttributes - ambiguous column name #48 #49

I'll close this ticket since my issue with OptionsBuilder can be solved for my situation with a custom OptionsBuilder.


Skip frequently updated files

Files that get updated a lot, particularly if they're large, are poor candidates for compaction.
An obvious simple heuristic that seems likely to be relatively effective is to check file modification time, and simply have a configurable cutoff - if it's changed in the past n days, skip it.  Tiering this by file size might also make sense - frequently decompressing and recompressing a small file is much less costly than a large one.
This sort of thing will be more important should Compactor migrate to a background system service with patrol compactions.

Yeah, I was going to suggest this.
Even without tiering an option to set this cutoff would be very useful.

@Freaky Please, take a look at adding this cutoff by modified time. Thanks.


Direnv should not fail if ../.envrc doesn't exist

source_env .. fails if ../.envrc doesn't exist. I'm not convinced it should. What are your thoughts on this?
TL;DR
My use-case is a top-level dir which contains multiple apps, each with their specific .envrc. I store common values in the top-level dir which is not version-controlled. This global .envrc might not exist on all workstations. Currently, direnv fails:
/bin/bash: line 134: ./.envrc: No such file or directory
direnv: error exit status 1

I would much rather it gracefully handled the absence of ../.envrc

I agree. I'm sure a contribution would be welcomed on this one.

Hi,
I don't have a strong opinion about that. It should at least notify that it
couldn't load the file.
What about just [[ -f ../.envrc ]] && source_env .. in your case ?
On Tue, 2 Jun 2015 20:20 Peter Waller<EMAIL_ADDRESS>wrote:

I agree. I'm sure a contribution would be welcomed on this one.
—
Reply to this email directly or view it on GitHub
https://github.com/zimbatm/direnv/issues/169#issuecomment-108064499.

I clearly didn't understand direnv well enough. I've explored the codebase a bit and this is what I've settled on short-term:
! [ -f ../.envrc ] || source_env ..

I'm using [ ] which is a test alias and will work in every POSIX shell. [[ ]] only exists in bash.
I'm using || instead of && so that it plays nicely with the errexit option (a.k.a. set -e).
Long-term, I would like source_env to handle this. It would make .envrc files leaner and would be more user-friendly.
Going to convert this into a PR.

Sounds good.
Note that the .envrc is loaded in a bash sub-shell so you don't need to
worry about bashism. The env is then transferred to direnv which in turn
exports the diff is the proper format to the target shell. It's a bit
complicated but it allows the user to have a non-posix shell
On Wed, 3 Jun 2015 08:47 gerhard<EMAIL_ADDRESS>wrote:

I clearly didn't understand direnv well enough. I've explored the codebase
a bit and this is what I've settled on short-term:
! [ -f ../.envrc ] || source_env ..
I'm using [ ] which is a test alias and will work in every POSIX shell. [[
]] only exists in bash.
I'm using || instead of && so that it plays nicely with the errexit
option (a.k.a. set -e).
Long-term, I would like source_env to handle this. It would make .envrc
files leaner and would be more user-friendly.
Going to convert this into a PR.
—
Reply to this email directly or view it on GitHub
https://github.com/zimbatm/direnv/issues/169#issuecomment-108234422.

All clear, PR attached.

Thanks @gerhard

:+1:


bibtex fix plot_time_frequency_global_field_power

Reference issue
Fixes #8908
What does this implement/fix?
Fix the bibtex references.

Failure is unrelated, thanks @neurogima !


Could not follow _from/_to links in the web interface

my environment running ArangoDB
I'm using the latest ArangoDB of the respective release series:

[ ] 2.8
[ ] 3.0
[ ] 3.1
[ ] 3.2
[ x] 3.3
[ ] self-compiled devel branch

Mode:

[ ] Cluster
[ x] Single-Server

Storage-Engine:

[ ] mmfiles
[x ] rocksdb

On this operating system:

[ ] DCOS on

[ ] AWS
[ ] Azure
[ ] own infrastructure

[ ] Linux

[ ] Debian .deb
[ ] Ubuntu .deb
[ ] SUSE   .rpm
[ ] RedHat .rpm
[ ] Fedora .rpm
[ ] Gentoo
[ x] docker - official docker library
[ ] other:

[ ] Windows, version:
[ ] MacOS, version:

this is a web interface-related issue:
I'm using the web interface with this browser: chrome Version 66.0.3359.139   running on this OS: mac Os Sierra v10.13.4

[ ] authentication is enabled?
[ ] using the cluster?
[ ] _system database?

In a document corresponding to an edge, if you click on _to or _from links which contains special character ":", the web interface cannot retrieve the document.
For example:
The document to retrieve has the _id: test/test-1:test-2:test-3:test-4
Document not found. Requested ID was: "test/test-1%3Atest-2%3Atest-3%3Atest-4".

But it works with a document _id: test/test-1:test-2:test-3

Thanks for reporting, i could reproduce it using 3.3.8 on Ubuntu.
For some reason this error does only occur when the document key contains the character ":" exactly 3 times, a document key with a higher or lower amount than 3 of the character ":" is accessible through _from/_to links.

Fixed in 3.9.0.

The GA release of ArangoDB 3.9, which includes a fix for this issue, is available.


What python modules need to be installed?

Hi
I'm trying to use this tool but I think I'm missing modules and I'm stuck.
I've installed solid, numpy, kle.
The compiler was complaining about solid.utils being not found? Replace it with solid.util and it stopped complaining. But now I'm getting
File "./plate.py", line 325, in generate
    use(scad_morphology_path)
NameError: name 'use' is not defined

Which I have no idea how to fix. Can somebody help? Thanks!

Found it, solid-mcad!


parser: add a compatibility tester and reporter with mysql and tidb parser

What problem does this PR solve?
This PR adds a compatibility test tool, which generates SQL case from MySQL yacc file (by sequentially or randomly) and compare the behavior between MySQL and TiDB.
What is changed and how it works?

this tester generates SQL case from MySQL yacc file by sequentially or randomly.
run SQL case in TiDB parser and MySQL.
compare the behavior between MySQL and TiDB.
output the incompatible case into a CSV report file.

Check List
Tests

[x] Unit test
[ ] Integration test
[x] Manual test (add detailed scripts or steps below)
we already use this tool to generate bad case.
[ ] No code

Code changes

[x]  Has exported function/method change
export two SQL generator used by this tester.
[ ] Has exported variable/fields change
[ ] Has interface methods change

Side effects

Possible performance regression
None
Increased code complexity
None
Breaking backward compatibility
None

Related changes

Need to update the documentation
already add a readme file.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: tangenta:x: leopproYou have signed the CLA already but the status is still pending? Let us recheck it.

@GregoryIan @winkyao PTAL
@tangenta

Note that I use a new interfaceio.StringWriter in go 1.12, so I update the go version in circleci

How mysql80_bnf.txt is created? Is it GPL'ed?

How mysql80_bnf.txt is created? Is it GPL'ed?

https://github.com/pingcap/parser/pull/387/files#diff-efa533c14947f2e54885ea7da54cce61R35
it's a part of the mysql source code, I have no idea that whether it's GPL'ed, it a legal issues.

@leoppro Is this PR ready to be reviewed?

Oh, I even forgot it. We need remove mysql bnf file and then it will ready to review

this pr has been ready to reviewed @zz-jason

This is pretty old, I'll mark a needs-rebase tag

Closed as stale a while.
Thanks for submitting this PR @leoppro ! You can make another PR based on nightly master later.


prestige point issue

Whenever I prestige it doesn't add the full amount of prestige points that I should get, there was one case where it actually lowered the number of prestige points I had.

It's now fixed, sorry for delay


Target of typeof expressions in type position should not be colorized as a type

This is theme issue and already tracked as part of #13046


Fix a VLC detection bug

If you were on a x64 Windows OS and had installed the 64bit version of VLC, it was not detected previously. This is a patch to fix that.

Can you explain why this change was necessary?

I just found out that its a little more complicated than that. So, here's the story:

When you're on a 32bit Windows and obviously running 32bit VLC, you're not using Wow64, so, the VLC keys are stored at HKLM\Software\VideoLAN\VLC.
When you're on a 64bit Windows and running 32bit VLC, you are using Wow64, so, the VLC keys are stored at HKLM\Software\Wow6432Node\VideoLAN\VLC.
When you're on a 64bit Windows and running 64bit VLC, you're not using Wow64, so, the VLC keys are at HKLM\Software\VideoLAN\VLC, like the first case.

So, the best chance is to search in HKLM\Software\VideoLAN\VLC first and if we cant find them there, we can check for process.arch === 'x64' and search in HKLM\Software\Wow6432Node\VideoLAN\VLC (2nd condition).

I'm having some problem with doing that. I tried this:
var key = new Registry({
  hive: Registry.HKLM,
  key: '\\Software\\Wow6432Node\\VideoLAN\\VLC' // I'm on 64bit Windows, so, it's to make it fail
})

if (key) {
  key.get('InstallDir', function (err, item) {
    if (err) {
      if(process.arch === 'x64'){
        key = new Registry({
          hive: Registry.HKLM,
          key: '\\Software\\VideoLAN\\VLC'
        })
        if(key ) {
          key.get('InstallDir', function (err, item) {
            console.log(err, item) // it never gets here. I even tried changing variable names. But it didnt work
          })
        }
      } else {
        return fatalError(err)
      }
    }
    var vlcPath = item.value + path.sep + 'vlc'
    VLC_ARGS = VLC_ARGS.split(' ')
    VLC_ARGS.unshift(href)
    unref(cp.execFile(vlcPath, VLC_ARGS, function (err) {
      if (err) return fatalError(err)
      torrentDone()
    }))
  })
}

@raeesiqbal Thanks for debugging this. I just published a package https://npmjs.com/package/vlc-command that detects VLC correctly on Windows now.

1.2.0

Cheers 🎉


DisplayEnchants

In a crate config, when I try to set -DISPLAYENCHANTMENTS, and then upload the config and reload, it still does not display the enchantments i have set it as, please help!

I too have this problem ;)


correctly use npm prerelease tag

Coverage remained the same at 97.042% when pulling 4b3e9e998e290bdc55e815b80e798f42749cf0fe on release-tag into 3f8bbc8cc292757e47bd8cc460b98b738ecb2bd0 on master.


fatal error: 'clang/Analysis/AnalysisContext.h'

I built clang using clang/setup.sh and then tried "make". In "analyzer/ObjCARCQualifierChecker.cpp" there is an import of "clang/Analysis/AnalysisContext.h". This file is simply not present in "clang/install/include/clang/Analysis". The folder does exist, but the file is not present there.
I've tried this on both Fedora and MacOS Sierra, but the file is not present in the .tar.gz file either, so its not a platform issue, just a missing file or wrong clang version in the .tar.gz.
"make" output:

[elijah@localhost facebook-clang-plugins]$ make
make -C analyzer all
make[1]: Entering directory '/home/elijah/RuntimeConverter/other/facebook-clang-plugins/analyzer'
clang++ -std=c++14 -fPIC -g -I../clang/install/include -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -fvisibility-inlines-hidden -fno-exceptions -fno-rtti -fno-common -Woverloaded-virtual -Wcast-qual -fno-strict-aliasing -pedantic -Wno-long-long -Wall -W -Wno-unused-parameter -Wwrite-strings -Wno-uninitialized  -Wno-missing-field-initializers -Wno-vla-extension -Wno-c99-extensions -O3 -DNDEBUG -c ObjCARCQualifierChecker.cpp -o build/ObjCARCQualifierChecker.o
ObjCARCQualifierChecker.cpp:19:10: fatal error: 'clang/Analysis/AnalysisContext.h' file not found
#include "clang/Analysis/AnalysisContext.h"

Additionally, when running make -C clang-ocaml:

ocamlfind ocamlopt -package unix,atdgen,atdgen-runtime,camlzip -I build -safe-string -o build/clang_ast_converter.cmx -c clang_ast_converter.ml
File "clang_ast_converter.ml", line 11, characters 41-62:
Error: Unbound value Clang_ast_j.read_decl
make: *** [Makefile:42: build/clang_ast_converter.cmx] Error 2

"make libtooling" does work though, which is want I wanted anyways.


add command interface

Add command interface
Add full hardware tests (and slow tests) using command
Merge command should work as well

@bot help test
comment

No significant changes.

Insignifcant changes

metric
value

change

binary-size-nk3am
1,423,270
:white_circle:
+0 (+0.00%)

binary-size-nk3am-test
2,022,174
:white_circle:
+0 (+0.00%)

binary-size-nk3xn
510,272
:white_circle:
+0 (+0.00%)

binary-size-nk3xn-test
547,156
:white_circle:
+0 (+0.00%)

binary-size-nkpk
736,421
:white_circle:
+0 (+0.00%)

test completed successfully

trying to restart failed pipeline jobs

full hardware tests completed with errors

Full hardware tests completed with errors!

@nitrokey-ci full-test

I think report would be a more intuitive stage name, especially as it is also used for the job name, but com-interface is fine too.

There are already other commands in the making and for some report would not be fitting. Of course this is independent of the command interface itself, so we could easily add a stage called report for such jobs, i just didn't think it was worth the clutter and if you say it's fine like this i would leave it for now. If at some point we find ourselves wanting to separate reports from commands, it's very easy to change.

Then maybe just commands?  My problem with com-interface is that com is not a very common abbreviation (at least for me) and interface is so generic that it is hard to understand the term unless you already know its meaning.

Then maybe just commands? My problem with com-interface is that com is not a very common abbreviation (at least for me) and interface is so generic that it is hard to understand the term unless you already know its meaning.

Good point, i suppose com-interface was the internal name for it, but using something more expressively would be great for public use. I changed it now here and in github_commands.yml.

@nitrokey-ci merge

@nitrokey-ci full-test

Full hardware tests completed with errors:
https://git.nitrokey.com/nitrokey/nitrokey-3-firmware/-/pipelines/26245/test_report

@nitrokey-ci full-test

Full hardware tests completed with errors:
https://git.nitrokey.com/nitrokey/nitrokey-3-firmware/-/pipelines/26325/test_report


Highlighting fails with TypeError when highlighter_field value is None (while using HighlighterMixin)

Expected behavior
Should return a empty string instead.
Actual behavior
Argument of type 'NoneType' is not iterable
ret["highlighted"] = highlighter.highlight(getattr(instance, self.highlighter_field or document_field))

def highlight(self, text_block):
        self.text_block = strip_tags(text_block)

Steps to reproduce the behavior

Index a field with null value and try using HighlighterMixin to get the highlighted field.

While using drf-haystack==1.7.1rc2 but master seems to have the same implementation.
Insights
This can be fixed by:
ret["highlighted"] = highlighter.highlight(getattr(instance, self.highlighter_field or document_field) or '')

Hello, thanks for the report.
Would you consider creating a PR for this? 🙂

@rhblind  Yeah, will do. Given me few days to raises PR.


Dist contains ES6 modules

As of the latest release, line 36 in the dist/index.js file now contains:
import React from 'react';

This breaks a lot of projects using for example Jest, where items in node_modules are by default not passed through Babel.
People using Jest can add the following to their configs as a temporary workaround, but it's not optimal:
transformIgnorePatterns: ['node_modules/(?!react-simple-timefield)']

Good catch! Just pushed https://www.npmjs.com/package/react-simple-timefield/v/3.2.3 :+1:


Login failed

udacimak settoken mykey
(node:941) [DEP0128] DeprecationWarning: Invalid 'main' field in '/www/server/nodejs/v16.14.1/lib/node_modules/udacimak/node_modules/user-settings/package.json' of 'dots.js'. Please either fix that or report it to the module author
(Use node --trace-deprecation ... to show where the warning was created)
✖ Validate Udacity authentication token via Udacity API
2022-03-16T12:53:45.121Z [error]: Failed to validate your Udacity token. Please try again. Here's the error message:
[
{
"message": "Unknown argument "include_free_preview" on field "nanodegrees" of type "User".",
"status": null
},
{
"message": "Cannot query field "version_upgrade_details" on type "Nanodegree".",
"status": null
}
]
Desktop (please complete the following information):

OS: [e.g. iOS] debain10 arm64
Node version: (node --version)  v16.14.1
npm version: (npm --version) 8.5.4
Udacimak Version: (udacimak --version) latest
Browser [e.g. chrome, safari]  firefox

Same here. Could you please have a look at it? Thanks!

same here

Udacity redesigned its website, api and its structure. So udacimak is not working the same as before.
Solution, which worked for me:
In udacimak main folder (e.g. "C:\Users\Me\AppData\Roaming\npm\node_modules\udacimak")...then in the "\lib\config\apiEndpointsUdacity.js" file change the global variable
from
const API_ENDPOINTS_UDACITY_GRAPHQL = 'https://classroom-content.udacity.com/api/v1/graphql';
to
const API_ENDPOINTS_UDACITY_GRAPHQL = 'https://learn.udacity.com/api/classroom-content/v1/graphql';
Also in the file "\lib\api\fetchApiUdacityGraphql.js" change the headers object to:
  const headers = {
    Accept: '*/*',
    Authorization: `Bearer ${udacityAuthToken}`,
    'Content-Type': 'application/json',
    Host: 'learn.udacity.com',
    Connection: 'keep-alive',
    'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36'
  };

Hope it works

Thank you for this, however doing this alone appears to no longer be working with the following error message (possibly linked to #220)
✖ Validate Udacity authentication token via Udacity API
2023-01-17T22:26:29.662Z [error]: Failed to validate your Udacity token. Please try again. Here's the error message:
[
    {
        "message": "Unknown argument \"include_free_preview\" on field \"nanodegrees\" of type \"User\".",
        "status": null
    },
    {
        "message": "Cannot query field \"version_upgrade_details\" on type \"Nanodegree\".",
        "status": null
    }
]

What got the authentication working for me was doing a fresh install of udacimak, following the instructions in this comment in #192, then following your instructions (updating \lib\config\apiEndpointsUdacity.js and \lib\api\fetchApiUdacityGraphql.js). udacimak settoken AUTH_KEY works after this.

Thank you for this, however doing this alone appears to no longer be working with the following error message (possibly linked to #220)
✖ Validate Udacity authentication token via Udacity API
2023-01-17T22:26:29.662Z [error]: Failed to validate your Udacity token. Please try again. Here's the error message:
[
    {
        "message": "Unknown argument \"include_free_preview\" on field \"nanodegrees\" of type \"User\".",
        "status": null
    },
    {
        "message": "Cannot query field \"version_upgrade_details\" on type \"Nanodegree\".",
        "status": null
    }
]

What got the authentication working for me was doing a fresh install of udacimak, following the instructions in this comment in #192, then following your instructions (updating \lib\config\apiEndpointsUdacity.js and \lib\api\fetchApiUdacityGraphql.js). udacimak settoken AUTH_KEY works after this.
While we're at it - I had an issue with Youtube downloads failing too fast; relevant workaround for this has been posted here #209 (comment) (I had to increase to 10000000ms for the data scientist nanodegree)

Thanks for the above, the login and downloading is working now...  but the rendering of youtube-dl is not working, see the new issue here: https://github.com/udacimak/udacimak/issues/236

Thank you for this, however doing this alone appears to no longer be working with the following error message (possibly linked to #220)
✖ Validate Udacity authentication token via Udacity API
2023-01-17T22:26:29.662Z [error]: Failed to validate your Udacity token. Please try again. Here's the error message:
[
    {
        "message": "Unknown argument \"include_free_preview\" on field \"nanodegrees\" of type \"User\".",
        "status": null
    },
    {
        "message": "Cannot query field \"version_upgrade_details\" on type \"Nanodegree\".",
        "status": null
    }
]

What got the authentication working for me was doing a fresh install of udacimak, following the instructions in this comment in #192, then following your instructions (updating \lib\config\apiEndpointsUdacity.js and \lib\api\fetchApiUdacityGraphql.js). udacimak settoken AUTH_KEY works after this.
While we're at it - I had an issue with Youtube downloads failing too fast; relevant workaround for this has been posted here #209 (comment) (I had to increase to 10000000ms for the data scientist nanodegree)

after i did this i am still getting undefined
C:\Users\USER>udacimak login
? Email:
? Password: [hidden]
undefined

Thank you for this, however doing this alone appears to no longer be working with the following error message (possibly linked to #220)
✖ Validate Udacity authentication token via Udacity API
2023-01-17T22:26:29.662Z [error]: Failed to validate your Udacity token. Please try again. Here's the error message:
[
    {
        "message": "Unknown argument \"include_free_preview\" on field \"nanodegrees\" of type \"User\".",
        "status": null
    },
    {
        "message": "Cannot query field \"version_upgrade_details\" on type \"Nanodegree\".",
        "status": null
    }
]

What got the authentication working for me was doing a fresh install of udacimak, following the instructions in this comment in #192, then following your instructions (updating \lib\config\apiEndpointsUdacity.js and \lib\api\fetchApiUdacityGraphql.js). udacimak settoken AUTH_KEY works after this.
While we're at it - I had an issue with Youtube downloads failing too fast; relevant workaround for this has been posted here #209 (comment) (I had to increase to 10000000ms for the data scientist nanodegree)

after i did all this i started b getting this error i dont know if anyone can help
C:\Windows\System32>udacimak login
? Email<EMAIL_ADDRESS>? Password: [hidden]
Error: getaddrinfo ENOTFOUND user-api.udacity.com
at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:107:26) {
errno: -3008,
code: 'ENOTFOUND',
syscall: 'getaddrinfo',
hostname: 'user-api.udacity.com'
}
and the user-api.udacity.com is replying with user not found

Thank you for this, however doing this alone appears to no longer be working with the following error message (possibly linked to #220)
✖ Validate Udacity authentication token via Udacity API
2023-01-17T22:26:29.662Z [error]: Failed to validate your Udacity token. Please try again. Here's the error message:
[
    {
        "message": "Unknown argument \"include_free_preview\" on field \"nanodegrees\" of type \"User\".",
        "status": null
    },
    {
        "message": "Cannot query field \"version_upgrade_details\" on type \"Nanodegree\".",
        "status": null
    }
]

What got the authentication working for me was doing a fresh install of udacimak, following the instructions in this comment in #192, then following your instructions (updating \lib\config\apiEndpointsUdacity.js and \lib\api\fetchApiUdacityGraphql.js). udacimak settoken AUTH_KEY works after this.
While we're at it - I had an issue with Youtube downloads failing too fast; relevant workaround for this has been posted here #209 (comment) (I had to increase to 10000000ms for the data scientist nanodegree)

after i did this i am still getting undefined C:\Users\USER>udacimak login ? Email: ? Password: [hidden] undefined

okay i am now getting this
C:\Windows\System32>udacimak login
? Email:
? Password: [hidden]
Error: getaddrinfo ENOTFOUND user-api.udacity.com
at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:107:26) {
errno: -3008,
code: 'ENOTFOUND',
syscall: 'getaddrinfo',
hostname: 'user-api.udacity.com'
}
and the user-api.udacity.com is replying with page not found

Thank you for this, however doing this alone appears to no longer be working with the following error message (possibly linked to #220)
✖ Validate Udacity authentication token via Udacity API
2023-01-17T22:26:29.662Z [error]: Failed to validate your Udacity token. Please try again. Here's the error message:
[
    {
        "message": "Unknown argument \"include_free_preview\" on field \"nanodegrees\" of type \"User\".",
        "status": null
    },
    {
        "message": "Cannot query field \"version_upgrade_details\" on type \"Nanodegree\".",
        "status": null
    }
]

What got the authentication working for me was doing a fresh install of udacimak, following the instructions in this comment in #192, then following your instructions (updating \lib\config\apiEndpointsUdacity.js and \lib\api\fetchApiUdacityGraphql.js). udacimak settoken AUTH_KEY works after this.
While we're at it - I had an issue with Youtube downloads failing too fast; relevant workaround for this has been posted here #209 (comment) (I had to increase to 10000000ms for the data scientist nanodegree)

after i did this i am still getting undefined C:\Users\USER>udacimak login ? Email: ? Password: [hidden] undefined

okay i am now getting this C:\Windows\System32>udacimak login ? Email: ? Password: [hidden] Error: getaddrinfo ENOTFOUND user-api.udacity.com at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:107:26) { errno: -3008, code: 'ENOTFOUND', syscall: 'getaddrinfo', hostname: 'user-api.udacity.com' }
and the user-api.udacity.com is replying with page not found

did you resolved this problem


Unifying Accept/Content-Type headers

I would like to construct all messages to and parse all messages from the conductor in the same fashion. Can we make all Accept and Content-Type headers accept application/json? Some responses are of type text/plain which means I must do extra work (or have a good memory) to create my microservices

Good suggestions.  However, if you are using REST client libraries like Spring or Jersey, they take care of it automatically - without additional work required.


Simplify Automated Build Steps

As discussed in #46, I would like to find a way to integrate the jekyll serve and jekyll watch commands into a single call to gulp

This will likely have to assure the sitemaps gem is included in gemfile as well (or perhaps it wont matter for Gulp persay).
I'm just saying local work probably needs to be aware of the sitemaps gem dependency -- but I just added the config change online without integrating the solution into a local build/test repository structure. :D

And just to assuage any concern: the sitemaps gem didn't give me any trouble.
Thanks @tenken!


Feature suggestion: Travelling from on-curve nodes to segment nodes

This is brilliant! It is such an efficient way of selecting instead of constantly using the mouse/trackpad to drag. I was looking for something like this so I had started a script that would cycle through the nodes along the outline but then ran into difficulty going across outlines. Your approach cuts through all of that.
If I can make a suggestion/wish.
I constantly find myself either selecting a single on-curve node or both the off-curve nodes of a curved segment.
Would it be possible to add a feature that allows for travelling from an on-curve node to segment nodes? I've been trying the multiple selection feature but it doesn't feel as predictable. If this was possible, I could almost drop the use of a trackpad while editing outlines.

Glad you like it! Just to make sure I understand correctly: you want to toggle between on-curve node selected to both of it’s off-curve handles selected.
So, from this:

to this:

and the other way around. Right?

I was thinking this.

Not sure if the multiple selection feature would always keep these neatly in sync.

This can go into a script, no plugin needed. I’ll try adding that to my scripts collection. Stay tuned :)

Would you still be able to freely travel across the nodes and segments like this?

My current idea is to add scripts that you can assign custom shortcuts in preferences. So Keyboard Selection Travel would still work. The scripts would be something like: “Select Handles to the Right/Left/Top/Bottom” and “Select Handles Node to the Right/Left/Top/Bottom”.

Cool. I'll keep my eyes open for those!

The scripts are up! There are four scripts, one for left, right, up, and down.
https://github.com/florianpircher/Glyphs-Scripts/tree/main/Scripts/Selection/Travel
This is what it looks like:

For these shortcuts to be useful, you’ll need to define shortcuts in the preferences. This my setup:

Installation of the scripts somewhat tricky. If you know what to do, great! If not, I will try to get my scripts collection added to the plugin manager in the following days. That would make the installation a lot easier.

Got the scripts all set-up and working in conjunction with the plugin.
I'll have to share with you how I'm using it once I get a good workflow going.
Thank you, Florian!

The scripts are now downloadable from the Plugin Manager.


improve mobile style

minimum font size: 1rem
reduce lateral padding

I wonder if there's a way to fix this using only css, though...

I wonder if there's a way to fix this using only css, though...

There is!
@viewport {
    width: device-width;
    initial-scale: 1;
}

It's not ready for primetime yet, but I should include it nevertheless.

For convenience, here are the bug tracker issues related to native implementation in CSS:

Chrome
Firefox
Edge


Specify which version of FTXUI to use.

To avoid being broken by non backward compatible change from FTXUI, its version can be specified:
FetchContent_Declare(ftxui
  GIT_REPOSITORY https://github.com/ArthurSonzogni/ftxui
  GIT_TAG 87a1d75bf1c1ee964e8eed4a6686544ae3b44116
)

FTXUI merge the mouse support and functional component, which broke beagle-config.

Yes, Thank you for providing the GIT_TAG.

I tried to make the ftxui/component part more functional.
The example become:
https://github.com/ArthurSonzogni/FTXUI/blob/master/examples/component/slider_rgb.cpp

I think I should close this issue now.


Separate lock backend from celery backend

Hi, locking mechanism in Flask-Celery-Helper currently uses celery result backend, that is not "optimal" (cant use rabbitmq as celery result backend+locking).
This PR fixes #19 that, it allows (actualy requires) setting custom separate lock backend in configuration option CELERY_TASK_LOCK_BACKEND supported lock backends are:

redis
sqlalchemy
fileystem (only local, ok to use with single task producer and also fallback when CELERY_TASK_LOCK_BACKEND is not specified with warning message)

These changes required some refactoring so flask_celery is not a single file anymore...
Tests should went OK, only appveyor sometimes fails cos Chocolatey fails to install/run rabbitmq properly for some reason...

@Robpol86 Hi, any chance for review and merge ?
Tests works ok, travis failed cos their pypi img got broken or something... and i cant force rerun from my end.


Add hybrid jobs to Braket QAOA demo

Title:
Computing gradients in parallel with Amazon Braket
Summary:
Adding hybrid jobs to Braket QAOA demo.
Relevant references:
Possible Drawbacks:
Related GitHub Issues:

Hi @mbeach-aws , don't forget to work on the last proposed suggestions 😄


With nx 19 @nx/rspack does not work [including latest v19.1.0]

The example code given to make a test of rspack is not longer working (nx current version 19, nx/rspack 18.3.7)
npx create-nx-workspace@latest rspack-demo --preset=@nx/rspack
https://www.npmjs.com/package/@nx/rspack?activeTab=readme

In the version 19.0.0 still failing when using the command but this time like this
npx create-nx-workspace@latest rspack-demo --preset=@nx/rspack
Need to install the following packages:
<EMAIL_ADDRESS>Ok to proceed? (y) y

 NX   Let's create a new workspace [https://nx.dev/getting-started/intro]

✔ Set up CI with caching, distribution and test deflaking · skip
✔ Would you like remote caching to make your build faster? · skip

 NX   Creating your v19.0.4 workspace.

✔ Installing dependencies with npm
✖ Creating your workspace in rspack-demo

 NX   Failed to create a workspace.

tested also in version v19.1.0
 NX   Workspaces is not a constructor

A found a workaround only tested on NPM (yarn doen't work)only with npm is to

after runing npx create-nx-workspace@latest rspack-demo --preset=@nx/rspack
delete the node_modules and package-lock.json on the rspack-demo
install all dependencies again npm install


Decide what to do with "invalid" MIDI

e.g., dur==0, overlapping notes, etc. Assert and fail? Or warn?

We need to clean out overlapping notes of the same pitch from excerpts. This is because conversion to commands now becomes a non-invertible function (it screws it all up!). This is because we have to assume that the first occurring note_off command for a given pitch is the note_off for the oldest pitch coming on (or, at least an assumption must be made, there's no way of us telling which way round it was). For example:
df = pd.DataFrame({
    'onset': [0, 40, 80, 120],
    'track' : 0,
    'pitch': [60, 60, 60, 60],
    'dur': [80, 20, 40, 60]
})

df
Out[102]:
   onset  track  pitch  dur
0      0      0     60   80
1     40      0     60   20
2     80      0     60   40
3    120      0     60   60

cmd_str = df_to_command_str(df)

cmd_str
Out[104]: 'o60 t40 o60 t20 f60 t20 f60 o60 t40 f60 o60 t60 f60'

command_str_to_df(cmd_str)
Out[105]:
   onset  track  pitch  dur
0      0      0     60   60
1     40      0     60   40
2     80      0     60   40
3    120      0     60   60

Also related to that problem: #46 and #8

Maybe the simplest (but not best or most elegant) way to solve all of these issues is:

Remove the track column (for now at least)
Skip invalid MIDI (including those which now have overlapping notes because we ignore the tracks)
Add a check to degradations.post_process for overlapping notes which will instead return None.

I'm going to call this fixed now, since our set of midi all loads, and we skip some empty files and fix overlaps.
We can reopen if any weird midi files show up.


update httpClient version and add localhost as defaults for host_deny_list

Description

update httpClient version to the latest
add localhost as defaults for host_deny_list
Fix some default notificaiton-core plugin setting value in yml

Issues Resolved
#354
#352
Check List

[ ] New functionality includes testing.

[ ] All tests pass, including unit test, integration test and doctest

[ ] New functionality has been documented.

[ ] New functionality has javadoc added
[ ] New functionality has user manual doc added

[ ] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

outdated PR. Closing


Remove all duplicate '422' error notes from the REST API docs

Why:
Closes #11784

What's being changed:
Each of the duplicate "422 error notes" in REST API docs have been removed.
Screenshot showing duplicate note before removal:

Check off the following:

[x] I have reviewed my changes in staging (look for "Automatically generated comment" and click Modified to view your latest changes).
[x] For content changes, I have completed the self-review checklist.

Writer impact (This section is for GitHub staff members only):

[ ] This pull request impacts the contribution experience

[ ] I have added the 'writer impact' label
[ ] I have added a description and/or a video demo of the changes below (e.g. a "before and after video")

@ramyaparimi I couldn't find exactly where the values were being generated which contained the duplicate note. The only places I found using VS Code search was in the lib/* folder which I just discovered is a unacceptable contribution type.
Let me know what the next steps should be. I'm happy to revert my proposed changes as they won't be accepted, and then update the appropriate place in source where this duplicate note is being defined/used.

@tannerdolby
Thanks so much for opening a PR! I'll get this triaged for review :zap:

@ramyaparimi You're welcome! Ok great, thank you ⚡

Thanks for opening this PR! Those files are generated automatically, so your changes would quickly be overwritten. Instead, we need to fix this internally. I'll open an issue for the team to fix this internally.


knn classifier

First and foremost, I wish to express my profound respect for the research presented in your paper titled "[MEDIAR: Harmony of Data-Centric and Model-Centric for Multi-Modality Microscopy]". The approach you introduced about using model embeddings for KNN classification has greatly intrigued me.
As I attempt to understand and apply this method, I have encountered some challenges in its practical implementation. To gain a deeper understanding and practical experience of this concept, I am reaching out to inquire if it would be possible for you to share the related code implementation, be it a GitHub link or a zip file, either would be immensely helpful to me.
I assure you that, if granted access to your code, it will strictly be used for academic research purposes, adhering to all relevant research ethics and copyright policies. Your assistance will be invaluable in the completion of my study.
Thank you for considering my request. I look forward to your response and once again, thank you for your valuable contribution to the academic community.

Since we didn't use a KNN classifier, I believe you're referring to our K-means approach. Unfortunately, we don't have official code for this. However, it can be easily implemented in just a few lines. Let me provide the following code, which is nearly identical to our original approach. The only difference is that we ran it multiple times with different encoder checkpoints and seeds to achieve the best results during the competition period.
The result is as follows:

import numpy as np
import matplotlib.pyplot as plt
from sklearn.cluster import KMeans
from train_tools.models import MEDIARFormer
from train_tools.data_utils.datasetter import get_dataloaders_labeled

# Load data and model
dataloaders = get_dataloaders_labeled("/home/gihun/MEDIAR", "./train_tools/data_utils/mapping_labeled.json", "./train_tools/data_utils/mapping_tuning.json")
model = MEDIARFormer().to("cuda:7").eval()
model.load_state_dict(torch.load("./weights/pretrained/phase1.pth", map_location="cpu"))

# Extract and process embeddings
embeddings_all = []
for batch in dataloaders["train"]:
    with torch.no_grad():
        embeddings = model.encoder(batch["img"].to("cuda:7"))[-1].mean(dim=[2, 3]).cpu()
        embeddings_all.append(embeddings)
embeddings_all = torch.cat(embeddings_all, dim=0)

# Cluster embeddings
kmeans = KMeans(n_clusters=40, random_state=0).fit(embeddings_all.numpy())
labels, counts = np.unique(kmeans.labels_, return_counts=True)
sorted_indices = np.argsort(counts)[::-1]

# Plot histogram
plt.figure(figsize=(10, 6))
plt.bar(range(len(counts)), counts[sorted_indices], tick_label=labels[sorted_indices])
plt.xlabel('Cluster Label')
plt.ylabel('Count')
plt.title('KMeans Labels Histogram (Desc. Count)')
plt.show()```


Irrelevant banner on all pages.

There seems to be an irrelevant banner on all pages saying: "Black Lives Matter. Support the Equal Justice Initiative."
I don't see what the political climate has to do with React and would not expect to see political slogans on here.

Black Lives Matter is not a political statement. It's a human rights statement.

The BBC, as a neutral network, has designated it a political movement. If you want to discuss the legitimacy of "Black Lives Matter" and throw studies around I'm happy to do so on another forum. The fact remains that it's irrelevant to React.

It's also really annoying bc the navbar is sticky and takes up valuable screen space. Can we have a way to close it like on https://angular.io?

Black Lives Matter is not a political statement. It's a human rights statement.

Why stop at "Black Lives Matter" then? I also have something that you can add: Free Hong Kong. As we all know, China's not a free country and has an oppressive regime which makes it a human rights statement. It's not inclusive if you don't have my statement there aswell.

I think it’s a legitimate question why the banner is scoped to a US-based movement. The answer is that although our audience is international, the React core team is primarily based in US. I think it would make total sense for a project primarily developed in Hong Kong to include a statement supporting human rights there.
As for why it’s up at all, it’s because we’ve made a decision as a team to put the banner up. We can respect that not all projects would choose this stance, and we appreciate your feedback on this. However, we hope that you can respect our decision even if you disagree.
I don’t think debating it would prove illuminating to either you or us — so I’m going to lock this issue. Please remember that trolling, bating, and other attention-stealing behavior will not be tolerated in this repository.
Thank you.


R8: Type com.honeywell.IExecutor$Stub$Proxy is defined multiple times:

ERROR:C:\Users--.gradle\caches\transforms-3\879d833172b62a6759a4151e737976da\transformed\jetified-datacollection.jar: R8: Type com.honeywell.IExecutor$Stub$Proxy is defined multiple times: C:\Users--.gradle\caches\transforms-3\879d833172b62a6759a4151e737976da\transformed\jetified-datacollection.jar:com/honeywell/IExecutor$Stub$Proxy.class, D:\Projects---\build\honeywell.transforms\144dc4da4006cd867b23a1b5283fec2e\transformed\jetified-honeywell-runtime.jar:com/honeywell/IExecutor$Stub$Proxy.class

Not enough data to help you, check the example project.

Hi I also want to said that it only happen in release mode but in debug and profile work fine

and if delete file in c it run but function of scan not work

It only happens on release because R8 is an optimization tool that only takes place on release unless you manually specify it for debugs. You have to check your gradle confs, to see if there is something causing issues with R8 and honeywell .aar.
For instance you can try disabling R8 on release builds using this in your app gradle.conf:
...
buildTypes {
        release {
            minifyEnabled false
            shrinkResources false
            ndk {
                abiFilters 'armeabi-v7a','arm64-v8a'
            }
    }
 ...

Also check the docs: https://developer.android.com/build/shrink-code


Please invite me to the GitHub Community Organization

Name
Anubhav
Discord Username (if applicable)
Anubhav#6463
Additional Context
I would like to join the GitHub Organization

@imabp

check your email


[Fix] Endurant type mapping to gufo

Don't have permission :(
"You’re not authorized to merge this pull request."

Don't have permission :(
"You’re not authorized to merge this pull request."

Try now - the permissions are strange - ordering of authorization rules maybe matters, so I tried to reshuffle them.

still cannot merge :(

and now?

huraaa ;)


Feature/94/create about section

✨ Issue: https://github.com/LaurierHawkHacks/Landing/issues/94
🔀 Branch: feature/94/create-about-section
✏ What was changed?

Create About section with the SVG background
Add the Air Balloon animation

📜 Suggestions and things to know
The heading and text on the Figma design seem off.

The Heading is white but the text is black which doesn't seem to fit well. They contrast each other poorly
The Heading is also center aligned while the text is left aligned. Also looks odd.
For this PR I made both white and center aligned. Let me know what you guys think!!

The Navbar

I believe making the navbar sticky instead of fixed would work better (let me know what you guys think though). Sticky allows the next section to be placed underneath it, while fixed makes it so the navbar sits on top of the section. Which is why I added crazy top padding to the section.

[Feature] Move buildings to the side for Mobile view for more white space
[Bug] SVG doesn't fit on large width screen

@aidantrabs could you check if the bug is still present on your screen? The one where the svg doesn't fit on your screen.

@aidantrabs could you check if the bug is still present on your screen? The one where the svg doesn't fit on your screen.

On my 2k monitor, the svg still does not expand the whole width.


follow-logs.sh does not revert to the default docker context locally when interrupted via Ctrl-C.

The follow-logs.sh script and potentially others internally set the docker context to whichever execution environment is implied by the provided configuration file (dev, staging, prod). Upon completion, the script resets the context to default, to prevent accidental changes to the services running in another context.
However, when the script is interrupted via Ctrl-C, as is typically the case for the log-following command, the docker context remains to whatever it was set. This is critical when following production logs, because the user might not be aware that the local docker context points to the production environment from there on.


Improve worker reference validation

Purpose
Apply suggestions in https://github.com/ballerina-platform/ballerina-lang/pull/18498
Approach

Describe how you are implementing the solutions along with the design details.

Samples

Provide high-level details about the samples related to this feature.

Remarks

List any other known issues, related PRs, TODO items, or any other notes related to the PR.

Check List

[ ] Read the Contributing Guide
[ ] Required Balo version update
[ ] Updated Change Log
[ ] Checked Tooling Support (#)
[ ] Added necessary tests

[ ] Unit Tests
[ ] Spec Conformance Tests
[ ] Integration Tests
[ ] Ballerina By Example Tests

[ ] Increased Test Coverage
[ ] Added necessary documentation

[ ] API documentation
[ ] Module documentation in Module.md files
[ ] Ballerina By Examples

Codecov Report

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

@@           Coverage Diff           @@
##           master   #18681   +/-   ##
=======================================
  Coverage    15.1%    15.1%
=======================================
  Files          48       48
  Lines        1258     1258
  Branches      198      198
=======================================
  Hits          190      190
  Misses       1054     1054
  Partials       14       14

Continue to review full report at Codecov.

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


Fix .test() on ddp

This might be broken on notebooks only.
#875 solves a few problems with .test()
However, ddp + .test might be broken on notebooks because of the "spawn" option. (likely #747).

Anyone interested in looking at this?

I am investigating this. Thats how I ran into the spawn issue with shared Q's. I am not using a notebook. This is (I believe) because ddp reduces tensors and parameters back to dev_ids[0] and there is no obvious way to get them back to the spawning CPU. I am slowly making progress, but don't have a lot of consistent time to put in.

Isn't ddp broken in notebooks in the first place?


fix(appgateway): handle lb azure annotation change

fix http://jira.caicloud.xyz/browse/KAIDE-119

What this PR does / why we need it:
Add your description
Which issue(s) this PR is related to (optional, link to 3rd issue(s)):
Fixes #
Reference to #

Special notes for your reviewer:
/cc @hicaistar

Release note:

NONE

/lgtm


Internationalization in app/controllers/miq_/.rb

Added or modified gettexts

Reviewed, changes look good, ok to merge.


how can I get xml data from request in sails.js?

how can I get xml data from request in sails.js?
thanks!

I dont think sails supports this out of the box but I guess you could override the default toJSON method of your model to return xml instead of json.

http://stackoverflow.com/questions/28464786/custom-xml-response-in-sails-js-blueprint-for-a-model

oh, I think we have some differences understanding about this question, I does't want to do a xml response.
I use sails create my server-side, some out request will post some data to my api with xml format, so I want to get this xml data in my api controller.
thanks!

Don't hass anyone answer this question?
I got an error in the req object:
_fileparser:
{ req: [Circular],
next: [Function],
options: { maxTimeToWaitForFirstFile: 10000, maxTimeToBuffer: 4500 },
upstreams: [],
textParams: [],
form:
{ _writableState: [Object],
writable: true,
domain: null,
_events: [Object],
_maxListeners: undefined,
error: [Error: unrecognized content-type: text/xml],
finished: false,
autoFields: false,
autoFiles: false,
maxFields: 1000,
maxFieldsSize: 2097152,
maxFilesSize: Infinity,
uploadDir: '/tmp',
encoding: 'utf8',
hash: false,
bytesReceived: 0,
bytesExpected: 52,
openedFiles: [],
totalFieldSize: 0,
totalFieldCount: 0,
totalFileSize: 0,
flushing: 0,
backpressure: false,
writeCbs: [],
handleError: [Function: handleError] },
_events: { firstFile: [Object], warning: [Function] },
_multipartyError: [Error: unrecognized content-type: text/xml],
_hasPassedControlToApp: true },

@cage1618 Thanks for using Sails!  FYI this forum is for posting bugs in the Sails core.  In the future please post support queries to StackOverflow, our Google Group or our Gitter Chat.

Sails doesn't support parsing XML bodies natively (nor does Express).  However, you can do it fairly easily by configuring some things in `config/http.js`.  First install an XML body parser:
```
npm install express-xml-bodyparser --save
```
then install Skipper for everything that's *not* XML:
```
npm install skipper --save
```
then in your `config/http.js` add:
```
  bodyParser: function(opts) {
    // Get an XML parser instance
    var xmlParser = require('express-xml-bodyparser')(opts);
    // Get a Skipper instance (handles URLencoded, JSON-encoded and multipart)
    var skipper = require('skipper')(opts);
    // Return a custom middleware function
    return function(req, res, next) {
      // If it looks like XML, parse it as XML
      if (req.headers && (req.headers['content-type'] == 'text/xml' || req.headers['content-type'] == 'application/xml')) {
        return xmlParser(req, res, next);
      }
      // Otherwise let Skipper handle it
      return skipper(req, res, next);
    };
}
You can add this as a key directly under `module.exports.http`.  That should get you parsing both XML and other requests.

thanks!

@sgress454 awesome, i met this issue also, thx for your sharing

Hello,
It seems this error still persists (Node.js v4.2.3, Sails.js v0.11.3).
We've tried the proposed workaround (and a bunch more) but they didn't solve it.
Any more ideas or this is just with us?

Hi @moisesfr, the underlying issues with Sails config that required different bodyparser workarounds have been fixed as of version 0.12.2.  You can check out an example of doing XML parsing at https://github.com/sails101/use-xml-body-parser.

Hi all, im trying to do as suggested and used the https://github.com/sails101/use-xml-body-parser repository as example but when i lift sails i get error that the skipper module is not present:
info: Starting app... module.js:340     throw err;     ^ Error: Cannot find module 'skipper'     at Function.Module._resolveFilename (module.js:338:15)     at Function.Module._load (module.js:280:25)     at Module.require (module.js:364:17)     at require (module.js:380:17)     at module.exports.http.middleware.bodyParser (/var/www/current/use-xml-body-parser/config/http.js:79:21)     at Object.<anonymous> (/var/www/current/use-xml-body-parser/config/http.js:91:7)     at Module._compile (module.js:456:26)     at Object.Module._extensions..js (module.js:474:10)     at Module.load (module.js:356:32)     at Function.Module._load (module.js:312:12)     at Module.require (module.js:364:17)     at require (module.js:380:17)     at /usr/local/lib/node_modules/sails/node_modules/include-all/index.js:129:29     at Array.forEach (native)     at requireAll (/usr/local/lib/node_modules/sails/node_modules/include-all/index.js:44:9)     at buildDictionary (/usr/local/lib/node_modules/sails/node_modules/sails-build-dictionary/index.js:68:14)
I'm on Debian 8, and using sails 0.12.3.Also tried to install skipper "manually" but that didn't helped either. Any help would be appreciated. Thank you.

OK, i did overlook this part commented in config/http.js

Note that Sails uses an internal instance of Skipper by default; to override it and specify more options, make sure to "npm install skipper"  in your project first.  You can also specify a different body parser or a custom function with req, res and next parameters (just like any other middleware function).

My first though was that as skipper is built-in by default, no extra install would be needed ... so i was confused should i install it manually or not.


security.json seems not to be read

I have defined a security.json file like this:
{
  "api_key": {
    "type": "apiKey",
    "name": "Authorization",
    "in": "header"
  }
}

Defined in the pom as:
<securityDefinitions>
    <securityDefinition>
        <json>${basedir}/security.json</json>
    </securityDefinition>
</securityDefinitions>

When running mvn compile it gives:
[ERROR] Failed to execute goal com.github.kongchen:swagger-maven-plugin:3.1.0:generate (default) on
 project backend: com.fasterxml.jackson.databind.JsonMappingException: No content to map due to
 end-of-input

I guess the issue is the json format, please check it carefully or use some tools like http://jsonformatter.curiousconcept.com/

Just to note for Google search results that this error is typically due to the json file not being found. In the pom.xml above, the ${basedir} is not permitted as the json file is loaded by the Java resource system,getClass().getResourceAsStream(), not in the standard maven way.


pythonPackages.pyslurm: remove version check

Motivation for this change
pythonPackages.pyslurm has a check for the version of slurm to see if they are compatible. This prevents maintainers from bumping slurm.
If we look at a typical upstream version bump, it looks like:
https://github.com/PySlurm/pyslurm/commit/9477102dbcdd31d1fe674ff83b2131dccead7f9c
Nothing is changed other than the hardcoded max version. So, I think, we should take a more optimistic approach and make the check non-fatal.
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Assured whether relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

cc @markuskowa as slurm maintainer
cc @giovtorres as pyslurm upstream
this unblocks #55145

I agree this check is a pain and often useless, but why not just bump slurm and pyslurm atomically in PRs, as upstream intends?  NixPkgs is ideally suited to be able to do this without too much hassle.

I agree that the version check might be a bit too strict for patch-level updates but removing it maybe won't help for major version jumps of slurm.
By removing the check we also bypass the QA of pyslurm.
I am not convinced that just removing it is the best solution.
Maybe @giovtorres can give some more insight, why pyslurm uses this version check the way it does?

I agree this check is a pain and often useless, but why not just bump slurm and pyslurm atomically in PRs, as upstream intends? NixPkgs is ideally suited to be able to do this without too much hassle.
You mean upgrading both packages at the same time?

This has been on my backlog for a while.  I think it would be better to refactor the version check to instead check against MAJOR.MINOR version and ignore the check for the trailing .MICRO, which I concur has become unnecessary in the past couple Slurm releases.  Would this help with your packaging?

See: https://github.com/PySlurm/pyslurm/issues/137

@giovtorres Not checking the micro versions would certainly help. Would that also work for the minor version?

If I remember correctly, there's usually a small to fair amount of changes between releases, so much so that I think we would want to keep checking the minor version as well.

@giovtorres thanks for the fix.
@veprbl we can take https://github.com/PySlurm/pyslurm/commit/d3703f2d58b5177d29092fe1aae1f7a96da61765 instead.

@markuskowa Done: #55677
@giovtorres Thank you. I hope this won't create inconvenience for you.


Tracking Issue: Document graph migration MVP

[x] Pen tool doesn't place more than one point
[x] Occasionally drawing with rectangle tool doesn't work/is offset
[x] Thumbnails go over the entire node graph and break the click targets
[x] Thumbnails should display the left input, not the result of the composite
[x] Placing on top of other artwork
[x] Bounding boxes and hit testing
[x] Rulers
[x] Dragging in/pasting/importing images (#1418)
[x] Each drawing tool selecting the layer it just created
[x] Automatically insert the empty stack nodes (so the user doesn't accidentally disconnect and get an error). (#1445)
[x] Preview vector data (#1446)
[x] Grouping (with CtrlG) and ungrouping and the necessary graph rearrangement (#1176)
[x] Migrate demo artwork (#1459)
[x] Migrate tests to node graph so CI passes again (#1456 #1459)
[x] Drag an image into the graph and fix popup when dragging into document. (#1459)
[x] Naive placement of layers in artboards (#1459)
[x] Opacity and blend mode settings on layers (#1459)
[x] Fix performance regressions that make it slow to interact with the editor (#1477)
[x] Fix collapsing/expanding layers (currently crashes) and hiding with the eye icon (currently does nothing) (#1481)
[x] Fix bug where the artboard isn't centered when creating a new document (instead it starts in the top left) (#1473)
[x] Fix wireframe view mode (#1473)
[x] Fix bug where layer click targets are offset by the Transform node from rendered location (#1473)
[x] G/R/S shortcuts (#1473)
[x] Fix bug where node graph doesn't change after switching document tabs

[x] Fix bug where connection links get tangled upon switching document tabs

[x] Fix the tremendous volume of JS console warning/error spam (#1484)

[x] Clean up all the FrontendMessages being sent to the JS but lacking a subscribed handler (#1484)

[x] Fix bug with how a Transform node feeding into an Artboard node works (video) (#1484)

[x] Fix bug where a Transform node feeding into an Artboard node causes the artboard's selection outline to be misaligned from the artboard itself (#1484)

[x] #1485
[x] CtrlA should not select the artboard
[x] #1488
[x] Properties panel should show the input chain if a Layer is selected, and if a node is in a chain, it should show all others in that chain
[x] Port File > Export to document nodes (#1495)
[x] Fix the graph's "Preview" button (or Alt-click on a node/layer) not working on layers, only nodes; desired behavior: display the stack's vertical (top) output (#1496)
[x]  Fix how rearranging layers throws DocumentError: LayerNotFound console errors (but otherwise works) (#1497)
[x]  Fix crash when drawing after deleting all artboards (#1497)
[x] Having no artboards (infinite canvas) should show a white background (#1497)
[x] Serve the demo artwork from each deploy, not the GH master branch (#1494)
[x] #1501 Reenable nudging (and nudge-resizing) with arrow keys
[x]  Document > Clear Artboards crashes (#1502)
[x] Tools

[x] Select (#1433)
[x] Artboard (closes #1222 and closes #1223)
[x] Colour picker
[x] Fill
[x] Gradient
[x] Path
[x] Pen
[x] Freehand
[x] Spline
[x] Line
[x] Rectangle
[x] Circle
[x] Shape
[x] Text (#1435)
[x] Frame
[x] Brush (#1473)
[ ] Imaginate (tool temporarily disabled, fix its node + tool)

[ ] Setting opacity and blend mode for selected layers at top of Layers panel (#1506)
[x] Fix how any interaction with the Select tool causes the document to change (which makes the * appear because the file is no longer saved) (#1509)
[ ] Deploy the next production release 🎉 (and remember to delete the old demo artwork and remove the -v2 suffix from the new ones)

Almost all of the tasks here are done - I think we can probably close this issue and break up the remaining tasks into separate issues @Keavon.

@Keavon I did the select tool star in #1509.

Thank you for helping with that! I just broke out all the remaining issues, so it's just a matter of landing your opacity/blend modes one (I'm starting to code reviewing it in moment) and fixing Imaginate tonight with TrueDoctor, then doing the deploy 🚀.


[terra-application-navigation] Adding custom event to trigger popup and drawer menu closure.

Summary

Adding custom event to trigger popup and drawer menu closure. Custom event is terra-application-navigation.dismiss-menu.

Closes #954
Deployment Link

https://terra-framework-deployed-pr-#.herokuapp.com/
Testing

Added new WDIO tests that dispatch the custom event while drawer and popup are open to close.
Additional Details

Thank you for contributing to Terra.
@cerner/terra

@BenBoersma Looking at the last update on the Issue this closed, there was no mention of adding an event listener to handle this. Did something change?

@BenBoersma Looking at the last update on the Issue this closed, there was no mention of adding an event listener to handle this. Did something change?

Yes. Open actually testing the changes that were listed in the issue for the spike we discovered some discrepency in out it worked between IOS and Android. The original changes would work in one and not the other. After some discussion we moved to the current format of providing a custom event.


Enabling disabled_metrics config for Micrometer

What does this PR do?
Enabling the disable_metrics config for Micrometer.
Context - https://discuss.elastic.co/t/failed-to-transform-sample-model-sample/249962.

Checklist

[x] This is an enhancement of existing features, or a new feature in existing plugins

[x] I have updated CHANGELOG.asciidoc
[x] I have added tests that prove my fix is effective or that my feature works

[ ] This is a bugfix

[ ] I have updated CHANGELOG.asciidoc
[ ] I have added tests that would fail without this fix

[ ] This is a new plugin

[ ] I have updated CHANGELOG.asciidoc
[ ] My code follows the style guidelines of this project
[ ] I have made corresponding changes to the documentation
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] I have updated supported-technologies.asciidoc
[ ] Added an API method or config option? Document in which version this will be introduced
[ ] Added an instrumentation plugin? Describe how you made sure that old, non-supported versions are not instrumented by accident.

[ ] This is something else

[ ] I have updated CHANGELOG.asciidoc

:grey_exclamation: Build Aborted

There is a new build on-going so the previous on-going builds have been aborted.

Expand to view the summary

Build stats

Build Cause: [Pull request #1421 opened]

Reason: Aborted from #2

Start Time: 2020-09-29T11:26:38.273+0000

Duration: 26 min 2 sec

Commit: fc5519c52e5b506146e5a5713e10ce8b494f6951

Test stats :test_tube:

Test
Results

Failed
0

Passed
1184

Skipped
0

Total
1184

Log output
Expand to view the last 100 lines of log output

[2020-09-29T11:52:36.229Z]                               Bash-20200917-4e8f14b
[2020-09-29T11:52:36.229Z]
[2020-09-29T11:52:36.229Z]
[2020-09-29T11:52:36.229Z] ==> Jenkins CI detected.
[2020-09-29T11:52:36.229Z]     project root: .
[2020-09-29T11:52:36.229Z] --> token set from env
[2020-09-29T11:52:36.229Z]     Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml
[2020-09-29T11:52:36.229Z] ==> Running gcov in . (disable via -X gcov)
[2020-09-29T11:52:36.490Z] ==> Python coveragepy not found
[2020-09-29T11:52:36.490Z] ==> Searching for coverage reports in:
[2020-09-29T11:52:36.490Z]     + .
[2020-09-29T11:52:36.615Z] + bash codecov.sh
[2020-09-29T11:52:36.615Z]
[2020-09-29T11:52:36.615Z]   _____          _
[2020-09-29T11:52:36.615Z]  / ____|        | |
[2020-09-29T11:52:36.615Z] | |     ___   __| | ___  ___ _____   __
[2020-09-29T11:52:36.615Z] | |    / _ \ / _` |/ _ \/ __/ _ \ \ / /
[2020-09-29T11:52:36.615Z] | |___| (_) | (_| |  __/ (_| (_) \ V /
[2020-09-29T11:52:36.615Z]  \_____\___/ \__,_|\___|\___\___/ \_/
[2020-09-29T11:52:36.615Z]                               Bash-20200917-4e8f14b
[2020-09-29T11:52:36.615Z]
[2020-09-29T11:52:36.615Z]
[2020-09-29T11:52:36.615Z] ==> Jenkins CI detected.
[2020-09-29T11:52:36.615Z]     project root: .
[2020-09-29T11:52:36.615Z] --> token set from env
[2020-09-29T11:52:36.615Z]     Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml
[2020-09-29T11:52:36.616Z] ==> Running gcov in . (disable via -X gcov)
[2020-09-29T11:52:36.685Z]     -> Found 29 reports
[2020-09-29T11:52:36.685Z] ==> Detecting git/mercurial file structure
[2020-09-29T11:52:36.685Z] ==> Reading reports
[2020-09-29T11:52:36.685Z]     + ./apm-agent-plugin-sdk/target/site/jacoco/jacoco.xml bytes=21672
[2020-09-29T11:52:36.685Z]     + ./apm-agent-core/target/site/jacoco/jacoco.xml bytes=1141201
[2020-09-29T11:52:36.685Z]     + ./apm-agent-plugins/apm-redis-plugin/apm-jedis-plugin/target/site/jacoco/jacoco.xml bytes=7959
[2020-09-29T11:52:36.685Z]     + ./apm-agent-plugins/apm-redis-plugin/apm-redis-common/target/site/jacoco/jacoco.xml bytes=2973
[2020-09-29T11:52:36.685Z]     + ./apm-agent-plugins/apm-redis-plugin/apm-lettuce-plugin/target/site/jacoco/jacoco.xml bytes=25198
[2020-09-29T11:52:36.685Z]     + ./apm-agent-plugins/apm-redis-plugin/apm-redisson-plugin/target/site/jacoco/jacoco.xml bytes=4968
[2020-09-29T11:52:36.685Z]     + ./apm-agent-plugins/apm-mongoclient-plugin/target/site/jacoco/jacoco.xml bytes=12863
[2020-09-29T11:52:36.686Z]     + ./apm-agent-plugins/apm-java-concurrent-plugin/target/site/jacoco/jacoco.xml bytes=30509
[2020-09-29T11:52:36.686Z]     + ./apm-agent-plugins/apm-jms-plugin/target/site/jacoco/jacoco.xml bytes=45220
[2020-09-29T11:52:36.686Z]     + ./apm-agent-plugins/apm-servlet-plugin/target/site/jacoco/jacoco.xml bytes=78939
[2020-09-29T11:52:36.686Z]     + ./apm-agent-plugins/apm-okhttp-plugin/target/site/jacoco/jacoco.xml bytes=34132
[2020-09-29T11:52:36.686Z]     + ./apm-agent-plugins/apm-api-plugin/target/site/jacoco/jacoco.xml bytes=83189
[2020-09-29T11:52:36.686Z]     + ./apm-agent-plugins/apm-httpclient-core/target/site/jacoco/jacoco.xml bytes=5071
[2020-09-29T11:52:36.686Z]     + ./apm-agent-plugins/apm-jdbc-plugin/target/site/jacoco/jacoco.xml bytes=89597
[2020-09-29T11:52:36.686Z]     + ./apm-agent-plugins/apm-log-correlation-plugin/target/site/jacoco/jacoco.xml bytes=14069
[2020-09-29T11:52:36.686Z]     + ./apm-agent-plugins/apm-jmx-plugin/target/site/jacoco/jacoco.xml bytes=43085
[2020-09-29T11:52:36.686Z]     + ./apm-agent-plugins/apm-error-logging-plugin/target/site/jacoco/jacoco.xml bytes=9923
[2020-09-29T11:52:36.751Z] --> No coverage report found.
[2020-09-29T11:52:36.751Z]     Please visit http://docs.codecov.io/docs/supported-languages
[2020-09-29T11:52:36.884Z] ==> Python coveragepy not found
[2020-09-29T11:52:36.884Z] ==> Searching for coverage reports in:
[2020-09-29T11:52:36.884Z]     + .
[2020-09-29T11:52:36.948Z]     + ./apm-agent-plugins/apm-asynchttpclient-plugin/target/site/jacoco/jacoco.xml bytes=17685
[2020-09-29T11:52:36.948Z]     + ./apm-agent-plugins/apm-es-restclient-plugin/apm-es-restclient-plugin-6_4/target/site/jacoco/jacoco.xml bytes=9808
[2020-09-29T11:52:36.948Z]     + ./apm-agent-plugins/apm-es-restclient-plugin/apm-es-restclient-plugin-common/target/site/jacoco/jacoco.xml bytes=13807
[2020-09-29T11:52:36.948Z]     + ./apm-agent-plugins/apm-jdk-httpclient-plugin/target/site/jacoco/jacoco.xml bytes=15264
[2020-09-29T11:52:36.948Z]     + ./apm-agent-plugins/apm-grpc/apm-grpc-plugin/target/site/jacoco/jacoco.xml bytes=38140
[2020-09-29T11:52:36.948Z]     + ./apm-agent-plugins/apm-apache-httpclient-plugin/target/site/jacoco/jacoco.xml bytes=41709
[2020-09-29T11:52:36.949Z]     + ./apm-agent-plugins/apm-jaxrs-plugin/target/site/jacoco/jacoco.xml bytes=19262
[2020-09-29T11:52:36.949Z]     + ./apm-agent-plugins/apm-jaxws-plugin/target/site/jacoco/jacoco.xml bytes=4575
[2020-09-29T11:52:36.949Z]     + ./apm-agent-plugins/apm-profiling-plugin/target/site/jacoco/jacoco.xml bytes=335619
[2020-09-29T11:52:36.949Z]     + ./apm-agent-plugins/apm-hibernate-search-plugin/apm-hibernate-search-plugin-6_x/target/site/jacoco/jacoco.xml bytes=6219
[2020-09-29T11:52:36.949Z]     + ./apm-agent-plugins/apm-hibernate-search-plugin/apm-hibernate-search-plugin-5_x/target/site/jacoco/jacoco.xml bytes=6316
[2020-09-29T11:52:36.949Z]     + ./apm-agent-plugins/apm-grails-plugin/target/site/jacoco/jacoco.xml bytes=6261
[2020-09-29T11:52:36.949Z] ==> Appending adjustments
[2020-09-29T11:52:36.949Z]     https://docs.codecov.io/docs/fixing-reports
[2020-09-29T11:52:37.125Z] Failed in branch Smoke Tests 02
[2020-09-29T11:52:37.149Z] --> No coverage report found.
[2020-09-29T11:52:37.149Z]     Please visit http://docs.codecov.io/docs/supported-languages
[2020-09-29T11:52:37.162Z] Sending interrupt signal to process
[2020-09-29T11:52:37.209Z] Terminated
[2020-09-29T11:52:37.209Z]
[2020-09-29T11:52:37.209Z]     -> No adjustments found
[2020-09-29T11:52:37.209Z] ==> Gzipping contents
[2020-09-29T11:52:37.469Z] ==> Uploading reports
[2020-09-29T11:52:37.469Z]     url: https://codecov.io
[2020-09-29T11:52:37.469Z]     query: branch=eyalkoren%2Fdisable_micrometer_metrics&commit=5d6b9f31d7858fa600528929a9d9ed8bf0bee125&build=1&build_url=https%3A%2F%2Fapm-ci.elastic.co%2Fjob%2Fapm-agent-java%2Fjob%2Fapm-agent-java-mbp%2Fjob%2FPR-1421%2F1%2F&name=&tag=&slug=elastic%2Fapm-agent-java&service=jenkins&flags=&pr=1421&job=&cmd_args=
[2020-09-29T11:52:37.470Z] ->  Pinging Codecov
[2020-09-29T11:52:37.470Z] https://codecov.io/upload/v4?package=bash-20200917-4e8f14b&token=secret&branch=eyalkoren%2Fdisable_micrometer_metrics&commit=5d6b9f31d7858fa600528929a9d9ed8bf0bee125&build=1&build_url=https%3A%2F%2Fapm-ci.elastic.co%2Fjob%2Fapm-agent-java%2Fjob%2Fapm-agent-java-mbp%2Fjob%2FPR-1421%2F1%2F&name=&tag=&slug=elastic%2Fapm-agent-java&service=jenkins&flags=&pr=1421&job=&cmd_args=
[2020-09-29T11:52:38.041Z] ->  Uploading to
[2020-09-29T11:52:38.041Z] https://storage.googleapis.com/codecov/v4/raw/2020-09-29/9D96A76C16FC0F1A9E828BAAD4B02DD6/5d6b9f31d7858fa600528929a9d9ed8bf0bee125/2698dfbb-0371-45a6-8428-af6776ac7588.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20200929%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20200929T115237Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=95579a81062658b4d72ab8a1c296b86ac98580633ba7c5c6a12c9f563a7c6e82
[2020-09-29T11:52:38.041Z] Warning: Couldn't read data from file "/tmp/codecov.z0ObFH.gz", this makes an
[2020-09-29T11:52:38.041Z] Warning: empty POST.
[2020-09-29T11:52:38.041Z]   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
[2020-09-29T11:52:38.041Z]                                  Dload  Upload   Total   Spent    Left  Speed
[2020-09-29T11:52:38.041Z]
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
[2020-09-29T11:52:38.041Z]     -> View reports at https://codecov.io/github/elastic/apm-agent-java/commit/5d6b9f31d7858fa600528929a9d9ed8bf0bee125
[2020-09-29T11:52:38.970Z] Failed in branch Unit Tests
[2020-09-29T11:52:39.037Z] Failed in branch Smoke Tests 01
[2020-09-29T11:52:39.305Z] Stage "Integration Tests" skipped due to earlier failure(s)
[2020-09-29T11:52:39.395Z] Stage "AfterRelease" skipped due to earlier failure(s)
[2020-09-29T11:52:39.434Z] Stage "AfterRelease" skipped due to earlier failure(s)
[2020-09-29T11:52:39.657Z] Click here to forcibly terminate running steps
[2020-09-29T11:52:39.721Z] Running on Jenkins in /var/lib/jenkins/workspace/_java_apm-agent-java-mbp_PR-1421
[2020-09-29T11:52:39.812Z] [INFO] getVaultSecret: Getting secrets
[2020-09-29T11:52:39.960Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2020-09-29T11:52:40.890Z] + chmod 755 generate-build-data.sh
[2020-09-29T11:52:40.890Z] + ./generate-build-data.sh https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-java/apm-agent-java-mbp/PR-1421/ https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-java/apm-agent-java-mbp/PR-1421/runs/1 ABORTED 1562348
[2020-09-29T11:52:41.441Z] INFO: curl https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-java/apm-agent-java-mbp/PR-1421/runs/1/steps/?limit=10000 -o steps-info.json
[2020-09-29T11:52:41.692Z] INFO: curl https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-java/apm-agent-java-mbp/PR-1421/runs/1/tests/?status=FAILED -o tests-errors.json


get rid of jackson dep

Gets rid of dependency on "real" jackson.

Build triggered. sha1 is merged.

Refer to this link for build results (access rights to CI server needed):
/job/nd4j_PR/283/

Build finished. No test results found.


Fbnet benchmark

FBNet benchmark

Added some pre-trained models and benchmark results for FBNet.
Added a timer to benchmark model inference time in addition to total run time.

We provided pre-trained models for selected FBNet models.

All the models are trained from scratched with BN using the training schedule specified below.
Evaluation is performed on a single NVIDIA V100 GPU with MODEL.RPN.POST_NMS_TOP_N_TEST set to 200.

The following inference time is reported:

inference total batch=8: Total inference time including data loading, model inference and pre/post preprocessing using 8 images per batch.
inference model batch=8: Model inference time only and using 8 images per batch.
inference model batch=1: Model inference time only and using 1 image per batch.
inferenee caffe2 batch=1: Model inference time for the model in Caffe2 format using 1 image per batch. The Caffe2 models fused the BN to Conv and purely run on C++/CUDA by using Caffe2 ops for rpn/detection post processing.

The pre-trained models are available in the link in the model id.

backbone
type
resolution
inference total batch=8 (s/im)
inference model batch=8 (s/im)
inference model batch=1 (s/im)
inference caffe2 batch=1 (s/im)
box AP
mask AP
model id

R-50-C4 (reference)
Fast
800
0.0875
0.0793
0.0831
0.0625
34.4
-
f35857197

fbnet_chamv1a
Fast
600
0.0315
0.0260
0.0376
0.0188
33.5
-
f100940543

fbnet_default
Fast
600
0.0316
0.0250
0.0297
0.0130
28.2
-
f101086388

R-50-C4 (reference)
Mask
800
0.0918
0.0848
0.0844
-
35.2
31.0
f35858791

fbnet_xirb16d
Mask
600
0.0386
0.0319
0.0356
-
30.7
26.9
f101086394

fbnet_default
Mask
600
0.0327
0.0269
0.0385
-
29.0
26.1
f101086385

i have a suggestion: make a folder configs/fbnet and pull the corresponding yaml files into it.

I have a question, why does Fbnet not use FPN? Would it be ineffective to detect small objects?

I've updated the README with the pre-trained models for Detection.
If you want to use it, just download it following the link on the MODEL_ZOO, and pass the MODEL.WEIGHT to point to the downloaded file.
Thanks a lot @newstzpz !


[5.2] Made sure missing keys are not returned with null from Request->only()

https://github.com/laravel/framework/issues/14734

I didn't take the subarrays into account, will need to dig deeper into the code to complete this PR

Thanks, but we intentionally have null values here. We have a different method for if you don't want them.

intersect

Ok, thank you


"Contribute back to this list" prompt - should include information about how to do that?

The bot posted today:

Today's good deed: Contribute back to this list.

I would like to, but I don't know how. The post could contain information about how to do that. Could the prompt be more specific, and/or link to a URL where we can fill in a form proposing potential prompts, etc?

Good suggestion, thank you. I'll add a note that the code is linked in the bot's profile.


Model summary

Simple summary function to model class and get num params to fullyconnected and conv layers

Oh, good catch!