add test for 2.13

Codecov Report

Merging #5 (95b43b3) into main (33ac72d) will decrease coverage by 2.83%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main       #5      +/-   ##
==========================================
- Coverage   80.05%   77.21%   -2.84%
==========================================
  Files          17       17
  Lines        1163     1163
  Branches      155      155
==========================================
- Hits          931      898      -33
- Misses        175      200      +25
- Partials       57       65       +8

Flag
Coverage Δ

sanity
?

units
77.21% <ø> (-0.26%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

tests/unit/compat/unittest.py
44.44% <0.00%> (-33.34%)
:arrow_down:

plugins/modules/system/sap_task_list_execute.py
61.95% <0.00%> (-8.70%)
:arrow_down:

plugins/modules/system/sap_snote.py
76.19% <0.00%> (-5.96%)
:arrow_down:

plugins/modules/identity/sap_company.py
83.72% <0.00%> (-5.82%)
:arrow_down:

.../unit/plugins/modules/files/test_sapcar_extract.py
96.55% <0.00%> (-3.45%)
:arrow_down:

plugins/modules/database/saphana/hana_query.py
70.49% <0.00%> (-3.28%)
:arrow_down:

plugins/modules/identity/sap_user.py
71.08% <0.00%> (-3.02%)
:arrow_down:

plugins/modules/files/sapcar_extract.py
51.13% <0.00%> (-2.28%)
:arrow_down:

plugins/modules/system/sap_system_facts.py
67.03% <0.00%> (-2.20%)
:arrow_down:

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more


[x/tools/godoc] Basic text formatting

What version of Go are you using (go version)?

$ go version
go version go1.13.6 linux/amd64

Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/slinkydeveloper/.cache/go-build"
GOENV="/home/slinkydeveloper/.config/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/home/slinkydeveloper/go"
GOPRIVATE=""
GOPROXY="direct"
GOROOT="/usr/lib/golang"
GOSUMDB="off"
GOTMPDIR=""
GOTOOLDIR="/usr/lib/golang/pkg/tool/linux_amd64"
GCCGO="gccgo"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build088093990=/tmp/go-build -gno-record-gcc-switches"

What did you expect to see?
Hi, I'm wondering if It's possible to add to godoc some basic text formatting options like bold, italic and lists.

Duplicate of https://github.com/golang/go/issues/16666. Please feel free to follow that thread. Thanks


add bin download && gpu whl

for issue:
https://github.com/PaddlePaddle/Serving/issues/140
https://github.com/PaddlePaddle/Serving/issues/132


Do not "force" the QC stages

We do not need to "force" the QC stages (MultiQC and SomalierPedigree), as their non-HTML outputs (like the MultiQC JSON and the Somliaer TSV files) are now parametrised by the samples hash (i.e. h = dataset.alignment_inputs_hash()). Having those outputs would make the stage rerun when the set of samples has changed.

@cassimons it was stacked on the last PR. After you merged last PR, the base branch automatically switched to main. However, the actual commits from the last PR are not main as they were squashed into single merge commit. That's why GitHub sees a mismatch in commit history, and shows all changes from both PRs. I will need to merge the branch with main in order the diff to become clean.

@cassimons and merging with main often as easy as clicking the "update branch" button here in the GitHub UI (unless there are conflicts), which I did now, so the history should be clean.


Add new extract function for detecting image URLs

Adds new feature discussed in #1117 and in slack
very slight changes made to the proposed regex in the above issue

@cragwolfe so it looks like I'm unable to find a regex pattern that satisfies all my tests and does not raise a medium-level CodeQL warning.
I've reverted back to what I had earlier today where there was only 1 warning. I see some other patterns have # noqa W605 to silence potential false positives with CodeQL, would this be a candidate for that ?

@cdpierse , i think this is working:
https://github.com/Unstructured-IO/unstructured/pull/1244/commits/776763607422e5f88af2312e1952d6e37e0380bb
if you want to cherry-pick that, though still needs a make tidy

Thanks @cragwolfe have applied that now, looks like we are all good with both tests and codeQL


Keyboard input explination

I tried the keyboard input example but there is no information as to how to get the keys to affect the shader rather than add a letter to the running shader at the cursor.
I suggest adding a blurb to the help / and a comment in the example
found this on the website https://veda.gl/features/keyboard/ which works great (z key not showing on osx chrome). the example does have the keyboard setting comment header.  if this is not possible in the atom editor that would be worth noting in the relevant help/package readme

Well...keyboard input is mainly focused on usage with VEDA.js.
VEDA (for Atom) can't prevent keyboard input affecting the editing file on Atom.
Also, VEDA.js doesn't support header comments.
If you wanna use keyboard input in website, you have to call veda.toggleKeyboard(true) like this:
https://github.com/fand/veda.gl/blob/master/pages/features/keyboard.js#L19

uh I forgot, VEDA now has fullscreen mode!
https://twitter.com/amagitakayosi/status/986257632909410304
I added the explanation to the doc: https://veda.gl/features/keyboard/


Modify multiproduct ETL to set is_active for owner, return is_active to frontend ownership API

Changed table schema 'stg_repo_owner' to add is_active
Multiproduct ETL change to set is_active
Frontend ownership get and post API change to present this field

Test: on local API and UI

Next step, modify CodeSearch ownership ETL also.

Coverage remained the same at 0.0% when pulling 01c4a3c7d53c03a0cbd354f32fce3449283f570b on alyiwang:linkedin into bd9e35e3afbd12fb63e4b46eb30f6c902e1c8394 on linkedin:linkedin.


Sandboxing JK

Is it possible to run JK in a sandbox mode. E.g. with no ability to write to the FS?

You can write outside your own tree:
$ cat main.js

const alice = {
  name: 'Alice',
  beverage: 'Club-Mate',
  monitors: 2,
  languages: [
    'python',
    'haskell',
    'c++',
    '68k assembly', // Alice is cool like that!
  ],
};

// Instruct to write the alice object as a YAML file.
export default [
  { value: alice, file: `../developers/${alice.name.toLowerCase()}.yaml` },
./jk generate main.js
# could be /etc/passwd!
 ls ../developers

See #159

Ulp yes, I noticed that reads are sandboxed but writes not yet, the other day while doing something tangential. They should get the same treatment (you can write under the output directory, but not outside it). I've filed #345 for this.
Re disallowing writes at all, what's the use case you have in mind, @alexec?

I think sandboxing to the root would meet safety requirements.


Explore using kevents for file system watching in macOS

We have some issues with the current way file system changes are tracked on macOS, one being that when the entire watched folder is removed we get no notification. Supposedly using kevents offers a better way.

cc: @gradle/build-cache

Here is some comment on the drawback of FSEvents: https://github.com/notify-rs/notify/pull/144#issuecomment-427560683


Updated Hosts file

Added two websites.

Hi @invinciblevenom you are missing the www. prefixed version. Could you please add it? Thanks


[META] Share the wealth - configs

I saw some old issue threads that were sharing people's configs and the XP they were generating per hour in given locations. I'd like to resurrect that and see what configs people are running now (especially since the patches and the ban-wave, if you've managed to stay off the radar).
If you're willing to share, I suggest people past their configs at pastebin, and add some perma-links below along with their stats. Also if you have found any location co-ordinates that are particularly decent for certain rare pokemon share the wealth!
(Obviously remove your private details as usual)

Wouldnt this be better suited to the configs channel in Slack @jrjhealey

I find slack is too transient. Once you have too many comments it stops archiving them too.
I know this isn't the ideal place for this but I couldn't think of a better option (open to suggestions)?

How about a gist?

Ahhhh the limitations of slack, how I despise thee. Explains why a lot of dev groups moved away from Slack and towards Discord. Maybe we should look at migrating now that the community is a log bigger than it used to be.  At least then we could have one central place for all pokemongodev stuff (pokemongodev, pokemongo-map, silph road, /r/pokemondev are all on there already) and you don't have the limitations like Slack does (and it's free :p)

I think this was mentioned in the mods channel last week some time, but it was decided that the community is way too large to be migrated smoothly ( @TheSavior ?)
A gist might not be a bad idea, I'd forgotten about those. Or perhaps we should look in to reddit or something (but with the age-old trade off of requiring yet another platform.) It's a real shame github doesn't have a forum kind of functionality.

Yeah, it wouldn't be smooth, there'd have to be a migration period but sometimes you have to make a hard choice. I might make a feature request, but not be so quick to jump on executing it this time (aka the Feathub fail, lol)
We have the wiki on Github, but I don't know how you'd police it and keep it clean

What was decided with the wiki now all the docs are separate? Is the wiki basically free to be used for something different all together?

@brantje is looking for some example configs as well so if you're happy to have yours used I would tag him in the post too.
We're after examples ranging from fairly minimal working examples to fully fledged XP miners.

@jrjhealey can we close this?

Guess so! Didn't quite catch on did it! Haha
On 23 Aug 2016 01:59, "k4n30"<EMAIL_ADDRESS>wrote:

@jrjhealey https://github.com/jrjhealey can we close this?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/PokemonGoF/PokemonGo-Bot/issues/3952#issuecomment-241596621,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AT2RhNJyUdq8z0t2a4xdKeWiy9JYZvopks5qikXWgaJpZM4Jj_yY
.


Ctrl-C did not quit worker processes

Node v7.7.1
<EMAIL_ADDRESS>I start workers as per the documentation, and they start repeating tasks via setInterval(). Then I quit the server using ctrl-c, and the workers do not quit.
Am I missing an event handler somewhere?

Hi,
Your problem is related to your choice of modules and the way you've written the code. An interval inside a child_ps will be killed if the parent is killed, but it sounds like ctrl-c / sigterm is being mishandled.
You could explicitly clean up the ps via:
process.on('SIGTERM', () => {
  worker.terminate(); // kill them all
  process.exit(0);
});

... but I don't think this solves the underlying issue you have. for ctx, I can't recreate this problem with just tiny-worker (in root of code):
sample script
var path = require("path"),
	Worker = require(path.join(__dirname, "lib", "index.js")),
	worker = new Worker(path.join(__dirname, "sample_worker.js"));

console.log("Created worker");

sample worker script
setInterval(function () {
	console.log("still going");
}, 1000);

onmessage = function (ev) {
	postMessage(ev.data);
};

console output
jason@blacky:~/Projects/tiny-worker (master)$ node sample.js
Created worker
still going
still going
still going
still going
^C
jason@blacky:~/Projects/tiny-worker (master)$

I sort've recreated the problem.
sample script with shutdown
var path = require("path"),
	Worker = require(path.join(__dirname, "lib", "index.js")),
	worker = new Worker(path.join(__dirname, "sample_worker.js"));

console.log("Created worker");

setTimeout(function () {
	process.exit(0);
});

Using the same worker script with timer...
console output
jason@blacky:~/Projects/tiny-worker (master)$ node sample_worker.js
still going
still going
still going
still going

other console output
jason@blacky:~/Projects/tiny-worker (master)$ ps aux | grep node
root               93   1.5  0.0  2469688    436   ??  Ss    1Feb17  13:02.87 /System/Library/CoreServices/ionodecache -k /var/db/ionodecache.json
jason           33592   0.0  0.0  2440996    792 s002  S+    7:05am   0:00.00 grep node
jason           33408   0.0  0.3  3032860  21456 s000  S     7:05am   0:00.09 /Users/jason/.nvm/versions/node/v7.6.0/bin/node /Users/jason/Projects/tiny-worker/lib/worker.js
jason@blacky:~/Projects/tiny-worker (master)$

^ core quit on shortly after next tick (setTimeout is not process.nextTick), child ps lives on. you have something like this happening; what's odd is the terminal that launches the core script can still terminate it via sigterm in osx, so I can't guess as to what you've got going.

Generally, keep a registry of your child ps and explicitly clean them up or you'll potentially have orphans.

Wow, for someone with the nick avoidwork you sure dug deep! :) Thank you very much, I will do so. Perhaps the Readme should say something to that effect?

That's a problem domain I don't own. tiny-worker makes child_process easier, but I'm not providing support for core apis of node. You really need to go to nodejs.org and read about how the stuff works.
child_process & cluster have similar management issues.

@wmertens I will make a node on the README for people; I realize this is really 'out of band' info that's gathered when required, and not really sought out.

Understood, but you are abstracting away child_process, so simply mentioning that would be helpful to future devs, no? In any case, your proposed solution with the sigterm handler worked fine.

@wmertens check https://github.com/avoidwork/tiny-worker#faq ... feel free to open a PR for edits/additions to that spot of the README. I have too many years experience now to grok what would be valuable there.

@wmertens just to make it interesting, if you're potentially running on windows use SIGINT. I've updated the FAQ of the README.

💯 perfect!


Hardcoded namespace for on read attributes with "sap:" prefix (Annotations for OData Version 2.0)

OpenUI5 version:
1.46.10
Browser/version (+device/version):
PC/Chrome
Any other tested browsers/devices(OK/FAIL):
N/A
URL (minimal example if possible):
N/A
Steps to reproduce the problem:

Define a custom "sap" namespace using metadataNamespaces in sap.ui.model.odata.v2.ODataModel  constructor like that

{
   "edmx": "http://schemas.microsoft.com/ado/2007/06/edmx",
   "atom": "http://www.w3.org/2005/Atom",
   "sap" : "http://www.successfactors.com/edm/sap",
   "m" : "http://schemas.microsoft.com/ado/2007/08/dataservices/metadata",
   "sf" : "http://www.successfactors.com/edm/sf",
   "": "http://schemas.microsoft.com/ado/2008/09/edm"
}

Setup the source for service as SuccessFactors OData API : https://sfsfbizxtrial.hana.ondemand.com/odata/v2/$metadata (s-user or p-user required) - it uses a alternative namespace for "sap:" annotations = xmlns:sap="http://www.successfactors.com/edm/sap"
As the namespace is hardcoded at https://github.com/SAP/openui5/blob/master/src/sap.ui.core/src/sap/ui/model/odata/_ODataMetaModelUtils.js#L856 the label properties isn't loaded correctly

What is the expected result?
The framework need to respect the namespaces defined in metadataNamespaces parameter sent in class constructor
What happens instead?
The framework no respect the namespaces defined in metadataNamespaces parameter, using a hard coded value.
Any other information? (attach screenshot if possible)
It have impacts for SmartControls that not get the correct labels in SuccessFactors Extensions (I know isn't OpenUI5 scope but as the code is shared with SAPUI5 I think is appropriated discuss it here too)

Hello Renan!
I'm sorry, but ODataMetaModel took the decision to map the hard-coded Namespace "http://www.sap.com/Protocols/SAPData" (in XML) to the shortcut "sap:" (in JSON). I don't see that this can be changed after all These years, in a compatible way.
What exactly is the reason why you Need to define another Namespace with the alias "sap" in XML and why exactly does it lead to an issue? Because in JSON, there should be no other properties named "sap:label" etc. Is it because you expect that "http://www.successfactors.com/edm/sap" should Play the same role as "http://www.sap.com/Protocols/SAPData"? Well, that cannot work. In XML, the Namespace is important, not the alias.
Best regards,
Thomas

Hi Thomas,
SuccessFactors is a SAP Product and the Data service is designed aligned with the UI5 strategy (these sap:label annotations comes in recents update's). I believe that the proposal of metadataNamespaces parameter is make it dynamic, no make senses have it hard coded - if not is informed the hard coded value will be loaded in https://github.com/SAP/openui5/blob/master/src/sap.ui.core/src/sap/ui/model/odata/ODataMetadata.js#L51
I will try create a pull request for that and a git repo for example.

Hello Renan!
"http://www.sap.com/Protocols/SAPData" is the documented Namespace URL for SAP Annotations for OData Version 2.0 . If you want to use those annotations, why not use exactly that Namespace URL?
Frankly speaking, I do not understand the Code you mention in ODataMetadata.js. The namespace declaration ("mapping of prefix/alias to namespace/URL") is already contained in the XML, e.g.

<edmx:Edmx Version="1.0" xmlns:edmx="http://schemas.microsoft.com/ado/2007/06/edmx" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns:sap="http://www.sap.com/Protocols/SAPData">
<edmx:DataServices m:DataServiceVersion="2.0">
What is the use Case to override this declaration in a "side channel"?
Best regards,
Thomas

Hi Thomas,
See the metadata document generated by SuccessFactors: $metadata.xml
I can't change the document namespace because it's generated by SAP SuccessFactors and it's described in the OData API documentation that these annotation are inserted to work exclusive for UI5 controls. In my understanding the namespace needs to come from datasource initialization in constructor of sap.ui.model.odata.v2.ODataModel to make it dynamic to work with another SAP Solutions.

Hi @ThomasChadzelek ,
I've tried to reproduce the scenario but isn't easy. Hope that is understandable.
I have created the following repository with 3 branches:

original_version
working_with_property_metadata_bind_expression
not_working_with_smartcontrol

All the three repositories can be execute with grunt default task and accessible in http://localhost:8080/test/mockServer.html
1 - Branch original_version
In this branch I'm trying to use property metadata bind to a text Label using a document with custom sap metadata namespace ( xmlns:sap="http://www.successfactors.com/edm/sap" ) without indicate a custom metadata namespace in datasource definition. As expected, the bind will not work and generate a table with empty headers:

2 - Branch working_with_property_metadata_bind_expression
In this branch I'm trying to use property metadata bind to a text Label using a document with custom sap metadata namespace ( xmlns:sap="http://www.successfactors.com/edm/sap" ) indicating a custom metadata namespace in datasource definition (in manifest.json). As expected, the bind works and the generated table has the headers filled according with metadata document:

3 - Branch not_working_with_smartcontrol
In this branch I'm trying to use a SmartControl (SmartTable) using a document with custom sap metadata namespace ( xmlns:sap="http://www.successfactors.com/edm/sap" ) indicating a custom metadata namespace in datasource definition (in manifest.json). The library not work as expected and bind will not work and generate a table with headers using the technical name instead annotations in sap:label in the metadata document:

My point here is: the namespace can't be placed as hard-code because is already available a parameter in the model constructor to support other SAP products - the second case works properly. I don't know if my pull request is written in the best way but the idea is have this namespace read from ODataModel constructor (metadataNamespaces parameter)

Hello @renanwilliam !
Let me 1st answer to your previous comment:

I can't change the document namespace because it's generated by SAP SuccessFactors and it's described in the OData API documentation that these annotation are inserted to work exclusive for UI5 controls. In my understanding the namespace needs to come from datasource initialization in constructor of sap.ui.model.odata.v2.ODataModel  to make it dynamic to work with another SAP Solutions.

Your 1st link refers to a page which says "For more information about Extensions Specification in OData, please visit https://scn.sap.com/docs/DOC-44986Information published on SAP site." That page in turn says

The following sections describe which elements of the service document (namespace prefix app) can be annotated with attributes and elements from the namespace http://www.sap.com/Protocols/SAPData (namespace prefix sap) and from the namespace http://www.w3.org/2005/Atom (namespace prefix atom), and what these annotations mean.
My understanding of XML is that the Namespace is important, not the prefix you happen to use as an Abbreviation. But then again, I don't get the Point behind the metadataNamespaces Parameter... I will try to understand it better, stay tuned.

Best regards,
Thomas

Hi @ThomasChadzelek ,
I think this example repo will be more easier to exemplify the situation. I understand your point of view to keep it hard-coded because is the defined by convention, but definitely makes more sense make it flexible as already works for property metadata bind expressions. SuccessFactors is a SAP product and isn't have the http://www.sap.com/Protocols/SAPData for these properties, indicating that this flexibility is needed. This flexibility is already implemented with metadataNamespaces parameter, is just not used in all points.

In XML namespaces are identified by their URL, see https://www.w3.org/TR/REC-xml-names/.
This means the namespace for SAP extension attributes for OData is identified by the URL http://www.sap.com/Protocols/SAPData, and UI5 is correct in "hard-coding" against this URL.
The short prefix introduced for a namespace URL in the xmlns attribute is a local name that has no meaning beyond being a shorthand local to the element that declares it.
The following two attributes are the same for a correct XML parser:
  <... sap:something="hello" xmlns:sap="http://www.sap.com/Protocols/SAPData" ...>
  <... pro:something="hello" xmlns:pro="http://www.sap.com/Protocols/SAPData" ...>

whereas the following two attributes are completely different for a correct XML parser:
  <... sap:something="hello" xmlns:sap="http://www.sap.com/Protocols/SAPData" ...>
  <... sap:something="hello" xmlns:sap="http://www.successfactors.com/edm/sap" ...>

The problem is with the SuccessFactors service, not with the UI5 client. If the service wants to work with UI5 controls, it has to use the namespace URL http://www.sap.com/Protocols/SAPData.

@ralfhandl Not make any sense keep the namespace hardcoded. Make it default is OK but keep the  hardcoded is not a service problem, is a problem with the client library that not have the flexibility. In almost cases we can't change the service - SuccessFactors is a SAP Product and it's a perfect example. Again, the namespaces needs to be configurable, like it already is with metadata property binding - so if it can't change why have it as valid parameter in constructor? why with metadata property binding works?

"metadata property binding" is a different use Case. UI5 allows to write a short path say inside an XML view. You don't want to use the Namespace (URL) there. Thus you can use an alias and provide its Definition elsewhere. But in the end, its the same game: the alias is only of local value, the Namespace is what Counts.

do you have executed my example? probably no but if you look it will see that it don't work without namespace configuration in model constructor.

Sorry, we discussed this internally among many developers and architects and we completely disagree.
The namespace for the Data V2 SAP annotations has been standardised for good reasons and using another namespace with the intention of achieving the same result is simply wrong. This can't be fixed by mapping aliases, it either has to be fixed by using the right namespace (favoured approach) or by implementing another mapping layer from the new namespace to one of the standard namespaces or, even better, to V4 annotations (expensive and not favoured approach). Note that using a new namespace URL also indicates that there might be differences in the understanding of the annotations, so the mapping most likely won't be trivial.
All this doesn't mean that we ignore your issue.
We triggered another internal discussion why a different namespace has been chosen for SucessFactors services and whether it wouldn't be better to align with the standard namespace as documented by Gateway (see your own link to the SuccessFactors documentation, which refers to another blog that clearly names the standard namespace).
However, we no longer see this as an issue in the Ui5 client model and that's why we closed the issue here as well as the pull request.
Best Regards, Frank


Sometimes cf logs --recent and cf push return auth failed

Hi all,
My cf v173 sometimes can't push or logs and return:
Log:
{"access_token":"[PRIVATE DATA HIDDEN]","token_type":"bearer","refresh_token":"[
PRIVATE DATA HIDDEN]","expires_in":599,"scope":"scim.read cloud_controller.admin
password.write scim.write openid cloud_controller.write cloud_controller.read",
"jti":"39551d80-a55c-43bb-99db-ed1669fbaf95"}
FAILED
Unauthorized error: You are not authorized. message:"Error: Invalid authorizatio
n" message_type:ERR timestamp:1405050051773965166 app_id:"2e091144-afab-4a0f-b82
0-c6c649d9d814" source_name:"LGR"
FAILED
Unauthorized error: You are not authorized. message:"Error: Invalid authorizatio
n" message_type:ERR timestamp:1405050051773965166 app_id:"2e091144-afab-4a0f-b82
0-c6c649d9d814" source_name:"LGR"
I don't know how this happened, other commands like cf apps and cf login never cause this problem.

I'm seeing the above error in cf-release v211.
bash-3.2$ cf push
...

Using route yookore-statics.<IP_ADDRESS>.xip.io
Uploading yookore-statics...
Uploading 2.1M, 1042 files
Done uploading
OK

Stopping app yookore-statics in org yookos / space dev as admin...
OK

timeout connecting to log server, no log will be shown
Warning: error tailing logs
Unauthorized error: You are not authorized. Error: Invalid authorization

FAILED
StagingError

Humm. I am able to get this to happen too, on a fresh install of cf-release v212 on AWS using MicroBOSH.
Here's the CF_TRACE output: https://gist.github.com/menicosia/924213f4ca11e47c1dc8
Here's the terminal copy:
 CF_TRACE=/tmp/trivial-js.push.out cf push
Using manifest file /Volumes/Oriente-HDD/Users/pivotal/workspace/trivial-js/manifest.yml

Creating app trivial-js in org moragasystems / space demo as marco...
OK

Creating route trivial-js.<IP_ADDRESS>.xip.io...
OK

Binding trivial-js.<IP_ADDRESS>.xip.io to trivial-js...
OK

Uploading trivial-js...
Uploading app files from: /Volumes/Oriente-HDD/Users/pivotal/workspace/trivial-js
Uploading 201.7K, 57 files
Done uploading
OK

Warning: error tailing logs
Unauthorized error: You are not authorized. Error: Invalid authorization
Starting app trivial-js in org moragasystems / space demo as marco...
^C

And just quickly covering my bases:
$ bosh releases
Acting as user 'admin' on 'my-bosh'

+----------+----------+-------------+
| Name     | Versions | Commit Hash |
+----------+----------+-------------+
| cf       | 212*     | ae2ec7a5+   |
| cf-mysql | 22       | af278086+   |
+----------+----------+-------------+
(*) Currently deployed
(+) Uncommitted changes

Releases total: 2

$ bosh vms
Acting as user 'admin' on 'my-bosh'
Deployment `cf'

Director task 8

Task 8 done

+------------------------------------+---------+---------------+----------------+
| Job/index                          | State   | Resource Pool | IPs            |
+------------------------------------+---------+---------------+----------------+
| api_z1/0                           | running | small_z1      | <IP_ADDRESS>      |
| doppler_z1/0                       | running | small_z1      | <IP_ADDRESS>      |
| etcd_z1/0                          | running | small_z1      | <IP_ADDRESS>    |
| ha_proxy_z1/0                      | running | small_z1      | <IP_ADDRESS>      |
|                                    |         |               | XX.XXX.XXX.XXX |
| hm9000_z1/0                        | running | small_z1      | <IP_ADDRESS>      |
| loggregator_trafficcontroller_z1/0 | running | small_z1      | <IP_ADDRESS>      |
| login_z1/0                         | running | small_z1      | <IP_ADDRESS>      |
| nats_z1/0                          | running | small_z1      | <IP_ADDRESS>    |
| nfs_z1/0                           | running | small_z1      | <IP_ADDRESS>    |
| postgres_z1/0                      | running | small_z1      | <IP_ADDRESS>    |
| router_z1/0                        | running | small_z1      | <IP_ADDRESS>    |
| runner_z1/0                        | running | small_z1      | <IP_ADDRESS>      |
| stats_z1/0                         | running | small_z1      | <IP_ADDRESS>     |
+------------------------------------+---------+---------------+----------------+

VMs total: 13

I haven't tried deleting the current release and re-deploying. I'll try that now, using v211 and see if there's a difference.
(Re-opening since two different users are seeing the same odd behavior since it was closed.)
-- Marco N.

I was worried that I had goofed a deploy somehow, so I bosh delete deployment and bosh delete release cf v212 and started over with a fresh checkout of v212 from github.
Same problem. I additionally theorized maybe it's something with my app, but that's not it either - my app deploys fine to PWS.
I'm going to leave the cluster up overnight. Since I happen to be in SF, come see me for the system domain if you'd like to investigate.
-- Marco N.

Closing as @menicosia's issue was unrelated to the original filer.


Link to GitHub help pages for terms in README

The README stresses that this repo is intended for fork, but Github newbies
may have no idea what these are about, so we link to the official docs!
We provide even more links to Github for newbies: branch management, issues, milestones, labels and wikis.

👍


[Impeller] Allow decompressing images to formats other than RGBA8888.

@chinmaygarde should this be dedup'd with https://github.com/flutter/flutter/issues/104780?


chore: include uncategorised changes in changelog

Q
A

🐛 Bug fix?
no

🚀 New feature?
no

⚠ Deprecations?
no

❌ BC Break
no

🔗 Related issues
none

❓ Documentation
internal maintainer docs - maybe

Description
Changelog
chore: include uncategorised changes in changelog
Ensure all PRs, even ones missing a "kind" label, are present in the
generated changelog. During the manually-initiated release process,
maintainers can edit the changelog to categorise them if they wish.
If we move to an automated, continuous release, it will still be better
to include uncategorised PRs than to omit them altogether.
chore: automate pre-release creation only
Promotion from pre-release to release would be manual, so that watchers
would only get an email containing already-reviewed release notes,
giving maintainers an opportunity to re-categorise PRs if they wish.
Notes
I can't find any maintainer docs around the manually-initiated parts of our release process, do we have any? Either way, this PR as it stands now would require us to manually promote prereleases to releases after reviewing the changelog. Perhaps we don't want this part of the PR? We can remove that commit if so.

Promotion from pre-release to release would be manual, so that watchers
would only get an email containing already-reviewed release notes,
giving maintainers an opportunity to re-categorise PRs if they wish.

I'm not familiar with GitHub's pre-release behavior, does it send an email when we put an existing release to ready for production ?

Good question, I'm not actually sure. I was mostly trying to avoid making a premature announcement, while we're still shuffling release notes around. I'm happy to remove that commit if we'd rather consider the 2 commits separately?

Well I don't think it's worth but curious to have more thoughts about this - WDYT @eliecharra ?

@eliecharra that's fair, I've chopped off that commit. Would you mind re-reviewing?

Codecov Report

Merging #1361 (c360c60) into main (b1992cb) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main    #1361   +/-   ##
=======================================
  Coverage   81.77%   81.77%
=======================================
  Files         413      413
  Lines       15143    15143
=======================================
  Hits        12383    12383
  Misses       2452     2452
  Partials      308      308


Add astype errors

As described in #5666

[x] Tests added / passed
[x] Passes black dask / flake8 dask

I'm not sure what to do about errors="ignore" here, since it potentially makes our metadata incorrect. My initial preference is to include the keyword for compatibility, but raise if anything other than the default of errors="raise" is passed with a nice explanation about why it's not supported.
if errors !+ "raise":
    raise ValueError("Only `errors='raise'` is supported. `errors='ignore' cannot be supported because the dtype of the output depends on the values present in the data. Use `to_numeric` instead.

Opened https://github.com/dask/dask/issues/5698 for implementing dask.dataframe.to_numeric.

@zacharylawrence do you have an opinion on https://github.com/dask/dask/pull/5686#issuecomment-564136109?
One option would be to essentially assume that the astype fails and convert to the fallback option. So .astype("float", errors="ignore") would translate to a pandas .astype("float', errors="ignore").astype(object). I'm not sure about that either though.

What's the status here @zacharylawrence? I think there's a pending discussion in https://github.com/dask/dask/pull/5686#issuecomment-564136109.
Note that dd.to_numeric has been merged in the meantime, with support for just errors={'raise', 'coerce'}.


[Admin cabinet. Orders]  Button “Скасувати” fails to deselect filter checkboxes  for column 'Штурман', 'Водій', 'Менеджер'

Environment: Windows 10 Pro for Workstations, Firefox 126.0b9 (32-bit)
Reproducible: always
Build found: 09 May 2024 (prod)
Preconditions
Log in as Admin https://www.pick-up.city/#/ubs-admin/orders
Steps to reproduce

Apply filter within column 'Штурман' by value 'Владислав Бобешко'
Click on filter icon again to press 'Cancel' button.
Pay attention that filter option 'Владислав Бобешко' is not deselected.
Apply filter within column 'Водій' by value 'Nadiia Stoiko'.
Click on the filter icon again to press  'Cancel' button.
Pay attention that filter option 'Nadiia Stoiko' is not deselected.
Apply filter within column 'Менеджер' by value 'Nadiia Stoiko'.
Click on the filter icon again to press  'Cancel' button.
Pay attention that checkbox 'Nadiia Stoiko' within filter 'Менеджер'  is not deselected.

Actual result
After Admin clicks the button 'Скасувати' button selected filter checkbox is not deselected, although filtering conditions are cleared

https://www.awesomescreenshot.com/video/27522774?key=d4312b6616c6119f4ed4055e8502779b
Expected result
Once the button “Скасувати” is clicked all checkboxes should be deselected.
User story and test case links
#3300
Test case
Labels to be added
"Bug", Priority ("pri: "), Severity ("severity:"), Type ("UI, "Functional"), "API" (for back-end bugs).

The bug is no longer relevant. The correct issue and expected results were described here: #7431.


Fix compilation for FreeBSD

I would like to release a new version with this fix (https://github.com/stanislav-tkach/os_info/pull/259), but I have also made some refactoring along the way. Could you please check the release branch?

@stanislav-tkach Now it complains about uname being private in freebsd/mod.rs.

@davidkna Thanks! I have fixed that.

By the way cross supports FreeBSD if you add a Cross.toml with:
[target.x86_64-unknown-freebsd]
image = "docker.io/rustembedded/cross:x86_64-unknown-freebsd"

@stanislav-tkach It seems to work and compile fine now.

@davidkna Thanks. I  have released the 3.0.3 version.


grafana-watcher: revert to import endpoint

The dashboard create endpoint behaves slightly different when templating
is used. The import API works exactly the same as the front-end import
functionality.
@fabxc @mxinden
/cc @nirdothan

@mxinden we have an ingress failure, did we figure out what that was? Other than that all tests passed. Seem like a timeout issue.

@brancz I thought we fixed the flaky ingress test with<PHONE_NUMBER>8db6835516eb576d3838bc3cc1bc7f
I will look into it.

@mxinden we should add some wrapping with pkg/errors so we know where the timeout error is actually coming from.

👍 on this change


Add statistics.py to measure the efficacy dimension of the solution space

TODO: Clean up the code (strings, error formatting, writing to disk, and tests), add more stats on language distribution and code complexity.


Cannot sign in to excalidraw plus account

cc @maielo @barnabasmolnar

Hey @jeniadenshia, can you contact us on<EMAIL_ADDRESS>with name of workspace and your sign in email?


can't run tmuxinator

Can't run tmuxinator. Please help me
 terminal
$ tmuxinator
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/dependency.rb:296:in to_specs': Could not find 'tmuxinator' (>= 0) among 13 total gem(s) (Gem::LoadError)     from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/dependency.rb:307:in to_spec'
from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_gem.rb:47:in gem'     from /usr/bin/tmuxinator:22:in '

I was editing my oh-my-zsh config and i don't know how, but i removed tmuxinator.

For everyone that came here, the problem probably is your Ruby path
If you are using RVm and install tmuxinator before it, try this;
rvm use system, and then, try run tmuxinator again.
You can set up this Ruby as a default doing this rvm --default use system.
You can also re-install tmuxinator using your current rvm ruby version


Add ACM specific setup to Repository

Files for ACM application should also be in the repo to deploy the odh-core  and odh-edge applications in ACM.
An example of how to structure these files is here.

Closed with https://github.com/opendatahub-io/ai-edge/pull/37 right @LaVLaS  ?

Or does https://github.com/opendatahub-io/ai-edge/pull/46 close this @grdryn ?

Closing this as we have outlined the near-edge ACM setup.  The next phase of our work will be aligned with providing ODH integration with ACM for visibility of deploying and monitoring models in near edge locations


Ignore redshift error during copy

I had a Redshift copy error: String contains invalid or unsupported UTF8 codepoints. Bad UTF8 hex sequence: ef bf bf (error 7)
Is there a way to add some parameter to the redshift copy command like maxerror in order to avoid such error.

In fact it exists with the option extracopyoptions


How to train own dataset with the image created by Labelfusion?

Hi, you can follow how I change the data loader from YCB dataset to linemod. Labelfusion provides very clear data structure. Should be easy.


luci-app-smartdns: Fix display issue: The list has multiple headers.

Before the fix:

After the fix:

Could you please submit this PR to upstream OpenWrt? Thanks.


None of Language Segments in PROMPT is showing up

I was updating my $HOME/.oh-my-zsh/custom/themes/powerlevel9k and for some odd reason only the language segments in either POWERLEVEL9K_LEFT_PROMPT_ELEMENTS or POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS are not showing up.
There is no error and odd thing is even my custom segment is working:

Even if I source powerlevel9k.zsh-theme directly it still doesn't show up and there is no error.  Other segments like clouds are working fine.

Er, that sounds really bizarre. Can you share your zshrc? Also, what version of P9k do you have checked out?

I keep ~/.oh-my-zsh/custom/themes/powerlevel9k sync to this repo so it should have latest.
This is not my normal zshrc but this version still has the problem. Also I should note that sometimes the node version show up.
zsh 5.1.1 (x86_64-ubuntu-linux-gnu)
#!/bin/zsh

cd ~
HOSTNAME=$(hostname)
echo "$HOME, $HOSTNAME"
export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8

if [[ "$TMUX" != "screen-256color" ]]; then
  echo "start tmux ..."
  tmux
fi

HISTSIZE=30000
SAVEHIST=150000
setopt clobber
setopt ignoreeof
setopt interactivecomments
setopt APPEND_HISTORY           # no erase history
setopt CORRECT
setopt EXTENDED_HISTORY         # Add timestamp
setopt INC_APPEND_HISTORY_TIME  # Append immediately
setopt RM_STAR_WAIT
setopt SHARE_HISTORY            # Share between session

plugins=(colored-man colorize docker docker-compose gitfast go-zsh-completions jira kubectl minikube sublime vi-mode zsh-syntax-highlighting)

export COLORTERM=gnome-terminal
export EDITOR=subl
export GO_SCRIPT_SRC="/home/antho/git/script/go/src"
export HISTFILE=~/.zsh_history
export TERM=xterm-256color
export ZSH=/home/antho/.oh-my-zsh

###################################################################
#                   POWERLEVEL9K                                  #
###################################################################

ZSH_THEME="powerlevel9k/powerlevel9k"
POWERLEVEL9K_MODE='flat'
POWERLEVEL9K_MODE='octicons-fontconfig'
POWERLEVEL9K_CUSTOM_GCP="gcloud_profile"
POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(vi_mode dir vcs aws kubecontext docker_machine)
POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=(virtualenv anaconda nvm rbenv rvm go_version root_indicator aws_eb_env background_jobs context custom_wifi load)
POWERLEVEL9K_CUSTOM_WIFI="echo \$(nmcli device wifi | grep '*' | grep -v BARS | awk '{print \$(NF-1)}')"
SSID=$(iwgetid -r)

POWERLEVEL9K_SHORTEN_DIR_LENGTH=3
POWERLEVEL9K_SHORTEN_DELIMITER=""

POWERLEVEL9K_MULTILINE_FIRST_PROMPT_PREFIX="↱"
POWERLEVEL9K_MULTILINE_LAST_PROMPT_PREFIX="↳ "

POWERLEVEL9K_PROMPT_ON_NEWLINE=true
POWERLEVEL9K_PROMPT_ADD_NEWLINE=true
POWERLEVEL9K_RPROMPT_ON_NEWLINE=true

fpath=(~/.zsh/completion $fpath)
autoload -Uz compinit && compinit
autoload -Uz bashcompinit

bashcompinit -i

# Vi mode
bindkey -v
# lower delay
export KEYTIMEOUT=2

ENABLE_CORRECTION="true"                  # enable command auto-correction.
COMPLETION_WAITING_DOTS="true"            # display red dots @ waiting for completion.

export CLING_HOME=/usr/local/cling_2017-10-03_ubuntu16
export GOPATH=$HOME/go
export NVM_DIR="/home/antho/.nvm"
export PATH="$PATH:/home/antho/anaconda3/bin:$JAVA_HOME/bin:$AWS_CLOUDWATCH_HOME/bin:/home/antho/.local/bin:/home/antho/.gvm/pkgsets/system/global/bin:/opt/maven/bin:/usr/local/packer:/home/antho/.terraform:/usr/local/hadoop-2.8.1/bin:$SPARK_HOME/bin:/home/antho/google-cloud-sdk/bin/:$CLING_HOME/bin:/usr/local/android-studio/bin"

cd $ZSH && git stash && cd - && pwd

source $ZSH/oh-my-zsh.sh
source /home/antho/.local/bin/aws_zsh_completer.sh
source ~/.zsh/zsh-autosuggestions/zsh-autosuggestions.zsh

ssh-add -l

#########################################################
export CUR_DATE=$(date +%F)

export SDKMAN_DIR="/home/antho/.sdkman"
[[ -s "/home/antho/.sdkman/bin/sdkman-init.sh" ]] && source "/home/antho/.sdkman/bin/sdkman-init.sh"

# spring completion
. ~/.sdkman/candidates/springboot/current/shell-completion/bash/spring

source <(kompose completion zsh)

CURRENT_JAVA=$(readlink /etc/alternatives/java)
export JAVA_HOME=$(echo "$CURRENT_JAVA" | awk -F '/bin/java' '{print $1}')

zstyle ':vcs_info:*' disable-patterns "$HOME/mnt(|/*)"
zstyle ':vcs_info:*' disable-patterns "$HOME/mnt_*"
df -h

# Remove forward-char widgets from ACCEPT
ZSH_AUTOSUGGEST_ACCEPT_WIDGETS=("${(@)ZSH_AUTOSUGGEST_ACCEPT_WIDGETS:#forward-char vi-forward-char}")

# Add forward-char widgets to PARTIAL_ACCEPT
ZSH_AUTOSUGGEST_PARTIAL_ACCEPT_WIDGETS+=(forward-char vi-forward-char)

[[ -f /home/antho/.nvm/versions/node/v6.10.3g/lib/node_modules/serverless/node_modules/tabtab/.completions/serverless.zsh ]] && . /home/antho/.nvm/versions/node/v6.10.3/lib/node_modules/serverless/node_modules/tabtab/.completions/serverless.zsh

[[ -f /home/antho/.nvm/versions/node/v6.10.3/lib/node_modules/serverless/node_modules/tabtab/.completions/sls.zsh ]] && . /home/antho/.nvm/versions/node/v6.10.3/lib/node_modules/serverless/node_modules/tabtab/.completions/sls.zsh

export NODE_PATH=$(npm root --quiet -g)

I'm pretty horribly confused about this. Was P9k working for you at some point, and when you updated it broke? If that's the case, if you roll back P9k, does it work again?

My apology, actually I found out that only some of the language prompt that's not working, such as:

go_version
rvm

node_version does show up (I just didn't have that one when tested).  As for the others, virtualev works when in a virtaulenv environment.  I don't really use ruby (even though I have ruby/rvm installed but I am surprised that go version doesn't show).

@AnthonyWC - Okay, so you are using rvm, but the rvm prompt doesn't work, and you are using go, but the go_version segment doesn't work?
Can you expand on how they don't work? Do they not appear? Is the information wrong?

They don't appear; others like node_version does show up properly though.

They don't appear; others like node_version does appear though.

@AnthonyWC The go_version prompt segment will only show while pwd is inside of $GOPATH. Currently there are no configuration options to make it always show, but that should be fairly trivial to add if there is demand.
@bhilburn I neglected to put the above information in the README for that segment, I can see how it would be confusing otherwise. Even with that caveat noted in the segment docs, I imagine it would get skimmed over more often than not. Would it make more sense to default it to "always on" with an option to only show while in $GOPATH?


Block Stuck Issue @ 1105424 days after 2<IP_ADDRESS> install.

[X] I understand that this is only to report software bugs and not for customer support.
A support request with Nebra was submitted. (Ticket #316204).  An automated email was received, reviewed, and I'm looking forward to a human response.
Describe the bug
Since the recent November outage/s, and 24  h+ after upgrade to 2<IP_ADDRESS>, my Outdoor Gen 1 has been stuck on block 1105424.
Configuration is the same as when it was working before the outage and seeing gigs of traffic moving and the blockchain rising.   Currently at 1111233.
Am aware of https://engineering.helium.com/2021/11/22/blockchain-release-sync-emergency.html that addresses 1,107,994 and as a precursor block, this may be related.
After a few days since 2<IP_ADDRESS> it would seem this should be resolved and deserves more scrutiny from the dev team, with perhaps escalation to Helium devs,  as a number of online forums have Nebra reports of the same.  For example https://www.reddit.com/r/HeliumNetwork/comments/qzgjuj/nebra_stuck_at_block_1105424_reboot_or_wait
To Reproduce
Operate a Nebra Outdoor Hotspot Gen 1.
Expected behavior
Nebra Outdoor Hotspot Gen 1 miner should be able to process through the block with the engineered hotfix applied in 2<IP_ADDRESS> and return to normal function.
Screenshots
Full diagnostic available in ticket submitted (#316204) with diagnostics JSON
Desktop (please complete the following information):
Irrelevant.
Smartphone (please complete the following information):
Irrelevant
Additional context
Other than this issue, the hotspot appears working and intermittently works with ping and shows in-sync on Nebra dashboard however CPU usage remains high and consumption of storage from around 3 GB has grown to over 9GB.

This is not a support forum. Please contact<EMAIL_ADDRESS>

This is not a support forum. Please contact<EMAIL_ADDRESS>
Did you read the whole report and why it is believed to deserve consideration by development?
Multiple devices are hung in the same place and the Nebra brand seems to be a commonality.
In addition, if it is a larger issue, who is in the best position to handle both Nebra integration and escalation to Helium proper?

Yes. The initial assessment will be done by the support team and then escalated to the development team. My understanding that they are aware of this and are investigating and quantifying this at the moment.

Yes. The initial assessment will be done by the support team and then escalated to the development team. My understanding that they are aware of this and are investigating and quantifying this at the moment.

If it is a known issue, of potentially wide impact, why would it not be appropriate to track and memorialize the resolution here so that I and others can at least be aware of status?

This is a helium issue https://status.helium.com


Assignment 5

Forgot to upload to github and pull request it.
I did not have enough time to do bonus.

100!


Refactor Transformer tests

Refactor TransformerTorch and TransformerTF tests with a matrix of parameters by using pytest parametrize. The matrix should contain a few popular models worth testing with different pooling and layer_index

I can take care of this - I'm working on some other refactoring of transformer encoders anyways.

I can take care of this - I'm working on some other refactoring of transformer encoders anyways.

That would be very cool. What refactoring are u working on?

I can take care of this - I'm working on some other refactoring of transformer encoders anyways.

That would be very cool. What refactoring are u working on?

What I described in #1291, some minor changes in documentation to synchronise with transformers package, and implementing reduce operations in native pytorch/tf - as this can lead to large speedups on GPU - same as in #399

And I am also considering adding AMP, for pytorch at least - see n #1283

closed by #1344

This is not done in TFTransformerEncoder right?

Ohh yes!

@tadej-redstone Would you be interested in doing similar refactoring for TransformerTFEncoder? It shouldn't take much time.

Yes, I already have a branch ready doing this, I'm waiting first till #1527
is fixed
On Tue, Dec 22, 2020, 1:30 PM Pratik Bhavsar<EMAIL_ADDRESS>wrote:

@tadej-redstone https://github.com/tadej-redstone Would you be
interested in doing similar refactoring for TransformerTFEncoder? It
shouldn't take much time.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/jina-ai/jina-hub/issues/1296#issuecomment-749517309,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQUQGD5MC75MYC5FHQIYVB3SWCGPRANCNFSM4U4RWXEA
.


[Request]  Vencord : support

🙏  i really want to use it in vencord

Someone just asked this in my support server.
Never used vencord, but apparently all you need is the raw link, which is available in the deploy branch

this was really useful thanks for the awesome theme


Fix ResourcePackStatusEvent for Minecraft 1.11.

Fixes SpongePowered/SpongeCommon#1057.
Note that I will be away from the 15th to the 20th. I will be able to make comments and responses, but not code changes until the 21st.

@kashike I'm back, and I've fixed those comments.

@JBYoshi Update this PR please.

@bloodmc Done.


MM-T2369 : Aspect Ratio is preserved in RHS

Summary

This add automation test to verify that markdown image maintains same aspect ratio in center and rhs
Ticket Link

https://automation-test-cases.vercel.app/test/MM-T2369
Related Pull Requests

N/A
Screenshots

N/A
Release Note

Hello @M-ZubairAhmed,
Thanks for your pull request! A Core Committer will review your pull request soon. For code contributions, you can learn more about the review process here.


signal with string PROCESS in it triggers an indent

architecture rtl of dummy is
begin
PROCESSING_RUNNING        <= ProcessingRunning;
NO_SEQUENCES_GENERATED    <= std_logic_vector(NoSequencesGenerated);
end architecture;

solved


Locally does not work

I added an environment variable and tried to run it locally, but it didn't work.
The following modules were added because some of them failed to be found locally
"async-sema": "^3.1.0",
"uuid": "^8.1.0"

In addition, the following modifications were also made.

/src/lib/notion/createTable.js

const uuid = require('uuid/v4');
↓
const { v4: uuidV4 } = require('uuid');

In this case, the following error appears.

Any suggestion on how to fix it?

Thank you for a good job.


fix: runner url in contributing.md

I had this strange error trying to run the runner for a PR:
15:56:33.469	error	failed to connect	{"error": "dial tcp: lookup github.bass-loop.org on ....1:53: no such host"}
dial: 1 error occurred:
	* dial tcp: lookup github.bass-loop.org on ...1:53: no such host

Looks like the url wasn't correct in the example.

Whoops, nice catch. Thanks!
Not sure why all the builds failed for this. Was the bass --runner command terminated in the middle of it? Either way this is obviously OK to merge so I'll go ahead and do that.

I had the runner in the foreground, when I realized it wasn't going to pickup the commits from #242 I killed it without realizing it was running these. If I remember correctly the output only shows the health checks/keep alive pings from the server, but I didn't see any "currently running ..." so I didn't realize it was running jobs 😬.

Yeah true, I've been thinking of having it show all the output for everything it's running. It's definitely a bit too quiet.


Added a better error message during build when a json file is misspelled

Before:
002 autorun     : json 'defz.json' 'masterfiles/def.json'
Traceback (most recent call last):
  File "/home/olehermanse/.local/bin/cfbs", line 8, in <module>
    sys.exit(main())
  File "/home/olehermanse/.local/lib/python3.8/site-packages/cfbs/main.py", line 145, in main
    return commands.build_command()
  File "/home/olehermanse/.local/lib/python3.8/site-packages/cfbs/commands.py", line 949, in build_command
    build_steps()
  File "/home/olehermanse/.local/lib/python3.8/site-packages/cfbs/commands.py", line 931, in build_steps
    build_step(module, step, module_name_length)
  File "/home/olehermanse/.local/lib/python3.8/site-packages/cfbs/commands.py", line 872, in build_step
    assert extras is not None
AssertionError
$

After:
002 autorun     : json 'defz.json' 'masterfiles/def.json'
Error: 'defz.json' is not a file
$

Ticket: CFE-3843

This is a good improvement, thank you!


Is the Input Action Rules Profile mandatory?

Overview
Is the Input Action Rules Profile mandatory? I created a default scene and created customer profiles except Action Rules profile as I didnt want to override any of my base actions and tried to run the scene. It wont run since the Action Rule profile is missing. Is it mandatory? What if I dont need to override my actions? I can't even create a default action rules profile as it will force me to override atleast one base action. Is this the expected behavior going forward?
Steps to reproduce
Add all profiles except Input Action Rules Profile and try to click play on a startup scene
Unity Editor Version
Unity 2018.2.19f1
Mixed Reality Toolkit Release Version
vNext -> mrtk_development branch

I'd suggest just using the default profile for the rules as it's empty as well.

You are right. :) Closing this.


Merged all pull requests

I Merged all pull requests and create I version

Thanks for the effort, I will review other PRs and merge one by one as some may require changes.


feat(DTFS2-6786): GEF 2.1 EC version introduction

Introduction :pencil2:
Add an additional eligibility criterion for all the new GEF applications.
Resolution :heavy_check_mark:

GEF EC 2.1 introduction

Miscellaneous :heavy_plus_sign:

Dependencies updates.

Codecov Report
Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (6da84ce) 21.88% compared to head (7e5236d) 23.52%.
Report is 36 commits behind head on main.

Files
Patch %
Lines

dtfs-central-api/src/drivers/db-client.js
0.00%
1 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2419      +/-   ##
==========================================
+ Coverage   21.88%   23.52%   +1.63%
==========================================
  Files        1132     1030     -102
  Lines       27048    25731    -1317
  Branches     4447     4108     -339
==========================================
+ Hits         5920     6052     +132
+ Misses      18403    17167    -1236
+ Partials     2725     2512     -213

Flag
Coverage Δ

api-test
?

ui-test
65.21% <ø> (+0.07%)
:arrow_up:

unit-test
4.30% <0.00%> (+0.51%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

Thanks for this @abhi-markan 😄


[bug] fix: auto fetch metastore uri from hive-site.xml when use SparkGenericCatalog

1、Autofill metastore type to SparkGenericCatalog.
2、Fetch hive metastore uri from hive-site.xml of loaded.

We need a test to cover HiveCatalog with Spark.

@leaves12138 Additional, we should consider to auto fetch warehouse config in paimon catalog, but only spark session catalog.

@leaves12138 Additional, we should consider to auto fetch warehouse config in paimon catalog, but only spark session catalog.

We have already fetch warehouse parameter from session catalog and set it  to paimon catalog

files:
paimon-common/src/main/java/org/apache/paimon/client/ClientPool.java
paimon-common/src/main/java/org/apache/paimon/client/ClientPoolImpl.java
paimon-common/src/main/java/org/apache/paimon/reflect/DynConstructors.java
paimon-common/src/main/java/org/apache/paimon/reflect/DynMethods.java
paimon-common/src/main/java/org/apache/paimon/utils/ScriptRunner.java
paimon-hive/paimon-hive-common/src/main/java/org/apache/paimon/hive/HiveClientPool.java
paimon-hive/paimon-hive-common/src/test/java/org/apache/paimon/hive/TestHiveMetastore.java
are copied from iceberg.

Make a build-in hive metastore to start with tests. Mainly codes are copied from iceberg.

@JingsongLi   Please check the files added and their directory of location.

We need a test to cover HiveCatalog with Spark.

Hi @leaves12138, I definitely recommend using the API, like TestHiveSingleton provided by spark-hive test module to cover this part of the test.

@leaves12138 +1 for this pr. just left two minor comments here.


Clarifying Events & Credits

Support had a question about credit consumption. Clarified with Mail Pipeline team, and am now updating docs.
Description of the change:
Reason for the change:
Link to original source:

Closes #

Hello @jacobmovingfwd,Thanks again for the PR! We appreciate your contribution and look forward to                                              continued collaboration. Thanks!                                             Team SendGrid DX


Feature: [plugins] Show plugin version and prompt for plugin update

I suggest to show plugin version and prompt for plugin update in plugin store

In ideal the update button shows only if installed plugin version  is less then available in store

In ideal the update button shows only if installed plugin version  is less then available in store

This is implemented in #526 and #534, where the version number is shown on the new plug-in information page and an upgrade is offered if possible

This is implemented in #526 and #534, where the version number is shown on the new plug-in information page and an upgrade is offered if possible


Violation of React hooks rules is reported when enabling that addon

This warning is reported in the browser console when opening a story in storybook with this addon enabled (with version 3.2.0 of the addon)
Warning: React has detected a change in the order of Hooks called by null. This will lead to bugs and errors if not fixed. For more information, read the Rules of Hooks: https://fb.me/rules-of-hooks

   Previous render            Next render
   ------------------------------------------------------
1. useContext                 useContext
2. useContext                 useMemo
   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

    in Unknown
    in Unknown
    in Unknown
    in Unknown (created by ManagerConsumer)
    in ManagerConsumer (created by Panel)
    in Panel (created by Layout)
    in div (created by Styled(div))
    in Styled(div) (created by Panel$1)
    in Panel$1 (created by Layout)
    in div (created by Styled(div))
    in Styled(div) (created by Main$1)
    in div (created by Styled(div))
    in Styled(div) (created by Main$1)
    in Main$1 (created by Layout)
    in Layout (created by WithTheme(Layout))
    in WithTheme(Layout)
    in Unknown
    in div (created by Styled(div))
    in Styled(div)
    in Unknown
    in Unknown (created by SizeMeRenderer(Component))
    in SizeMeReferenceWrapper (created by SizeMeRenderer(Component))
    in SizeMeRenderer(Component) (created by SizeMe(Component))
    in SizeMe(Component)
    in ThemeProvider
    in Unknown (created by ManagerConsumer)
    in ManagerConsumer (created by Manager)
    in EffectOnMount (created by Manager)
    in Manager (created by QueryLocation)
    in QueryLocation (created by Main)
    in Main (created by Root)
    in Router (created by LocationProvider)
    in LocationProvider (created by Root)
    in HelmetProvider (created by Root)
    in Root

@stof  I tried with both react and vue apps and couldn't reproduce this warning. Can you provide some more details?

I'm using @storybook/html in case it matters

@stof I also tried with the @storybook/html and couldn't reproduce it. Looking at the error log, it appears the error comes from the Unknown component, not inside the addon. Can you re-check if this error comes from the addon of an outside component?


Getting an error on CookieManager’s setFromResponse function

Hi!
When trying to use the CookieManager’s setFromResponse function the iOS simulator, while passing the following values: https://app.hibob.com, user_session=abcdefg; Max-Age=7200; Expires=Fri, 25 Aug 2017 09:34:22 GMT; Path=/; Domain=hibob.com; Secure; HTTPOnly I get the error:

JSON value  of type NSString can not be converted to NSDictionary

What am I doing wrong? I mean, I understand the error, but in the example it seems a string, which is also not convertible to JSON, is passed. I was looking for the API — along with the expected types — but was not able to find it.
I’d love for some help...
Thanks!

When debugging from the native side, I see that in fact the second param which is being passed to the NSHTTPCookie’s method cookiesWithResponseHeaderFields:forURL: is nil, as the conversion failed.

Tried to use also the equivalent set method, but getting an undefined in the result.

Oh, well I see now that the completion block, on the iOS native side, will always respond with a nil value. Why is that?
RNCookieManagerIOS, line 38: resolve(nil);

And one last question :)
It seems as if RNCookieManagerIOS expects the expiration date be in IOS8601, as when passing the date in a UTC/GMT Format it fails and says it expects the IOS8601. Why is that? If I understand right, the UTC/GMT Format is standard when it comes to Set-cookie.

Duplicate https://github.com/joeferraro/react-native-cookies/issues/15

expects the expiration...
https://github.com/joeferraro/react-native-cookies/issues/36


Selective component generation (using KSP options)

Allow the users to generate only certain components or exclude them using KSP options. Some examples:

-client: Generate only client implementation (includes descriptor)
-strict: Generate strictly the specified components (when using -client descriptor will not be generated)

A first attempt created some very ugly code in the processor provider. I think it's best to create a Gradle plugin to allow this and other fine-tunings.


[WIP] Small Fixes: typescript-oclif plugin

Hey team! 👋
I wrote the oclif plugin back in October and it was merged in March 2020, which surprised me since I still had some pending questions on the MR.
Of the questions in that PR, I'm still most interested in the one about the import paths (question # 2). Presets receive information about where they are in the generated-file tree, but plugins do not appear to (or didn't at the time). This means that this plugin is fragile, and we can't have a file structure like this out-of-the-box:
src/commands/hello.ts
src/commands/foo/bar.ts

# ... with handler ...
src/handler.ts

^ Since the plugin doesn't know how deep it is in the tree, it doesn't know whether to import '../../handler' or import '../handler'. We can use a tsconfig.json baseUrl to work around this issue, or put handler.ts export files everywhere in the tree, but is it possible for a plugin to know its relative file path to the root? If it's not a simple change or lookup, I'll just add a line to the docs about using baseUrl (that's what the MR "WIP" is for), although that may not work in all situations.
This also includes some other housekeeping:

Remove development comments related to the above ^
Remove the default value for handlerPath and require it to be set deliberately. While this is a breaking change, I expect that this is specified in most consuming projects since it's in the docs and example. Setting the default as ../../handler assumes that users will be generating a two-level, "multi"-form CLI, which is not necessarily the expected or common case.
A fix in the docs

Hi @kalzoo !
The initial oclif PR was great, and the changes here seems to make it simpler to use. Thank you!
Can you please check CI? it seems to break.

@kalzoo let me know when this PR is ready for review ;)

Hey @dotansimha , it's ready (for review, not merge), just been hoping for input on that question 🙂

@kalzoo I know long time has passes, but I don't see any reason not to merge it. You are the owner of the plugin, so I completely trust you on this one. Let me know if you want to get this merged and released.

@kalzoo Is there anything we can help to get this merged?

Yes, I need answers to the questions I posed here and in the original PR. These are not questions about my plugin, they're about the interaction of the plugin with the framework, and how to get the behavior one sees in a preset. I haven't looked at this recently and so I can't say if plugins have more capabilities/information than they did at the time I made this PR, but at that time it wasn't possible for a near-operation-file-invoked plugin to know the depth to use for its import paths.

Hi!
All community plugins (see list below) have been moved to a new dotansimha/graphql-code-generator-community.

Community plugins:

@graphql-codegen/typescript-react-apollo
@graphql-codegen/typescript-graphql-request
@graphql-codegen/typescript-apollo-angular
@graphql-codegen/typescript-apollo-client-helpers
@graphql-codegen/typescript-react-query
@graphql-codegen/typescript-urql
@graphql-codegen/named-operations-object
@graphql-codegen/urql-introspection
@graphql-codegen/flow-resolvers
@graphql-codegen/typescript-vue-apollo
@graphql-codegen/typescript-rtk-query
@graphql-codegen/flow-operations
@graphql-codegen/typescript-msw
@graphql-codegen/typescript-mongodb
@graphql-codegen/typescript-type-graphql
@graphql-codegen/jsdoc
@graphql-codegen/typescript-vue-urql
@graphql-codegen/kotlin
@graphql-codegen/typescript-vue-apollo-smart-ops
@graphql-codegen/java
@graphql-codegen/c-sharp-operations
@graphql-codegen/hasura-allow-list
@graphql-codegen/typescript-stencil-apollo
@graphql-codegen/relay-operation-optimizer
@graphql-codegen/typescript-oclif
@graphql-codegen/java-resolvers
@graphql-codegen/java-apollo-android
@graphql-codegen/flutter-freezed

Please move your PR by following these steps:
From your current PR branch:

git remote add codegen-community git@github.com:dotansimha/graphql-code-generator-community.git
git fetch codegen-community
git push codegen-community

Open the PR on dotansimha/graphql-code-generator-community and close this PR.
Thank you!

thanks for the great work here @kalzoo we have moved this plugin to community repo so let's move it there and then we can consider publishing a canary for you test with https://github.com/dotansimha/graphql-code-generator/pull/4357#issuecomment-1305396802


InvalidPathException thrown on second parse of source file that contains a "space" in the path

We have a project that contains a space in the project name "Common Libraries" The first time we run the sonar scan including the ReSharper results, everything thing works fine and the results are loaded to SonarQube. The second time however the error below is thrown. We have several projects that are working and the only thing in common I can see with the ones that don't work is a space in the the path.
I've upgraded the sonar-resharper plugin to the latest version (2.17), but we still get the error.
It seems that the path being constructed for the first file in the resharper log is being confused (and duplicated).
java.nio.file.InvalidPathException: Illegal char <"> at index 45: E:\TeamCity\buildAgent\work\b3dd8ed054cf420a\"E:\TeamCity\buildAgent\work\b3dd8ed054cf420a\Source\Common Libraries\ACorns.WCF.DynamicClientProxy\IClientBase.cs
Here is the full execution log.
Sonar End Log.txt
Any help is much appreciated.

Let me take a look, in the meantime if not too much trouble, can you re-run with the -X argument and post the log please.

@stuartmackintosh  added a try catch block where i think its failing based on the stacktrace. This is not a fix, but will allow you to complete your scan while i take some more time to identify why it's doing what you reported.

@stuartmackintosh alright v2.18 is out there.  It should at least allow you to get through the scan without an exception while I look at the pathing issue.

@GregBartlett Here is the log with the /D:sonar.verbose=true option set on the msbuild runner start command. I assume that's the same as the -X option, if not please let me know.
Sonar End Log with DEBUG.txt
I'll install the v2.18 release now, and let you know how it goes.

@GregBartlett here is the debug log with version v2.18 the scan does indeed complete now, but the error still occurs in several places.
Sonar End Log v2.18.txt

@stuartmackintosh so sorry for not responding sooner. Completing is better than blowing up the whole scan right :)   In the middle of some RL stuff but will try to find the right code fix for the Illegal char issue (which I believe appears to be two pathes being spliced together, but because of the space in Common Library  it's wrapping it up in the " "'s and whatever is splicing isn't smart enough to build the path correctly.
Thanks for the log!

@stuartmackintosh When a build completes can you send me the resharper.xml please?
E:\TeamCity\buildAgent\work*b3dd8ed054cf420a*\resharper.xml  the path in bold will change on each execution I think.  But really I think any will do, I'm wondering if the path is messed up in the report.xml that is generated that's causing this.

Here you go.
resharper.zip

@stuartmackintosh so I have no idea where it's putting together this crazy path you are getting.    Attached is the build with the fix in it.  Please give it a test and let me know the results before I post it on the releases page.
Thanks for your help and willingness to send the requested files :)
sonar-resharper-plugin-v2.19-SNAPSHOT.zip

@GregBartlett I've re-run the test and there is no change... I wasn't sure that the new version was being used as the version number in SonarQube showed as only 2.1-SNAPSHOT, so I completely uninstalled it and reinstalled it. However nothing changed. I've also upgraded the version of the ReSharper command line tool to 2016.3.2, still no change.
Sonar.End.Log - beta.txt

@stuartmackintosh  thanks, it helps me narrow it down.

@stuartmackintosh in regards to the sonarqube version, looks like it's getting it from the pom.xml.  Will see if I can get appveyor to update the pom.xml as well to reflect build number.

@stuartmackintosh  so it has to be something that Sonarqube's FileSystem object is doing when it's trying to find the file.  I'll look at it some more, but we are narrowing it down, thanks for your time:)
inputFile = fileSystem.inputFile(
fileSystem.predicates().and(
fileSystem.predicates().hasAbsolutePath(file.getAbsolutePath()),
fileSystem.predicates().hasType(InputFile.Type.MAIN))

haven't heard anything from anyone on the google group yet :(, will keep looking at it when i have time though


Escape hatch

Is there an escape hatch to just make a request with custom method/path/options?
I also need to update settings in the zone and it doesn't appear to be in there... unless I'm mistaken. I dont necessarily want to have to make PRs for every endpoint in the short term (just while library is being worked on, as it seems like WIP)

Yes, you can, e.g. something like this:
Cloudflare::Representation.new(connection.with(path: "whatever/"))

It will create a generic representation of the given resource (path). You can provide whatever arguments, e.g. with(parameters: {url parameters}) and then use Cloudflare::Representation.$http_method to do actual operations, e.g. https://github.com/socketry/cloudflare/blob/5bbec93fdea5c81ed32d854aa0d091f601cdc13b/lib/cloudflare/dns.rb#L16-L32
Let me know if you need more specifics. It's also fine to make PRs adding missing functionality. I wouldn't call this gem a WIP, but Cloudflare makes it extremely hard to test anything (there are no sandbox accounts), and so it's kind of on an as needed basis as users contribute.

awesome, thanks!


What are the exit codes for this program?

[Enter feedback here]

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 1b07b20b-5937-9784-082f-8655bad1acdd
Version Independent ID: 22eda03b-36bf-e612-384f-af3a3d2725a6
Content: Installutil.exe (Installer Tool)
Content Source: docs/framework/tools/installutil-exe-installer-tool.md
Product: dotnet-framework
GitHub Login: @tdykstra
Microsoft Alias: tdykstra

You might find this StackOverflow post helpful:  https://stackoverflow.com/questions/62648723/retrieving-exit-status-of-installutil-with-errorlevel

Thanks for contacting us. We believe that the question you've raised has been answered. If you still feel a need to continue the discussion, feel free to reopen it and add your comments.


Crop Rotation Planner

Title and Issue number
Crop Rotation Planner Added
Issue number #5025
Close #5025
Checklist:

[X] I have mentioned the issue number in my Pull Request.
[X] I have commented my code, particularly in hard-to-understand areas
[X] I have created a helpful and easy to understand README.md

@MohitGupta121 @TusharKesarwani Sir kindly review these pr

@TusharKesarwani Sir kindly review these pr please


Backport array contains / transform improvements from Web.

This brings iOS into parity with the result of https://github.com/firebase/firebase-js-sdk/pull/763.
NOTE: I ported awaitLocalEventWithName / awaitRemoteEventWithName to FSTEventAccumulator but actually getting rid of the helpers in FIRArrayTransformTests and FIRServerTransformTests would have added significant boilerplate (because FSTEventAccumulator makes you pass a name for the events it awaits). So it's only a half-hearted port and I'm half tempted to revert it. Let me know what you think?

LGTM too. This doesn't really conflict with the work I'm doing and just raises the priority of finishing the port of FSTFieldValue to FieldValue


tldr --list should include customize pages

tldr --list should include customize pages. It helps zsh/bash autocomplete.

@dbrgn Could I try and tackle this one?

@emhagman We will gladly take your contribution! :rocket:


js: Convert i18n.js, page_params.js, csrf.js to ES6 modules

Testing plan: Loaded dev server, changed language setting.

This is great, merged, thanks @andersk!


ColorSlider and ColorWheel docs

Closes https://github.com/adobe/react-spectrum/issues/1606
✅ Pull Request Checklist:

[ ] Included link to corresponding React Spectrum GitHub Issue.
[ ] Added/updated unit tests and storybook for this change (for new code or code which already has tests).
[ ] Filled out test instructions.
[ ] Updated documentation (if it already exists for this component).
[ ] Looked at the Accessibility Practices for this feature - Aria Practices

📝 Test Instructions:

🧢 Your Project:

fixing examples

I think we fixed something like this for the collections API

I think we fixed something like this for the collections API

Having a hard time finding this fix, any keywords/date/clues :/

I was mistaken about fixing this for collections. It's not enough of an issue for us to spend time on at them moment.

Sooooo glad the color slider is now available in beta.
This was the only missing piece for my project! Thanks for the amazing work ;)


Typescript Support

Is typescript is be supported sooner?

Great idea, will work on that.

Hey @hijoncon,
I've added basic TypeScript support. Unfortunately the atom-typescript package doesn't come from Atom but from TypeStrong. They don't use very detailed selectors to specify language keywords, hence the options for TypeScript are very little for now.
This is a problem with my current implementation of adding emoji and I think I would've to rewrite the entire logic of the package for better, and more detailed, keyword options. I think this is something I will tackle for a 2.0.0 release though. 😀

That's sweet @morkro thank you!  BTW I would like to contribute too


"IllegalStateException: endPosTable already set" when adding apt output to sourcesets

I use freebuilder with the apt plugin.
I have
    /* add apt to source dir */
    sourceSets.main.java.srcDir "$buildDir/generated/source/apt/main"

in my build.gradle so that my IDE will find the generated source files.
If I compile everything after a clean it works fine, but if I compile a second time, without doing a clean I get:
An exception has occurred in the compiler (1.8.0_77). Please file a bug against the Java compiler via the Java bug reporting page (http://bugreport.java.com) after checking the Bug Database (http://bugs.java.com) for duplicates. Include your program and the following diagnostic in your report. Thank you.
java.lang.IllegalStateException: endPosTable already set
        at com.sun.tools.javac.util.DiagnosticSource.setEndPosTable(DiagnosticSource.java:136)
        at com.sun.tools.javac.util.Log.setEndPosTable(Log.java:350)
        at com.sun.tools.javac.main.JavaCompiler.parse(JavaCompiler.java:667)
        at com.sun.tools.javac.main.JavaCompiler.parseFiles(JavaCompiler.java:950)
        at com.sun.tools.javac.processing.JavacProcessingEnvironment$Round.<init>(JavacProcessingEnvironment.java:892)
        at com.sun.tools.javac.processing.JavacProcessingEnvironment$Round.next(JavacProcessingEnvironment.java:921)
        at com.sun.tools.javac.processing.JavacProcessingEnvironment.doProcessing(JavacProcessingEnvironment.java:1187)
        at com.sun.tools.javac.main.JavaCompiler.processAnnotations(JavaCompiler.java:1170)
        at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:856)
...

When I don't add the source it works, but my IDE won't compile. Is there a way around this?

What's your IDE? Have you looked at the IDE section of the README?

I use IntelliJ IDEA2016. I've looked at the Readme, the 2016 edition overrides the manually configured sourceset, when syncing from gradle.

What do you mean by "manually configured sourceset"? I haven't yet tried with 2016.1 but don't think it'll be different: workflow is a) import Gradle project (using IntelliJ support for Gradle, not gradle idea), b) enable annotation processing as described in the README; sync'ing again from Gradle should leave the annotation processing configuration alone.
BTW, the JavaC error you're seeing is due to the generated sources being part of the input files too (the way it's surfaced by JavaC is a bug in JavaC, but underlying cause is that outputs are inputs)

I do it exactly like you say, I don't use the idea plugin at all.
I need to have sourceSets.main.java.srcDir "$buildDir/generated/source/apt/main" in my build.gradle, otherwise IDEA would overwrite the manually added source-set each time I sync.

Ah, you actually have to apply the idea plugin to get the appropriate configuration; you just won't run the associated tasks.
I really need to improve the docs.

Actually, I think the README was already clear enough about this, as the intro says: “automatically configures IntelliJ IDEA and/or Eclipse when the idea or eclipse plugins are applied” (emphasis mine)
I added a note in the Usage with IDEs section that the plugins are needed even when using the IDE integration: 1d0ac4e

there is already bug reported regarding this issue
https://bugs.openjdk.java.net/browse/JDK-8067747
I have also same issue, this thread might be helpful
https://github.com/immutables/immutables/issues/134

So I have this issue when building from the CLI with gradle. If I don't clear the generated classes before doing a 2nd build, I trigger this bug.
Is there really no workaround?

@Ramblurr What issue do you have exactly? What's your configuration? (share your build.gradle in a gist)
The OP was a misconfiguration (feeding the output as input of the compiler – for the next round) due to a misunderstanding, trying to fix an IDE configuration the wrong way. If you're doing the same mistake, then this is your problem; then ask yourself why you did it in the first place, and fix that instead.
TL;DR: if you added something like sourceSets.main.java.srcDir "$buildDir/generated/source/apt/main" for your IDE to "see" the code generated by the annotation processors, then remove it and apply the IDE plugin instead (apply plugin: "idea" or apply plugin: "eclipse", or the equivalent plugins { id "idea" } and plugins { id "eclipse" }). If that still doesn't work, then carefully review the section about IDEs in the README, and if that still doesn't work, then file an issue (but please note that IDE support is provided as a best-effort only)

I have exactly the same problem with Eclipse 4.6.3
Even if I apply and run apply plugin: "eclipse" eclipse still doesn't see classes generated by apt during test runtime. After adding sourceSets.main.java.srcDir "$buildDir/generated/source/apt/main" tests work fine, but instead this nasty java.lang.IllegalStateException: endPosTable already set occurs

hmmm... I think I know what could cause this behaviour...
I'm using both - Metamodel Generator and Mapstruct
apt (
	["org.hibernate:hibernate-jpamodelgen:5.2.9.Final"],
	["org.mapstruct:mapstruct-processor:1.2.0.Beta2"]
)

I can find both Metamodel and Mapstruct generated classes under Gradle's build\generated folder, but in .apt_generated there is only Metamodel. I think these is the reason of Eclipse not "seeing" Mapstruct, but why it is not generated?

@eximius313 Can you check the factory path in Project ➡ Properties ➡ Java Compiler ➡ Annotation Processing ➡ Factory Path ?

@eximius313 Sorry for the delay. I copy/pasted your apt block into a dummy project:
plugins {
  id 'java'
  id 'net.ltgt.apt' version '0.10'
  id 'idea'
  id 'eclipse'
}

repositories {
  mavenCentral()
}

dependencies {
  apt (
    ["org.hibernate:hibernate-jpamodelgen:5.2.9.Final"],
    ["org.mapstruct:mapstruct-processor:1.2.0.Beta2"]
  )
}

and invoked ./gradlew eclipseFactorypath and the generated .factorypath correctly references the 2 processors, along with the jboss-logging dependency:
<factorypath>
  <factorypathentry kind='EXTJAR' id='/mnt/ssd/tbr/.gradle/caches/modules-2/files-2.1/org.hibernate/hibernate-jpamodelgen/5.2.9.Final/7860a0e884972c9919a29803585f89fb46016c06/hibernate-jpamodelgen-5.2.9.Final.jar' enabled='true' runInBatchMode='false' />
  <factorypathentry kind='EXTJAR' id='/mnt/ssd/tbr/.gradle/caches/modules-2/files-2.1/org.mapstruct/mapstruct-processor/1.2.0.Beta2/5eb4495e9e78d7eef8c5a5a90813ee2edfed1fdc/mapstruct-processor-1.2.0.Beta2.jar' enabled='true' runInBatchMode='false' />
  <factorypathentry kind='EXTJAR' id='/mnt/ssd/tbr/.gradle/caches/modules-2/files-2.1/org.jboss.logging/jboss-logging/3.3.0.Final/3616bb87707910296e2c195dc016287080bba5af/jboss-logging-3.3.0.Final.jar' enabled='true' runInBatchMode='false' />
</factorypath>

Here's the output of ./gradlew dependencies --configuration=apt:
:dependencies

------------------------------------------------------------
Root project
------------------------------------------------------------

apt - Processor path for source set 'main'
+--- org.hibernate:hibernate-jpamodelgen:5.2.9.Final
|    \--- org.jboss.logging:jboss-logging:3.3.0.Final
\--- org.mapstruct:mapstruct-processor:1.2.0.Beta2

BUILD SUCCESSFUL

Total time: 0.557 secs

This is with Gradle 3.5.
Your factory path references Lombok and org.eclipse.jst.ws.annotations.core, which means it's not the one generated by ./gradlew eclipseFactorypath.


Element.prototype.{outer,inner}HTML are non-standard, yet exposed by web-sys

From https://rustwasm.github.io/docs/wasm-bindgen/examples/dom.html:

Using web-sys we're able to interact with all the standard web platform methods, including those of the DOM!

The only problem with this sentence is that it is immediately contradicted by showing an example that uses set_inner_html, which I presume corrosponds to the Element#innerHTML setter, if so, then it has showed a browser extension that isn't a part of the W3C DOM API.
Is wasm-bindgen intentionally supporting non-standard parts of the DOM too?
Would there be a cost to removing the bindings to anything non-standard?
innerHTML and outerHTML are defined in a working draft started last year: https://w3c.github.io/DOM-Parsing
I believe that this is equivalent to implementing an API in js-sys before it hits stage 4.

Then there are things like escape, and unescape, which the ECMAScript spec makes no guarantees whatsoever about their existence.
Their section in the spec starts off with the following:

Programmers should not use or assume the existence of these features and behaviors when writing new ECMAScript code

This is not necessarily intended, it's just an artifact of us bulk-importing WebIDL without a ton of review. As cases like this pop up if things are broken we try to fix things.

For things that slip though, what is your normal course of action?

If it's a problem we remove it, if the API changed we update it and mark it unstable, otherwise this kind of issue is the first of its kind.

I see, would you be fine with a PR updating the docs to use a standardized API at least?

Sure! If it doesn't actually break anything or much in practice I would be fine removing these, but I'm not sure how to gauge that myself.

I'll open up a PR right now, I'm not sure if you can remove the API, but at least the documentation wouldn't show off a non-standard API at least.

Maybe the draft APIs ought to be marked unstable and the Annex B ECMAScript APIs marked as deprecated, respectively? If it could be done on a major update as a breaking change, that could work.
Otherwise, if the change isn't worthwhile, I'd like to close the issue relatively soon, to clear my issue queue.

Personally I don't have the energy to shepherd a major release of web-sys, so until that energy comes in the form of inspiration to me or as another person, I think we're stuck with what's there today.


Vite thinks I'm using JSX when I use JS in markup

Describe the bug
When I write JS in a component <slot/>, Vite complains that the compiled output is using JSX even though it's not.

    const product = 1 * 1;

    console.log({"{"}product{"}"});

    export default product;

<-- Code.svelte -->
<slot/>

Expected behavior
Vite should treat JS in markup as normal HTML text.
Repro
https://github.com/kwangure/sveltekit-javascript-repro
Note in the stacktrace that issue https://github.com/sveltejs/kit/issues/1653 persists in the repro.

Stack trace
7:41:30 PM [vite] Internal server error: Failed to parse source for import analysis because the content contains invalid JS syntax. If you are using JSX, make sure to name the file with the .jsx or .tsx extension.
  Plugin: vite:import-analysis
  File: /sveltekit-javascript-repro/src/routes/issue-2.svelte
  38 |                          t2 = text("product");
  39 |                          t3 = text(t3_value);
  40 |                          t4 = text(");\n\n    import * as ___SVELTE_HMR_HOT_API from '/sveltekit-javascript-repro/node_modules/svelte-hmr/runtime/hot-api-esm.js';import { adapter as ___SVELTE_HMR_HOT_API_PROXY_ADAPTER } from '/sveltekit-javascript-repro/node_modules/svelte-hmr/runtime/proxy-adapter-dom.js';if (import.meta && import.meta.hot) { if (false) import.meta.hot.accept(); product = ___SVELTE_HMR_HOT_API.applyHmr({ m: import.meta, id: "/sveltekit-javascript-repro/src/routes/issue-2.svelte", hotOptions: {"preserveLocalState":false,"noPreserveStateKey":["@hmr:reset","@!hmr"],"preserveAllLocalStateKey":"@hmr:keep-all","preserveLocalStateKey":"@hmr:keep","noReload":false,"optimistic":true,"acceptNamedExports":true,"acceptAccessors":true,"injectCss":false,"cssEjectDelay":100,"native":false,"importAdapterName":"___SVELTE_HMR_HOT_API_PROXY_ADAPTER","noOverlay":true}, Component: product, ProxyAdapter: ___SVELTE_HMR_HOT_API_PROXY_ADAPTER, acceptable: true, preserveLocalState: false, emitCss: true, }); }
     |^
  41 |  export default product;
  42 |
      at formatError (/sveltekit-javascript-repro/node_modules/vite/dist/node/chunks/dep-cb562f8f.js:44553:46)
      at TransformContext.error (/sveltekit-javascript-repro/node_modules/vite/dist/node/chunks/dep-cb562f8f.js:44549:19)
      at TransformContext.transform (/sveltekit-javascript-repro/node_modules/vite/dist/node/chunks/dep-cb562f8f.js:69512:22)
      at async Object.transform (/sveltekit-javascript-repro/node_modules/vite/dist/node/chunks/dep-cb562f8f.js:44751:30)
      at async transformRequest (/sveltekit-javascript-repro/node_modules/vite/dist/node/chunks/dep-cb562f8f.js:59118:29)
      at async viteTransformMiddleware (/sveltekit-javascript-repro/node_modules/vite/dist/node/chunks/dep-cb562f8f.js:59256:32)

SvelteKit Installation Information
System:
OS: Linux 5.4 Ubuntu 20.04.2 LTS (Focal Fossa)
CPU: (4) x64 Intel(R) Core(TM) i5-5200U CPU @ 2.20GHz
Memory: 1.56 GB / 3.05 GB
Container: Yes
Shell: 5.0.17 - /bin/bash
Binaries:
Node: 16.2.0 - /usr/bin/node
npm: 7.13.0 - /usr/bin/npm
npmPackages:
@sveltejs/adapter-static: ^1.0.0-next.13 => 1.0.0-next.13
@sveltejs/kit: ^1.0.0-next.113 => 1.0.0-next.113
svelte: ^3.38.2 => 3.38.2
Browser: Chrome 91

Severity
It's not severe, but it it annoying. It's possible to work around it by escaping/HTML-encoding the JS text.
I'm not sure whether this is something to be solved at the vite-plugin-svelte or Vite level. I can move the issue to the appropriate repro as needed.

I'd suggest using { instead of {"{"} anyway (and then just using } as-is), which is going to be more efficient anyway.
This looks like the same issue as #1653. You can see in the stack trace that what Vite is getting has HMR code getting injected into the string, and is syntactically incorrect. (It has unescaped "s inside a string enclosed by "s.) So, Vite's correct in not being able to parse this. The error message is just trying to be helpful - I don't think Vite thinks you're using JSX.
Closing as duplicate of #1653.


[Network] FIX #15796 "az network network watcher configure" - NetworkWatcherCountLimitReached

Description

Hi all,
the PR is the fix for the created issue. Fix #15796
Testing Guide

To test the PR see the full guide in the issue.
Before the fix the second statement returns an error NetworkWatcherCountLimitReached
az network watcher configure --subscription {} --locations eastus --resource-group {} --enabled {} --debug
az network watcher configure --subscription {} --locations Eastus --resource-group {} --enabled {} --debug
History Notes

This checklist is used to make sure that common guidelines for a pull request are followed.

[x] The PR title and description has followed the guideline in Submitting Pull Requests.

[x] I adhere to the Command Guidelines.

Network

@HappyTobi Could you rerun the test test_network_watcher_configure in live mode as well?
We need to see if your modification works


BadAuthentication on raccoon-4.18.0

Hi Im using raccoon-4.18.0. But im getting BadAuthentication error.
Also tried to recreate a new google account, but im having the same issue.

For support, please open a support ticket.

Me too, I cannot login any more

It looks like the authentication workaround using the special configured cipher suites has some limitations. I also encountered this problem even after allowing "Less Secure apps" in the Google account.
For future there may be an alternative way to fix such issues:
Looking at the traffic of latest Play Store app the authentication scheme has completely changed.  Instead if the "Authorization", "GoogleLogin auth=" + token } header the app now uses as value "Bearer " + some base64 encoded data.
This looks like standard oAuth authentication, if it really is standard oAuth then this would be an opportunity:
oAuth only requires password based authentication on the first time, afterwards you only need the authentication and refresh token. That would mean Raccoon could just use those tokens for authentication and even saving the password no longer be needed.
And for the first authentication it would be possible to use web-based authentication, e.g. by using an already installed web-browser or alternatively some WebView element integrated in Raccoon (unfortunately plain Java does seem to provide a WebView, only JavaFX or SWT does provide one). Then for initial login the same web page could be used that is used on an Android device to authenticate and get the oAuth token and afterwards the authentication would not be a problem anymore.

Looking at the traffic of latest Play Store app the authentication scheme has completely changed. Instead if the "Authorization", "GoogleLogin auth=" + token } header the app now uses as value "Bearer " + some base64 encoded data.
This looks like standard oAuth authentication, if it really is standard oAuth then this would be an opportunity:

It is a standard oAuth2. The Base64 data is the old auth token.
The problem starts sooner though. The BadAuthentication error does not come from Play, but from Google's account manager.

And for the first authentication it would be possible to use web-based authentication, e.g. by using an already installed web-browser or alternatively some WebView element integrated in Raccoon.

 So nothing short of a real browser will work.

 So nothing short of a real browser will work.

I am aware that this login page performs contains a lot JavaScript. Therefore I suggested to use a WebView. From my perspective a WebView is a full-fledged web browser embedded as component into an application. I don't know how the JavaFX WebView works but the SWT version uses the built-in web browser of the OS. On Windows for example the IE engine or if installed the Edge WebView2 engine.

is there any manual way to fix this problem?.


History.md for v2

I notice this package is improving in long strides and the feature enhancements have been wonderful, however it's difficult to keep track of them for people who aren't very active on Github, and I would suggest we start keeping a good versioned history for v2, currently History.md has details for v1.

On second note, I just realized you have notes under each release. Should i create a pull request with them nicely sorted in History.md?

Yes I've moved to descriptions in releases but in deed it would be good to have them also in history.md so if you want to help with that just create PR :)

I've already got this part done, will be submitting a PR for that along with the other contributions. You can have a look here

Ok cool, waiting for PR!

#452 submitted.


Can't use -secure.secret parameter

-secure.secret=string It doesn't work.
-secure.secret string
     	secret to encrypt Json Web Token(JWT)

Not implemented yet.

not needed any more. see https://github.com/chrislusf/seaweedfs/wiki/Security-Overview#jwt-based-access-control