Schema.newType doesn't add Type to Schema

Intuitively, I'd expect Schema.newType() to not just create the type but also register the type to Schema, but it doesn't. For ex: in this test, after I create a Type<EMAIL_ADDRESS>I would expect to get the type when I call<EMAIL_ADDRESS>but I get null.
@Test
    public void testType() {
        Schema schema = IonSchemaSystemBuilder.standard().build().newSchema();
        Type type = schema.newType("type::{\n"
            + "  name:'base_isl_type@1.0',\n"
            + "  type:struct,\n"
            + "  fields:{\n"
            + "    a:{\n"
            + "      type: string,\n"
            + "    }\n"
            + "  }\n"
            + "}");
        Type gotType = schema.getType("base_isl_type@1.0");
        assertEquals(type, gotType);
    }

If not this then what is the way to add Type to Schema. The only way I see it to initialize the schema with all the type as construction time itself through IonSchemaSystem.loadSchema() or IonSchemaSystem.newSchema(). Why can't I add type to Schema after creation.

Using the plusType() method, you can create a new copy of the schema that has the new type added to it.

I was looking for usecase where I add type one by one. It looks odd that we do this schema = schema.plusType(type) and create lots of intermediate schemas just to throw away.
Either 1) newType adding type to schema, or 2) a separate api addType looks more intuitive.

I don't think it's a good idea to change the behavior of the existing newType() API, but I definitely think it could be useful to have a plusTypes() API that acts like plusType(), but accepts multiple types. Then you can add types, one-by-one, to a list, and then add them to a schema all at once.
Why don't we have an API that modifies a schema in place? If a schema is immutable, then it is safe to share between threads. If schemas are mutable, and a new type has the same name as an existing type (thus replacing it), then we might have to replace all references to that type in every other type that is loaded into the schema system.
Are you looking at adding types one by one mixed with validation, or would it work to have a SchemaBuilder (that cannot be used for validation) where you can add types one by one and then build a Schema?

That makes sense, immutability will make it easier to share between threads.
I tried using plusType(), but looks like it is re-ordering types or probably adding the type at head and then it fails. For ex: with this test I am getting a failure like
com.amazon.ionschema.InvalidSchemaException: Ion Schema version marker must come before any header, types, and footer.

	at com.amazon.ionschema.internal.SchemaImpl_2_0.<init>(SchemaImpl_2_0.kt:97)
	at com.amazon.ionschema.internal.IonSchemaSystemImpl.createSchema(IonSchemaSystemImpl.kt:100)
	at com.amazon.ionschema.internal.IonSchemaSystemImpl.access$createSchema(IonSchemaSystemImpl.kt:32)
	at com.amazon.ionschema.internal.IonSchemaSystemImpl$newSchema$1.invoke(IonSchemaSystemImpl.kt:163)
	at com.amazon.ionschema.internal.IonSchemaSystemImpl$newSchema$1.invoke(IonSchemaSystemImpl.kt:32)
	at com.amazon.ionschema.internal.IonSchemaSystemImpl.usingReferenceManager(IonSchemaSystemImpl.kt:115)
	at com.amazon.ionschema.internal.IonSchemaSystemImpl.newSchema(IonSchemaSystemImpl.kt:163)
	at com.amazon.ionschema.internal.SchemaImpl_2_0.plusType(SchemaImpl_2_0.kt:346)
	at com.amazon.itemknowledge.registry.ISLSchemaTest.test_hierarchy(ISLSchemaTest.java:37)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.testng.internal.invokers.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:135)
	at org.testng.internal.invokers.TestInvoker.invokeMethod(TestInvoker.java:673)
	at org.testng.internal.invokers.TestInvoker.invokeTestMethod(TestInvoker.java:220)
	at org.testng.internal.invokers.MethodRunner.runInSequence(MethodRunner.java:50)
	at org.testng.internal.invokers.TestInvoker$MethodInvocationAgent.invoke(TestInvoker.java:945)
	at org.testng.internal.invokers.TestInvoker.invokeTestMethods(TestInvoker.java:193)
	at org.testng.internal.invokers.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:146)
	at org.testng.internal.invokers.TestMethodWorker.run(TestMethodWorker.java:128)

public class ISLSchemaTest {
    private IonSystem ionSystem;
    private IonSchemaSystem schemaSystem;

    @BeforeMethod
    public void setup() {
        ionSystem = IonSystemBuilder.standard().build();
        schemaSystem = IonSchemaSystemBuilder.standard().build();
    }

    @Test(enabled = true)
    public void test_hierarchy() {
        Schema schema = schemaSystem.newSchema("$ion_schema_2_0");
        Iterator<IonValue> it = getISL();
        while (it.hasNext()) {
            Type type = schema.newType((IonStruct) it.next());
            schema = schema.plusType(type);
        }
        Type type = schema.getType("derived_isl_type@1.0");
        assertNotNull(type);

        IonValue data = ionSystem.singleValue("{a:\"a\", b:1, c:\"string\"}");
        Violations result = type.validate(data);
        assertTrue(result.isValid());
    }

    private Iterator<IonValue> getISL() {
        String schema =
            ""
                + "type::{\n"
                + "  name:'base_isl_type@1.0',\n"
                + "  type:struct,\n"
                + "  fields:{\n"
                + "    a:{\n"
                + "      type: string, occurs: 1\n"
                + "    }\n"
                + "  }\n"
                + "}\n"
                + "type::{\n"
                + "  name:'derived_isl_type@1.0',\n"
                + "  type:'base_isl_type@1.0',\n"
                + "  fields:closed::{\n"
                + "    b:{\n"
                + "      type:int\n"
                + "    },"
                + "    c:ignore::{\n"
                + "      type:string, "
                + "    }\n"
                + "  }\n"
                + "}";
        Reader schemaReader = new StringReader(schema);
        return ionSystem.iterate(schemaReader);
    }
}

Here, I want to create Schema v2 and that's why I start with schemaSystem.newSchema("$ion_schema_2_0"); to force it to create schema v2, but it fails saying now version marker is not the first. If I don't add the version marker then it creates schema v1.

Thanks for this example. You've helped identify an edge case here where a schema with only one top-level Ion value is not being handled correctly. We'll have a fix for this bug soon.

I'd also like to understand—do you need to be adding the types one by one or could you do something like this?
String islString = "type::{ name: foo, type: int }"; // Insert your own ISL.
ListIterator<IonValue> isl = new ArrayList(ionSystem.loader.load(islString)).listIterator();
isl.add(ionSystem.newSymbol("$ion_schema_2_0"));
Schema schema = schemaSystem.newSchema(isl);

I know it's not very ergonomic to have to insert the version marker, but we can try to improve that. Even with the extra List, this is still going to be more efficient than using plusType() in a tight loop.

We have a usecase to add Type one by one. I started with schemaSystem.newSchema("$ion_schema_2_0"); just to force creation of ISL-v2 and then add type one by one. If there is any alternate way to force initialization of ISL-v2, something like schemaSystem.newSchema2() or schemaSystem.newSchema() with some parameter, I can use that.

Though, ideally I'd have preferred to just use schema.addType() and updating the same schema instead of creating new schema on every add but I can understand about the benefit of immutability.


remove SEE ALSO section from command include files

For further information, see issue #16998.
Regenerated files using,
kubernetes/website/update-imported-docs/update-imported-docs
Pending fix in component generation

/cc @neolit123 . Would you have time to review the files?

@kbhawkey
/lgtm
/hold
feel free to remove the hold but ideally @tengqm should confirm if the generator can skip generating these sections for 1.17.

/cc @tengqm

Thanks for getting this fixed.
/lgtm
/approve

/hold cancel


[9.x] Add a new function onlyTrashed

This PR introduces an "onlyTrashed" validation rule in Exists and Unique.
For example, we want a user to be able to create a new row in the database user, but we want to search in the database where the deleted_at is not null.
And the same since the same function is in the same trait SoftDeletes
Usage:
Validator::make(
    [
        'name' => 'Michael Nabil',
    ],
    [
        'name' => [
            'required',
            Rule::exists('users')->where('id', $this->id)->onlyTrashed(),
            Rule::unique('users')->where('id', $this->id)->onlyTrashed(),  // Or
        ],
    ]
);

The naming seems off on this for me. “Only trashed” reads to me as if it’ll only check soft-deleted records; not omit soft-deleted (trashed) records when doing the exists/unique checking 😕

The naming seems off on this for me. “Only trashed” reads to me as if it’ll only check soft-deleted records; not omit soft-deleted (trashed) records when doing the exists/unique checking 😕

Well, it reads to you just fine, because it really checks only within soft-deleted items 🤯


Version 1.0 in forms

Not so much a portal issue itself but the title on the contact form displayed in https://forms.office.com/pages/responsepage.aspx?id=AcQ6OB2ia0KAcl90w2twk7fwO2KG6sVNroEUPM3X2sJUQ0g1SkY3WkQ0TTBHTU9QNThSMEhSN0VLUCQlQCN0PWcu (and reachable through the "connect" link on the landing page) reads "EJP RD Virtual Platform (Version 1.0) " - that should be 1.6 now (or completley removed)

@kkr-ait: I removed the version. Please check it again and close the issue if it is solved. Thanks.


remote forms doesn't work after upload:complete event

When you try to submit a form with remote: true jquery-ujs checks if it's had any non blank file inputs https://github.com/rails/jquery-ujs/blob/master/src/rails.js#L422, so the remote option is ignore and the form is submitted with a normal POST.
My solution was to modify the if in this line https://github.com/elabs/refile/blob/master/app/assets/javascripts/refile.js#L37 to:
if((xhr.status >= 200 && xhr.status < 300) || xhr.status === 304) {
  var id = input.getAttribute("data-id") || JSON.parse(xhr.responseText).id;
  input.previousSibling.value = id;
  input.removeAttribute("name");
  input.value = ''; // <-- included this
  dispatchEvent("upload:success", xhr.responseText);
}

This make the input file empty, so for jquery-ujs all the file fields are blank and the form is submitted remotely.
I will be happy to make a pull request if this approach is considered correctly.

I'm the same problem =\

This gem https://github.com/JangoSteve/remotipart resolved the problem with upload file with remote: true

Is there any way to get this to work properly? I tried @cerdiogenes code and it didn't work.

@danieldocki I looked at the remotipart gem. I wouldn't use it. It is looking very long in the tooth and somewhat neglected. I'm paranoid about adding too much magic, especially when it involves adding new middleware to my stack. Seems like overkill anyway to work around this issue as it triggers submitting forms through a hidden iframe, which is not longer needed thanks to refile! Keep it simple.
We just need some way to tell Rails UJS to not count refile handled file inputs when determining whether to abort the AJAX form submission.
I poked around through the remotipart gem to see how it works. I found it relies on handling the ajax:aborted:file event fired by Rails UJS when it aborts due to non-empty file inputs.
I was able to come up with the event handler below which tells Rails UJS to proceed with submitting the form via Ajax if all the non-empty file inputs are associated with refile.
I used the data-reference attribute to detect the presence of refile handling. @jnicklas:  is that a safe bet?
$(document).on('ajax:aborted:file', 'form', function(){
  var form = $(this);
  // if all non-blank file inputs are handled by refile,
  // then resume
  var nonBlankFileInputs = $.rails.nonBlankInputs(form, $.rails.fileInputSelector);
  if (nonBlankFileInputs.filter(':not([data-reference])').length === 0) {
    $.rails.handleRemote(form);
    return false;
  } else {
    return true;
  }
});

@masonhale I think that's a fine workaround. Someone (not me ;)) should really patch rails_ujs to do the right thing though.

@jnicklas I was thinking about how to patch rails_ujs, and it occurs to me that it needs some way to know which file input fields should be excluded from its check of non-blank file inputs. I would propose that it looks for some specific attribute on the input as a flag to indicate it should be ignored. Something like data-rails-ajax-ignored=true. This way an application author could manually add the attribute to exclude it from the file input check (and potentially the separate required field input check), and rails-friendly file upload libraries like refile could potentially add the ignore attribute automatically to help make things work automatically. Any thoughts?

No, the reason for exclusion should be that the field is disabled. Disabled fields aren't submitted by browsers, rails_ujs shouldn't care that there's a disabled field with a file attached in the form.

@jnicklas thanks for the clarification. I didn't realize Refile disabled fields and that would be a good method to filter file input fields. Question: when does this disabling happen? Is it possible the rails_ujs script could fire before Refile sets the field to disabled?
@jnicklas Looking more closely at how the refile.js operates, I notice it removes the name of the input field after the file is processed here. I don't see where it sets the input file to disabled. Am I missing something? It makes me wonder if ignoring file inputs with no name attribute would work as well or better than ignoring disabled fields? (To be clear, I'm asking for clarification because I intend to submit a PR to fix rails_ujs. Thanks for the help).
PS: Thanks also for all the work you've put into Refile. I think it is really great work and I am very thankful you've put in the effort and hard-won experience to make it. Thank you!

@masonhale uuhh I was remembering it wrong. We do indeed remove the name to not submit the field. Browsers don't submit it, so rails_ujs should not accout for it, but it does.

Ok, based on what I've learned by working on a Rails UJS patch, I've come up with a better/simpler monkey-patch to get Refile and Rails UJS working together. This avoids having to catch the aborted file event. Much cleaner. It simply tweaks the fileInputSelect UJS uses to make sure the input has a name. (Interestingly, Rails UJS already has a similar check in place for required fields).
// run this anytime after rails / jquery-ujs is loaded
$.rails.fileInputSelector = 'input[name][type=file]';

@jnicklas actually does Rails UJS not include disabled inputs since v. 1.1.0 (https://github.com/rails/jquery-ujs/pull/430). Could we patch refile to disable the input instead of just removing the name attribute?

@jokklan no this does not work. Disabling the input not only has a visual effect we do not want, but it also prevents the user from selecting another file for upload.

It's really a simple fix in Rails UJS, which they should make anyway, someone should really submit a patch. It's not going to be me though, since I don't actually ever use rails_ujs ;)

I just submitted a pull request to jquery-ujs for this issue: https://github.com/rails/jquery-ujs/pull/464
I meant to do it before the holidays, but got busy/distracted and didn't get back to it.

You're a hero @masonhale! :smile:

@masonhale :metal:

@danieldocki @jnicklas Can you do a favor and comment on the jquery-ujs pull request I opened to draw more attention to it? https://github.com/rails/jquery-ujs/pull/464

@masonhale I added a comment. It's not been that long though, OSS moves slowly ;) They'll get to it eventually.


nested snippet are not visually selected

Snippet:
  "letm": {
    "prefix": "letm",
    "body": "let(:${1:model}) { create(:$1${2:, ${3:}}) }$0",
    "description": "let(:model) { create(:model, ...) }"
  }

When it goes to 2, instead of selecting 3, it just enter in insert mode.

Yes, that's not the default-behaviour.
Check the wiki, I wrote a function to recreate the vscode-behaviour. Might no longer work though..

True, maybe it should be the default.
I'm hesitant to do so since

It's less "luasnip", the default is to replace it with a choiceNode which has an empty insertNode and the snippet, and this is much more reliable than the rather hackish implementation of the selection (though the hackish-ness could be less bad if we ensured its behaviour with tests)
I don't want to spend a breaking change on it (changing defaults would have to be one)

OTOH the selection is visually much nicer.. Maybe I'll do a big breaking change sometime, where other defaults ({delete,region}_check_events) are also changed.


Improve InsufficientRound error message.

Motivation
We use ChainError::InsufficientRound(round) both if the round is expected to be at least and strictly greater than round. The error message only describes the first case.
Proposal
Add a new error variant for the strict inequality.
Test Plan
This only distinguishes more error variants.
Links

reviewer checklist

@jvff: Well, Round is an enum, not just a number, and the next_round function returns an Option, so it's not that simple.


Engine displaying unexistant Assets

To produce:

Sync from Gameplay branch
Compile everything and Run
Load Level_Select scene
Level Menu textures displayed on screen.

Result:

Level Menu textures unavailable inside the engine.
Level Menu textures not found while browsing folders from windows
Level Menu textures not found while using "Search" from windows

... wtf?

Does the engine have a cache or something? It's the only possible explanation I can think about.

Delete Game/Library


NUI-714 Interact with adobe-asset-compute devDependency from aio for interactive commands

For NUI-714.
When run as aio plugin using aio asset-compute, this will now check if it's running inside an aio project that has aio-cli-plugin-asset-compute installed as local devDependency, and if yes, dynamically load that version instead (for all the asset-compute:* commands).
This was simpler than I thought. Inside the plugin's oclif init hook (src/hooks/init.js) it will

detect if it runs as aio (not as standalone cli)
check if there is a local node_modules/@adobe/aio-cli-plugin-asset-compute inside the current project
if yes, replace the current plugin (itself!) with that one instead

This automatically makes it work for the entire plugin aka all asset-compute:* commands.
Also added unit tests, as well as some tests for the command rewriting that was already in init.js but was missing tests.
In the output it will log this case including the local version used:
> aio asset-compute --version
Using local project's @adobe/aio-cli-plugin-asset-compute version 1.3.9

Develop and test Adobe Asset Compute workers

USAGE
  $ aio asset-compute

OPTIONS
  -v, --verbose  Verbose output
  --version      Show version

COMMANDS
  asset-compute:devtool      Starts the Asset Compute Developer Tool
  asset-compute:run-worker   Run worker from local project using Docker
  asset-compute:test-worker  Run tests from local project

This also makes it work for e.g. aio info, which is useful:
Invoking aio info in a directory without a project or without the @adobe/aio-cli-plugin-asset-compute devDependency:
> aio info

  System:
    OS: macOS 10.15.6
    CPU: (8) x64 Intel(R) Core(TM) i7-7820HQ CPU @ 2.90GHz
    Memory: 260.82 MB / 16.00 GB
    Shell: 3.2.57 - /bin/bash
  Binaries:
    Node: 14.5.0 - /usr/local/bin/node
    Yarn: Not Found
    npm: 6.14.7 - /usr/local/bin/npm
  Virtualization:
    Docker: 19.03.12 - /usr/local/bin/docker
  npmGlobalPackages:
    @adobe/aio-cli: 3.7.0
  CLI plugins:
    @adobe/aio-cli 3.7.0 (core)
    @adobe/aio-cli-plugin-app 3.5.2 (user)
    @adobe/aio-cli-plugin-asset-compute 1.3.9 (link)
    ...
    @adobe/aio-cli-plugin-events 1.1.0 (core)

Invoking aio info in an aio project with the @adobe/aio-cli-plugin-asset-compute devDependency. While the versions are the same in my test setup, note that it's at the bottom of the list and has (user) vs. (link). In production both will be user but the version could be different and this just validates the reloading here:
> aio info
Using local project's @adobe/aio-cli-plugin-asset-compute version 1.3.9

  System:
    OS: macOS 10.15.6
    CPU: (8) x64 Intel(R) Core(TM) i7-7820HQ CPU @ 2.90GHz
    Memory: 49.41 MB / 16.00 GB
    Shell: 3.2.57 - /bin/bash
  Binaries:
    Node: 14.5.0 - /usr/local/bin/node
    Yarn: Not Found
    npm: 6.14.7 - /usr/local/bin/npm
  Virtualization:
    Docker: 19.03.12 - /usr/local/bin/docker
  npmGlobalPackages:
    @adobe/aio-cli: 3.7.0
  CLI plugins:
    @adobe/aio-cli 3.7.0 (core)
    @adobe/aio-cli-plugin-app 3.5.2 (user)
    ...
    @adobe/aio-cli-plugin-events 1.1.0 (core)
    @adobe/aio-cli-plugin-asset-compute 1.3.9 (user)

I will also update the documentation in the README and create a PR for the public documentation.

@tmathern @jdelbick The readme doc update is ready. Would be great if you could take a look at that part and see if makes sense for a 3rd party dev. Best way to read is here: https://github.com/adobe/aio-cli-plugin-asset-compute/tree/NUI-714#adobeaio-cli-plugin-asset-compute


Import attribute error

I've been getting an attribute error when I try to import pandas-gbq.

Traceback (most recent call last):
File "/Users/Desktop/temp.py", line 4, in
import pandas_gbq
File "/Users/opt/anaconda3/lib/python3.8/site-packages/pandas_gbq/init.py", line 1, in
from .gbq import to_gbq, read_gbq, Context, context  # noqa
File "/Users/opt/anaconda3/lib/python3.8/site-packages/pandas_gbq/gbq.py", line 12, in
from google.cloud import bigquery
File "/Users/opt/anaconda3/lib/python3.8/site-packages/google/cloud/bigquery/init.py", line 35, in
from google.cloud.bigquery.client import Client
File "/Users/opt/anaconda3/lib/python3.8/site-packages/google/cloud/bigquery/client.py", line 58, in
from google.cloud.bigquery import _pandas_helpers
File "/Users/opt/anaconda3/lib/python3.8/site-packages/google/cloud/bigquery/_pandas_helpers.py", line 40, in
from google.cloud.bigquery import schema
File "/Users/opt/anaconda3/lib/python3.8/site-packages/google/cloud/bigquery/schema.py", line 28, in
"STRING": types.StandardSqlDataType.STRING,
AttributeError: type object 'StandardSqlDataType' has no attribute 'STRING'

I'm using Python 3.8 and updated any applicable packages. Tried using 3.7 and got the same error. Any ideas on how to solve this? Thanks!

What versions are you running on?

Slightly new to coding so let me know if I'm giving you the wrong info.
pandas: 1.0.5
pandas-gbq: 0.15.0
pydata-google-auth: 1.2.0
google-auth: 1.30.0
google-auth-oauthlib: 0.4.4
google-cloud-bigquery: 2.15.0
google-cloud-bigquery-storage: 2.4.0

Are you sure you're on 2.15.0 for google-cloud-bigquery? I see slightly different code at that point: https://github.com/googleapis/python-bigquery/blob/v2.15.0/google/cloud/bigquery/schema.py#L28-L29
Though regardless, this looks like an error in that project, so it's probably better to post there — it looks like from google.cloud import bigquery breaks. Sorry not to be more helpful.

yeah, my computer is still saying its 2.15.0. Thank you for your help! I really appreciate it.

Not enough information to debug, so closing. For future reference you may want to try:
import google.cloud.bigquery

print(google.cloud.bigquery.__version__)

to check the package version. Sometimes the Python binary you're running is out-of-sync with what pip/conda says.

Not enough information to debug, so closing. For future reference you may want to try:
import google.cloud.bigquery

print(google.cloud.bigquery.__version__)

to check the package version. Sometimes the Python binary you're running is out-of-sync with what pip/conda says.

Installed just now from google docs with conda install -c conda-forge pandas-gbq google-cloud-bigquery


Fix SPI argument parsing issue

Close https://github.com/SwiftPackageIndex/SwiftPackageIndex-Server/issues/3374
TL,DR: https://github.com/SwiftPackageIndex/SwiftPackageIndex-Server/issues/3374#issuecomment-2359002730
Previous PR:

https://github.com/apple/swift-mmio/pull/104
https://github.com/apple/swift-mmio/pull/118

I've deployed a fix in our builder so this shouldn't be necessary. I'll kick off a rebuild of the package to confirm.

Confirmed fixed, this PR is not needed: https://github.com/SwiftPackageIndex/SwiftPackageIndex-Server/issues/3374#issuecomment-2360503818

Confirmed fixed, this PR is not needed

Yes. The PR is no longer required. That said. Still think it makes the config more clear that we write each parameter as a separate element.
I'll wait for @rauhul's review opinion for this.

I do prefer these as separate lines as its more clear that it isn't one arg.


Consider adding locking to the instruction

Locking would prevent accidental usage of an already allocated holding (in another workflow). However, it could be argued that what’s truly needed is not “locking,” but rather a method of “earmarking” the holding as already allocated. The sender still has the ability to reallocate or cancel the allocation, effectively unlocking the holding. An alternative approach for “earmarking” the holding could be to use a specific account for settlement purposes, where the sender transfers the holding to the account before allocating it.

But also, if we were to restrict the ability to cancel settlement to the settler, it would serve to guarantee settlement once holdings are allocated.


Cloud Changes causes data loss.  Should notify before applying changes.

sorry not a real bug report, as I don't know how to repro, but a FYI.
the problem:
cloud changes caused dataloss because it restored stale data
the setup:

I have a single dev machine, have cloud-changes turned on in VSCode.
I do not open my repository on any other computer  (but do use VSCode on another computer if that matters?)
I do 100% of my coding in VS (not VSCode), but use VSCode side-by-side to edit config files, etc.
IIRC I didn't have any .cs files open in VSCode.  I did have the folder parent of the .sln open.  I might have had another VSCode window with the .sln folder open also.

the steps?

had the above vscode windows open
make changes in VS (not vscode), commit to repo (using the "Fork" Git Client).
make some additional changes using VS as client.
reboot my computer (iirc, this will cause VSCode to store cloud changes)
open VS, see my (pending) changes
open a VSCode window (parent folder of .sln) and suddenly all my edits are blown away, files are in a state prior to last git commit.

additional thoughts

this might be considered a weird edge case and almost "by design", except:
when storing cloud changes, should track what the source was, and if source matches destination to overwrite, potentially something bad is about to happen
should prompt the user to restore cloud changes, preferably with a diff shown. (this is the big one)
sorry I don't have a nice way to repro this.
it left a super bad taste in my mouth so cloud changes is now off, forever.

Sorry for the trouble and thanks for reporting.

prompt the user to restore cloud changes

This is strange. We notify if we detect that resuming changes would overwrite local changes. We also don't resume stale changes if they were generated for an unrelated commit (there is an experimental setting which will tell you if there are stored changes which have a different commit but same ref and repo). Can you share your settings just in case?


Unable to start Wireguard in DSM 7.1.1-42962 Update 1:  Unable to access interface: No such device

Description
The intended use case is a VPN client outside of a home network, which is behind a Fritzbox 6490, that connects to a server running WireGuard.
I am configuring Wireguard (WeeJewel WG-easy for Docker image) for the first time. Receives two errors: RTNETLINK answers: Address already in use, Unable to access interface: No such device. This is the only service using this port 51820.
I included pictures of the DSM and it appears that the ports are not set for WG in Services.
Steps to reproduce
$ ssh user@nas
$ sudo wg-quick up wg0
[#] ip link add wg0 type wireguard
[#] wg setconf wg0 /dev/fd/63
[#] ip -4 address add <IP_ADDRESS>/16 dev wg0
[#] ip link set mtu 1420 up dev wg0
RTNETLINK answers: Address already in use
[#] ip link delete dev wg0
root@Server1:~# sudo wg show wg0
Unable to access interface: No such device

Expected behavior
complete set up.
Synology NAS model
DS716+2
wg0.conf
root@Server1:~# sudo cat /etc/wireguard/wg0.conf
[Interface]
Address = <IP_ADDRESS>/16
PrivateKey = [private key]
ListenPort = 51820
PostUp = iptables -A FORWARD -i %i -j ACCEPT; iptables -A FORWARD -o %i -j ACCEPT; iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
PostDown = iptables -D FORWARD -i %i -j ACCEPT; iptables -D FORWARD -o -%i -j ACCEPT; iptables -t nat -D POSTROUTING -o eth0 -j MASQUERADE

[Peer]
PublicKey = [public key]
AllowedIPs = <IP_ADDRESS>/32

As you can see from ip -4 address add <IP_ADDRESS>/16 dev wg0 and RTNETLINK answers: Address already in use it seems to be an IP conflict, thus your interface doesn't come up. check ip addresses used on your nas and/or change the IP used by wireguard.
I'm personally using <IP_ADDRESS>


JavaScript

JavaScript
User Story
As a bootcamp student
I want the prework notes to be structured on a webpage
so that I can easily find and read the information
Acceptance Criteria
GIVEN a Prework Study Guide Website
WHEN I view the study guide
THEN I can see the four topics I learned listed along with a suggestion on what I should study first

i think we should put documentaation page of notes on webpage that can help the users


Figure out what Win32 builds are doing with the tag parameter

jNeed to understand this in order to attempt to fix https://github.com/AdoptOpenJDK/openjdk-website/issues/338 / https://github.com/AdoptOpenJDK/openjdk-build/issues/678 - I'm creating this issue mostly to track what I'm doing ;-) I could possibly make use of ADDITIONAL_FILE_NAME_TAG but that likely wouldn't fix the tag on the main web site.
Build 42 with tag jdk8u192-bXX_openj9_0.11.0_DONOTUSE)  failed with:
dllmain.c
copyright.c
Microsoft (R) Windows (R) Resource Compiler Version 6.1.7600.16385

Copyright (C) Microsoft Corporation.  All rights reserved.

j9thr.rc(8) : error RC2104 : undefined keyword or key name: XX_openj9_0

make[4]: *** [../omr/omrmakefiles/rules.win.mk:193: j9thr.res] Error 1
make[3]: *** [makefile:40: ../j9thr29.dll] Error 2
make[2]: *** [makefile:209: j9thr] Error 2
make[1]: *** [/cygdrive/c/cygwin64/tmp/tmp.i1RfwCSGXZ/workspace/build/src/closed/OpenJ9.gmk:416: build-j9] Error 2
make: *** [/tmp/tmp.i1RfwCSGXZ/workspace/build/src/closed/make/Main.gmk:36: j9vm-build] Error 2

Build 43 with tag jdk8u192-bXX-DONOTUSE-SXA failed with:
aborted dllmain.c
copyright.c
Microsoft (R) Windows (R) Resource Compiler Version 6.1.7600.16385

Copyright (C) Microsoft Corporation.  All rights reserved.

j9thr.rc(8) : error RC2104 : undefined keyword or key name: XX

make[4]: *** [../omr/omrmakefiles/rules.win.mk:193: j9thr.res] Error 1
make[3]: *** [makefile:40: ../j9thr29.dll] Error 2
make[2]: *** [makefile:209: j9thr] Error 2
make[1]: *** [/cygdrive/c/cygwin64/tmp/tmp.Y4F7pg1Lkb/workspace/build/src/closed/OpenJ9.gmk:416: build-j9] Error 2

Build 44 was ok with tag jdk8u192-b99-DONOTUSE-SXA
Build 45 failed with tag jdk8u192-b99_openj9_0.11.0-SXA-DONOTUSE

I'd ping @johnoliver to see where that gets set

Based on investigations in #725 on the https://ci.adoptopenjdk.net/view/work in progress/job/SXA-jdk8_j9_win64_build job the failure there occurs of there is an _ character in the TAG field. The filename can be overridden using the ADDITIONAL_FILENAME_TAG option on the individual jobs, but that can't be set from the top level jobs at present.

We could either:

Identify and fix what's broken in the Windows build with the underscores in the tag (Windows resource/rc issue?)
Allow the ADDITIONAL_FILENAME_TAG to be passed through from the top level build jobs.

@johnoliver Any ideas on this one?

https://github.com/AdoptOpenJDK/openjdk-build/pull/732 has been submitted in order to implement option 2 from the previous comment. Will keep this open since I want to understand why this is gone wrong in such an odd way ...


Java 9.5: Access control #2092

Description 📜
Done Audio Explaining the Access control # 2092

Type of change 📝

[x] Au#dio (Should be in mp3 format Includes speech clarity, Concise ,Low distortion)

Domain of Contribution 📊

[x] Java_#Domain

Checklist ✅

[x] I follow Contributing Guidelines & Code of conduct of this project.
[x] I have performed a self-review of my own code or work.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] My changes generates no new warnings.
[x] I'm GWOC'21 contributor

Access control #2090 : Adding Access control audio in .mp3 format


Added optimization case for quantifiers with constant bodies

[x] Tests added for any new code
[x] Ran make fmt-fix (or had formatting run automatically on all files edited)
[ ] Documentation added for any new functionality
[ ] Entry added to UNRELEASED.md for any new functionality

Closes #1343

Seems like this is hitting #928 again, on hold while we we figure out if #928 was properly resolved.

Seems like this is hitting #928 again, on hold while we we figure out if #928 was properly resolved.

Oh, the optimizer is simplifying the expression in a way that makes it impossible to figure out the type. I think the only reasonable approach here is to optimize quantification over the empty set too.


Test failure under mesa on xTRSM

I'm trying to track down this magic, and the problem may very well be in mesa, but in any case it should be documented here.  I am also messaging mesa dev's about this.  I'd very very appreciative if these could be added ad piglit tests, as doing so is not something I'm familiar enough to do at this time.
https://gist.github.com/anadon/82d7cdffb1275d71708f
https://gist.github.com/anadon/586f54b5f62a22e339af
The core dump is here at 1131MB: http://cs.mtu.edu/~jrmarsha/core.27756 since nothing really would want to host a file that large.
Quick and dirty contact with mesa dev's takes place at irc://irc.freenode.net/dri-devel

Bug entry for mesa: https://bugs.freedesktop.org/show_bug.cgi?id=94273

Part of the issue EdB from irc found was the use of a function called "cl_amd_print" as a functions which appears to be built into the AMD implementation of OpenCL but does not appear in any revision of the specification.  This means that all AMD specific function calls need to be removed in order for compilation to work on strictly standards compliant OpenCL compilers.

I thought ignoring optional extensions was part of the spec. I could be wrong.
That said if removing these fixes the issue, then they should probably be removed. Looking at the files, it feels like they are left overs from debugging sessions.
Have you tested this after commenting out the offending lines?

I have not.  I have this, a few school projects, and 3 other research projects which all divide up my time.  Yesterday I got to spend alot of time  working on this and it'll be a week or more before I can really get at this again.

If I were to, there might also come the issue of another super merge.  Of which last time you were not appreciative.

MY main issue was grouping a single monolithic commit. Otherwise I appreciate the time you are taking to figure out these issues.
Anyway I'll see if I can do something about this when I get time. Can you tell me if you are using the Radeon driver or the AMDGPU driver from mesa.

I am using the radeonSI driver.  The hardware I've been using is CGN 1.0 (Pitcairn).  In particular, R9 270X 4GB.  I'm on 11.3 from the git development head, but behavior is identical on 11.1.2.

Related question: is there a way for me to submit my work for validity checking like it done automatically for pull requests?  I have a large patch removing most branching in the CL kernels that I need to run a complete test on.

Tom Stellard is an AMD employee who has done much work of mesa who has bopped in every now and then for my problems.  He might be a good person to contact about this if it ends up the problem is OpenCL related or in mesa.

Updated stack trace with better debug information: https://gist.github.com/anadon/4bc558761e1192e26d0d

https://gist.github.com/anadon/c1ea234ade1e9d076970

Appears to be fixed with LLVM 3.9 and mesa 11.3, but new problems await!


Create Homepage Layout

Description:Create the homepage layout, including a navigation bar, main title, and background image.
Acceptance Criteria: The navigation bar, main title, and background image display correctly on the homepage and adapt to different screen sizes.

update

homepage done


Add support of xlm-roberta in config for ORTOptimizer

What does this PR do?
This small PR adds config for xlm-roberta based models to be used in ORTOptimizer.

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.

Hi @jegork, thanks for contributing! Can you also add xlm-roberta to the test of ORTOptimizer? Thx.

@JingyaHuang Done

Hi @jegork, can you rebase your branch to pass checks? We have recently reorganized the CIs.


Execution failed for task ':agrona:test'.

tried on windows and osx with both java11 && java17, same failure

./gradlew
Task :agrona:test FAILED

FAILURE: Build failed with an exception.

What went wrong:
Execution failed for task ':agrona:test'.

Could not resolve all files for configuration ':agrona:testRuntimeClasspath'.
Could not find org.junit.platform:junit-platform-launcher:.
Required by:
project :agrona

Try:

Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.

Get more help at https://help.gradle.org

BUILD FAILED in 2s
14 actionable tasks: 1 executed, 13 up-to-date

Hi - thanks for the report. I've not seen this before, but have added jUnit Platform to the dependencies. Please let me know if this solves it for you.

Hi! I pulled your changes but it was still the same issue for me, I fixed it for myself with this patch:
https://github.com/eleventy7/aeron-cookbook-code/pull/188


play does not play with correct speed

Hi !
Really cool tool!!
Just tried it and record worked flawlessly for me, but play seems to play back the file at the wrong speed. The same file played with sox plays normally through once at normal speed but then in asak it is played twice at double speed it seems. Probably not adjusting for sample rate.

thanks! it should be fixed now. try to reinstall it and run again.

Yes that fixes it!
Now there's just a panic at the end of the file. It doesn't affect playback but maybe important:
██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████thread '<unnamed>' panicked at /Users/mads/.cargo/registry/src/index.crates.io-6f17d22bba15001f/asak-0.1.3/src/playback.rs:169:60:
                                                                                index out of bounds: the len is 108543 but the index is 108543
                                                        stack backtrace:
                                                                           0: _rust_begin_unwind
                                                                                1: core::panicking::panic_fmt
                                                                                2: core::panicking::panic_bounds_check
                                       3: coreaudio::audio_unit::render_callback::<impl coreaudio::audio_unit::AudioUnit>::set_render_callback::{{closure}}
                         4: _DefaultOutputAUFactory
                                                      5: _AUNotQuiteSoSimpleTimeFactory
                                                                                6: _AUGenericOutputFactory
                                                                                7: <unknown>
⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⠔⠢⡀⡠⡀⢀⣠   ⡠⢄⣀⡀⡠⢄⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⡀   8: <unknown>                                 ⠈ ⠑⠁ ⢇⡔⠊   ⠈                                                                        ⠈⠁
                9: <unknown>                       ⠈
                              10: __pthread_joiner_wake
                                                       note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
         fatal runtime error: Rust panics must be rethrown
                                                          zsh: abort      asak play 20240413-165115.wav
                                                                                %

Yes that fixes it!
Now there's just a panic at the end of the file. It doesn't affect playback but maybe important:
██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████thread '<unnamed>' panicked at /Users/mads/.cargo/registry/src/index.crates.io-6f17d22bba15001f/asak-0.1.3/src/playback.rs:169:60:
                                                                                index out of bounds: the len is 108543 but the index is 108543
                                                        stack backtrace:
                                                                           0: _rust_begin_unwind
                                                                                1: core::panicking::panic_fmt
                                                                                2: core::panicking::panic_bounds_check
                                       3: coreaudio::audio_unit::render_callback::<impl coreaudio::audio_unit::AudioUnit>::set_render_callback::{{closure}}
                         4: _DefaultOutputAUFactory
                                                      5: _AUNotQuiteSoSimpleTimeFactory
                                                                                6: _AUGenericOutputFactory
                                                                                7: <unknown>
⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⠔⠢⡀⡠⡀⢀⣠   ⡠⢄⣀⡀⡠⢄⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⡀   8: <unknown>                                 ⠈ ⠑⠁ ⢇⡔⠊   ⠈                                                                        ⠈⠁
                9: <unknown>                       ⠈
                              10: __pthread_joiner_wake
                                                       note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
         fatal runtime error: Rust panics must be rethrown
                                                          zsh: abort      asak play 20240413-165115.wav
                                                                                %

just added a boundary check. does it work for you now?

No more panics here (but now the waveform doesn't move in playback mode for some reason). Sorry!

No more panics here (but now the waveform doesn't move in playback mode for some reason). Sorry!

it should be fine now; I forgot to change the pointer from the origin file length to the resampled length 😅


fix(foxy): add missing withdraw accountId filter

Description
This adds the missing accountId optional filter param when calling the selectPortfolioCryptoBalanceByFilter selector, making sure we select the balance to withdraw from the selected account.
Notice

[x] Have you followed the guidelines in our Contributing guide?
[x] Have you checked to ensure there aren't other open Pull Requests for the same update/change?

Pull Request Type

[x] :bug: Bug fix (Non-breaking Change: Fixes an issue)
[ ] :hammer_and_wrench: Chore (Non-breaking Change: Doc updates, pkg upgrades, typos, etc..)
[ ] :nail_care: New Feature (Breaking/Non-breaking Change)

Issue (if applicable)

relates to the closed https://github.com/shapeshift/web/issues/2611

Risk

Testing

Open the FOXy modal
Click "Withdraw"
When selecting an account other than 0, ensure that the balance shown as available to withdraw is the one for the selected account

Engineering

See top-level testing notes

Operations

See top-level testing notes

Screenshots (if applicable)

admin merging as release branch CI will run


brew install error

Error: undefined method homepage' for Gitignore:Class Please report this bug:     https://github.com/Homebrew/homebrew/wiki/troubleshooting /usr/local/Library/Taps/karan/homebrew-karan/Formula/gitignore.rb:2:in class:Gitignore'
/usr/local/Library/Taps/karan/homebrew-karan/Formula/gitignore.rb:1:in `'

Try running brew update and then installing.

@notice501 assuming it worked. can you confirm, please?

@karan Yes,it worked for me,thanks.

Great!


Convert most remaining string methods to implicit args

Also support out-of-range start/end params for some functions, and fixed some return values.

Codecov Report

Merging #624 into master will increase coverage by 0.07%.
The diff coverage is 36.15%.

@@            Coverage Diff             @@
##           master     #624      +/-   ##
==========================================
+ Coverage    41.1%   41.18%   +0.07%
==========================================
  Files          76       76
  Lines       17238    17220      -18
  Branches     4562     4524      -38
==========================================
+ Hits         7086     7092       +6
+ Misses       8152     8146       -6
+ Partials     2000     1982      -18

Impacted Files
Coverage Δ

vm/src/obj/objstr.rs
35.23% <36.15%> (+0.88%)
:arrow_up:

vm/src/pyobject.rs
60.08% <0%> (+0.04%)
:arrow_up:

vm/src/obj/objint.rs
47.94% <0%> (+0.49%)
: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 e0e0734...b81a0a1. Read the comment docs.


Configure Rubocop

(Rubocop)[https://github.com/bbatsov/rubocop] is a tool that helps the developers to code in the same format style.

Done! Tks Coto!

:+1:


Convert JP2 to Image

Hi:
Thanks for your hard work on Sharp.
What I need is a node converter to help me to transfer JP2 to normal image formats like JPEG/PNG .etc. I have been searching for solutions for a long time, I want to confirm a bit that Sharp can only export JP2, but not read in JP2 image right? Because in the API Input page, I did not see jp2 listed.
And if anyone knows any other solution to do this job, you may suggest me, thanks a lot!

JP2 input and output requires the use of a custom, globally installed libvips.
https://sharp.pixelplumbing.com/api-output#jp2

Requires libvips compiled with support for OpenJPEG. The prebuilt binaries do not include this - see installing a custom libvips.

@YuanTian1991 Were you able to make progress with this?

Oh, sorry I forget to follow this issue. I have solved my problem, by using other tools (a js solution, and OpenJPEG as well). I did not manage to get sharp working on JP2.

Thanks for the update, use of OpenJPEG with sharp requires the compilation of a custom libvips and is not straightforward (especially on Windows). Glad you worked something out.

Thanks, I will try it, could you provide a demo for JP2 to JPG/PNG convertion?

where the example?


Pipestat messaging update suggestions

There's some confusing language I think we should clean up.
here's a vanilla looper check:
 looper check
Looper version: 2.0.0a2
Command: check
Using looper config (.looper.yaml).
No config key in Project, or reading project from dict
Traceback (most recent call last):
  File "/home/ns5bc/.local/bin/looper", line 8, in <module>
    sys.exit(main_cli())
             ^^^^^^^^^^
  File "/home/ns5bc/.local/lib/python3.11/site-packages/looper/cli_pydantic.py", line 357, in main_cli
    main()
  File "/home/ns5bc/.local/lib/python3.11/site-packages/looper/cli_pydantic.py", line 353, in main
    return run_looper(args, parser, test_args=test_args)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/ns5bc/.local/lib/python3.11/site-packages/looper/cli_pydantic.py", line 319, in run_looper
    raise PipestatConfigurationException("check")

Then I added this to the looper config:
pipestat:
  results_file_path: results.yaml

And now it says:
looper check
Looper version: 2.0.0a2
Command: check
Using looper config (.looper.yaml).
No config key in Project, or reading project from dict
Pipeline name mismatch detected. Pipeline interface: PEPATAC  Output schema: None  Defaulting to pipeline_interface value.
Initializing results file '/project/shefflab/brickyard/results_pipeline/tlgl_atac/PEPATAC/results.yaml'
File does not exist, but create_file is true. Creating...
     'PEPATAC' pipeline status summary
┏━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃  Status   ┃    Jobs count/total jobs    ┃
┡━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
└───────────┴─────────────────────────────┘

Some things here confusing me:

[ ] Why does it say "No config key in Project, or reading project from dict". Can this be reworded? I'm not getting anything useful from this message.
[ ] Looper documentation/tutorial does not actually specify how to configure: "Pipestat must be configured for command check". I think it's lumped in with description of results
[ ] Is the pipeline name thing important? Can we explain what this means somewhere: "Pipeline name mismatch detected. Pipeline interface: PEPATAC  Output schema: None  Defaulting to pipeline_interface value."
[ ] To what is "File does not exist, but create_file is true. Creating..." referring? To "results.yaml file"?
[ ] Why is looper check creating results.yaml? Shouldn't that be at looper run?
[ ] This is not finding the jobs. I do not know how to configure pipestat to actually find the jobs and check/report on them correctly. This is using PEPATAC and it is creating _failed flags.

I guess the biggest issue here is this: I cannot figure out how to configure pipestat such that looper check works, and there appears to be little documentation on that. it just says "use looper check", but that doesn't work.
Do you have to configure it before running the pipeline? I ran the pipeline before configuring pipestat. It still created flag files. now how do I check them?


Allow to accept sync function for Maybe/orElseAsync

We close this once by https://github.com/option-t/option-t/issues/1683#issuecomment-1456004819.
We'll reopen this when we conclude about #1683.
If you have some opinions, please comment to #1683


Not able to import

HI,
I want to have a tinker with dato.
Followed the steps on my ubuntu 14.04 LTS and successfully installed dato-core.
Then also installed GraphLab-Create-SDK.
~/software/dato/graphlab-sdk$ make
g++ -o sdk_example/example1.so -std=c++11 -I . -shared -fPIC sdk_example/example1.cpp
g++ -o sdk_example/sgraph_edge_deduplication.so -std=c++11 -I . -shared -fPIC sdk_example/sgraph_edge_deduplication.cpp
g++ -o sdk_example/sgraph_weighted_pagerank.so -std=c++11 -I . -shared -fPIC sdk_example/sgraph_weighted_pagerank.cpp
~/software/dato/graphlab-sdk$ ls
boost  doxygen     graphlab  Makefile           README.md
doc    export.hpp  LICENSE   makefile_template  sdk_example
BUT can't do the ipython example with 'import graphlab' (do I need to do some other step to make sure ipython can find graphlab?)
~/software/dato/graphlab-sdk$ ipython
Python 2.7.9 (default, Jul 27 2015, 08:25:19)
Type "copyright", "credits" or "license" for more information.
IPython 3.2.0 -- An enhanced Interactive Python.
?         -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help      -> Python's own help system.
object?   -> Details about 'object', use 'object??' for extra details.
In [1]: import graphlab
ImportError                               Traceback (most recent call last)
 in ()
----> 1 import graphlab
ImportError: No module named graphlab
In [2]: exit
Also, I could not follow the simple steps for the C++ example.
The example.cpp file is:
~/software/dato/graphlab-sdk/gl_extensions$ cat example.cpp
#include <graphlab/sdk/toolkit_function_macros.hpp>
using namespace graphlab;
int add_integers(int a, int b) {
return a + b;
}
BEGIN_FUNCTION_REGISTRATION
REGISTER_FUNCTION(add_integers, "a", "b"); // provide named parameters
END_FUNCTION_REGISTRATION
~/software/dato/graphlab-sdk/gl_extensions$ ls
example.cpp
I am able to successfully do:
~/software/dato/graphlab-sdk/gl_extensions$ g++ -std=c++11 example.cpp -I ../ -shared -fPIC -o example.so
~/software/dato/graphlab-sdk/gl_extensions$ ls
example.cpp  example.so
But then I cannot import in python.
I guess I am missing some basic steps to get 'import graphlab' to work in ipython.
Thanks,
Raaz

dato-core is almost "deprecated" at the moment. We will be open sourcing a new package of it which is much cleaner under the BSD license. For now, the SDK tracks against the ABI in the official GraphLab Create package. You should go to the http://dato.com/ and get GraphLab Create to have it work correctly with the SDK.


Use number of cores as a parameter to scale()

We've recently switched from number of jobs to number of worker processes as an argument to scale method. This is good for working with adaptive cluster as defined in distributed, but somehow not really easy to deal with while using dask-jobqueue, at least for me.
Ideally, we would use unitary job that spawn an entire node of our cluster. But in real life, I often find myself changing cores and process parameters between use cases, or to better fit with the current use of my cluster, when there is other users' job that are not using full nodes for example.
And at the end, when using scale method, what I want is to scale to a given number of CPU cores, no matter the number of jobs or workers or process or threads. So I'm left doing the (simple) maths of translating between number of cores and number of processes given my JobqueueCluster initialization.
It would be really easier if we could have the option to specify a cores kwarg or something like this to scale method.

This makes sense to me.  I could imagine wanting scale(cores=100) or
scale(memory='1TB') in practice
On Thu, Aug 16, 2018 at 2:00 PM, Guillaume EB<EMAIL_ADDRESS>wrote:

We've recently switched from number of jobs to number of worker processes
as an argument to scale method. This is good for working with adaptive
cluster as defined in distributed, but somehow not really easy to deal with
while using dask-jobqueue, at least for me.
Ideally, we would use unitary job that spawn an entire node of our
cluster. But in real life, I often find myself changing cores and process
parameters between use cases, or to better fit with the current use of my
cluster, when there is other users' job that are not using full nodes for
example.
And at the end, when using scale method, what I want is to scale to a
given number of CPU cores, no matter the number of jobs or workers or
process or threads. So I'm left doing the (simple) maths of translating
between number of cores and number of processes given my JobqueueCluster
initialization.
It would be really easier if we could have the option to specify a cores
kwarg or something like this to scale method.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/dask/dask-jobqueue/issues/130, or mute the thread
https://github.com/notifications/unsubscribe-auth/AASszNRfOeNgZA9hZCy6Wck8Be2q44P9ks5uRc91gaJpZM4WAfaB
.

I like the ideas here. These kwargs would probably fit in the base cluster, yes?

Yes I believe so too, @mrocklin do you agree?

Yes, but only if we communicate cores-per-worker and memory-per-worker from
the downstream projects back up to the main class.  None of the projects do
this today.
On Fri, Aug 17, 2018 at 7:45 AM, Guillaume EB<EMAIL_ADDRESS>wrote:

I like the ideas here. These kwargs would probably fit in the base
cluster, yes?
Yes I believe so too, @mrocklin https://github.com/mrocklin do you
agree?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/dask/dask-jobqueue/issues/130#issuecomment-413870898,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AASszLW1OCRdYn71Eg1W3z3DXNHLgCjuks5uRskBgaJpZM4WAfaB
.

This is a case where some coordination between the various dask-foo
projects for deployment would be valuable
On Fri, Aug 17, 2018 at 7:50 AM, Matthew Rocklin<EMAIL_ADDRESS>wrote:

Yes, but only if we communicate cores-per-worker and memory-per-worker
from the downstream projects back up to the main class.  None of the
projects do this today.
On Fri, Aug 17, 2018 at 7:45 AM, Guillaume EB<EMAIL_ADDRESS>wrote:

I like the ideas here. These kwargs would probably fit in the base
cluster, yes?
Yes I believe so too, @mrocklin https://github.com/mrocklin do you
agree?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/dask/dask-jobqueue/issues/130#issuecomment-413870898,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AASszLW1OCRdYn71Eg1W3z3DXNHLgCjuks5uRskBgaJpZM4WAfaB
.

After a dask-jobqueue presentation today with teams doing heavy flight dynamics computation, I believe that this proposal could be an important improvement for easier adoption. They were really enthusiast with the tool, but explaining the scaling parameter was a pain point, even given it's not that hard. Dealing with scheduler jobs not corresponding to number of workers is unclear.
I see two ways of doing this:

Easier would just be to overload scale and adapt, and convert ncores to nworkers here in dask-jobqueue.
Better one will be to implement functionnality upstream as @mrocklin and @jhamman suggest. This would probably prove more complicated, especially dealing with Cluster sub classes not implementing methods or attributes, and synchronization between development on both projects. Special thought to the cluster widget, but that can be addressed later on.

I'm keen to work on either, solution. It would be nice if I could have some advice, and maybe rough insights on how to do it best if we chose the second option.

I agree that doing the second option would be nicer.  I think that this requires us to develop a convention used by the dask deployment subprojects to record cpu and memory per worker in a standard way.  I'll raise an issue upstream.

Raised upstream at https://github.com/dask/distributed/issues/2208

After discussions in https://github.com/dask/distributed/pull/2209 and https://github.com/dask/distributed/pull/2235, and after some thoughts, but without actually trying anything, I feel that it may be simpler to just copy and paste the code from https://github.com/dask/distributed/pull/2209 to dask-jobqueue. But should I:

Copy paste adapt, scale, possibly the widget inside JobQueueCluster class?
Copy the Cluster class and put it in this repo and between JobQueueCluster and distributed.deploy.Cluster in the class hierarchy.
Try using super() calls, knowing that it won't work for the widget or #152.

I don't see other solutions, but I don't really like any of those, an external opinion would be welcomed here. Is this really wrong to duplicate distributed.deploy.Cluster here while waiting for https://github.com/dask/distributed/pull/2235 to be solved?

I don't have strong opinions here.  I wonder if @lesteve or @jhamman have
thoughts?
On Tue, Oct 2, 2018 at 5:29 PM Guillaume Eynard-Bontemps <
<EMAIL_ADDRESS>wrote:

After discussions in dask/distributed#2209
https://github.com/dask/distributed/pull/2209 and dask/distributed#2235
https://github.com/dask/distributed/issues/2235, and after some
thoughts, but without actually trying anything, I feel that it may be
simpler to just copy and paste the code from dask/distributed#2209
https://github.com/dask/distributed/pull/2209 to dask-jobqueue. But
should I:

Copy paste adapt, scale, possibly the widget inside JobQueueCluster
class?
Copy the Cluster class and put it in this repo and between
JobQueueCluster and distributed.deploy.Cluster in the class hierarchy.
Try using super() calls, knowing that it won't work for the widget
or #152 https://github.com/dask/dask-jobqueue/issues/152.

I don't see other solutions, but I don't really like any of those, an
external opinion would be welcomed here. Is this really wrong to duplicate
distributed.deploy.Cluster here while waiting for dask/distributed#2235
https://github.com/dask/distributed/issues/2235 to be solved?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/dask/dask-jobqueue/issues/130#issuecomment-426437080,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AASszMfXiZ5Z8qtEabCRhSTtdoHtnmkoks5ug9qtgaJpZM4WAfaB
.

I also don't have particularly strong feelings about this. If you remember, I was also heading down the path of overriding the scale method. My hope is that a more elegant solution comes out of  dask/distributed#2235. In the short term though, I think going down this path may yield some important learning lessons.


Explicitly set JarEntry size

Help the zip encoder by explicitly setting the size of the dex
content.

LGTM
@dshirley I'll defer to you to merge this!

@dshirley FYI, this is a cleanup (it's generally good to set the size if you know it ahead of time) and workaround for a current AOSP mismatch: the Java zip encoder will produce zip64 files when an entry doesn't have a size set, but the C decoder (libziparchive) used by ART does not support zip64.

LGTM. Merging.


dartdoc apjit training run fails when platform.dill includes bytecode

In a non-interpreter VM build, the create_sdk target fails when bytecode is included in the platform.dill unconditionally. That is, changing compile_platform("vm_platform") to do:
args += [ "--bytecode" ]

instead of
if (dart_use_interpreter) {
  args += [ "--bytecode" ]
}

Then,
$ ./tools/build.py -m release -a x64 create_sdk

Fails when building the dartdoc app-jit snapshot with:
Command failed: ./dart --deterministic --packages=/Users/zra/dart/sdk/.packages --snapshot=gen/dartdoc.dart.snapshot --snapshot-depfile=/Users/zra/dart/sdk/xcodebuild/ReleaseX64/gen/dartdoc.dart.snapshot.d --snapshot-kind=app-jit /Users/zra/dart/sdk/third_party/pkg/dartdoc/bin/dartdoc.dart --help
output:  fatal error: Could not find an option named "help".

Usage: dartdoc [OPTIONS]

    --[no-]a-dd-cr-os-sd-art                                   Add Crossdart links to the source code pieces.
    --a-mb-ig-uo-us-re-ex-po-rt-sc-or-er-mi-nC-on-fi-de-nce    Minimum scorer confidence to suppress warning on ambiguous reexport.
                                                               (defaults to "0.1")
...
-h, --h-elp                                                    Show command help.

Note the mysterious extra '-' characters in the flag names...
/cc @alexmarkov @crelier @a-siva

This is another side-effect of sorting named parameters while generating bytecode.


Error: Server Error

I have create a new issue here.
Im getting this in my app engine and i dont know how to get round of this error cause im a new user app engine.

The server encountered an error and could not complete your request.
Please try again in 30 seconds.

I have read this in your documentation.

It needs some external python modules in lib, you can download them by running ./devscripts/setup-gae.sh (it requires pip and virtualenv).

but i dont know how to i run ./devscripts/setup-gae.sh

Once you have downloaded the source code you have to execute in a terminal from the source code directory ./devscripts/setup-gae.sh.

Well, i actually dont know how to do it, is there any software needed to do executing that codes?

You need python, pip and virtualenv, then you can execute that command in a terminal in some Unix system (like Mac OS X, Linux or FreeBSD).

Thank you.
I hope that someone can make a step by step tutorial for beginners.


commonjs es6 module resolution

Hi,
How you make it work with
       // tsconfig.json
        "module": "commonjs",
        "target": "es6",

?

There are some problems with this configurations?

My understanding is that node module must in the commonjs format - not es6 or esnext.
I get the error:

I'm having problems using the library as well... import { ClassLogger } from "rich-logger-decorator"; gives me the error Cannot find module 'rich-logger-decorator' on compilation, and import { ClassLogger } from "rich-logger-decorator/dist/src"; gives the same error @chetmurphy mentions above at runtime.

This error may be appeared when the npm isn't installed. Please add a plunker

+1 Not work import library. Cannot find module 'rich-logger-decorator'.

changing main in package.json does the trick:
"main": "dist/src/index.js",

I have resolved the above mentioned issues, but I also changed the log output. I opened a PR.
Details:
https://github.com/Roustalski/rich-logger-decorator/blob/master/README.md


django 2

I'm developing a site with django 2. I'm updating DDS to work with django2 here https://github.com/andytwoods/django-dynamic-scraper
Will pull request when I'm satisfied all works.

Sorry, but I just don't have time to update the package any more for quite some time now and its pretty likely that various things are outdated.
Maybe there is someone who wants to do a fork of this or so. I am just not able to maintain. Maybe should drop a note on the README.


Mute the birds and the bees (area sounds in Farming Guild)

If you've spent even 10 seconds in the Farming Guild you'll know what I'm talking about: it's one of the densest locations for area sounds. Constant owl hooting, bird chirping and fly/bee buzzing sounds. Almost sounds like a busy city road and the random nature of the sounds just amplifies the annoyance. I would love it if this plugin could mute these sounds.

See #3


fzf#run does not return selections

[ ] I have read through the manual page (man fzf)
[X] I have the latest version of fzf
[X] I have searched through the existing issues

Info

OS

[ ] Linux
[ ] Mac OS X
[ ] Windows
[X] WSL Ubuntu on Windows 11

Shell

[X] bash
[ ] zsh
[ ] fish

Problem / Steps to reproduce
https://github.com/junegunn/fzf/blob/4993d19466d5f3ac127de5c0c461cde7ef1894d7/plugin/fzf.vim#L928
Why is it returning an empty table? It should return the content of the tempfile.
In function fzf.on_exit (defined inside s:execute_term), we handle the fzf selection.
https://github.com/junegunn/fzf/blob/4993d19466d5f3ac127de5c0c461cde7ef1894d7/plugin/fzf.vim#L874
But it's not returned ultimately. Is that deliberate?
Update: I'm using neovim. And in a previous commit, the README had this to say:
https://github.com/junegunn/fzf/blob/622e69ff54f27363abc2ac18a5a69751f2b42f4a/README.md?plain=1#L327-L328
But it's erased in currrent master. Presumably because that shortcoming was handled. But it's not handled. I get an empty table for the following command.
:let xxx = fzf#run({'source': 'ls'})

But it's erased in currrent master.

Because it's also true on regular Vim now, and there's no point in mentioning it specifically for Neovim. fzf#run opens a terminal buffer running fzf both in Vim and Neovim, and returns immediately. There's no way we can block the code execution and get the return value synchronously.
https://github.com/junegunn/fzf/blob/master/README-VIM.md does not mention anything about the return value of fzf#run.

Then why is it returning an empty table instead of returning nothing? @junegunn

Because of backward compatibility at the moment. Please just ignore it.

Oh, let me correct myself. fzf#run may or may not return values depending on the way it opens.

On regular Vim

Fullscreen mode (echo fzf#run()) ✅
Terminal window (echo fzf#run({ 'window': { 'width': 0.9, 'height': 0.6 } })) ❌
Tmux (echo fzf#run({ 'tmux': '-p70%' })) ✅

Neovim

Fullscreen mode (echo fzf#run()) ❌
Terminal window (echo fzf#run({ 'window': { 'width': 0.9, 'height': 0.6 } })) ❌
Tmux (echo fzf#run({ 'tmux': '-p70%' })) ✅

So if you want to write a portable code, do not rely on its return value but use sink function.

Thanks for the explanation. I opened this issue according to this stackoverflow question. Leaving it here for reference.

There's no way we can block the code execution and get the return value synchronously.

Why?
And why do I get an output when I run :let xxx = fzf#run({'source': 'ls'}), unlike what reported by @3N4N ? I'm too on 4993d19, with Vim 9.0.135.

doesn't it mean it runs synchronously

Only when you run fzf in fullscreen mode on regular Vim where fzf doesn't run inside a terminal buffer but is started with :!fzf, which blocks Vim until completion.
But :!fzf doesn't work on Neovim. https://github.com/junegunn/fzf/issues/137
And you can use different screen layouts with :!fzf.
" fzf opens in a terminal buffer on a split window
echo fzf#run({'source': 'ls', 'left': '40%'})

So why bother? If you rely on the return value of fzf#run, the code will not run on Neovim, and you can only use fullscreen mode.


YOLO based ball detection -

With trained YOLO model and deprojection we can find the ball position based on RGBD data now.

closes #15 and #18

Entire tf tree now


sample XMI file..

Hi,
I think many people are requesting it. and it will also minimize the constant / duplicate questions in uml issue list.
Can you please provide the sample XMI file for the example given in "A complete example" section of
http://jhipster.github.io/jhipster_uml.html. So that we can refer to it, and understand easily correct ways of doing things.
will be of great help.

Of course. Just go there. This is where we keep our XMI files. For instance, if you'd want to see how the example is generated with Modelio, the file to use would be modelio.xmi.
I'll add it to the doc, thanks.

Thanks  a ton.
I searched at lot many places for this then posted this one.
forgot to look at the test folder...sorry.

Don't be. You were right to post an issue.


Updated with complete list of Divination Cards (excluding new Crucible cards)

All information from the wiki (https://www.poewiki.net/wiki/List_of_divination_cards).
Maelström of Chaos references contain the special char, unsure if this problematic?
Unconfirmed / speculated drop locations have been included.
Attempted to re-order boss drop locations by Act (Campaign) locations > Map locations, but may not have caught them all.

Thank you so much for the effort, it's upsetting that someone has committed a similar PR just a few hours earlier that was accepted back then.
Closing due to redundancy


Failed to build Docker image

Issue: docker build command fails

Command trace:

cd ib-gateway-docker/
docker-compose build

Error trace:

Building ib-gateway

[+] Building 41.8s (11/27)
 => [internal] load build definition from Dockerfile                                                                                0.1s
 => => transferring dockerfile: 2.24kB                                                                                0.0s
 => [internal] load .dockerignore                                                                                0.1s
 => => transferring context: 2B                                                                                0.0s
 => [internal] load metadata for docker.io/library/ubuntu:20.04                                                                                16.7s
 => [setup  1/17] FROM docker.io/library/ubuntu:20.04@sha256:626ffe58f6e7566e00254b638eb7e0f3b11d4da9675088f4781a50ae288f3322                          0.0s
 => [internal] load build context                                                                                0.2s
 => => transferring context: 1.44kB                                                                                0.2s
 => CACHED [setup  2/17] RUN apt-get update -y                                                                                0.0s
 => CACHED [setup  3/17] RUN apt-get install --no-install-recommends --yes   curl   ca-certificates   unzip                                            0.0s
 => CACHED [setup  4/17] WORKDIR /tmp/setup                                                                                0.0s
 => [setup  5/17] COPY ibgateway-1010-standalone-linux-x64.sh.sha256 .                                                                                0.1s
 => [setup  6/17] RUN curl -sSL https://github.com/waytrade/ib-gateway-docker/releases/download/v1010/ibgateway-1010-standalone-linux-x64.sh --outpu  23.7s
 => ERROR [setup  7/17] RUN sha256sum --check ibgateway-1010-standalone-linux-x64.sh.sha256                                                            0.9s
------
 > [setup  7/17] RUN sha256sum --check ibgateway-1010-standalone-linux-x64.sh.sha256:
: FAILED open or read010-standalone-linux-x64.sh
#14 0.819 sha256sum: 'ibgateway-1010-standalone-linux-x64.sh'$'\r': No such file or directory
#14 0.819 sha256sum: WARNING: 1 listed file could not be read
------
executor failed running [/bin/sh -c sha256sum --check ibgateway-${IB_GATEWAY_VERSION}-standalone-linux-x64.sh.sha256]: exit code: 1
ERROR: Service 'ib-gateway' failed to build : Build failed

Have you edited ibgateway-1010-standalone-linux-x64.sh.sha256?
#14 0.819 sha256sum: 'ibgateway-1010-standalone-linux-x64.sh'$'\r': No such file or directory means the line on ibgateway-1010-standalone-linux-x64.sh.sha256 ends with CLRF (DOS), but should be LF (UNIX)
Wondering where this comes from because the 1010-standalone-linux-x64.sh.sha256 has LF and build works, same it does on CI.

@mfrener I did not edit the file, but faced a similar issue with CLRF in some of the bash scripts. I will do the same with the SHA256 file and let you know.

I fixed the CLRF for the checksum file and everything worked. Thanks for the tip!


Add OpenSourcePlaces from openstreetmap.org

Summary

Proposed Readable Name: Utah Source Places
Proposed Internal Dataset Name: OpenSourcePlaces
Proposed External Dataset Name: open_source_places
Proposed Data Category: SOCIETY
Data Description: This data contains places of interest that are derived from OpenStreetMap.
Source Agency/Entity: UGRC
Contact: Erik Neemann
Update Frequency: Monthly

This is a new offering that is created from OpenStreetMap (OSM) data and is intended to represent places of interest in the state of Utah.  These may include businesses, restaurants, places of worship, airports, parks, schools, event centers, apartment complexes, hotels, car dealerships…almost anything that you can find in OSM.  Several OSM datasets are combined into a single point layer of locations in Utah.
The data should be available in
1 Check [x] all the areas where you expect the data to show up.

[x] Internal SGID
[x] Open SGID
[x] ArcGIS Online
[x] Open Data

The data is of high quality

[x] Sweeper checks have run and passed (@eneemann on 2022/03/10)
[x] The minimum requirements for metadata are populated (@eneemann on 2022/03/07)
[x] The data complies with our domain rules (@eneemann on 2022/03/07)

Where is the data source
Choose one.

[x] Internal SGID
[x] ~Farm from AGOL (agol item url)~

Action items

Assign a person who should complete the task by replacing name with their github @name.
Check [x] the box when the task is completed and add the date of completion.
~Strike~ out all items that do not apply.

[x] Add data to the Internal SGID (@eneemann, completed: 2022/03/16)
[x] ~Configure forklift for Farm from AGOL (@eneemann, completed: 2022/00/00)~
[x] Update relevant gis.utah.gov data pages (@eneemann, completed: 2022/03/18)
[x] Add a Stewardship record (@eneemann, completed: 2022/03/16)
[x] Complete a SGID.META.AGOLItems record (@eneemann, completed: 2022/03/16)
[x] ~Complete an AGOLItems_shelved record for any static or shelved item (name, completed: 2022/00/00)~
[x] Adapt Sweeper to prevent the license on this layer from being overwritten (name, completed: 2022/03/16)

:robot: Automation validation

Assign yourself or someone to check the item by replacing name with their github @name.
Check [x] the box and add the date of verification 2020/01/01 when the task is verified.
~Strike~ out all items that do not apply.

[x] Open SGID via cloudb (@steveoh on 2022/03/18)
[x] ArcGIS Online via forklift (@stdavis on 2022/03/18)
[x] Auditor ran successfully (@jacobdadams on 2022/03/12)
[x] Open Data (@eneemann on 2022/03/18)
[x] gis.utah.gov data pages (@eneemann on 2022/03/18)
[x] sgid-index (@steveoh on 2022/03/18)

Notification

[x] Twitter (@steveoh)

Group Task Assignments

Check [x] the box when you have assigned all the tasks relevant to your group.

[x] Data Team (@gregbunce)
[x] Dev Team (@steveoh)
[x] Cadastre Team (@rkelson)

@eneemann I don't believe that this dataset has the appropriate user permissions in sgid internal. For example, the internal user should have read permissions for it. That's the user that forklift uses.

let me know if you need help with that, erik.
On Thu, Mar 10, 2022 at 3:19 PM Scott Davis @.***>
wrote:

@eneemann https://github.com/eneemann I don't believe that this dataset
has the appropriate user permissions in sgid internal. For example, the
internal user should have read permissions for it. That's the user that
forklift uses.
—
Reply to this email directly, view it on GitHub
https://github.com/agrc/porter/issues/180#issuecomment-1064563166, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AEA7QTGE24Q3HIWH3VZ2PTLU7JYNXANCNFSM5QEBT23A
.
You are receiving this because you were mentioned.Message ID:
@.***>

--
Greg Bunce
Utah Geospatial Resource Center http://gis.utah.gov/
801.349.0039

@gregbunce yes, please assist.  This was my first time adding a completely new layer to Internal.  I just did the 'right-click' > 'Import' > 'Feature Class' thing from Catalog.  Maybe I need some hand-holding...

k.  i'll hit you up in chat.
On Thu, Mar 10, 2022 at 3:30 PM Erik Neemann @.***>
wrote:

@gregbunce https://github.com/gregbunce yes, please assist. This was my
first time adding a completely new layer to Internal. I just did the
'right-click' > 'Import' > 'Feature Class' thing from Catalog. Maybe I need
some hand-holding...
—
Reply to this email directly, view it on GitHub
https://github.com/agrc/porter/issues/180#issuecomment-1064573572, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AEA7QTAMW5AZH4BEYWOL5Z3U7JZYNANCNFSM5QEBT23A
.
You are receiving this because you were mentioned.Message ID:
@.***>

--
Greg Bunce
Utah Geospatial Resource Center http://gis.utah.gov/
801.349.0039

@eneemann I don't believe that this dataset has the appropriate user permissions in sgid internal. For example, the internal user should have read permissions for it. That's the user that forklift uses.

okay @stdavis, I updated the permissions.  Will forklift automatically try again tonight?

Will forklift automatically try again tonight?

Yes

@stdavis This doesn't seem to be showing up in the SGID Index yet. Do you know if that's built on a schedule and it just hasn't happened yet?  Or did I screw something up on the stewardship spreadsheet?

It's waiting in a pr for the ago id
AGOL ID is: 03d363c7fa554aaea41f407707fdfb8a and the Data Page is live, downloads work.

I don't know much about the sgid index update process. I assume that this is the PR that @steveoh is referring to. I don't see anything about an AGOL id. But that branch may need to be rebased against master. @steveoh Do you want me to do that?

Closing this issue as all tasks are now complete (3/15/2022).

Reopening...we need to change the name on this layer.

conductor results for tasks - 180

check
status

eneemann has completed 9 out of 9 tasks
:+1:

steveoh has completed 4 out of 4 tasks
:+1:

stdavis has completed 1 out of 1 tasks
:+1:

@jacobdadams has completed 0 out of 1 tasks
:no_entry:

gregbunce has completed 1 out of 1 tasks
:+1:

rkelson has completed 1 out of 1 tasks
:+1:

conductor results for SOCIETY.OpenSourcePlaces

check
status

internal sgid
:+1:

meta table

- item id
:+1:

- item name
:+1:

- geometry type
:+1:

open sgid
:+1:

open data
:+1:

arcgis online
:+1:

stewardship

- Description
:+1:

- Data Source
:+1:

- Website URL
:+1:

- Endpoint
:+1:

- Data Type
:+1:

Sorry, I think I must have missed it when we reset due to changing the name. Auditor has run successfully ✔

conductor results for SOCIETY.OpenSourcePlaces
meta table
stewardship

I'm not sure exactly why these two checks didn't get the 👍, but I think everything's good to go once they pass.

All tasks have been completed (Jake verified Auditor), so this task will be closed.


Update examples that use admin.firestore() to exclude deprecated features

Many examples using admin.firestore() will throw an error message if used as-is, because by default it is using deprecated features. An example and workaround are provided below, along with how to search for all occurrences.
Repro steps

Copy and deploy presence-firestore/functions/index.js

Example:
const firestore = admin.firestore();
Workaround/fix

Include the following configuration before using firestore:

const firestore = admin.firestore();
const settings = {timestampsInSnapshots: true};
firestore.settings(settings);

How to search for occurrences
https://github.com/firebase/functions-samples/search?q=admin.firestore&unscoped_q=admin.firestore

No longer an issue, as the behavior changed in 5.8


dotnet test fails if solution has sqlproj and data tools missing

in case of solution has sqlproj, attempt to run dotnet test fails with error:

error MSB4019: The imported project "/usr/local/share/dotnet/sdk/7.0.201/Microsoft/VisualStudio/v11.0/SSDT/Microsoft.Data.Tools.Schema.SqlTasks.targets" was not found. Confirm that the expression in the Import declaration "/usr/local/share/dotnet/sdk/7.0.201//Microsoft/VisualStudio/v11.0/SSDT/Microsoft.Data.Tools.Schema.SqlTasks.targets" is correct, and that the file exists on disk.

Note: this is because of lack of data tools being installed which may be a case especially in different ci like github actions
expectations are: either download and install wanted targets the same way as it is happening for dependencies or allow ignore projects with missing targets when running tests or do nothing :)
just wanted to share because suddenly got an complain from one of engineers about broken builds and as a workaround for now, before running dotnet test we are executing for file in */*.sqlproj; do dotnet sln remove "$file"; done, may be will be helpful if someone struggling with same issue

@mac2000 thanks for your report. Could you please open this in https://github.com/dotnet/SqlClient. It can be a better place to get SQL look or redirect this.

I don't have permissions but maybe someone could transfer the issue since this is in the same org. @richlander?

@mairaw I already tried to transfer it, but I couldn't find the sqlclient repo in the list that I can transfer to :-(

Thank you, did cross posted it to sqlrepo
https://github.com/dotnet/SqlClient/issues/2138


chore: test-python-jenkins to 0.0.6

chore: Promote test-python-jenkins to version 0.0.6

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


⚠ Samsung has degraded performance

In fdda7fb, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2295 ms

Resolved: Samsung performance has improved in 13edc34.


I am having a similar issue to #1531, which is closed.

I am having a very similar issue to #1531, which is closed.
Half my users get a crash that looks a lot like the above, but for the others it works fine. I am using code based on "Tuner" in "Cookbook". This has happened with both v4 and v5.
I wish I could get the crash to happen for me, but my app works on all of my iPhones and iPads and those to which I have access.

How is this actionable with the given information?

How is this actionable with the given information?


Error validating link in 3.10.0

I updated from 3.8.7 to 3.8.10, and now I get an error when my markdown contains:
![Buy](https://storage.googleapis.com/sourcegraph-assets/Vendr%20-%20Buy%20%231.jpg)
The script works as follows:
    const results = await checkMarkdownLinks(content, {
        baseUrl: pathToFileURL(path.dirname(absoluteFilePath)).href,
        ignorePatterns: [
            {
                // Ignore external links as they would cause irreproducable builds
                // Exception: our Google Cloud Storage URLs, as only admins are allowed to delete files so the chance of builds breaking is low.
                pattern:
                    /^https?:\/\/(?!(cors-anywhere.sgdev.org\/https?:\/\/)?sourcegraphstatic.com\/|storage.googleapis.com\/sourcegraph-assets\/)/,
            },
        ],
    })

I receive the following errror:
node:internal/streams/writable:312
      throw new ERR_INVALID_ARG_TYPE(
      ^

TypeError [ERR_INVALID_ARG_TYPE]: The "chunk" argument must be of type string or an instance of Buffer or Uint8Array. Received an instance of Object
    at new NodeError (node:internal/errors:371:5)
    at _write (node:internal/streams/writable:312:13)
    at BlackHole.Writable.write (node:internal/streams/writable:334:10)
    at PassThrough.ondata (node:internal/streams/readable:754:22)
    at PassThrough.emit (node:events:390:28)
    at PassThrough.Readable.read (node:internal/streams/readable:527:10)
    at PassThrough.<anonymous> (/Users/jason/code/handbook/node_modules/needle/lib/needle.js:711:32)
    at PassThrough.emit (node:events:390:28)
    at emitReadable_ (node:internal/streams/readable:578:12)
    at processTicksAndRejections (node:internal/process/task_queues:82:21) {
  code: 'ERR_INVALID_ARG_TYPE'
}
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

This seems to only occur in 3.10.0. I suspect it has something to do with the ignore pattern, rather than the escape characters in the URL.

I've merged the changes into link-check and updated the dependencies of this module. The latest release should fix the problem. If not, please re-open.


web.config prevents static html files from returning

When I set up continous deployment from github for my web app, the web.config file that was introduced by visualstudioonline.com's release manager stopped my html files from being served. When I deleted the web.config, the files would be served again. However, the continuous deployment transferred the web.config file over again and broke my app again.
Also, the readme.me that is linked to from the web.config settings in release manager doesn't document the web.config propoperty it is linked from:
https://github.com/Microsoft/vsts-tasks/blob/master/Tasks/AzureRmWebAppDeployment/README.md

Can you please specify for which 'Application framework' are you facing this issue? Also, what input values have you specified for web.config parameters?

I specified Node.js when creating the app, though I'm using static HTML and
client side Javascript only.
When the project was created from the Azure portal, I don't believe I was
prompted for web.config parameters. I discovered them through
troubleshooting. When I deleted the web.config file and then unchecked the
option for web.config, my static html files were served.
On Sun, Jul 30, 2017 at 11:04 PM, Disha Khakhar<EMAIL_ADDRESS>wrote:

Can you please specify for which 'Application framework' are you facing
this issue? Also, what input values have you specified for web.config
parameters?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Microsoft/vsts-tasks/issues/4908#issuecomment-318976279,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACiW8eOUko9Fw7WFOhV33BykOLnhlhYoks5sTW6GgaJpZM4OnqnT
.

When Node.js option is selected as app framework, it is assumed that server code will be there. Since your project has only client side javascript, web.config file is not needed. Under Azure RM Deployment task, uncheck 'generate web.config' option and save. This will ensure web.config file is not added every time deployment is triggered.

Is there another option which allows for client side javascript? The options I see are ASP.Net, ASP.Net Core, Node.js, PHP and Python.

Presently there is no option for this particular scenario. You can use Node.js option for one time set up of Continuous Deployment and modify the Release Definition as I mentioned above. We may support such cases in future if the requirement arises.

@azooinmyluggage Are we planning to support such scenarios in future?

Hi @tomresing
Sorry for the inconvenience. Support for static site as well as client side js frameworks is in our backlog. We are also adding support for other npm build scenarios too.
I hope un-checking the "Generate web.config" option in App service Deploy task has unblocked you. Let us  know if you need any help in setting up CI-CD for your app. Happy to help!!
regards,
Atul Malaviya

Thanks. It works when I uncheck that option. It was hard to discover, so I thought I should report. Glad to hear your adding support for static sites and client side Javascript.


Vpc property maxAZs is ignored

I'm submitting a ...

[x] :beetle: bug report
[ ] :rocket: feature request
[ ] :books: construct library gap
[ ] :phone: security issue or vulnerability => Please see policy
[ ] :question: support request => Please see note at the top of this template.

What is the current behavior?
If the current behavior is a :beetle:bug:beetle:: Please provide the steps to reproduce

If I create a brand new stack, specify a region that has at least 3 AZs (ex: eu-central-1) and create a Vpc.
new MaxAzTestStack(app, 'MaxAzTestStack', {
  env: {
    region: 'us-east-1'
  }
});

export class MaxAzTestStack extends cdk.Stack {
  constructor(scope: cdk.Construct, id: string, props?: cdk.StackProps) {
    super(scope, id, props);

    new ec2.Vpc(this,'test', { })
  }
}

The Vpc spans two AZ and creates 4 Subnets

What is the expected behavior (or behavior of feature suggested)?

Deploying the stack should create a VPC that spans 3 AZs as described in the propeprty maxAZs of the Vpc, but the value is ignored (even if set to 99)

What is the motivation / use case for changing the behavior or adding this feature?

The maxAZs property is required to create a vpc network that needs more than 2 AZs

Please tell us about your environment:

CDK CLI Version: 0.37.0
Module Version: 0.37.0
OS: Windwos 10
Language: TypeScript

Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. associated pull-request, stackoverflow, gitter, etc)

You have to set account in your env. See #3083


rake neo4j:install should warn that auth is being disabled

Allow for an environment variable to disable this behavior (and mention the environment variable in the warning)

A hundred :+1:'s

Moved to https://github.com/neo4jrb/neo4j-rake_tasks/issues/2