chore(dependencies): bump encodable to 0.7.8

SUMMARY

Dependabot tried to go to 1.0, but it doesn't work as of 0.8.0 or higher without typescript headaches. This is the last version that seems to "just work"
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

TESTING INSTRUCTIONS

ADDITIONAL INFORMATION

[ ] Has associated issue:
[ ] Required feature flags:
[ ] Changes UI
[ ] Includes DB Migration (follow approval process in SIP-59)

[ ] Migration is atomic, supports rollback & is backwards-compatible
[ ] Confirm DB migration upgrade and downgrade tested
[ ] Runtime estimates and downtime expectations provided

[ ] Introduces new feature or API
[ ] Removes existing feature or API

Note you can prevent dependabot from re-opening stuff here https://github.com/apache/superset/blob/master/.github/dependabot.yml#L4-L6

Note you can prevent dependabot from re-opening stuff here https://github.com/apache/superset/blob/master/.github/dependabot.yml#L4-L6

You can also do all this:
@dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
@dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
@dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@kristw any ideas how to upgrade this package?


Profiles Schema: "name" in a profile is required when its not

Environment
Windows build number: Microsoft Windows [Version 10.0.18362.356]
Windows Terminal version (if applicable): 0.5.2681.0

Any other software?
Visual Studio Code: 1.38.1

Steps to reproduce

Open profiles.json in Visual Studio Code
In one of the profiles remove the name property (i.e. to have it use the name it inherits from the defaults.json).

Expected behavior
I should not get a schema warning.
Actual behavior
I'm getting the following schema warning:

Missing property "name".

This one's tricky. The defaults don't need a name, that's correct, because they already have a name set in the defaults.json. However, every other profile will still require a name.
I'm leaning towards leaving it marked required, but I'm open to ideas.

I see. I mean you could make the name actually optional. If none is provided, fall back to the command line for the profile's name (e.g. powershell.exe) and if this property is missing too, use the profile's guid.

Unfortunately, GUID is also optional (now) and commandline isn’t required for all types of connections. Still, worth investigating a third form of primary key material...

Discussion from triage: except in very narrow circumstances, name is required. The Terminal will want to pop a warning dialog if you omit it.

So unfortunately, the schema isn't flexible enough to capture how Terminal parses its settings, specifically how the name property might be provided from another source (like defaults.json) when you haven't specified one in your settings file. In the future post v1 when we land a settings UI, this should be less of an issue because we'll have more nuanced control of how a user's settings are composed! For now though, we'd like to keep the current behavior where it'll give you a schema warning because we believe that name is recommended even if it isn't technically required and won't break if you don't have one.


v1.21.6+k3s1 fails install on FCOS due to missing dnf command

Environmental Info:
K3s Version:  v1.21.6+k3s1

Node(s) CPU architecture, OS, and Version:

Fedora CoreOS
Describe the bug:

Installing k3s fails with the following output:
main: line 548: dnf: command not found
Steps To Reproduce:

Installed K3s:

Expected behavior:

Install proceeds
Actual behavior:

Additional context / logs:

Backporting

[ ] Needs backporting to older releases

I found:
INSTALL_K3S_SKIP_SELINUX_RPM
Which allows to skip this. I did not see this in the release notes for v1.21.6+k3s1 though.
Doc bug?

@dweomer it looks like this came in via https://github.com/k3s-io/k3s/commit/52eb6cac1ccf29260f6a58c80ea231d7bb83f429#diff-043df5bdbf6639d7a77e1d44c5226fd7371e5259a1e4df3a0dd5d64c30dca44fR533 - we check for dnf before using it in favor of yum up above, but here hardcode it for any EL8 distro.

whoops

I had an outstanding PR for a fix on sle-micro (original changes for which caused this bug) so I rolled it up into that. Included now are github actions tests, via Vagrant, against both Fedora CoreOS and openSUSE MicroOS.

LOL thanks. Long story on the handle.


add a deprecated version of capture

CI gfxreconstruct build queued with queue ID 9229.

CI gfxreconstruct build # 2356 running.

CI gfxreconstruct build # 2356 passed.

CI gfxreconstruct build queued with queue ID 9292.

Added to sdk-1.3.239


Support VS Code?

Hi, @halohalospecial!
Just dropping an issue in here to remind us how cool it'd be to move a lot of this functionality to a common core that could be shared between an extension for VS Code and for Atom.
Just something to put on the back-burner. I know we both have a ton of stuff going on already.

@halohalospecial - I've created an issue on how we can try to join forces on creating a common language server for Elm here - https://github.com/Krzysztof-Cieslak/vscode-elm/issues/137. Hope you can join in and give us some of your thoughts on this.


Update setup-python version

Summary
Docs deploy is failing, there is an isssue with the setup-python version
https://github.com/Qiskit/qiskit-ibm-runtime/actions/runs/3716377844
Details and comments
Fixes #

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 64.128%

Totals

Change from base Build<PHONE_NUMBER>:
0%

Covered Lines:
3377

Relevant Lines:
5266

💛  - Coveralls


Simplify the schema check action for helm + check the do the actual check

I like the idea of these checks so I borrowed it for my own repo couple of weeks ago: https://github.com/k8gb-io/k8gb/blob/master/.github/workflows/helm_check-values-schema.yaml
However, I changed it in a way to actutaly perform the validation against the schema, because the previous logic just assumes it passes.
At the same time, this way it's much more simpler, leaving a lot of checks (what files were changed and what not) for the action itself (the paths glob).
Also not using the gh cli, but using pure git since the repo has been cloned&fetched anyway => saving a call to gh api
Signed-off-by: Jiri Kremser<EMAIL_ADDRESS>Checklist

[ ] Update changelog in CHANGELOG.md.

seems reasonable to me :+1:


Update Release

latest change - login

But if we do this now the graph will not show at all

Pull Request Test Coverage Report for Build 643

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.01%) to 62.462%

Totals

Change from base Build 642:
-0.01%

Covered Lines:
2080

Relevant Lines:
3330

💛  - Coveralls

If we don't do this now does the graph still show?

@iamjackslayer  the status bar footer is fixed. I am closing this PR


local schema files are cached

I have a file which refers to a schema with "$schema" = "./foo.schema.json".
When I change the schema in my editor (even better toml v0.19.0), it looks like it does still try to access the old schema.
Grepping for the file name, I can find a json file at ~/.config/Code/User/globalStorage/tamasfe.even-better-toml/8f9a471d6f0705fecb69c4dcfefd8cf189a79c8c that seems to be a cache for the schema?
Maybe it’s just me, but file-system local schemas don’t really have to be cached in my opinion, it’s weird to interact with.

Maybe content-hash the file so that you only have to re-parse and reload the schema when the schema’s content actually changes (but don’t forget to include hashes of all dependencies).

I work within WSL so my cache is located under ~/.vscode-server/data/User/globalStorage/tamasfe.even-better-toml/
It's cached for 10 minutes according to source, but I agree on detecting expiry with some kind of hash so any WSL reload will read changes, if any.

I observe the same behavior. When iterating on the local schema, I set up a periodic removal of the cache. Removal of the cache using https://github.com/microsoft/vscode/issues/138524 is also helpful.

I just came across the same issue. I don't have a deep understanding of LSP stuff, but would there be any reason not to register Taplo to receive DidChangeTextDocument for .json files? Then it could cache-bust whenever a registered schema document is modified.

Yeah caching is definitely an issue for developing schemas locally!

Encountered the same issue. As far as I’m concerned, it’s even worse. Taplo does roughly this when loading the scheme:
schema = tryGetFromMemory else tryGetFromDiskCache else loadFromUrl
saveInMemory(schema)
saveOnDisk(schema)

So if I delete the disk cache, it rewrites it again from memory.
I have to delete the disk cache and reload the extension before it tries to access the scheme again!
Also, on mac you will find the cache at ~/Library/Application\ Support/Code/User/globalStorage/tamasfe.even-better-toml

Having a disk cache for disk files does not really make sense for schema already stored locally on disk
To prevent writing stale data to the disk cache, only the fetch_external function should ever write directly to cache. (Just like the cache.load function writes to the memory cache after a disk cache read)


Pending action corrected

Pending action changed to Pending Review by CMO

Thank you for providing more inputs on this. Will make changes accordingly.


Fix fmtJava pnpm script to run on powershell

Tested on Windows Powershell and Windows Git Bash.
Previously pnpm run fmtJava called bash explicitly, but I found that Gradle handles the relative path to the gradlew if it's called like in this PR. Testing on other platforms is welcome.

This breaks in Bash.
[tav@myriad Choreo]$ pnpm run fmtJava

><EMAIL_ADDRESS>fmtJava /home/tav/git/Choreo
> cd choreolib && gradlew spotlessApply

sh: line 1: gradlew: command not found
 ELIFECYCLE  Command failed.
 WARN   Local package.json exists, but node_modules missing, did you mean to install?

That's what I thought, but then it worked in git bash. I imagine there isn't a fully cross-compatible way to make this work, so I'll close this.


Skip processing of ignored files during rebuild

This pull request fixes #99 and possibly other problems caused by processing "ignored" project files. In my case, a very large file apparently overflowed the buffer and crashed the project indexing.
The problem happens in rebuild: traverseTreeSync only checks keepPath on directories, not files, and so ignored files can still be processed.

Correct, it would only fix cases where an offending file fails keepPath.  If a user doesn't set a problem file as ignored in .gitignore or settings then this doesn't help.

Great thanks! Were you able to verify that this final version fixes your issue?

Fixes #99

Yep, this fixes my issue. Go ahead and merge it.  Thanks!


Shortcuts for Web UI and Sidebar on Firefox

Shortcuts for Web UI and Sidebar on Firefox:

do not work on Firefox (at least on Windows 11) and
are not configurable (at least on Windows 11)

Hey, I'm using Firefox on Windows. This is how I configure shortcuts.
https://github.com/n4ze3m/page-assist/assets/39720973/e2a4a2be-9350-4115-acef-15fc62b24868


Creating a new Participant is not reverted correctly

Wrong Behavior: If a participant is created and renamed and this is then reverted a new entry with New Participant can be found in the participant selection.

createParticipant in BandUtil is not reverted because it is not a command.


[BUG]: Provide intuitive deduction for Dimension type

Fixes #391
I also did a few stylistic changes. Let me know if they are not desired.
Cheers :)

Codecov Report

Merging #409 into master will decrease coverage by <.01%.
The diff coverage is 85.71%.

@@            Coverage Diff             @@
##           master     #409      +/-   ##
==========================================
- Coverage   85.51%   85.51%   -0.01%
==========================================
  Files          21       21
  Lines        1395     1401       +6
==========================================
+ Hits         1193     1198       +5
- Misses        202      203       +1

Impacted Files
Coverage Δ

skopt/space/space.py
92.33% <85.71%> (-0.22%)
:arrow_down:

Continue to review full report at Codecov.

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

For my education, what is the current recommendation from the python gurus on class Foo(object) vs class Foo: in a python code base that also wants to support legacy python?

@betatim In Python 3, it doesn't make any difference inheriting from object or not (inheritance takes place implicitly). In Python 2, not inheriting from object generates a few troubles, such as
>>> class Hi: pass
>>> class Oi: pass
>>> h = Hi()
>>> o = Oi()
>>> type(h) is type(o)
True

Merci!
Was hoping you'd tell me that python2 finally added something so we don't need to do that hack anymore... 😆 Secretly I ❤ legacy python.

@betatim hahaha, sorry :disappointed:


DataFrame.to_hdf segfault

This script produces a segfault about 50-75% of the time for me
import numpy as np
import pandas as pd
import dask.dataframe as dd

fp = 'table*.hdf5'

def make():
    df = pd.DataFrame(np.random.randn(8000, 100))
    a = dd.from_pandas(df, npartitions=4)
    a.to_hdf(fp, 'a')

def read_write():
    print("Reading")
    a = dd.read_hdf(fp, 'a', mode='r')  # same results with mode='r+'
    a.head()
    X = a.drop(0, axis=1)
    print("Writing")
    X.to_hdf(fp, 'X')
    print("Success")

def main():
    make()
    read_write()

if __name__ == '__main__':
    main()

The output:
Reading
Writing
Python(88767,0x700001113000) malloc: *** error for object 0x7fcae4bb6520: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
fish: 'python foo.py' terminated by signal SIGABRT (Abort)

I'm still tinkering a bit to see what's going on, but I think the issue is the same file is being used for both reading and writing. Just reading, or just writing (or writing to a different table) doesn't have this problem.
Maybe read and write each acquire their own lock independently?
Feel free to close if this is just user-error.

It looks like there is currently some fancy-logic to determine if we need to lock or not.  I'd be tempted to always lock by default and let power users take on this responsibility.  Can you verify that things run ok if you call to_hdf(..., lock=True)

That seems reasonable, though I think lock=False as a default is also fine. I'm guessing that my use-case is less common than wanting to read from a bunch of tables in parallel, and write the output to some other location.

Your use case seems reasonable to me.  I think that it should work out-of-the-box.
I see your point though about multiple locks.  I suppose we could have a global registry of locks-per-file?

Oh, I didn't realize lock is already an option. I still get a segfault with lock=True in just to_hdf

Changing to X.to_hdf(fp, 'X', get=dask.get) seems to avoid the segfault. Would I also lose parallel reads in this case, or just parallel writing?

Then the problem is probably as you suggested about read_hdf/to_hdf needing the same lock.  You could  do
lock = Lock()
read_hdf(..., lock=lock)

to_hdf(..., lock=lock)

Setting get=dask.get will lose parallel everything

A shared lock in read_hdf and to_hdf did it, thanks Matt. A registry of locks / file seems like the solution to me. IIUC that'd still give parallel reads / writes (across files), whereas lock=lock doesn't, unless you expanded the lock= API to accept a dictionary of { filename: Lock }.

I've started on this btw, should have a fix later today.

Can you tell if I'm doing something obviously wrong? https://github.com/dask/dask/compare/dask:34660a2...TomAugspurger:1e6842c
With that change, the following script, I get segfaults every time. The script here only does writing (no reading) yet (so this script works reliably on master).
import numpy as np
import pandas as pd
import dask.dataframe as dd

fp = 'table*.hdf5'

def make():
    df = pd.DataFrame(np.random.randn(8000, 100))
    a = dd.from_pandas(df, npartitions=4)
    a.to_hdf(fp, 'a')

def read_write():
    print("Reading")
    a = dd.read_hdf(fp, 'a', mode='r')  # same results with mode='r+'
    a.head()
    X = a.drop(0, axis=1)
    print("Writing")
    X.to_hdf(fp, 'X')
    print("Success")

def main():
    make()

if __name__ == '__main__':
    main()

Nothing jumps out at me for the make function

Thanks for looking. The work project I've needed all this categorical / HDF5 stuff for has been pushed back a bit, so I'll revisit this in a couple weeks (though I might have some spare free time before then).

So, is there a fix yet? i still have this issue...

The example in https://github.com/dask/dask/issues/1563#issuecomment-251233487 no longer seg faults for me.  Closing.


Endorsed responses UI + Business logic

Since this affects multiple tickets, will update them tomorrow...
The functionality for the endorsed comments is now complete. Earlier comments would disappear when they were marked as answer.
Assorted changes were also made where they seemed necessary... In a separate PR, i will move all these cells to AutoResizingCells
Screenshots

@aleffert pl review

@aleffert updated

:+1:


Recall how to program in JavaScript

In the following weeks, the project will need to be coded in JavaScript, so this is just a catch up.

Some coding has been done in order to be able to be a great deal more agile writing JavaScript code.


Remove governance in TiKV repo

Signed-off-by: Calvin Weng<EMAIL_ADDRESS>
What have you changed?
As we are reframing the Governance in the Community repo, I already merged some of the valid content to the new Governance. Hence removing this one.
What is the type of the changes?

Misc (other changes)

How is the PR tested?

No code

Please add a link to this in the README.md or MAINTAINERS.md files, otherwise it's not discoverable.

Agree with @Hoverbear. Please add a reference in those places or just put it in " GOVERNANCE.md".

Done. PTAL again.


Text values important to the scenario should be provided as text and not only as a screenshot

For the screenshots which contain text relevant to the topic ($expand and api version#) these should be provided as text in a table as well as in the screenshot. For example the $Expand parameter is hard to decipher between a period and a comma.

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

ID: 816403f3-0104-3d3a-e889-bf0d4cf9bcae
Version Independent ID: 0f0d27e8-2aaa-0d7c-ea3e-fe949bd9b3b1
Content: Preview: Programmability and extensibility - Tutorial - Create a daily capacity report - Power Platform
Content Source: power-platform/admin/programmability-tutorial-create-daily-capacity-report.md
Service: power-platform
GitHub Login: @laneswenka
Microsoft Alias: laswenka

Dup of #647

@seanmcne
Thanks for the feedback. Taking this to internal communication.


Cosmos DB Preview Features page recommendation

Cosmos DB Preview Features page needs directions for how the registration process works and how to address issues that might appear there, such as when it appears the preview feature is stuck in pending. If the registration process is a person performing gatekeeper functions or an automated process, the expectation of the timing and other attributes of the process should be stated somehow. If the gatekeeper function is different per feature (which is understandable) and is spelled out in the Azure Portal, perhaps in the tooltips (good idea!), this should be stated here as well.
As it is, we are left with 4 steps and no recourse if something goes wrong (even if it is only perceived as wrong, but actually is not).
Thanks

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

ID: 04097323-2f4c-b63a-1364-a827f850fbb4
Version Independent ID: 830a55a0-de32-4d5e-3c56-e2276975bfa5
Content: Request access to Azure Cosmos DB previews
Content Source: articles/cosmos-db/access-previews.md
Service: cosmos-db
GitHub Login: @gahl-levy
Microsoft Alias: gahllevy

Craigmeister68 Thank you for your feedback. We are reviewing this and will update as appropriate.

@Craigmeister68, if a preview feature request is stuck in Pending state, the preferred approach right now is to open a support request in the Azure portal to figure out what's going on. I'll add a tip to this article to open a support request if your preview feature has been pending for an abnormal amount of time.
Your suggestion to add an SLA to the Azure portal for preview requests is a good suggestion and I recommend you give that feedback on the official feedback forums.


Reorganize Search Results Component into General Results Component

Rename SearchResultsSection to ResultsSection Add more space to both Termination Condition and Feasibility fields. Possibly use Reactstrap Alert components. Migrate to two lines.

Merged into master, closing


Command line tool to import binary format data

Addressed https://github.com/influxdata/influxdb/issues/9674

During a run of megacheck the following issues were discovered:
/tmp/157896616/src/github.com/influxdata/influxdb/cmd/influx-tools/importer/command.go:34:2: field cpuProfile is unused (U1000)
/tmp/157896616/src/github.com/influxdata/influxdb/cmd/influx-tools/importer/command.go:35:2: field memProfile is unused (U1000)

During a run of megacheck the following issues were discovered:
/tmp/234204392/src/github.com/influxdata/influxdb/tsdb/index/inmem/inmem_test.go:127:29: func (*seriesFileWrapper).reopen is unused (U1000)


Use versioned migrations in Rails 5+

Today I was adding this to a Rails 5.2 app and the install failed since there wasn't a version in the migration file. This change will detect which version of Rails you're on and add the version if it needs to.

This looks like a sane change. Any chance to get this merged @diogob ?
And thanks a lot for your work on this gem, btw :heart:

@michaelbaudino sure, it seems good to merge. I ended up forgetting about this, but I'll check the code tomorrow and issue a new release


Provide example of computing summary data in MongoDB

We ask them to use MongoDB to compute some summary data, but they have no examples of that in the starter code. We should fix that.

We have discussed adding some kind of summary data about users.

Do you remember more specifically what we had been thinking of? Something like the number of people for each company would be a start, but that's a lot simpler than what we ask them to do. Maybe number of people for each company, split into two or three groups by age?

I don't think we had a specific plan, but I like your idea of sorting/grouping by age. This kind of information might be helpful for a real company to see who might need/want information on retirement, so we can make a decent use case. We could do something less interesting with a ridiculous use case like for some reason we care how many letters are in someone's name? How many start with a certain letter? Maybe we are making monogrammed towels to save on paper towel waste and want to know how many of each type to make? Or, we need to estimate the cost of personalizing the towels to be green and also stop the spread of germs?

So I'm going with a summary by company, followed by age, so something like:
[
   {
      company: String
      {
         numUnder30: Integer,
         between30and55: Integer,
         over55: Integer
     }
  },
  ...
]

I used https://next.json-generator.com/ to generate the data using this template:
[
  {
    'repeat(100)': {
      _id: {
        "oid": '{{objectId()}}',
      },
      name: '{{firstName()}} {{surname()}}',
      age: '{{integer(20, 75)}}',
      company: "{{random('Velity', 'Dognost', 'Caxt', 'Eschoir', 'Blurrybus', 'Overplex')}}",
      email(tags) {
        return `${this.name.first}.${this.name.last}@${this.company}${tags.domainZone()}`.toLowerCase();
      },
    },
  }
]

This is essentially a problem of nested groups, as we want to group by both company and age range. That didn't turn out to be trivial. After a fair bit of flailing, I eventually came up with the following query:
db.users.aggregate( [
   { $bucket: { groupBy: "$age", boundaries: [ 0, 30, 56, 200 ],
         output: { companies: { $push: "$company" } } } },
   { $unwind: "$companies" },
   { $group: { _id: { bkt: "$_id", company: "$companies" }, count: { $sum: 1 } } },
   { $project: { _id: "$_id.company", bucket: "$_id.bkt", count: "$count" } },
   { $sort: { _id: 1, bucket: 1 } } ] )

that returns:
{ "_id" : "Blurrybus", "bucket" : 0, "count" : 10 }
{ "_id" : "Blurrybus", "bucket" : 30, "count" : 19 }
{ "_id" : "Blurrybus", "bucket" : 56, "count" : 13 }
{ "_id" : "Caxt", "bucket" : 0, "count" : 6 }
{ "_id" : "Caxt", "bucket" : 30, "count" : 18 }
{ "_id" : "Caxt", "bucket" : 56, "count" : 24 }
{ "_id" : "Dognost", "bucket" : 0, "count" : 9 }
{ "_id" : "Dognost", "bucket" : 30, "count" : 17 }
{ "_id" : "Dognost", "bucket" : 56, "count" : 11 }
{ "_id" : "Eschoir", "bucket" : 0, "count" : 7 }
{ "_id" : "Eschoir", "bucket" : 30, "count" : 16 }
{ "_id" : "Eschoir", "bucket" : 56, "count" : 15 }
{ "_id" : "Overplex", "bucket" : 0, "count" : 4 }
{ "_id" : "Overplex", "bucket" : 30, "count" : 21 }
{ "_id" : "Overplex", "bucket" : 56, "count" : 21 }
{ "_id" : "Velity", "bucket" : 0, "count" : 8 }
{ "_id" : "Velity", "bucket" : 30, "count" : 15 }
{ "_id" : "Velity", "bucket" : 56, "count" : 16 }

which can easily be restructured into the desired form by the server.
This query is quite complicated, and I have a feeling that using the map-reduce form of aggregation might have been easier, but I'm not sure of that. Below I'll try to document what's happening in the query.
$bucket
The first step takes all the users and puts them in buckets depending on whether their age is in the range [0, 30), [30, 56), or [56, 200). The ranges are exclusive on the right, so the middle bucket is between 30 and 55, inclusive on both ends. I'm assuming here that no one is older than 200; an alternative would have been to use the default option to $bucket for the top bucket.
The $push creates an array of all the companies for each entry in each bucket, so on it's own this step yields something like:
{ "_id" : 0, "companies" : [ "Dognost", "Eschoir", "Caxt", "Velity", "Blurrybus", ...] }
{ "_id" : 30, "companies" : [ "Eschoir", "Dognost", "Dognost", "Overplex", … ] }
{ "_id" : 56, "companies" : [ "Blurrybus", "Dognost", … ]}

$unwind
This "unwinds" all those arrays of companies so we have separate entries for each bucket/company pair:
{ "_id" : 0, "companies" : "Dognost" }
{ "_id" : 0, "companies" : "Eschoir" }
{ "_id" : 0, "companies" : "Caxt" }
{ "_id" : 0, "companies" : "Velity" }
{ "_id" : 0, "companies" : "Blurrybus" }
...

Here the _id is actually the age bucket (0, 30, or 56).
$group (and $project and $sort)
The $group aggregation groups by company and age bucket, and counts how many there are, yielding something like:
{ "_id" : { "bkt" : 56, "company" : "Eschoir" }, "count" : 15 }
{ "_id" : { "bkt" : 56, "company" : "Velity" }, "count" : 16 }
{ "_id" : { "bkt" : 56, "company" : "Caxt" }, "count" : 24 }
{ "_id" : { "bkt" : 56, "company" : "Dognost" }, "count" : 11 }
{ "_id" : { "bkt" : 56, "company" : "Blurrybus" }, "count" : 13 }
{ "_id" : { "bkt" : 30, "company" : "Caxt" }, "count" : 18 }
{ "_id" : { "bkt" : 30, "company" : "Blurrybus" }, "count" : 19 }
{ "_id" : { "bkt" : 0, "company" : "Blurrybus" }, "count" : 10 }
{ "_id" : { "bkt" : 0, "company" : "Caxt" }, "count" : 6 }
{ "_id" : { "bkt" : 0, "company" : "Velity" }, "count" : 8 }
{ "_id" : { "bkt" : 0, "company" : "Eschoir" }, "count" : 7 }
{ "_id" : { "bkt" : 30, "company" : "Dognost" }, "count" : 17 }
{ "_id" : { "bkt" : 0, "company" : "Dognost" }, "count" : 9 }
{ "_id" : { "bkt" : 0, "company" : "Overplex" }, "count" : 4 }
{ "_id" : { "bkt" : 30, "company" : "Overplex" }, "count" : 21 }
{ "_id" : { "bkt" : 56, "company" : "Overplex" }, "count" : 21 }
{ "_id" : { "bkt" : 30, "company" : "Eschoir" }, "count" : 16 }
{ "_id" : { "bkt" : 30, "company" : "Velity" }, "count" : 15 }

At this point we're arguably done as this has all the data in a form we could use on the server. The following $project and $sort just reorganize and sort the data into a form that will make it slightly easier for the server to process.

I think that it is indeed easier using mapReduce(), although that's not trivial either. My mapReduce solution (that works in the Mongo Shell - I still need to convert this to Java) is:
var mapFunction = function() {
    emit({ company: this.company,
           ageBracket: (this.age<30?"under30":((this.age<=55)?"between30and55":"over55")) },
         1);
};

var reduceFunction = function(k, vs) { return Array.sum(vs) }

db.users.mapReduce(mapFunction, reduceFunction, { out: { inline: 1 } })

which returns:
{
	"results" : [
		{
			"_id" : {
				"company" : "Blurrybus",
				"ageBracket" : "between30and55"
			},
			"value" : 19
		},
		{
			"_id" : {
				"company" : "Blurrybus",
				"ageBracket" : "over55"
			},
			"value" : 13
		},
		{
			"_id" : {
				"company" : "Blurrybus",
				"ageBracket" : "under30"
			},
			"value" : 10
		},
		{
			"_id" : {
				"company" : "Caxt",
				"ageBracket" : "between30and55"
			},
			"value" : 18
...

The output could be cleaned up some with a finalize clause, but we wouldn't be able to (easily) group companies together into a single entry without introducing a whole grouping pipeline after this. (That would work, but it's not clear if we care enough?)
I think there's probably an even cleaner mapReduce() solution, but this at least shows that it's possible and not too weird. I really don't like the use of the ?: ternary operator, and even worse it's nested! I suspect I can avoid that when I switch to Java.

We created a related issue and closed that. I'm not sure that we should close this issue, but I am tempted to close it. For now, I will take off the high priority label since it is no longer urgent. It's still interesting, and I'm not sure what to do, explicitly, with the issue itself... nor am I sure how to incorporate this meaningfully in a lab. I personally think this would be a wonderful example to flesh out and make available for students to use as a model when they are working on the project.

Even if we don't require student to do anything with this, it would be really neat to link to a couple of examples of doing this. Those examples could be part of what we give the students and we could even include multiple ways of doing this work to show them the possibilities. Especially since @NicMcPhee did a lot of work to figure this out and it's all right here, it would make sense to include it in the lab for students.

@wallerli or @floogulinc - Do either of you have suggestions about how to handle this task? @NicMcPhee tried a couple of things (listed and described in detail above), but we thought maybe you'd have some ideas.


Remove mention of editing vm yaml

Strongly prefer use of virtctl over direct editing of manifests, removing mention of the latter.
Fixes #27
Signed-off-by: cwilkers<EMAIL_ADDRESS>

Thanks!
/lgtm
/approve


Fix mac win unittests

Trying to address unittest_windows_cpu_py3.11 and unittest_macos_cpu_py3.11, which both fail with dependency satisfaction errors on Python 3.11

3.11 is now included in the regular workflows:
https://github.com/pytorch/vision/blob/c5e48eb4f0b4b87322a48f9e7cfb4aef02b2a016/.github/workflows/test-linux.yml#L20
https://github.com/pytorch/vision/blob/c5e48eb4f0b4b87322a48f9e7cfb4aef02b2a016/.github/workflows/test-macos.yml#L20


Schema Admins

Please could you add Schema Admins to the AD Report?

It should be already there. If it isn't it's a bit of a bug.


Restore and update strategies docs

Blocked by https://github.com/software-mansion/protostar/issues/625


Helm deployment failed with error "unable to build kubernetes objects from release manifest: unable to recognize "": no matches for kind "Ingress" in version "v1""

Hi
In step unit 10 Create the deployment pipeline
When running the workflow build-latest.yaml
I'm getting the following error on Run Helm Deploy step:
Error: unable to build kubernetes objects from release manifest: unable to recognize "": no matches for kind "Ingress" in version "v1"
Error: Process completed with exit code 1.
This is how my workflow looks like:
__name: Build and push the latest build to staging
on:
push:
branches: [ main ]
jobs:
build_push_image:
runs-on: ubuntu-latest
steps:
  - uses: actions/checkout@v2

  - name: Build and push staging image
    uses<EMAIL_ADDRESS>    with:
      username: ${{ secrets.ACR_LOGIN }}
      password: ${{ secrets.ACR_PASSWORD }}
      registry: ${{ secrets.ACR_NAME }}
      repository: contoso-website
      tags: latest

_deploy:
runs-on: ubuntu-latest
needs: build_push_image
steps:
  - uses: actions/checkout@v2

  - name: Install Helm
    uses: Azure/setup-helm@v1
    with:
      version: v3.3.1

  - name: Get AKS Credentials
    uses: Azure/aks-set-context@v1
    with:
      creds: ${{ secrets.AZURE_CREDENTIALS }}
      resource-group: mslearn-gh-pipelines-8235
      cluster-name: contoso-video
  - name: Run Helm Deploy
    run: |
      helm upgrade \
        --install \
        --create-namespace \
        --atomic \
        --wait \
        --namespace staging \
        contoso-website \
        ./kubernetes/contoso-website \
        --set image.repository=${{ secrets.ACR_NAME }} \
        --set dns.name=${{ secrets.DNS_NAME }}__

Please advise_

It seems like the Ingress.yaml manifest is in old version format and need to be updated to the current Ingress version.
This is the current ingress.yaml manifest:
apiVersion: v1
kind: Ingress
metadata:
name: contoso-website
namespace: {{ default "staging" .Release.Namespace }}
annotations:
kubernetes.io/ingress.class: addon-http-application-routing
spec:
rules:
- host: contoso.!DNS!
http:
paths:
- backend:
serviceName: contoso-website
servicePort: http
path: /
Any advise on how to re-write it and update it to recent versions?


Bug: ng add not working

Hi if i try to add transloco i get this error:
An unhandled exception occurred: Collection "@ngneat/transloco" cannot be resolved.
Error-Log
[error] Error: Collection "@ngneat/transloco" cannot be resolved.
    at NodeModulesEngineHost._resolveCollectionPath (C:\Users\burak\ng-transloco\node_modules\@angular-devkit\schematics\tools\node-module-engine-host.js:91:15)
    at NodeModulesEngineHost.createCollectionDescription (C:\Users\burak\ng-transloco\node_modules\@angular-devkit\schematics\tools\file-system-engine-host-base.js:115:27)
    at SchematicEngine._createCollectionDescription (C:\Users\burak\ng-transloco\node_modules\@angular-devkit\schematics\src\engine\engine.js:147:40)
    at SchematicEngine.createCollection (C:\Users\burak\ng-transloco\node_modules\@angular-devkit\schematics\src\engine\engine.js:140:43)
    at AddCommand.getCollection (C:\Users\burak\ng-transloco\node_modules\@angular\cli\models\schematic-command.js:128:35)
    at AddCommand.runSchematic (C:\Users\burak\ng-transloco\node_modules\@angular\cli\models\schematic-command.js:291:50)
    at AddCommand.executeSchematic (C:\Users\burak\ng-transloco\node_modules\@angular\cli\commands\add-impl.js:148:31)
    at AddCommand.run (C:\Users\burak\ng-transloco\node_modules\@angular\cli\commands\add-impl.js:114:21)
    at process._tickCallback (internal/process/next_tick.js:68:7)

Environment:
Angular CLI: 8.2.2
Node: 10.16.3
OS: win32 x64

Hi @dertuerke I thanks for open this issue, I will fix that in a moment

I fixed the issue and updated the package, you may install and try again it should work for you now :)

@itayod Love u 💋

@itayod i found two another bugs :)
1.) When using 'ng add', you are asked which loader to use (Http or Webpack).
If you select "Http" there, you have the possibility to choose between "JSON" and "TypeScript" in the next step.
Is it correct that you can select "TypeScript" here? Because the loader references a ".json" file.
Http == JSON?
WebPack == Typescript?
2.) If you have selected Webpack and Typescript, then the wrong path to the file is given in the loader.
../../assets/i18n/${langPath}

Thanks!, I will take a look at this later on

@dertuerke Thanks again, I fixed the wrong import path.
as for the loaders, you almost right, but if you choose webpack import, you still can work with .json files. so it's not necessary:
Http == JSON?
WebPack == Typescript?
As for you'r second issue, I wasn't able to reproduce it, could you try install again the package and see if it's still happening?

@itayod ok.
But it is correct, when i choose "http" that i can choose between "json" and "Typescript"?
Path is now correct :)


HDDS-3858. Remove support to start Ozone and HDFS datanodes in the same JVM

What changes were proposed in this pull request?
With a few thousands issues ago Ozone was integral part of Hadoop/HDFS project. At that time there were two options to start datanode:

Start in a separated JVM

Start in the same JVM with the HDFS

Today only 1 is the standard way, this is tested and working. 2nd is not working any more but still documented.
I propose to drop the support of this use case as I can't see any benefit to support it anymore:

I think 100% of the users will use Ozone as a separated process not as a HDFS Datanode plugin
Fixing the classpath issues is significant effort as the classpath of HDFS and Ozone are diverged.

What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-3858
How was this patch tested?
Not required. One compose folder + docs are removed.

Ping everybody (especially @jnp @arp7 @xiaoyuyao @mukul1987 @nandakumar131 )

This is a double edged sword :)
Some of my customers that I speak to have indicated they would not directly go to Ozone in an independent fashion and a few of them have indicated they want to explore Ozone by itself.
How about we leave it as is and mention a cautionary statement to indicate that Ozone HDFS Datanode Plugin is now an experimental feature and it not recommended from Production use.
This will allow some users to get their feet wet with ozone in a limited way.

The option to run them in same JVM was allowed, to support in-place upgrade from HDFS to Ozone in future. It was assumed that having the two Datanodes in the same JVM will certainly simplify Hdfs to Ozone upgrade.
Some design work happened in past, but not much progress since then. However, that is still a valid goal, IMO.
Once users are comfortable to switch to Ozone completely, an in-place upgrade option will be desirable to avoid data copy, and will be a way faster option to move to Ozone.

@elek thanks for bringing this up. Given the fact that it is broken currently, it makes sense to remove the document saying it is supported. Let's open a separate JIRA to track the issues such as classpath, etc. that prevent running HDDS datanode as plugin inside HDFS datanode JVM. They need to be fixed when we revisit in-place upgrade.

The option to run them in same JVM was allowed, to support in-place upgrade from HDFS to Ozone in future

@jnp Base on the last design in-place upgrade can work with different JVM on the same host. And it's possible to run HDFS and Ozone datanodes on the same node.
My problem is that maintaining this feature requires significant effort. If we would like to do it, it's a release blocker:
2020-06-23 15:22:52 WARN  DataNode:983 - ServicePlugin org.apache.hadoop.ozone.HddsDatanodeService@5226e402 could not be started
java.lang.NoSuchMethodError: com.google.common.base.Preconditions.checkArgument(ZLjava/lang/String;Ljava/lang/Object;)V

/pending "Blocking merge ability as we definitely need an agreement first. Possible topic for Community Meeting."

Given the fact that it is broken currently, it makes sense to remove the document saying it is supported.

I agree.

+1 for documenting that this is not supported.

+1, it will make Ozone repo clearly.

+1 for documenting that this is not supported.

Yes, it's important that I wouldn't like to modify interfaces or code. Just remove visibility (remove docs + compose examples).
We can make it work any time, or we can provide specific plugin for in-place upgrade.
It seems that we have an agreement that we can hide this feature, and we can further discuss long-term strategies before any code change.
As we have the consensus, I will merge this PR, soon.

/ready


A interactive demo ?

Hi !
Nice project, very interresting.
Do you have an interactive mode ?
Like DrQA and its pre-trained model.
Otherwise, after training the model, how can I use this algorithm ?
Thanks a lot

Thanks a lot !
Very nice job !

from src.reader.predictor import Predictor
predictor = Predictor(model='path_to_your_model')
output = predictor.predict('Document_text','Query')
print(output)

This will give you out the span along with it's score.


Update mini-css-extract-plugin, style-loader, and webpack-cli

Questions
Answers

Description?
mini-css-extract-plugin: from ^0.12.0 to ^1.0.0, webpack-cli from ^3.3.12 to ^4.0.0 and style-loader from ^1.3.0 to ^2.0.0

Type?
improvement

BC breaks?
no

Deprecations?
no

How to test?
No need QA.

This change is

Thanks @PierreRambaud !


termscp: 0.7.0 -> 0.8.0

Motivation for this change
https://github.com/veeso/termscp/releases/tag/v0.8.0
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 153772 run on x86_64-linux 1

1 package built:

termscp


Set comment when deploying the application

On deploying an application, it should be possible to set comments for the app deployment.

[ ] API
[ ] UI

[ ] apps page
[ ] templates page

Application install endpoint now accepts application name and description.


EITHER expression not working as argument to a typed function call

An either expression passed as argument to a typed function will have its return value corrupted by other arguments.
Example:
foo: func [a [byte!] return: [byte!]][a]
print ["hello" either true [" world"][newline] foo lf]

will print hello instead of hello world.
The ARM emitter is more sensible to this issue than the IA-32 one, because of its need for passing memory data through registers before pushing them on stack. So, for simple use cases, the IA-32 emitter will generate correct code, but anyway, you should not rely on this construction for now in your programs until a fix or workaround is found.
As a change to the semantics of either might be required to fix cleanly this issue, it might be postponed until Red/System full rewrite in Red.
A simple workaround for this issue exists right now: just assign the result of the either expression to a local variable and pass that variable as argument to the typed function.

Note that this is unfortunate for dialects, as they are written with typed functions, and it will often be desirable to inline an EITHER.


Virtualization filter test failure

Environment

Nautobot version (Docker tag too if applicable): 1.5.0-alpha.0
Python version: 3.10.
Database platform, version: MySQL
Middleware(s):

Steps to Reproduce

Set TEST_FACTORY_SEED = "c7xqfTV1NROb3Xxh" in nautobot/core/tests/nautobot_config.py
inv unittest -l nautobot.virtualization.tests.test_filters.VMInterfaceTestCase

Expected Behavior
Tests pass

Observed Behavior
Test test_ip_addresses fails
======================================================================
FAIL: test_ip_addresses (nautobot.virtualization.tests.test_filters.VMInterfaceTestCase) [Primary Addresses]
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/source/nautobot/virtualization/tests/test_filters.py", line 643, in test_ip_addresses
    self.assertEqual(self.filterset(params, self.queryset).qs.count(), 2)
AssertionError: 1 != 2

# Assign primary IPs for filtering
cls.ipaddresses = (
       IPAddress.objects.create(address="<IP_ADDRESS>/24", assigned_object=vminterfaces[0]),
       IPAddress.objects.create(address="fe80::8ef:3eff:fe4c:3895/24", assigned_object=vminterfaces[1]),
)

def test_ip_addresses(self):
        with self.subTest("Primary Addresses"):
            params = {"ip_addresses": [self.ipaddresses[0].address, self.ipaddresses[1].id]}
            self.assertEqual(self.filterset(params, self.queryset).qs.count(), 2)

This change seems to fix the error on my end. https://github.com/nautobot/nautobot/pull/2540/commits/6ab61c3e795480ba76f417d7a1b7808d1784aa37


White screen when began the game

Hello! When I entered the game, I see only white screen except menu.
Any help?
Thanks!

Hi! Could you post information about your GPU? Maybe it doesn't support OpenGL 3.3, which is causing the problem.
Also, could you try a previous version of the game (v.1.1) that uses CPU rendering?

Hi! Could you post information about your GPU?

My GPU is Radeon Vega 8 (Ryzen 5 2500U)
V1.1 works

Radeon Vega 8
This should work. Looks like a bug somewhere in the FragmentRaycasting4d.hlsl shader, but it works fine on my nVidia GeForce GTX 1070. Unfortunately, I don't have an AMD GPU to debug this.

Ok, tnx!


Broken APREC Support

Bug Report

[x] No similar issues exist
[x] Replicated on similar systems

Description
The make step fails if ARPREC is installed.
Configuration
 cmake .. -DBUILD_META_EXAMPLES=OFF
-- dir='/home/haozeke/Git/Github/machineLearning/shogun/src'
-- dir='/home/haozeke/Git/Github/machineLearning/shogun/build/src'
-- dir='/home/haozeke/Git/Github/machineLearning/shogun/src/gpl'
-- Using system's malloc
-- Could NOT find ViennaCL (missing: VIENNACL_INCLUDE_DIR VIENNACL_ENCODED_VERSION) (Required is at least version "1.5.0")
-- Could NOT find TFLogger (missing: TFLogger_DIR)
-- Could NOT find CPLEX (missing: CPLEX_LIBRARY CPLEX_INCLUDE_DIR)
-- Found Arpack : /usr/lib/libarpack.so
-- Could NOT find MOSEK (missing: MOSEK_DIR MOSEK_INCLUDE_DIR MOSEK_LIBRARY MOSEK_LIBRARIES)
-- HDF5: Using hdf5 compiler wrapper to determine C configuration
-- Lzo Library /usr/lib/liblzo2.so
-- Lzo Include Found in /usr/include
-- Could NOT find LPSOLVE (missing: LPSOLVE_LIBRARIES LPSOLVE_INCLUDE_DIR)
-- Could NOT find ColPack (missing: COLPACK_LIBRARIES COLPACK_LIBRARY_DIR COLPACK_INCLUDE_DIR)
-- Linker: GNU gold
-- ===================================================================================================================
-- Summary of Configuration Variables
-- The following OPTIONAL packages have been found:

 * CCache
 * GDB
 * Doxygen (required version >= 1.8.6)
 * OpenMP
 * CxaDemangle
 * rxcpp
 * BLAS
 * GLPK
 * ARPACK
 * Threads
 * Protobuf
 * JSON (required version >= 0.11)
 * LibXml2
 * HDF5
 * CURL
 * ZLIB
 * BZip2
 * LibLZMA
 * SNAPPY
 * LZO
 * NLopt
 * ARPREC
 * Sphinx
 * Pandoc

-- The following REQUIRED packages have been found:

 * PythonInterp

-- The following OPTIONAL packages have not been found:

 * ViennaCL (required version >= 1.5.0)
 * TFLogger (required version >= 0.1.0)
 * CPLEX
 * Mosek
 * LpSolve
 * ColPack

-- ===================================================================================================================
-- Integrations
--   OpenCV Integration is OFF 	 enable with -DOpenCV=ON
-- ===================================================================================================================
-- Interfaces
--   Python is OFF 		 enable with -DINTERFACE_PYTHON=ON
--   Octave is OFF 		 enable with -DINTERFACE_OCTAVE=ON
--   Java is OFF 		 enable with -DINTERFACE_JAVA=ON
--   Perl is OFF 		 enable with -DINTERFACE_PERL=ON
--   Ruby is OFF 		 enable with -DINTERFACE_RUBY=ON
--   C# is OFF 			 enable with -DINTERFACE_CSHARP=ON
--   R is OFF 			 enable with -DINTERFACE_R=ON
--   Lua is OFF 		 enable with -DINTERFACE_LUA=ON
--   Scala is OFF 		 enable with -DINTERFACE_SCALA=ON
--   CoreML is OFF 		 enable with -DINTERFACE_COREML=ON
-- ===================================================================================================================
-- To compile shogun type
--   make
--
-- To install shogun to /usr/local type
--   make install
--
-- or to install to a custom directory
--   make install DESTDIR=/my/special/path
--   (or rerun cmake with -DCMAKE_INSTALL_PREFIX=/my/special/path) to just change the prefix
-- ===================================================================================================================
-- Configuring done
-- Generating done
-- Build files have been written to: /home/haozeke/Git/Github/machineLearning/shogun/build

Where examples are turned off due to https://github.com/shogun-toolbox/shogun/issues/4419.
Error
Scanning dependencies of target libshogun
[ 74%] Building CXX object src/shogun/CMakeFiles/libshogun.dir/base/class_list.cpp.o
[ 74%] Built target libshogun
[ 74%] Linking CXX shared library libshogun.so
/usr/bin/ld.gold: error: /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/../../../../lib/libarprec.a(add.o): requires dynamic R_X86_64_PC32 reloc against '_ZN2mp8error_noE' which may overflow at runtime; recompile with -fPIC
/usr/bin/ld.gold: error: /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/../../../../lib/libarprec.a(complex.o): requires dynamic R_X86_64_PC32 reloc against '_ZN2mp8error_noE' which may overflow at runtime; recompile with -fPIC
/usr/bin/ld.gold: error: /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/../../../../lib/libarprec.a(cpr.o): requires dynamic R_X86_64_PC32 reloc against '_ZN2mp8error_noE' which may overflow at runtime; recompile with -fPIC
/usr/bin/ld.gold: error: /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/../../../../lib/libarprec.a(cssx.o): requires dynamic R_X86_64_PC32 reloc against '_ZN2mp8error_noE' which may overflow at runtime; recompile with -fPIC
/usr/bin/ld.gold: error: /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/../../../../lib/libarprec.a(div.o): requires dynamic R_X86_64_PC32 reloc against '_ZN2mp8error_noE' which may overflow at runtime; recompile with -fPIC
/usr/bin/ld.gold: error: /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/../../../../lib/libarprec.a(divd.o): requires dynamic R_X86_64_PC32 reloc against '_ZN2mp8error_noE' which may overflow at runtime; recompile with -fPIC
/usr/bin/ld.gold: error: /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/../../../../lib/libarprec.a(divx.o): requires dynamic R_X86_64_PC32 reloc against '_ZN2mp8error_noE' which may overflow at runtime; recompile with -fPIC
/usr/bin/ld.gold: error: /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/../../../../lib/libarprec.a(dmc.o): requires dynamic R_X86_64_PC32 reloc against '_ZN2mp8error_noE' which may overflow at runtime; recompile with -fPIC
/usr/bin/ld.gold: error: /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/../../../../lib/libarprec.a(eq.o): requires dynamic R_X86_64_PC32 reloc against '_ZN2mp8error_noE' which may overflow at runtime; recompile with -fPIC
/usr/bin/ld.gold: error: /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/../../../../lib/libarprec.a(expx.o): requires dynamic R_X86_64_PC32 reloc against '_ZN2mp8error_noE' which may overflow at runtime; recompile with -fPIC
/usr/bin/ld.gold: error: /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/../../../../lib/libarprec.a(init.o): requires dynamic R_X86_64_PC32 reloc against '_ZN2mp6old_cwE' which may overflow at runtime; recompile with -fPIC
/usr/bin/ld.gold: error: /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/../../../../lib/libarprec.a(init.o): requires dynamic R_X86_64_PC32 reloc against '_ZTTSt14basic_ifstreamIcSt11char_traitsIcEE' which may overflow at runtime; recompile with -fPIC
/usr/bin/ld.gold: error: /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/../../../../lib/libarprec.a(init.o): requires dynamic R_X86_64_PC32 reloc against '_ZN7mp_real3_piE' which may overflow at runtime; recompile with -fPIC
/usr/bin/ld.gold: error: /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/../../../../lib/libarprec.a(inix.o): requires dynamic R_X86_64_PC32 reloc against '_ZN2mp5mpuu1E' which may overflow at runtime; recompile with -fPIC
/usr/bin/ld.gold: error: /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/../../../../lib/libarprec.a(log.o): requires dynamic R_X86_64_PC32 reloc against '_ZN2mp8error_noE' which may overflow at runtime; recompile with -fPIC
/usr/bin/ld.gold: error: /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/../../../../lib/libarprec.a(log.o): requires dynamic R_X86_64_PC32 reloc against '_ZNKSt5ctypeIcE8do_widenEc' which may overflow at runtime; recompile with -fPIC
/usr/bin/ld.gold: error: /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/../../../../lib/libarprec.a(logx.o): requires dynamic R_X86_64_PC32 reloc against '_ZN2mp8error_noE' which may overflow at runtime; recompile with -fPIC
/usr/bin/ld.gold: error: /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/../../../../lib/libarprec.a(mdc.o): requires dynamic R_X86_64_PC32 reloc against '_ZN2mp8error_noE' which may overflow at runtime; recompile with -fPIC
/usr/bin/ld.gold: error: /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/../../../../lib/libarprec.a(mul.o): requires dynamic R_X86_64_PC32 reloc against '_ZN2mp8error_noE' which may overflow at runtime; recompile with -fPIC
/usr/bin/ld.gold: error: /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/../../../../lib/libarprec.a(muld.o): requires dynamic R_X86_64_PC32 reloc against '_ZN2mp8error_noE' which may overflow at runtime; recompile with -fPIC
/usr/bin/ld.gold: error: /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/../../../../lib/libarprec.a(mulx.o): requires dynamic R_X86_64_PC32 reloc against '_ZN2mp8error_noE' which may overflow at runtime; recompile with -fPIC
/usr/bin/ld.gold: error: /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/../../../../lib/libarprec.a(nint.o): requires dynamic R_X86_64_PC32 reloc against '_ZN2mp10prec_wordsE' which may overflow at runtime; recompile with -fPIC
/usr/bin/ld.gold: error: /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/../../../../lib/libarprec.a(norm.o): requires dynamic R_X86_64_PC32 reloc against '_ZN2mp8error_noE' which may overflow at runtime; recompile with -fPIC
/usr/bin/ld.gold: error: /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/../../../../lib/libarprec.a(npwx.o): requires dynamic R_X86_64_PC32 reloc against '_ZN2mp8error_noE' which may overflow at runtime; recompile with -fPIC
/usr/bin/ld.gold: error: /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/../../../../lib/libarprec.a(pix.o): requires dynamic R_X86_64_PC32 reloc against '_ZN2mp8error_noE' which may overflow at runtime; recompile with -fPIC
/usr/bin/ld.gold: error: /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/../../../../lib/libarprec.a(roun.o): requires dynamic R_X86_64_PC32 reloc against '_ZN2mp8error_noE' which may overflow at runtime; recompile with -fPIC
/usr/bin/ld.gold: error: /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/../../../../lib/libarprec.a(sqrt.o): requires dynamic R_X86_64_PC32 reloc against '_ZN2mp8error_noE' which may overflow at runtime; recompile with -fPIC
/usr/bin/ld.gold: error: /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/../../../../lib/libarprec.a(sqrtx.o): requires dynamic R_X86_64_PC32 reloc against '_ZN2mp8error_noE' which may overflow at runtime; recompile with -fPIC
/usr/bin/ld.gold: error: /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/../../../../lib/libarprec.a(sqx.o): requires dynamic R_X86_64_PC32 reloc against '_ZN2mp8error_noE' which may overflow at runtime; recompile with -fPIC
/usr/bin/ld.gold: error: /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/../../../../lib/libarprec.a(sub.o): requires dynamic R_X86_64_PC32 reloc against '_ZN2mp8error_noE' which may overflow at runtime; recompile with -fPIC
/usr/bin/ld.gold: error: /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/../../../../lib/libarprec.a(binary_io.o): requires dynamic R_X86_64_PC32 reloc against '_ZSt4cerr' which may overflow at runtime; recompile with -fPIC
/usr/bin/ld.gold: error: /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/../../../../lib/libarprec.a(write.o): requires dynamic R_X86_64_PC32 reloc against '_ZTVSt9basic_iosIcSt11char_traitsIcEE' which may overflow at runtime; recompile with -fPIC
/usr/bin/ld.gold: error: /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/../../../../lib/libarprec.a(write.o): requires dynamic R_X86_64_PC32 reloc against '_ZTVSt15basic_streambufIcSt11char_traitsIcEE' which may overflow at runtime; recompile with -fPIC
/usr/bin/ld.gold: error: /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/../../../../lib/libarprec.a(write.o): requires dynamic R_X86_64_PC32 reloc against '_ZTVSt15basic_streambufIcSt11char_traitsIcEE' which may overflow at runtime; recompile with -fPIC
/usr/bin/ld.gold: error: /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/../../../../lib/libarprec.a(write.o): requires dynamic R_X86_64_PC32 reloc against '_ZTV17fixed_col_ostreamIcSt11char_traitsIcEE' which may overflow at runtime; recompile with -fPIC
/usr/bin/ld.gold: error: /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/../../../../lib/libarprec.a(write.o): requires dynamic R_X86_64_PC32 reloc against '_ZTV17fixed_col_ostreamIcSt11char_traitsIcEE' which may overflow at runtime; recompile with -fPIC
/usr/bin/ld.gold: error: /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/../../../../lib/libarprec.a(write.o): requires dynamic R_X86_64_PC32 reloc against '_ZTVNSt7__cxx1115basic_stringbufIcSt11char_traitsIcESaIcEEE' which may overflow at runtime; recompile with -fPIC
/usr/bin/ld.gold: error: /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/../../../../lib/libarprec.a(write.o): requires dynamic R_X86_64_PC32 reloc against '_ZTTNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEE' which may overflow at runtime; recompile with -fPIC
/usr/bin/ld.gold: error: /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/../../../../lib/libarprec.a(write.o): requires dynamic R_X86_64_PC32 reloc against '_ZTVNSt7__cxx1115basic_stringbufIcSt11char_traitsIcESaIcEEE' which may overflow at runtime; recompile with -fPIC
/usr/bin/ld.gold: error: /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/../../../../lib/libarprec.a(mp_real.o): requires dynamic R_X86_64_PC32 reloc against '_ZSt4cerr' which may overflow at runtime; recompile with -fPIC
/usr/bin/ld.gold: error: /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/../../../../lib/libarprec.a(debug.o): requires dynamic R_X86_64_PC32 reloc against '_ZSt4cerr' which may overflow at runtime; recompile with -fPIC
/usr/bin/ld.gold: error: /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/../../../../lib/libarprec.a(dble.o): requires dynamic R_X86_64_PC32 reloc against '_ZN2mp5mprdxE' which may overflow at runtime; recompile with -fPIC
/usr/bin/ld.gold: error: /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/../../../../lib/libarprec.a(agmx.o): requires dynamic R_X86_64_PC32 reloc against '_ZN2mp8error_noE' which may overflow at runtime; recompile with -fPIC
/usr/bin/ld.gold: error: /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/../../../../lib/libarprec.a(angx.o): requires dynamic R_X86_64_PC32 reloc against '_ZN2mp8error_noE' which may overflow at runtime; recompile with -fPIC
/usr/bin/ld.gold: error: /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/../../../../lib/libarprec.a(cshx.o): requires dynamic R_X86_64_PC32 reloc against '_ZN2mp8error_noE' which may overflow at runtime; recompile with -fPIC
/usr/bin/ld.gold: error: /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/../../../../lib/libarprec.a(cssn.o): requires dynamic R_X86_64_PC32 reloc against '_ZN2mp8error_noE' which may overflow at runtime; recompile with -fPIC
/usr/bin/ld.gold: error: /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/../../../../lib/libarprec.a(exp.o): requires dynamic R_X86_64_PC32 reloc against '_ZN2mp8error_noE' which may overflow at runtime; recompile with -fPIC
/usr/bin/ld.gold: error: /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/../../../../lib/libarprec.a(infr.o): requires dynamic R_X86_64_PC32 reloc against '_ZN2mp8error_noE' which may overflow at runtime; recompile with -fPIC
/usr/bin/ld.gold: error: /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/../../../../lib/libarprec.a(lconv.o): requires dynamic R_X86_64_PC32 reloc against '_ZN2mp6mpmcrxE' which may overflow at runtime; recompile with -fPIC
/usr/bin/ld.gold: error: /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/../../../../lib/libarprec.a(npwr.o): requires dynamic R_X86_64_PC32 reloc against '_ZN2mp10prec_wordsE' which may overflow at runtime; recompile with -fPIC
/usr/bin/ld.gold: error: /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/../../../../lib/libarprec.a(pi.o): requires dynamic R_X86_64_PC32 reloc against '_ZN2mp8error_noE' which may overflow at runtime; recompile with -fPIC
/usr/bin/ld.gold: error: /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/../../../../lib/libarprec.a(rand.o): requires dynamic R_X86_64_PC32 reloc against '_ZN2mp8error_noE' which may overflow at runtime; recompile with -fPIC
/usr/bin/ld.gold: error: /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/../../../../lib/libarprec.a(to_digits.o): requires dynamic R_X86_64_PC32 reloc against '_ZN2mp5mpbdxE' which may overflow at runtime; recompile with -fPIC
/usr/bin/ld.gold: error: /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/../../../../lib/libarprec.a(read.o): requires dynamic R_X86_64_PC32 reloc against '_ZTTNSt7__cxx1119basic_istringstreamIcSt11char_traitsIcESaIcEEE' which may overflow at runtime; recompile with -fPIC
/usr/bin/ld.gold: error: /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/../../../../lib/libarprec.a(read.o): requires dynamic R_X86_64_PC32 reloc against '_ZTTNSt7__cxx1119basic_istringstreamIcSt11char_traitsIcESaIcEEE' which may overflow at runtime; recompile with -fPIC
/usr/bin/ld.gold: error: /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/../../../../lib/libarprec.a(construct.o): requires dynamic R_X86_64_PC32 reloc against '_ZTVSt9basic_iosIcSt11char_traitsIcEE' which may overflow at runtime; recompile with -fPIC
/usr/bin/ld.gold: error: /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/../../../../lib/libarprec.a(construct.o): requires dynamic R_X86_64_PC32 reloc against '_ZTTNSt7__cxx1119basic_istringstreamIcSt11char_traitsIcESaIcEEE' which may overflow at runtime; recompile with -fPIC
/usr/bin/ld.gold: error: /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/../../../../lib/libarprec.a(ang.o): requires dynamic R_X86_64_PC32 reloc against '_ZN2mp8error_noE' which may overflow at runtime; recompile with -fPIC
/usr/bin/ld.gold: error: /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/../../../../lib/libarprec.a(fftcr.o): requires dynamic R_X86_64_PC32 reloc against '_ZN2mp5mpuu1E' which may overflow at runtime; recompile with -fPIC
/usr/bin/ld.gold: error: /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/../../../../lib/libarprec.a(fftrc.o): requires dynamic R_X86_64_PC32 reloc against '_ZN2mp5mpuu1E' which may overflow at runtime; recompile with -fPIC
/usr/bin/ld.gold: error: /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/../../../../lib/libarprec.a(fft1.o): requires dynamic R_X86_64_PC32 reloc against '_ZN2mp5mpuu2E' which may overflow at runtime; recompile with -fPIC
/usr/bin/ld.gold: error: /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/../../../../lib/libarprec.a(fft3.o): requires dynamic R_X86_64_PC32 reloc against '_ZN2mp6mpnrowE' which may overflow at runtime; recompile with -fPIC
collect2: error: ld returned 1 exit status
make[2]: *** [src/shogun/CMakeFiles/shogun.dir/build.make:1475: src/shogun/libshogun.so.18.0] Error 1
make[1]: *** [CMakeFiles/Makefile2:102: src/shogun/CMakeFiles/shogun.dir/all] Error 2
make: *** [Makefile:152: all] Error 2

The make step works if ARPREC is uninstalled.
System Details
Architecture and OS

Shogun
Git version at:
 * b5345f577 (HEAD -> develop, origin/develop, origin/HEAD) SG_ADD refactor (#4417)

ARPREC
From the ArchLinux AUR:

Thanks for the report. This should have been fixed a while ago so I dont understand why this appears. We dont have a test build for archlinux though
Do you desperately need ARPREC? That is only used by a few modules within shogun ...

I don't actually need ARPREC, so I can make do without it when #4419 works out..
On a side note, would a pull request adding an ArchLinux setup to the CI system be useful?
I can also provide more debugging information if required..

Thanks for the offer, I think long term maintenance of such a build would be most useful. @vigsterkr I'll leave replying to you.
As for the example problem. You could try turning them off using -DBUILD_META_EXAMPLES=Off, or, if you just want to disable the cpp meta examples -DTRAVIS_DISABLE_META_CPP=Off

Sure I'd love to maintain one..
Currently I have moved on to Shark but I will switch back if I don't get the eigen errors in my code.

The Arch AUR package only builds the static ARPREC library, and that without PIC. As of such, it cannot be linked into libshogun.so, as that would require PIC. I've contacted the AUR maintainer with a fixed version of the package, that would enroll ARPREC as a shared library, which is how it should be on Arch.
With the fixed version of the package, I've been able to compile shogun with ARPREC support.

That is great news. Patches would be very welcome here!
Let us know if you need any help


why is feeder documention deleted?

is feeder still used in classic ?

Hello @awsdataarchitect, please find the following link with the documentation for the oracle feeder on classic https://classic-docs.terra.money/docs/develop/sdks/terra-js/oracle-feeder.html


Make infer_apply unpack arguments.

Currently, infer_apply expects a single input. In case of Transforms expecting multiple args, this must be a tuple. Would be nice to have it accept multiple args in accordance to what it's __call__ expects.
Is there anything against this?

I don't think so, but it would slightly change how infer_apply and eval/train_apply work, right? I believe eval_apply would expect a list of tuples in the case you have outlined. And then I think changing infer_apply as you suggest would mean it would no longer work with a tuple, which could potentially be confusing. What do you think?


Update WriteToBigQuery multiple destinations doc

This doc is outdated, I successfully wrote to 2 destinations using a lambda for table parameter

Lang
SDK
Dataflow
Flink
Samza
Spark
Twister2

Go

---

---

---

Java

Python

---

---

XLang

---

---

Pre-Commit Tests Status (on master branch)

---
Java
Python
Go
Website
Whitespace
Typescript

Non-portable

Portable
---

---
---
---
---

See .test-infra/jenkins/README for trigger phrase, status and link of all Jenkins jobs.
GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

R: @pabloem

Run Python PreCommit

Run Python_PVR_Flink PreCommit


Correct misspelling of Helm

Although it is spelling mistakes, it might make an affects
while reading.
Signed-off-by: Nguyen Hai Truong<EMAIL_ADDRESS>
What this PR does / why we need it:
Special notes for your reviewer:
If applicable:

[ ] this PR contains documentation
[ ] this PR contains unit tests
[ ] this PR has been tested for backwards compatibility

/retest


FR: please co-publish vscode extension on Open VSX Registry

Please add this useful extension to the Open VSX Registry.
Details on the publishing can be found at https://github.com/eclipse/openvsx/wiki/Publishing-Extensions.
A bit of explanation:
Open VSX Registry is the default extension provider endpoint for the free build of vscode VSCodium and Eclipse Theia, as well as browser versions like the one on GitPod. It would be nice to have this extension be directly published to a free vsix repository instead of only the Microsoft Marketplace with its restrictions.
You could also use a GitHub action that allows publishing to Open VSX and the MS market place, HaaLeo/publish-vscode-extension does this.

Greatly appreciated if it allows to deploy the extension both on Eclipse and VsCode

That GitHub action does (of course you still have to have a publisher id for both places to publish in general).

Friendly ping. The first thing would likely to manually publish the extension once, then one can check the option to use a GitHub action to publish to both market places, for example on push of tags or on releases.


add conditional default props back inline

❤ rebass
I don't believe this is what you wanted when you moved these to the components.props property...
https://github.com/jxnblk/rebass/issues/325
this works and still has a clean console with the newly added position to the blacklist

Codecov Report

Merging #326 into master will not change coverage.
The diff coverage is 100%.

@@          Coverage Diff          @@
##           master   #326   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files          11     11
  Lines         170    170
=====================================
  Hits          170    170

Impacted Files
Coverage Δ

src/components.js
100% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

Thanks for this! I think the real issue was in how I was using styled-components custom .attrs method, see this comment https://github.com/jxnblk/rebass/pull/360#issuecomment-364665264 and PR: #365


23.10.1

Pull Request Test Coverage Report for Build 1874

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 90.771%

Totals

Change from base Build 1873:
0.0%

Covered Lines:
973

Relevant Lines:
1022

💛  - Coveralls


ARC: iotdk: add flags for MWDT toolchain

Add MWDT support for iotdk board

@evgeniy-paltsev, Check this please
Please note -Hlib flag is missed here.


Preview cache is not refreshed after reimport

Godot version:
3.2 beta1
Issue description:
If you change import settings that impact texture ("Invert Color" in my case) the preview is not updated. You can see that it should work, because when you move the texture to another directory it looks correctly.

It will keep happening until you modify the file, which will refresh the cache.

Hi @KoBeWi ,
I'm new to the Godot engine but would like to contribute. I looked into that issue as it seemed to be a good candidate for a newcomer :)
I could repro the bug on my machine. Before jumping into how the editor cache work, I just wanna double-check something with you: when dragging the icon from one folder to the other one I've realized that the editor creates an .stex file for EACH folder without ever cleaning up the previous one. I've wanted to check with you just to make sure this was normal behavior as it looks odd to me.
Thanks !

editor creates an .stex file (in the .import folder) for EACH folder without ever cleaning up the previous one. I've wanted to check with you just to make sure this was normal behavior as it looks odd to me.

This is actually normal, but rather unwanted behavior. Not related to this issue though.

Hey @KoBeWi  ,
I took a look at the issue this week. Unfortunately, the fix is not that obvious since de current behavior seems to be a side-effect of the design of the cache. That’s why I wanted to ask you how would you like me to tackle the issue.
The problem, as I see it, is that the EditorResourcePreview cache act as a cache in front of the project’s resource. The original resource remains unchanged when the import settings change (I do see the benefit here). At this point, the check for the modified time of the original resource and the cached item is useless as the original file will never be modified by the import settings. This is could be avoided by forcing an eviction of an item from the cache but it led me to another problem. The cache also has a persistency layer on disk in Godot’s temp folder. The side effect that comes with it is that if an item is evicted from the cache the EditorResourcePreview will try to get one from the temp folder instead of the original resource. I’m not sure why the cache has persistency on disk, the only value I saw was that, upon startup, the Editor can preload the cache from the temp folder. Perhaps you could enlighten me for the other usage of putting the cache on disk. At the end, the cache act as a store in front of two different sources of truth. These two can differs and this what this bug is all about.
I can see two different solutions. One that is less intrusive and one that is a bit cleaner (in my opinion, with my limited knowledge of this project).
The less intrusive one that does not need a lot of refactor and not change the original design would be to be able to force an eviction of an item from the cache upon an item reimport. This would mean that in addition to remove the item from the cache, we would also need to delete the temp files that backed the cache. Otherwise the cache will reload the dirty data. I don’t like this as it looks like a bandaid to a problem that is a bit deeper, but at least the potential for regression is minimal.
What seems to be a better fix to me would be to revisit the purpose of adding a persistency to the cache. I would suggest to avoid reloading the cache from that source rather than the real source of truth which are the resources in the project. If the persistency is just an optimization when initializing the Editor, then we could only preload the cache upon startup. Again, I might have missed another reason to add persistency to the cache.
What do you think ?

If the persistency is just an optimization when initializing the Editor, then we could only preload the cache upon startup.

This might be the correct way. Although I'm not that knowledgeable in this area of the engine to give any advice.

Would you know who can make a design call on this one as I don't want to go in a different direction of the original intent ?

Probably @reduz, although he might be too busy to respond. You can try your luck on Godot's devel IRC.

Ok, wil do. It might have to wait at the end of next week, but I'll have more time to work on this during the holidays. Thanks for your help :)

Still valid in 3.2.4 beta3

Still valid in v4.1.beta.custom_build [2b373f795]


wifi-1727: hostapd: Fix RRM channel switch issues

Add support for multi-bss channel switch inside ubus switch_chan method
Fix hostapd crash occuring while sending channel switch event to cloud.
Fix memory leak.

Signed-off-by: Yashvardhan<EMAIL_ADDRESS>

Merged 8b5e2058, thanks


Unable to resolve 'Instance' - Intellisense / Compiler warns since it doesn't know that entity

https://github.com/AvaloniaInside/Shell/blame/10d6d8c159ea76e2ade707c76c6a6a9bf3efa642/src/Example/ShellExample/ShellExample/Views/MainTabControl.axaml#L16
https://github.com/AvaloniaInside/Shell/blame/10d6d8c159ea76e2ade707c76c6a6a9bf3efa642/src/Example/ShellExample/ShellExample/Views/MainTabControl.axaml#L21
https://github.com/AvaloniaInside/Shell/blame/10d6d8c159ea76e2ade707c76c6a6a9bf3efa642/src/Example/ShellExample/ShellExample/Views/MainTabControl.axaml#L30

Please, help! :(

Hello,
By adding data type to the data template you can partially solve this issue.

The type of Instance is object and basically it is the page already loaded. To have icon, i added a property of icon to each page.
So in case to have avoid error on Icon too, in your app you can define a base class for your main page tabs and use the base type as style and use it in template design.


doc(contrib): missing quotation mark

Add missing quotation marks.

Thanks!
@bors r+

:pushpin: Commit 89ccd42faa3cace8aed5e012aef3c47a5e47a29f has been approved by ehuss
It is now in the queue for this repository.

:hourglass: Testing commit 89ccd42faa3cace8aed5e012aef3c47a5e47a29f with merge 145219a9f089f8b57c09f40525374fbade1e34ae...

:sunny: Test successful - checks-actions
Approved by: ehuss
Pushing 145219a9f089f8b57c09f40525374fbade1e34ae to master...


bug in MOTOR loss

it looks like there is a bug in the MOTOR loss in (src/femr/models/transformer.py)
Based on equation 1 from the paper, the MOTOR log-loss (actually the log-likelihood) is:
\delta_{ijkp} * ( -\lambda_{ijkp} *U_{ijkp} + Log(\lambda_{ijkp}) ) + (1 - \delta_{ijkp}) * ( -\lambda_{ijkp} * U_{ijkp} )
Which simplifies to…
\delta_{ijkp} * Log(\lambda_{ijkp}) - ( \lambda_{ijkp} * U_{ijkp} )
Since above is the log-likelihood, we want to maximize this, or minimize the negative of this -- in other words we want to minimize the following loss:
( \lambda_{ijkp} * U_{ijkp} ) - \delta_{ijkp} * Log(\lambda_{ijkp})
To implement this, we make the following replacements (using the same names as in the femr code):
log_time <== Log2(U_{ijkp})
time_dependent_logits <== Log(\lambda_{ijkp})
is_event <== \delta_{ijkp}
Now the loss is:
[A]  ( exp( time_dependent_logits ) * exp2( log_time ) ) - is_event * time_dependent_logits
And using this identity: b^x = a^(log_a(b) *x)
We replace the first term with exp2( Log(2) * time_dependent_logits ) … and the loss is:
[B] exp2( Log(2) * time_dependent_logits ) * exp2( log_time ) - is_event * time_dependent_logits
combining the two exponentials,
[C] exp2( ( Log(2) * time_dependent_logits ) + log_time) - is_event * time_dependent_logits
And this is different from the implementation I see in transformer.py:
[femr] exp2( time_dependent_logits + log_time ) - Log(2) * is_event * time_dependent_logits
(the Log(2) is in a different spot).
Is this wrong? My guess is that -- during implementation -- the Log(2) was accidentally pulled out of the exponential in [B] and treated as a factor on the first term.

I don't think this is a bug in the transformer.py. I think your formula is just an alternate way of parameterizing lambda for the same loss.
In your math, you have defined lambda = e^(time_dependent_logits)
In my math I have defined lambda = 2^(time_dependent_logits).
Both should converge to the same result, but with time_dependent_logits that are a constant factor (log(2)) away from each other.
Similarly, you could also define lambda = 3^(time_dependent_logits) and things would still work.
What is important is that the survival loss and the event loss are in sync.
(Alternative we could also consider linear risk, aka lambda = time_dependent_logits, which would result in different formulas).

In case you are interested, the reason I constructed it the way I did was because your formula has more floating point multiplications than mine, as it requires a log2 factor broadcasted across an array, while mine only has a log2 factor multiplied by a scalar.

yup agreed this is fine


Magic Missile does not ask for multiple targets.

I seem to have no change to the way magic missile works with this module activated. I get a warning saying I can target a max of 1. Then i roll and it just rolls once. Nothing about additional targets.
I am sure I am doing something wrong. Could it be caused by using Late Targeting?

Shouldn't be caused by late targeting. What other modules do you have active? Specifically if you have Automated Animations, you will have to remove the Magic Missile definition there (and I need to update my documentation to reflect that).
Can you provide a screenshot (or video) of what you are seeing?


Add new Performance/Sum cop

Instead of custom implementations of array summation, we should use sum method, which is a lot faster.
# bad
[1, 2, 3].inject(:+)
[1, 2, 3].reduce(10, :+)
[1, 2, 3].reduce { |acc, elem| acc + elem }

# good
[1, 2, 3].sum
[1, 2, 3].sum(10)
[1, 2, 3].sum

Benchmark
# frozen_string_literal: true

require 'bundler/inline'

gemfile(true) do
  gem 'benchmark-ips'
end

RANGE = 1..10

Benchmark.ips do |x|
  x.report("reduce(:+)")   { RANGE.reduce(:+) }
  x.report("reduce { |sum, n| sum + n }")   { RANGE.reduce { |sum, n| sum + n } }
  x.report("sum") { RANGE.sum }

  x.compare!
end

Results
When RANGE = 1..10:
Comparison:
                 sum:  8472475.9 i/s
          reduce(:+):  1421098.7 i/s - 5.96x  (± 0.00) slower
reduce { |sum, n| sum + n }:  1274392.8 i/s - 6.65x  (± 0.00) slower

When RANGE=1..1000:
Comparison:
                 sum:  8309208.6 i/s
          reduce(:+):    19003.9 i/s - 437.24x  (± 0.00) slower
reduce { |sum, n| sum + n }:    15918.6 i/s - 521.98x  (± 0.00) slower

When RANGE=1..1_000_000:
Comparison:
                 sum:  8478595.9 i/s
          reduce(:+):       19.2 i/s - 442082.64x  (± 0.00) slower
reduce { |sum, n| sum + n }:       17.0 i/s - 498855.95x  (± 0.00) slower

We cannot safely autocorrect when initial value is not provided, because, for example, if we convert code
('a'..'z').to_a.reduce { |acc, elem| acc + elem }

into code
('a'..'z').to_a.sum

and this will result in TypeError (String can't be coerced into Integer), because for sum method initial is 0 if not specified explicitly.
When initial value is provided - we can safely autocorrect.

Good work overall. As usual - it's nice to attach some references to the cops.

Btw, it can also be argued that's a matter of style, not just performance.

Updated with:

better cop description, as suggested
link reference. There is just one non finished PR mentioning Enumerable#sum for the whole fast-ruby, so I added mentioned link (didn't find better on the internets).


leaks memory,already override onResume,onPause,onDestory method

I have used Android Studio's Monitor and Leakcany to find leak memory.
Monitor shows every time I leave the activity/fragment,it will remains, while the leakcany tells me "No leak found,The GC was being lazy".
Here is the code
@Override
    protected void onResume() {
        super.onResume();
        webView.onResume();
    }

    @Override
    protected void onPause() {
        webView.onPause();
        super.onPause();
    }

    @Override
    protected void onDestroy() {
        webView.onDestroy();
        super.onDestroy();
    }

Thanks for investigating this!
Any news here? You should have the same problems with the original WebView. Can you check that?


[BUG] Last game displays before updating to current game (~1 sec)

On either Chrome or Safari, navigate to the Games - Joined screen
Choose a game ("Game 1") and view the game end state
Navigate back to Games - Joined screen
Choose a different game ("Game 2") to view the game end state
Expected Results:
Game 2 details are displayed (name, number of players)
Actual Results:
Game 1 name and number of players are displayed briefly (~1 sec) before updating to Game 2 details

To fix this we can clear the store in the unmount callback for game-play so that it's reset when you go to another game.

This looks like it's working as intended and may have been addressed after the creation of this ticket. The follow is the code that supports clearing the arena.
(defn clear-game-state []
  (re-frame/dispatch [:game/update-frame nil]) ;; Clears arena state on unmount
  (re-frame/dispatch [:game/clear-chat-messages])
  (re-frame/dispatch [:game/stats-update {}])
  (ws/send-message :leave-game {:game-id @game-id})
  (reset! game-id nil))

Moving back to QA for verification

@oconn I'm still seeing this issue, exactly as written in the repro steps. Moving back to ready.

I'm no longer seeing this issue, but instead I'm seeing a ~1 sec delay in loading the arena, status bar and game details. I'll assume that's ok for now, moving this bug to closed.

@morganedmonds  Yeah good for now, we need to create a ticket for jesse to create loading indicators.


[Errno 104] Connection reset by peer

Hi, after successfully installing HHypermap on closure of #125 i ran into another problem.
loading my endpoint list (attached) results in a error (104, connection reset by peer) (also attached with .txt for uploading purpose, it is the page save of the website response)
HHM_endpoint_list.txt
error at admin_aggregator_endpointlist_add.html.txt
it could be my fault because on being unknown to how to operate HHypermap?
I am running this from my work laptop (ubuntu 16.04) with internet access (port 80).
tried our url in the list with different endings: geoserver/ows , geoserver/wms, etc....
is this a bug or am i missing something?
Thanks for your effort in advance, Cor

via the menu: Home › Aggregator › Services › Add service  I enter http://geodata.rivm.nl/geoserver/wms as WMS type and click save button.
generates a new 104 error, like before.
;-(

It looks like you cannot connect to Celery/RabbitMQ. Make sure RabbitMQ is correctly up and running.

Will it help if i alter the SKIP_CELERY_TASK=TRUE?
I am not that familiar with python and the HHypermap dependencies
Googled for RabbitMQ with Celery & found https://tests4geeks.com/tutorials/distribute-tasks-python-celery-rabbitmq/
did a sudo pip install celery to be certain its on my system, sudo pip install rabbitmq-server noted that it was already the newest version.
restarted the HHypermap server made no change after saving a WMS service url, again the 104 error

You can, and can be useful for testing.
But then you will have synchronous requests from the browser, and it will
hang waiting for the task end.
On Thu, Aug 4, 2016 at 4:47 PM, CorMelse<EMAIL_ADDRESS>wrote:

Will it help if i alter the SKIP_CELERY_TASK=TRUE?
I am not that familiar with python and the HHypermap dependencies
Googled for RabbitMQ with Celery & found https://tests4geeks.com/
tutorials/distribute-tasks-python-celery-rabbitmq/
did a sudo pip install celery to be certain its on my system, sudo pip
install rabbitmq-server noted that it was already the newest version.
restarted the HHypermap server made no change after saving a WMS service
url, again the 104 error
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/cga-harvard/HHypermap/issues/137#issuecomment-237576146,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAJDnBQclurlyIVX2DXa_3Xeo03NbgYHks5qcfuegaJpZM4Jcrvv
.

--
Paolo Corti
Geospatial software developer
web: http://www.paolocorti.net
twitter: @capooti
skype: capooti

Still trying to fix the issue, is there someone who can suggest a solution?
which endpoint i use, they all end up in a connection reset by peer [104]
can there be a problem connecting from within a virtualenv/python2.7 instance?
a ping from shell to the same url returns a result so there is a connection possible


Add the sign 'Azure AD - Azure Account' for an Azure AD attached queue

Storage Explorer Version: 1.14.0-dev
Build: 20200520.4
Branch: master
Platform/OS: Windows 10/ Linux Ubuntu 16.04/ macOS Mojave
Architecture: ia32/x64
Regression From: Not a regression
Steps to reproduce:

Attach one queue via Azure AD.
Check the attached queue.

Expect Experience:
Display 'Azure AD - Azure Account' for the attached queue.

Actual Experience:
No 'Azure AD - Azure Account' displays for the attached queue.

Part of the work tracked by #975.

This issue is fixed on build master/20200522.4. So we close it.


[Enhancement] Prevent accidental push from the backport repo

Currently, backport clones the tracking repo under the remote name origin and the fork repo under the Github username of the user. In many dev environments, origin is used as the remote name for the user's fork.
Based on the number of backport branches in Kibana, it looks like developers are accidentally doing the equivalent of git push origin <branchname>, possibly while working in the tool's private repo to resolve merge conflicts.
I like this suggestion from @timroes:

The backport tool should create a pre-push hook in that backport repo, that will prevent pushing if a specific environment variable isn't set (that it sets when itself pushes) and then just prints a warning: Don't push manually here, just follow instructions of the backport tool please

This is a super good point. After running into this a couple of times myself I added a fix recently.
https://github.com/sqren/backport/blob/4f63c536bedd02292a5d9eb922e254dd14b38892/src/steps/maybeSetupRepo.ts#L35-L38
It will delete the origin remote and create a remote with the name of the organization (eg elastic) and the user (eg timroes). So git push origin master should not even be possible anymore.
I've opened a PR to update Kibana's version of backport: https://github.com/elastic/kibana/pull/43405


Property naming

Hi!
I found a strange a property name in
https://github.com/wso2/carbon-apimgt/blob/master/components/apimgt/org.wso2.carbon.apimgt.rest.api.util/src/main/java/org/wso2/carbon/apimgt/rest/api/util/RestApiConstants.java#L103
What does it mean?
String SERVER_PASSWORD = "/applications";

It seems like an unused one. I will send a PR with removing those. Thanks for the pointer.


📃: Enhancing NLP Capabilities and Documentation for Transformers

:red_circle: Title : Text Classification, Named Entity Recognition, and Transformers Overview Documentation
:red_circle: Aim : To enhance the project by implementing text classification and named entity recognition (NER) features, and to provide comprehensive documentation on Transformers.
:red_circle: Brief Explanation :

Text Classification: Implement a module to classify text into predefined categories using machine learning algorithms.
Named Entity Recognition (NER): Develop a feature to identify and categorize entities (e.g., names, dates, locations) within text data.
Transformers Overview Documentation: Create detailed documentation explaining the concepts, applications, and implementation of Transformers in natural language processing (NLP).

Screenshots 📷

N/A

:white_check_mark: To be Mentioned while taking the issue :

Full name : Utsav Singhal
What is your participant role? (Mention the Open Source Program name. Eg. GSOC, GSSOC, SSOC, JWOC, etc.): SSOC'24

Happy Contributing 🚀
All the best. Enjoy your open source journey ahead. 😎

@Avdhesh-Varshney pull request for this issue, #80 , please review it.


Update stable version in repo from 0.1.4 to 0.2.0

Think about update stable version to 0.2.0
Version: stable=0.1.4 (374 days old) => latest=0.2.0 (44 days old)
Installs: stable=1137 (83.91%), latest=149 (11%), total=1355
Click to use developer portal
Click to edit
Note: This is an automatically generated message and not personally authored by bluefox!

Next stable release is 0.3.x


Support Windows

This properly #9 and #32.
The first commit fixes #24.

@lowjoel Since this PR has not been merged and released, would you mind sharing the build steps in order to build this fork?  I'm just trying to get the plugin .jar so that I can use it in RubyMine.
My current configuration is:

Download your support-windows PR
Open project with IntelliJ Community 15.0.4 (143.1184.17)
Kotlin Plugin 1.0.0-release-IJ143-70 is installed
Point Module SDK at RubyMine 8.0.3 (143.1559.2) install folder
Make Project

Information:Kotlin: Kotlin JPS plugin version 1.0.0-release-IJ143-70
Information:Kotlin: Plugin loaded: KotlinAndroidJpsPlugin
Information:Kotlin: Using kotlin-home = C:\Users\John Hagen\.IdeaIC15\config\plugins\Kotlin\kotlinc
Information:Kotlin: Kotlin Compiler version 1.0.0
Information:3/8/2016 8:15 PM - Compilation completed with 2 errors and 0 warnings in 2s 996ms
C:\Users\John Hagen\IdeaProjects\rubocop-for-rubymine-support-windows\src\io\github\sirlantis\rubymine\rubocop\RubocopTask.kt
Error:(173, 31) Kotlin: Unresolved reference: linkedListOf
C:\Users\John Hagen\IdeaProjects\rubocop-for-rubymine-support-windows\src\io\github\sirlantis\rubymine\rubocop\model\RubocopResult.kt
Error:(54, 24) Kotlin: Unresolved reference: linkedListOf

@lowjoel I was actually able to get it to build with the above confirguration after a bit of work.  My fork is here: https://github.com/johnthagen/rubocop-for-rubymine

That was a change in the newest Kotlin version; I didn't want to include that commit here because I didn't touch that bit of code (AFAIK), so I would rather wait for @sirlantis to commit that fix separately.

Until this merged I've compiled an unofficial release of this PR.
Rubocop For Rubymine 3.1.0.a

Can we merge this somehow? )


Undefined variable fix

Without this change, I get
error: undefined variable 'lib'

       at /nix/store/raw0f6l6v32p7wnbb9lzb4jz7c3gyvn8-source/foundry-bin/default.nix:28:14:

           27|     installPhase = let
           28|       path = lib.makeBinPath [ pkgs.git ];
             |              ^
           29|     in ''
(use '--show-trace' to show detailed location information)

related to #10 I believe

Thank you! Apologies, not in a position to test the changes right now. Need to setup some integration tests for PRs. 😅


[Host.AmazonSQS] New transport for Amazon SQS

Please bring in Amazon SQS as another transport to SMB.
Proposed name of the NuGet and project:
SlimMessageBus.Host.AmazonSQS
https://docs.aws.amazon.com/sdk-for-net/v3/developer-guide/csharp_sqs_code_examples.html
https://docs.aws.amazon.com/sdk-for-net/v3/developer-guide/sqs-apis-intro.html

Hi,  Yes please create an empty plugin, and we will start to look at this.

Yup, will report when I have something for you.

I have started the SQS implementation. Once I have the first version working (it should be soon), then I will post here.
What do you think about having a combined transport for SQS and SNS in one transport?

I think that is a decent idea since they are quite closes related

Good, how about the name of the NuGet?
SlimMessageBus.Host.AmazonSQS is what I was thinking initially, when we combine SQS and SNS how about the package name?
Stick with: SlimMessageBus.Host.AmazonSQS?
Insicate its both: SlimMessageBus.Host.AmazonSQSSNS?

I don't have a strong preference, but I would say SlimMessageBus.Host.AmazonSQS looks better

For your information, I have a branch with the Amazon SQS provider that is mostly built. There are a couple of minor features (see ToDos) that I will work on when I have time:
https://github.com/zarusz/SlimMessageBus/tree/feature/amazon_sqs
Once I have all the needed features it will be made available as a pre-release in v3.
Feedback welcome.

The package is here
https://www.nuget.org/packages/SlimMessageBus.Host.AmazonSQS


npm run build, Cannot find module './routes' happen

Hi team, when I try to build the project in the local, it reports Cannot find module './routes', I have no idea why this happen.
My local env is Windows 7, node.js version is 5.9.0
could someone help me about this? thanks.

Do you have a stack trace you can paste here? Also please try upgrading to Node.js 6.x

C:\david-www>npm run build

<EMAIL_ADDRESS>build C:\david-www
run-p build:**

<EMAIL_ADDRESS>build:js:server C:\david-www
babel src --out-dir dist

<EMAIL_ADDRESS>build:js:client C:\david-www
browserify -g envify src/ui/main.jsx -o public/bundle.js

<EMAIL_ADDRESS>build:css C:\david-www
node-sass --include-path node_modules src/ui/main.scss public/bundle.css

Rendering Complete, saving .css file...
Wrote CSS to C:\david-www\public\bundle.css
src\config.js -> dist\config.js
src\lib\auth.js -> dist\lib\auth.js
Error: Cannot find module './routes' from 'C:\david-www\src\ui'
at C:\david-www\node_modules\browser-resolve\node_modules\resolve\lib\async.js:55:21
at load (C:\david-www\node_modules\browser-resolve\node_modules\resolve\lib\async.js:69:43)
at onex (C:\david-www\node_modules\browser-resolve\node_modules\resolve\lib\async.js:92:31)
at C:\david-www\node_modules\browser-resolve\node_modules\resolve\lib\async.js:22:47
at FSReqWrap.oncomplete (fs.js:82:15)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>build:js:client: browserify -g envify src/ui/main.jsx -o public/bundle.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>build:js:client script 'browserify -g envify src/ui/main.jsx -o public/bundle.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the david-www package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     browserify -g envify src/ui/main.jsx -o public/bundle.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs david-www
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls david-www
npm ERR! There is likely additional logging output above.
npm ERR!      C:\Users\AppData\Roaming\npm-cache_logs\2017-03-15T06_20_21_279Z-debug.log
src\lib\brains.js -> dist\lib\brains.js
src\lib\cache.js -> dist\lib\cache.js
ERROR: "build:js:client" exited with 1.
npm ERR! Windows_NT 6.1.7601
npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "run" "build"
npm ERR! node v5.9.0
npm ERR! npm  v3.7.3
npm ERR! code ELIFECYCLE
npm ERR<EMAIL_ADDRESS>build: run-p build:**
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>build script 'run-p build:'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the david-www package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     run-p build:
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs david-www
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls david-www
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR!     C:\david-www\npm-debug.log

and also, my teammates already install Node.js 6.x, but also come across this issue.

I've not tried building david on windows - did you resolve this? I'd welcome a PR to fix the issue if you figured it out.


Fetch isProved and set as precondition by default

This needs two things:

work on the ocaml side to make isProved available via grapjql
tweak the default account update created by a zkApp so it has the isProved precondition set from the start. Note: this only applies for the account update which is created by a zkApp for itself. Maybe it's enough to modify selfAccountUpdate()

Would propose this should be on any function besides an "init" one - that way devs avoid accidentally "blessing" a false state - eg a "powersOfTwo" contract with an init function that sets the state to 1, but with a "double" method that doesn't check isProved, and so could take a non isProved state 3 to an isProved state 6