Can't install PrimeCMS on my Windows PC

After running these two commands on my windows pc:
> npm install -g @primecms/cli
> primecms init my-project

I enter the name of the project, postgres username, password and database.
Then it crashes with this:
C:\Users\Jeremie-Desktop\AppData\Roaming\npm\node_modules\@primecms\cli\node_modules\yoga-layout-prebuilt\yoga-layout\build\Release\nbind.js:53
        throw ex;
        ^

Error: spawn yarn ENOENT
    at Process.ChildProcess._handle.onexit (internal/child_process.js:240:19)
    at onErrorNT (internal/child_process.js:415:16)
    at process._tickCallback (internal/process/next_tick.js:63:19)

It does create the folder with some files, namely:

.editorconfig
.env
.gitignore
app.json
index.js
package.json
README.md

I then run "yarn" to install the packages.
Followed by "primecms start"
At this point I do get this:
prime:core building schema +0ms
prime:graphql building schema +0ms
prime:server � Server ready at http://localhost:4000/prime/graphql +0ms
prime:server � Subscriptions ready at ws://localhost:4000/graphql +0ms

When I go to http://localhost:4000/graphql I do get the playground, but if I go to http://localhost:4000 I get a "Network Error" after a few seconds.
When I check the console, similarly to #224, I get:
Could not parse prime config SyntaxError: Unexpected token W in JSON at position 251
    at JSON.parse (<anonymous>)
    at Module.1101 (main.529cbcdc.chunk.js:1)
    at f (localhost/:1)
    at Object.532 (main.529cbcdc.chunk.js:1)
    at f (localhost/:1)
    at a (localhost/:1)
    at Array.e [as push] (localhost/:1)
    at main.529cbcdc.chunk.js:1

Which makes sense because a config file was never generated...
I have tried every installation methods and none of them work on my PC, I have similarly tried on a mac without issues.

Can you try the manual installation?
You can use either yarn or npm.
npm init
npm install -S @primecms/core @primecms/ui

createdb prime

After running createdb prime I get:

createdb: command not found

You need to install postgres 👍

That's my bad I didn't have it in my PATH, ok I did that and it does create an empty db called prime.
What are the next steps?
I now have a folder with a node_modules, a package.json and package-lock.json
As well as an empty database called prime.

I have also experienced such problem with JSON parsing:
Could not parse prime config SyntaxError: Unexpected token W in JSON at position 251
    at JSON.parse (<anonymous>)
    at Module.1101 (main.529cbcdc.chunk.js:1)
    at f (localhost/:1)
    at Object.532 (main.529cbcdc.chunk.js:1)
    at f (localhost/:1)
    at a (localhost/:1)
    at Array.e [as push] (localhost/:1)
    at main.529cbcdc.chunk.js:1

This happening due to the windows paths parsing. Seems to be you are not testing up&run on windows PC.
the buggy code located here:
let config = get(window, 'prime.config', '');
let coreUrl = isProd ? '/' : 'http://localhost:4000';
const fields: any = [];
let env: any = {};

try {
  **config = JSON,parse(config)** <--- parsing brakes at processing win path like C:\project\prime_cms\
  coreUrl = config.coreUrl || coreUrl;
  env = config.env || env;
} catch (err) {
  if (isProd) {
    console.error('Could not parse prime config', err); // tslint:disable-line no-console
  }
}

I have found a root cause.
You have to fix the code in file serveUI (e.g. with adding one extra stringify and remove redundant quotes) at line:
res.send(data.toString().replace('"$PRIME_CONFIG$"', `${  JSON.stringify( JSON.stringify(config))}`));

also in file fields.js it would be better to use more universal regexp:
.replace(/\/?\\?package.json$/, '');

For me this also didn't work on Windows, I just tried to clone the repository and then entered yarn install and then  yarn run setup but it fails trying to link the packages :
error An unexpected error occurred: "ENOENT: no such file or directory, stat<EMAIL_ADDRESS>so might not work cross-env or I'must be doing something wrong, some suggestions:

improve documentation if possible
use cross-env scripts or use containers

I'd be glad to help out if I can


[BUG] memory - azure openai embedder

Description
using https://docs.crewai.com/concepts/memory#using-azure-openai-embeddings script returns an error with EmbeddingFunction.__call__
Steps to Reproduce
use https://docs.crewai.com/concepts/memory#using-azure-openai-embeddings in crew
Expected behavior
no errors - working memory
Screenshots/Code snippets

Operating System
Windows 11
Python Version
3.12
crewAI Version
0.74.0
crewAI Tools Version
0.13.1
Virtual Environment
Venv
Evidence
...
Value error, Expected EmbeddingFunction.__call__ to have the following signature: odict_keys(['self', 'input']), got odict_keys(['args', 'kwargs'])
...

Possible Solution
none
Additional context
none

oh i have checked docs - working now :)
from chromadb.utils import embedding_functions

plus crewaidocs https://docs.crewai.com/concepts/memory#using-azure-openai-embeddings


Move the bigtable code to ::google::cloud

We have an internal discussion (in go/gcs-cpp:surface-dd) around the namespace (and headers) for the CBT-C++ classes and headers.  My proposal is to move them to ::google::cloud::bigtable. Other proposals, such as ::gcp::bigtable and ::google::bigtable also have merits, but we will keep the discussion here simple.
If we want to make this change we have to make it now, before Beta.  This change will impact how the library is perceived by external users (part of a larger collection of Google Cloud libraries, or a standalone C++ client for bigtable).
This proposal is to change the namespaces and headers as follows:

Before
After

Include Headers
"bigtable/client/table.h"
"google/cloud/bigtable/table.h"

Namespace
::bigtable::Table
::google::cloud::bigtable::Table

FYI: @sduskis @garye @DanielMahu @paprat @hemant-qlogic @manish-qlogic @roopak-qlogic in case they have an opinion they want to express.
FYI: @ghaisa @mbrukman in case this is a terrible idea from a product perspective.

I think can we have a hierarchy like this.
All the classes which are directly related to underline bigtable objects like "Table", "Instance" ,"Cell" can be moved into a folder "model" as it represents direct data present in google could bigtable and keep its Admin classes on the normal hierarchy as follows
"google/cloud/bigtable/model/table.h"  ====> google::cloud::bigtable::model::Table
"google/cloud/bigtable/TableAdmin.h" ====>  google::cloud::bigtable::TableAdmin
Similar for operations like read, readwrite and policy etc.
So it will group the related classes and single folder will not have lots of classes together.

google/cloud/bigtable/table.h and ::google::cloud::bigtable::Table LGTM, because it will match what is done for other languages that similarly have namespaces, e.g., see:

Python: https://github.com/GoogleCloudPlatform/google-cloud-python/tree/master/bigtable/google/cloud/bigtable
Java: https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable
.NET: https://github.com/GoogleCloudPlatform/google-cloud-dotnet/tree/master/apis/Google.Cloud.Bigtable.V2/Google.Cloud.Bigtable.V2


FileSystemException: lock failed

[ERROR:flutter/lib/ui/ui_dart_state.cc(186)] Unhandled Exception: FileSystemException: lock failed, path = 'C:\Users\Rupam\Documents/Apps_Box.gs' (OS Error: The process cannot access the file because another process has locked a portion of the file.
, errno = 33)

Any news on this? I'm not able to erase any box.


Add airport codes as a phrase part type

Good list here: https://www.faa.gov/airports/planning_capacity/passenger_allcargo_stats/passenger/media/preliminary-cy19-commercial-service-enplanements.pdf

Think the link is broken above, should be Enplanements at All Commercial Service Airports.
So a list of the Locid's from column four ?

Yep, that's the right file and LocIds is what I was thinking. Either all uppercase like state abbreviations, or lowercase would also be fine... you can decide.

Or would you be interested in me sourcing a global list for higher entropy ?

It's a tradeoff between security (higher entropy) and memorability.
So far, I've been biasing toward memorability, because the internet already has a bunch of password generators that produce meaningless and hard-to-memorize strings. Hence why the word bank is limited to Voice of America vocabulary (just a thousand words), and we have some low-entropy but memorable wordbanks like colors and US state abbreviations. Also, I had to make the decision that the audience of this web site is English speakers and (probably) US residents, so we want to maximize memorability for this audience rather than for the entire world.
Given all that, my preference would be to stick to US airports. For a random US airport code, I can probably guess what city and state it's for. But that wouldn't be true if I was given an airport code from a global list.

Thanks for the input. Will focus on the US codes, and PR my fork once its ready.


Events Api migration

Description of issue
New events object since 1.19
Kubernetes docs recommends migrating to new events object available since 1.19
api group events.k8s.io
I would recommend updating the events object in 1-25, 26 and newer versions of kubernetes so users aren't confused why you have an old version there
https://kubernetes.io/docs/reference/using-api/deprecation-guide/#v1-25

I just updated the kubernetes open api spec for 1.23-1.27 into this repo. These files are directly copied from the official kubernetes project here, so if its still wrong I'd open an issue with them and let them know their openapi spec needs updated for that specific version of kubernetes.


Use imap instead of hosting a mail server.

I already have a mail server, keep it simple.

You may be interested in this implementation. I no longer use or support it, but it’s closer to what you want: it does use a separate mail server but not IMAP. I, for one, found it simpler to have the application be a mail server instead of configuring a separate mail server. To each its own…


Fix for https://github.com/instructlab/training/issues/254

Added checks for resolving the issue reported in https://github.com/instructlab/training/issues/254

@RobotSail Can you please review this ?

Thanks for this PR @ashna000, this will be a really important fix ! I've left a comment on how we should handle this problem.

@ashna000 these still need to be squashed


Ia material UI X508 compliance?

@KalpanaPagariya Can you provide more detail? A quick google search of "UI X508" does not provide any useful results.

Question? This helps us keep issues for... issues. :smile: Thanks!


Question Regarding Entity Embeddings

Hi. I just had a question regarding the entity embeddings used in the model. Specifically, I'm trying to run the LUKE model on relation extraction.
I've noticed that the entity_vocab_size is set to 3, and the entity_ids are hard-coded to be [1, 2]. I'm just curious why this might be? My impression for [1, 2] is that the TACRED dataset assumes that there are only two entities in a given text and therefore the entity IDs would be the same, but please let me know if I'm incorrect.
Also, do you think it would be possible to run LUKE on datasets where a data sample may have a variable number of entity mentions? My impression is that the implementation wouldn't be straightforward because I'm getting the feeling that utilizing the EntityEmbeddings may be a bit tricky.
Thanks for your help.

Hi,

I've noticed that the entity_vocab_size is set to 3, and the entity_ids are hard-coded to be [1, 2]. I'm just curious why this might be? My impression for [1, 2] is that the TACRED dataset assumes that there are only two entities in a given text and therefore the entity IDs would be the same, but please let me know if I'm incorrect.

This is correct. Entity with ID 1 and that with ID 2 correspond to head and tail entities, respectively.

Also, do you think it would be possible to run LUKE on datasets where a data sample may have a variable number of entity mentions? My impression is that the implementation wouldn't be straightforward because I'm getting the feeling that utilizing the EntityEmbeddings may be a bit tricky.

I think it is possible to compute representations of the variable number of entity mentions in a straightforward way by inputting corresponding entity sequence. The example code of entity_span_qa and ner handles a variable number of entity mentions. If your task is relation classification, the code to compute loss between entity pairs may be a bit challenging.

Sorry for the late reply, and yes I believe that you're correct. Thanks!


[url_launcher_linux] Add Linux url_launcher plugin

Description
Add Linux url_launcher plugin.
Related Issues
https://github.com/flutter/flutter/issues/41721
Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[ ] My PR includes unit or integration tests for all changed/updated/fixed behaviors (See Contributor Guide).
[x] All existing and new tests are passing.
[x] I updated/added relevant documentation (doc comments with ///).
[x] The analyzer (flutter analyze) does not report any problems on my PR.
[x] I read and followed the Flutter Style Guide.
[x] The title of the PR starts with the name of the plugin surrounded by square brackets, e.g. [shared_preferences]
[x] I updated pubspec.yaml with an appropriate new version according to the pub versioning philosophy.
[x] I updated CHANGELOG.md to add a description of the change.
[x] I signed the CLA.
[x] I am willing to follow-up on review comments in a timely manner.

Breaking Change
Does your PR require plugin users to manually update their apps to accommodate your change?

[ ] Yes, this is a breaking change (please indicate a breaking change in CHANGELOG.md and increment major revision).
[x] No, this is not a breaking change.

This should have an example and test, as with all the other plugins in flutter/plugins.

cough url_launcher_macos cough :eyes:

This should have an example and test, as with all the other plugins in flutter/plugins.

cough url_launcher_macos cough 👀

https://github.com/flutter/plugins/blob/master/packages/url_launcher/url_launcher_macos/example/test_driver/

Added tests that should be driven by CI. That found:

The example didn't compile, because the CMake project name didn't match the plugin name (url_launcher vs url_launcher_linux)
The return value for canLaunch for a bogus URL didn't match the existing mobile test expectations (an error rather than false), so I changed that for consistent behavior with existing code.

Still one test failure, which CI isn't picking up (filed https://github.com/flutter/flutter/issues/60943).

Published; PR to endorse it will follow.


⚠ ClamAV has degraded performance

In 8bad136, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 150 ms

Resolved: ClamAV performance has improved in ea9f123.


Make Scheduler import in IntelliJ

Scheduler currently doesn't work well with IntelliJ. See https://youtrack.jetbrains.com/issue/SCL-10768
We should see whether this is due to our sbt setup, maybe simplify it, check whether there are restrictions in multi-module setups, etcetera. Worst case, we may even have to check in project info (which is portable these days, so not as bad as it used to be).

(PD internal linked Jira ticket: CORE-996)


make package names lowercase

remove CamelCase from package names.

Thanks for the hint! Will do.

done :)

Package name is changed, thanks.
Just one more convention to follow: it might be useful to also change the source path names to lowercase, i.e., src/converTor to src/convertor.

did that too, thanks!

Thanks!
Is it committed to github? At least I couldn't see the change in the code overview: https://github.com/tomlurge/converTor/commit/ee2200f5fc7c556797ad869eb46c59599c3dc016

Aha. That's strange. It is changed in my code, the IDE shows it correctly, the folder is named correctly but my Git-client does, like GitHub, still show the camelCased name. Right now I'm cluesless...

Okay, brute forced Git into recognizing the CaseChange.


Generated files are sometimes merged with wrong assemblies

Version of the Meziantou.Polyfill NuGet package
1.0.39
Description
I am still trying to figure out what exactly is happening here, but it started when I upgraded from .Net Framework 4.7.2 to 4.8, although I don't think it's the target framework that is causing this issue. It must be something else.
When I build, I get compilation errors like the following:
 error CS0518: Predefined type 'System.Runtime.CompilerServices.IsExternalInit' is not defined or imported

When I checked the source to see where the files are getting injected to, I found the following.
#region Assembly YamlDotNet, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=ec19458f3c15af5e
// C:\Users\G99202\.nuget\packages\yamldotnet\16.0.0\lib\net47\YamlDotNet.dll
// Decompiled with ICSharpCode.Decompiler <IP_ADDRESS>64
#endregion

namespace System.Diagnostics.CodeAnalysis;

[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Parameter, Inherited = false)]
[ExcludeFromCodeCoverage]
[DebuggerNonUserCode]
internal sealed class DisallowNullAttribute : Attribute
{
}
#if false // Decompilation log
'279' items in cache
------------------
Resolve: 'mscorlib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b77a5c561934e089'
Found single assembly: 'mscorlib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b77a5c561934e089'
Load from: 'C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.8\mscorlib.dll'
------------------
Resolve: 'System, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b77a5c561934e089'
Found single assembly: 'System, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b77a5c561934e089'
Load from: 'C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.8\System.dll'
------------------
Resolve: 'System.Core, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b77a5c561934e089'
Found single assembly: 'System.Core, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b77a5c561934e089'
Load from: 'C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.8\System.Core.dll'
#endif

For some reason they types ended up in Yamldotnet and because they are generated as internal they aren't accessible to the main assembly being built.
Reproduction Steps
Not exactly sure, but for me what triggered the issue, was to upgrade from .Net Framework 4.7.2 to 4.8 in a class library. This is the project that it happened to: https://github.com/rezanid/xrmtools/tree/assembly-to-config-file
Other information
I am using the latest released version of Visual Studio 2022.
Microsoft Visual Studio Professional 2022 (64-bit) - Current
Version 17.11.1
I have the following in my csproj file.
    <PackageReference Include="Meziantou.Polyfill">
      <Version>1.0.39</Version>
      <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
      <PrivateAssets>all</PrivateAssets>
    </PackageReference>

I also noticed I have the same issue with PollySharp

Although the root cause is not clear, my issue has been solved by reverting the change and upgrading to .Net Framwork 4.8 again. The only thing I did differently this time it to open the csproj file and change the <TargetFrameworkVersion>v4.8</TargetFrameworkVersion> directly instead of relying on the properties tab of the project. I guess we have to blame this one on VS.
I hope this issue helps someone else out there one day ;)

It seems the code generation is done correctly this time:


withIAPContext freeze my custom context

Please use Discussion board if you want get some help out of it. Please report issue if there is a bug.

Version of react-native-iap
7.4.1
Version of react-native
0.64.2
Platforms you faced the error (IOS or Android or both?)
Both
Expected behavior
Update state of my Providers.
I read data from local database and save on my context and the data does not update.
Actual behavior
Using withIAPContext State data does not update
Tested environment (Emulator? Real Device?)
Emulator
Steps to reproduce the behavior
import React from "react";
import { Provider } from "react-redux";
import { MenuProvider } from 'react-native-popup-menu';
import { NativeBaseProvider } from 'native-base';
import { withIAPContext } from 'react-native-iap';

import AppNavigation from "./src/routes";
import store from "./src/utils/store";
import { TabProvider } from "./src/utils/TabProvider";

const Root = () => (
    <Provider store={store}>
        <NativeBaseProvider>
            <TabProvider>
                <MenuProvider>
                    <AppNavigation />
                </MenuProvider>
            </TabProvider>
        </NativeBaseProvider>
    </Provider>
)

export default withIAPContext(Root);

My app stuck on loading because the value on my custom context doesn't update.

@r0b0t3d  May you kindly check this issue as a contributor of #1482? :pray:

Hi @ithustle , Let me try to reproduce this case. But could you please clarify

Where is the data that didn't update? In redux's state or your custom context?
Your app works well without useIAPContext?

Hi @r0b0t3d. Sorry for delay.

My custom context. Redux state works fine.
Yep. For now, I had to downgrade to v6.

Hi @ithustle , I created a sample repo here https://github.com/r0b0t3d/IapExample.
In this example, I have a custom context that load data from async storage. But I could not reproduce the issue, the value is loaded successfully after refreshing.


Value of an empty cell

Hi,
I have read in an Excel workbook that has some complicated formulas. The functions used by these fourmulas are all supported by Reogrid - LEN, TRIM, LEFT, etc.
But the formulas are failing, and the reason seems to be when an empty cell is examined. The Excel formula is like:
    =IF(W3="", "<empty>", "<value>")

but if W3 is indeed empty the formula evaluation is still giving "", and I think the value is a nueric zero.
I tried changing the test to be LEN(W3)=0, but that did not change the result.
Is there a configuration option I need to set somewhere, or is this an inherent limitation of fault in the processing?
Thanks for any help
Kevin

Do you want to check whether a cell has value or not?

Hi, thanks for getting back to me on this.
Rereading my original message it now seems to be less clear that it could be.
What I was looking for, was for the spreadsheet functions TRIM, LEFT, RIGHT, LEN (and maybe other similar function too) to treat a non-existent (null) cell in a spreadsheet as being a zero-length string.
I created a workaround by modifying my formulas to use ISBLANK before applying LEN, TRIM, LEFT, etc, and created a custom implementation for ISBLANK.
static object func_ISBLANK(Cell celCurr, params object[] args) {

    bool blnNullArg = (args[0] == null);

    bool blnIsBlank = blnNullArg || (args[0].ToString() == "");

     return (bool)blnIsBlank;

}

It works, but makes some complex spreadsheet formulas very complicated indeed.
At this point, I do not need to know if the cell is null or not – just that it is a zero-length string.
Thanks for your help.
Kevin
From: Jingwood @.>
Sent: 03 April 2021 15:21
To: unvell/ReoGrid @.>
Cc: KDA54 @.>; Author @.>
Subject: Re: [unvell/ReoGrid] Value of an empty cell (#378)
Do you want to check whether a cell has value or not?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/unvell/ReoGrid/issues/378#issuecomment-812871884 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AJKA3WSUIYVGF5ZRWWMSIQ3TG4P6BANCNFSM4TREARJA .  https://github.com/notifications/beacon/AJKA3WQL3SEICNFSAISH3BDTG4P6BA5CNFSM4TREARJKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOGBZXBTA.gif
--
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus

Your workaround solution looks good.
How to evaluate a cell that has a valid value, check null? or check empty string, I think that is more decided by application.
Excel handles the cell's value as a string, but ReoGrid allows it can be anything.
I'm considering adding a built-in function like 'ISNULL' or 'ISBLANK' to help to check the data is null or not, but I don't sure other users will think it helps.
I'm going to close this, if you have other questions or problems, please feel free to open any new issues, thanks!


add aria label on the drop down component

Does the component already exist

[X] I confirm that I have checked if the component already exists in any of the Green libraries

For which framework/library you are requesting the component
Angular
Description
add the possibility to set  aria label on the drop down component
Who will benefit from this feature?
everyone
Anything else?
No response

You can set the label using the label input. This will set the accessible label for the component (using aria-label internally on the appropriate element). If you need to render the component without a visible label, you can set the hideLabel input to true.

These is not suppose to be a label in the app

Yes, I understand. That is what the hideLabel input does.
Like this: https://storybook.seb.io/pr-1485/core/?path=/docs/docs-components-dropdown--docs#hidden-label

I see, thanks :)


about privacy/encription

i just started to study tor and your add-on because i'm using a mobile connection (behind a nat)
and this add-on seems faster to setup instead of managing a vpn...
just a doubt/confirm... is the internet traffic encrypted?!
if i embed a camera streaming in homeassistant, could anyone access/intercept the video and see if no one is at home?!
thanks

is the internet traffic encrypted?!

It is the nature of Tor. Read more about Tor on their website:
https://www.torproject.org/about/history/
../Frenck


Store native libs uncompressed and zipaligned

If the native libs are stored in the apk uncompressed and zipaligned then they can be loaded from the apk without be pre-extracted.
It won't work on all cases but it would simplify things in most cases.
Ref: https://github.com/LineageOS/android_frameworks_base/commit/ff193d642eea7128faad837d19e347cd25212c27

I guess this is about the case when you put microG to /system right?

I think it apply to both system and data, it use the libraries from the apk without extract them.
Look here.

Thanks :)


Bipartite graph mobject

Enhancement proposal
Add support for bipartite graphs in the Graph mobject (or create a BipartiteGraph mobject) which lays out the vertices in two columns, e.g.
https://user-images.githubusercontent.com/63877260/104060416-8718ec80-51ff-11eb-9a1f-47487da8c162.mp4
Additional comments
I was able to implement this in two ways: either create a Graph mobject from a networkx graph while retaining the data, like so (this is in the mobject/graph.py file):
def __init__(
        self,
        vertices: List[Hashable],
        edges: List[Tuple[Hashable, Hashable]],
        labels: bool = False,
        label_fill_color: str = BLACK,
        layout: Union[str, dict] = "spring",
        layout_scale: float = 2,
        layout_config: Union[dict, None] = None,
        vertex_type: "Mobject" = Dot,
        vertex_config: Union[dict, None] = None,
        edge_type: "Mobject" = Line,
        nx_graph: nx.classes.graph.Graph = None, # ADDED optional parameter to retain the bipartite data
        edge_config: Union[dict, None] = None,
    ) -> None:
        VMobject.__init__(self)
        if nx_graph is None:
            nx_graph = nx.Graph()
            nx_graph.add_nodes_from(vertices)
            nx_graph.add_edges_from(edges)
            self._graph = nx_graph
        else:
            self._graph = nx_graph

and add the "bipartite" layout option like so (the my_bipartite_pos_func is exactly a layout matching from nodes to positions):
elif layout == "bipartite":
    def my_bipartite_pos_func(G: nx.classes.graph.Graph) -> dict:
        result = {}

        left = {n for n, d in G.nodes(data=True) if d["bipartite"] == 0}
        right = {n for n, d in G.nodes(data=True) if d["bipartite"] == 1}  # = set(G) - left

        left_jumps = 1 / len(left)
        right_jumps = 1 / len(right)

        i = 0
        for l in left:
            result[l] = -RIGHT-UP + 2 * UP * i * left_jumps
            i += 1

        i = 0
        for r in right:
            result[r] = RIGHT-UP + 2 * UP * i * right_jumps
            i += 1

        return result

    self._layout = my_bipartite_pos_func(nx_graph)
else:
    raise ValueError(
        f"The layout '{layout}' is neither a recognized automatic layout, "
        "nor a vertex placement dictionary."
    )

then in the construct method:
G = nx.Graph()
G.add_nodes_from([0, 1, 2], bipartite=0)
G.add_nodes_from([3, 4, 5], bipartite=1)
G.add_edges_from([(0, 3), (1, 5), (1, 4)])
graph = Graph(list(G.nodes), list(G.edges), nx_graph=G, layout="bipartite")

Perhaps a neater way would be like so:
class BipartiteGraph(Graph):
    def __init__(self, nx_graph: nx.classes.graph.Graph):
        def my_bipartite_pos_func(G: nx.classes.graph.Graph) -> dict:
            result = {}

            left = {n for n, d in G.nodes(data=True) if d["bipartite"] == 0}
            right = {n for n, d in G.nodes(
                data=True) if d["bipartite"] == 1}  # = set(G) - left

            left_jumps = 1 / len(left)
            right_jumps = 1 / len(right)

            i = 0
            for l in left:
                result[l] = -RIGHT + 2 * UP * i * left_jumps
                i += 1

            i = 0
            for r in right:
                result[r] = RIGHT + 2 * UP * i * right_jumps
                i += 1

            return result
        super().__init__(list(nx_graph.nodes), list(nx_graph.edges), layout=my_bipartite_pos_func(nx_graph))

which in turn results in the construct method:
G = nx.Graph()
G.add_nodes_from([0, 1, 2], bipartite=0)
G.add_nodes_from([3, 4, 5], bipartite=1)
G.add_edges_from([(0, 3), (1, 5), (1, 4)])
graph = BipartiteGraph(G)

Another possible implementation would be similar to the new @staticmethod from_networkx:
@staticmethod
def from_bipartite(nxgraph: nx.classes.graph.Graph, **kwargs) -> "Graph":
    """Build a :class:`~.Graph` with a 2-column layout from a given ``networkx`` bipartite graph.

    Parameters
    ----------

    nxgraph
        A ``networkx`` graph.
    **kwargs
        Keywords to be passed to the constructor of :class:`~.Graph`.

    Examples
    --------

    .. manim:: ImportBipartiteGraph

        import networkx as nx

        nxgraph = nx.Graph()
        nxgraph.add_nodes_from([0, 1, 2], bipartite=0)
        nxgraph.add_nodes_from([3, 4, 5], bipartite=1)
        nxgraph.add_edges_from([(0, 3), (1, 5), (1, 4)])

        class ImportBipartiteGraph(Scene):
            def construct(self):
                G = Graph.from_bipartite(nxgraph, layout_scale=3.5)
                self.play(ShowCreation(G))

    """
    return Graph(list(nxgraph.nodes), list(nxgraph.edges), **kwargs)

Thank you for your proposal, I definitely think we should support something like that.
If we go for extending the original constructor to support layout="bipartite", I would prefer to add a keyword partitions=None from which the partition data is read instead of passing a networkx graph; then we can either communicate the partitions to networkx to build the layout for us, or we simply do it ourselves. (Probably the former is better.)
This also reminds me that I would really like to see support for a hierarchical layout (for trees). I feel that for those, expanding the constructor of Graph once again to allow for layout="tree", and then an additional keyword root_vertex=None to specify the root would be the most natural interface...
Another, completely different approach would be a factory-type approach, where we provide an interface like graphs.bipartite_graph(partition1, partition2, edges, **kwargs) (which could then house also several other special graphs and graph classes; e.g. graphs.complete_graph(n), graphs.complete_partite_graph(k, [n1, n2, ..., nk]), graphs.petersen_graph(), and so on). But I somehow feel that these factory-type interfaces are somewhat nicer for special graphs where there is no need for specifying the edges; so graphs.complete_partite_graph would be fine, but I feel graphs.bipartite_graph(...) is a bit clunky -- I also would not really want to see graphs.tree(...). So, for your proposal I am leaning towards modifying the Graph constructor.
What do you think? Would you also be okay with having Graph look at a passed partitions vertex list, instead of passing the entire networkx graph?

Thank you for your proposal, I definitely think we should support something like that.
If we go for extending the original constructor to support layout="bipartite", I would prefer to add a keyword partitions=None from which the partition data is read instead of passing a networkx graph; then we can either communicate the partitions to networkx to build the layout for us, or we simply do it ourselves. (Probably the former is better.)
This also reminds me that I would really like to see support for a hierarchical layout (for trees). I feel that for those, expanding the constructor of Graph once again to allow for layout="tree", and then an additional keyword root_vertex=None to specify the root would be the most natural interface...
Another, completely different approach would be a factory-type approach, where we provide an interface like graphs.bipartite_graph(partition1, partition2, edges, **kwargs) (which could then house also several other special graphs and graph classes; e.g. graphs.complete_graph(n), graphs.complete_partite_graph(k, [n1, n2, ..., nk]), graphs.petersen_graph(), and so on). But I somehow feel that these factory-type interfaces are somewhat nicer for special graphs where there is no need for specifying the edges; so graphs.complete_partite_graph would be fine, but I feel graphs.bipartite_graph(...) is a bit clunky -- I also would not really want to see graphs.tree(...). So, for your proposal I am leaning towards modifying the Graph constructor.
What do you think? Would you also be okay with having Graph look at a passed partitions vertex list, instead of passing the entire networkx graph?

Thanks for the quick reply!
After searching again for networkx bipartite layouts, it turns out there is a built in one.
Here's the modified code for the Graph mobject constructor (also available with diff highlighting here):
def __init__(
        self,
        vertices: List[Hashable],
        edges: List[Tuple[Hashable, Hashable]],
        labels: bool = False,
        label_fill_color: str = BLACK,
        layout: Union[str, dict] = "spring",
        layout_scale: float = 2,
        layout_config: Union[dict, None] = None,
        vertex_type: "Mobject" = Dot,
        vertex_config: Union[dict, None] = None,
        edge_type: "Mobject" = Line,
        partitions: List[List[Hashable]] = None,
        edge_config: Union[dict, None] = None,
    ) -> None:
        VMobject.__init__(self)

        nx_graph = nx.Graph()
        nx_graph.add_nodes_from(vertices)
        nx_graph.add_edges_from(edges)
        self._graph = nx_graph

        automatic_layouts = {
            "circular": nx.layout.circular_layout,
            "kamada_kawai": nx.layout.kamada_kawai_layout,
            "planar": nx.layout.planar_layout,
            "random": nx.layout.random_layout,
            "shell": nx.layout.shell_layout,
            "spectral": nx.layout.spectral_layout,
            "bipartite": nx.layout.bipartite_layout,
            "spiral": nx.layout.spiral_layout,
            "spring": nx.layout.spring_layout,
        }

        if layout_config is None:
            layout_config = {}

        if isinstance(layout, dict):
            self._layout = layout
        elif layout in automatic_layouts and layout != "random":
            if layout == "bipartite":
                if not partitions or len(partitions) == 0:
                    raise ValueError(
                        "The bipartite layout requires specification of all the vertices in one side"
                    )
                layout_config["nodes"] = partitions[0]
            self._layout = automatic_layouts[layout](
                nx_graph, scale=layout_scale, **layout_config
            )
            self._layout = dict(
                [(k, np.append(v, [0])) for k, v in self._layout.items()]
            )
        elif layout == "random":
            # the random layout places coordinates in [0, 1)
            # we need to rescale manually afterwards...
            self._layout = automatic_layouts["random"](
                nx_graph, **layout_config)
            for k, v in self._layout.items():
                self._layout[k] = 2 * layout_scale * (v - np.array([0.5, 0.5]))
            self._layout = dict(
                [(k, np.append(v, [0])) for k, v in self._layout.items()]
            )
        else:
            raise ValueError(
                f"The layout '{layout}' is neither a recognized automatic layout, "
                "nor a vertex placement dictionary."
            )

It works with the following example:
from manim import *
import networkx as nx

G = nx.Graph()
G.add_nodes_from([0, 1, 2, 3], bipartite=0)
G.add_nodes_from([4, 5, 6, 7], bipartite=1)
G.add_edges_from([(0, 4), (0, 6), (1, 6), (2, 5), (3, 7)])

class Test(Scene):
    def construct(self):
        graph = Graph(list(G.nodes), list(G.edges), layout="bipartite", partitions=[
                      {n for n, d in G.nodes(data=True) if d["bipartite"] == 0}])
        self.play(ShowCreation(graph))

I also added documentation (is it formatted correctly?) in the end of the Graph documentation
    You can also lay out a bipartite graph on two columns by specifying
    a list of the vertices on one side and choosing the bipartite layout.

    .. manim:: BipartiteGraph
        :save_last_frame:

        class BipartiteGraph(Scene):
            def construct(self):
                G = nx.Graph()
                G.add_nodes_from([0, 1, 2, 3], bipartite=0)
                G.add_nodes_from([4, 5, 6, 7], bipartite=1)
                G.add_edges_from([(0, 4), (0, 6), (1, 6), (2, 5), (3, 7)])
                graph = Graph(list(G.nodes), list(G.edges), layout="bipartite", partitions=[
                      {n for n, d in G.nodes(data=True) if d["bipartite"] == 0}])

It still remains to implement more than 2 partitions and the trees. If there were 3, would you lay them in 3 columns or in a triangle?
About the other special graphs, I'm guessing networkx has these nice constructors; For example here and many many more here. What do you think?

Thanks for the quick reply!
After searching again for networkx bipartite layouts, it turns out there is a built in one.
Here's the modified code for the Graph mobject constructor (also available with diff highlighting here):
def __init__(
        self,
        vertices: List[Hashable],
        edges: List[Tuple[Hashable, Hashable]],
        labels: bool = False,
        label_fill_color: str = BLACK,
        layout: Union[str, dict] = "spring",
        layout_scale: float = 2,
        layout_config: Union[dict, None] = None,
        vertex_type: "Mobject" = Dot,
        vertex_config: Union[dict, None] = None,
        edge_type: "Mobject" = Line,
        partitions: List[List[Hashable]] = None,
        edge_config: Union[dict, None] = None,
    ) -> None:
        VMobject.__init__(self)

        nx_graph = nx.Graph()
        nx_graph.add_nodes_from(vertices)
        nx_graph.add_edges_from(edges)
        self._graph = nx_graph

        automatic_layouts = {
            "circular": nx.layout.circular_layout,
            "kamada_kawai": nx.layout.kamada_kawai_layout,
            "planar": nx.layout.planar_layout,
            "random": nx.layout.random_layout,
            "shell": nx.layout.shell_layout,
            "spectral": nx.layout.spectral_layout,
            "bipartite": nx.layout.bipartite_layout,
            "spiral": nx.layout.spiral_layout,
            "spring": nx.layout.spring_layout,
        }

        if layout_config is None:
            layout_config = {}

        if isinstance(layout, dict):
            self._layout = layout
        elif layout in automatic_layouts and layout != "random":
            if layout == "bipartite":
                if not partitions or len(partitions) == 0:
                    raise ValueError(
                        "The bipartite layout requires specification of all the vertices in one side"
                    )
                layout_config["nodes"] = partitions[0]
            self._layout = automatic_layouts[layout](
                nx_graph, scale=layout_scale, **layout_config
            )
            self._layout = dict(
                [(k, np.append(v, [0])) for k, v in self._layout.items()]
            )
        elif layout == "random":
            # the random layout places coordinates in [0, 1)
            # we need to rescale manually afterwards...
            self._layout = automatic_layouts["random"](
                nx_graph, **layout_config)
            for k, v in self._layout.items():
                self._layout[k] = 2 * layout_scale * (v - np.array([0.5, 0.5]))
            self._layout = dict(
                [(k, np.append(v, [0])) for k, v in self._layout.items()]
            )
        else:
            raise ValueError(
                f"The layout '{layout}' is neither a recognized automatic layout, "
                "nor a vertex placement dictionary."
            )

It works with the following example:
from manim import *
import networkx as nx

G = nx.Graph()
G.add_nodes_from([0, 1, 2, 3], bipartite=0)
G.add_nodes_from([4, 5, 6, 7], bipartite=1)
G.add_edges_from([(0, 4), (0, 6), (1, 6), (2, 5), (3, 7)])

class Test(Scene):
    def construct(self):
        graph = Graph(list(G.nodes), list(G.edges), layout="bipartite", partitions=[
                      {n for n, d in G.nodes(data=True) if d["bipartite"] == 0}])
        self.play(ShowCreation(graph))

I also added documentation (is it formatted correctly?) in the end of the Graph documentation
    You can also lay out a bipartite graph on two columns by specifying
    a list of the vertices on one side and choosing the bipartite layout.

    .. manim:: BipartiteGraph
        :save_last_frame:

        class BipartiteGraph(Scene):
            def construct(self):
                G = nx.Graph()
                G.add_nodes_from([0, 1, 2, 3], bipartite=0)
                G.add_nodes_from([4, 5, 6, 7], bipartite=1)
                G.add_edges_from([(0, 4), (0, 6), (1, 6), (2, 5), (3, 7)])
                graph = Graph(list(G.nodes), list(G.edges), layout="bipartite", partitions=[
                      {n for n, d in G.nodes(data=True) if d["bipartite"] == 0}])

It still remains to implement more than 2 partitions and the trees. If there were 3, would you lay them in 3 columns or in a triangle?
About the other special graphs, I'm guessing networkx has these nice constructors; For example here and many many more here. What do you think?

After another quick scan of networkx documentation, this might be worthwhile (specifically multipartite_layout for more than 2 partitions). Looks to me like it's the 3 column approach, and not the triangle (apropos in the example they use the method nx.complete_multipartite_graph(28, 16, 10)).

After another quick scan of networkx documentation, this might be worthwhile (specifically multipartite_layout for more than 2 partitions). Looks to me like it's the 3 column approach, and not the triangle (apropos in the example they use the method nx.complete_multipartite_graph(28, 16, 10)).

I was not suggesting that we should include all of that at once; I think a pull request enabling layout="bipartite" would be fine as a first step (and probably easier to review and merge, anyways :-)).
At a first glance, both the code and the example look very good to me. Can I ask you to send a pull request from your repository to ours containing these changes? I'll take a closer look at it then (and thank you for your contribution in advance!) --  I'd probably just simplify the example a little bit, but that is easier to discuss on a pull request.
Excellent work!

I was not suggesting that we should include all of that at once; I think a pull request enabling layout="bipartite" would be fine as a first step (and probably easier to review and merge, anyways :-)).
At a first glance, both the code and the example look very good to me. Can I ask you to send a pull request from your repository to ours containing these changes? I'll take a closer look at it then (and thank you for your contribution in advance!) --  I'd probably just simplify the example a little bit, but that is easier to discuss on a pull request.
Excellent work!


Publish plugins to s3://get.pulumi.com, too.

Part of pulumi/home#845.
This PR updates the publish-plugin.sh script to copy built plugins to s3://get.pulumi.com
in addition to s3://rel.pulumi.com. This is so that we can migrate to serving plugins via
CDN on https://get.pulumi.com, instead of https://api.pulumi.com like we do today.
For more information about the overall effort, see this comment.
In addition, immediately before this code gets merged, I will also update the AWS access key
used for this repo on:

Travis CI: https://travis-ci.com/github/pulumi/pulumi-cloudamqp/settings
GitHub Actions: https://github.com/pulumi/pulumi-cloudamqp/settings/secrets (if applicable)

The access key will be for a different IAM User. This is part of https://github.com/pulumi/home/issues/708,
and managing Pulumi's internal AWS access using Pulumi (and migrating off hand-crafted IAM permissions we set up in 2017).

I'm assuming that this repository doesn't need to create AWS resources, so
I'll use an access key that only has permissions to upload resources and
publish plugins but nothing else. I'll discover if this is correct when
testing out the release path post-merge. (And can update Travis out of band.)

Next Steps
After this review gets the LGTM, the next steps are:

Update the AWS credentials on Travis, GitHub
Merge the PR. Wait for master to be green. Fix any problems associated with this PR.

Updated AWS creds in Travis. There are no GHA secrets.


Unable to execute /bin/train_all.sh for Supervised embeddings

Hi @chaitjo @MiFei,
I am in the process of reproducing the system. I am done with all the installations and now trying to execute  supervised-embedding/bin/train_all.sh.  I executed build_experiments.py and now trying to train the model but getting this error. I cannot see any .tsv files in my data. How to create these files ..?

I suspect there needs to run  "build_vocabulary.py" file before training. I also tried to run this script but the console stuck there without execution till 30 mints.
Please let me know what I am missing here or is there any issue with the code?
looking forward to your positive response.

Hi @ahtsham58, thanks for the interest. Unfortunately, its been so long since I worked on this project that my memory is a bit hazy. Are you using the correct version of TensorFlow--0.12.1?
Here is the repository from which I adapted the supervised embeddings approach: https://github.com/sld/supervised-embedding-model
Refer also to other closed issues such as https://github.com/chaitjo/personalized-dialog/issues/3

Hi, I worked on the model, and there ware path issues that I figured out. Now the model is getting trained for all the five tasks.
I hope it works.

Great!


Adds missing .

It was missing, but no longer.

The closing div should go after page_part_editors like here https://github.com/resolve/refinerycms/blob/master/pages/app/views/refinery/admin/pages/_form_page_parts.html.erb#L27-L55


Fixed Murmur128x64Cyclic

Coverage increased (+0.03%) to 89.998% when pulling a7973b8d30927e11ea7512658c90f57d641e373b on dota17:FixedMurmur128x64Cyclic into 39aef5978586b0c344daf4e84a508895722e7f49 on apache:master.


Searching is too specific

When I couldn't find the stop the first way, I tried searching for "thirteen", "thirteenth" and "13" to no avail. "13th" finally worked, but I had to look it up on my other device where I had it favourited already. So, maybe string matching is a bit too precise in some cases; I would think "13" should match "13th".

@Nate-Wessel I made some improvements on the searching. Let me know what you think.
All of these now return the same result:

Main & Thirteenth
Main & 13
Main St 13
Main St 13th
Main St and 13th
Main Street and Thirteenth Street

I think this is much improved. So going ahead and closing.


buffer: add a method for getting only the first slice

Signed-off-by: Greg Greenway<EMAIL_ADDRESS>Commit Message:
Additional Description: This is a minor cleanup in this commit, but more importantly it will
be used in future changes to code in the performance critical path.
Risk Level: Low
Testing: All existing tests pass; added small new unittest
Docs Changes: none; internal change
Release Notes: none; internal change
Platform Specific Features: none
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Deprecated:]

/retest


Can't upgrade to web compute for nextjs 13

I'm a newbie at this. I had a CRA app that I've converted to a nextjs v13 app. I can't deploy without build errors. I've read the docs that say a banner should appear for me to upgrade the environment for nextjs 13, but that banner never appears. My framework is stuck as web dynamic.
Any pointers as to forcing the framework change or avenues I should be pursuing?

Hi @berniefitz82 👋 , thanks for reaching out to us and we are sorry to hear that you are running into this issue.
We have temporarily disabled the workflow to migrate Next.js apps from Web_Dynamic (classic) to Web_Compute platform as we have identified an issue associated to it and are actively working on addressing it. We will re-enable the migration after the issue is resolved and we apologize for the inconvenience caused due to this.
In the meantime, would it be feasible for you to follow this workflow?

Upgrade your app's Next.js version to >12 in package.json file
Perform a clean install of the dependencies

rm -rf node_modules
rm package-lock.json
npm install

Commit the changes to the git repository
Create a new Amplify app and connect it to the same git repository
This should allow you to deploy the app using the Web_Compute platform.

@rouven Unfortunately, we don't have an ECD to share at this moment but please rest assured that we are actively working on re-enabling the migration workflow and will keep you posted with any updates.

We are currently going through a migration from Next 10 to 13 and we are currently stuck on this as well.
We are getting the following error during the Deploy step:
2023-09-25T20:47:36 [INFO]: Beginning deployment for application d1wa0wwusudt8t, branch:dev, buildId<PHONE_NUMBER>
2023-09-25T20:47:36 [INFO]: Build Artifacts not found.
2023-09-25T20:47:36 [ERROR]: {"code":"MissingBuildArtifacts"}

I have a feeling that it's because we can't run the migration.
@Jay2113 does the team have any updates on this?

@Jay2113 is there any update or ECD that you can share? We also would like to migrate and would prefer to use the automated migration instead of working out a migration plan of our own especially as it would require a domain migration too and we have multiple apps that would need migrating.

@Jay2113 is there any update or ECD that you can share? We also would like to migrate and would prefer to use the automated migration instead of working out a migration plan of our own especially as it would require a domain migration too and we have multiple apps that would need migrating.

We're in the same boat here, hopefully we can get a status update sometime soon!

Likewise. We'd probably manage creating a new app for deployment and domain migration. It's migrating our production database and user pool to the new app that gives us pause. The ability to upgrade to WEB_COMPUTE on the existing app is preferable.
An update on this issue would allow us to plan our technical and business strategy accordingly, instead of standing by on our application updates indefinitely.

Likewise. We'd probably manage creating a new app for deployment and domain migration. It's migrating our production database and user pool to the new app that gives us pause. The ability to upgrade to WEB_COMPUTE on the existing app is preferable.
We're standing by on our application changes, so an update on this issue would allow us to plan our technical and business strategy accordingly.

Hi everyone 👋 , thank you for your continued patience and we apologize for the inconvenience caused due to this issue. We have re-enabled the workflow to migrate Next.js SSR apps from Web_Dynamic (classic) to the Web_Compute platform. You should now be able to initiate the migration of your apps from the Amplify Console. You can refer to this documentation for detailed instructions: https://docs.aws.amazon.com/amplify/latest/userguide/update-app-nextjs-version.html.


POST request for the blocks

Closes  #62

I would like to know why sonarqube  analysis fails?

I would like to know why sonarqube analysis fails?

Since you are using a fork, sonarqube expects a token to be from the tnb project. This is why it's producing the non authorisation error.
I've added you to the list of project contributors so you can pull down this project directly to get sonarqube analysis.

Thanks @nishp77 merged the PR.


[Documentation] Improv WiFi protocol example from scratch for Arduino apps

Overview
The ESPWeb Tools it's a great and wonderful  tool. Right now is working in our open source project, and it help a lot of people, but it could be more. Is possible maybe describe or add a basic sketch for Arduino code without ESPHome firmware, to try to have WiFi provisioning and other variables using Improv protocol? Also because right now for example the option in the manifest "new_install_prompt_erase": True doesn't works on any firmware that don't have Improv protocol service.
I found the core implementation of ESPHome, the two components, but it needs some components of ESPHome. I think that is possible a basic code for "Arduino developers"
Thanks in advance.

Hey! I wrote an example, it might be useful for you. https://github.com/jnthas/improv-wifi-demo

@jnthas do you want to open a PR to add a link to your project in the docs?

Sure! I do it tomorrow :)

Hey! I wrote an example, it might be useful for you. https://github.com/jnthas/improv-wifi-demo

Thanks, I will test it tomorrow. Thanks in advance :D


rename rti bot to prennbd

In dart2js we finally landed the change to remove support for the old-rti, so we took the opportunity to reuse the bot for testing "prennbd" (a temporary configuration while dart2js supports opting out of nnbd).
Would it be possible to rename the builder?
If it's too much trouble at this time, we are OK leaving it as it is.
/cc @athomas @whesse

We're in the process of making a change (https://github.com/dart-lang/dart_ci/issues/81) that allows us to change builder names easily, I'd like to wait until that is complete.


Lua error when running :Format Expected lua number

Hi, when I am trying to run :Format I am getting the following error:
E5108: Error executing lua ...fig/nvim/plugged/formatter.nvim/lua/formatter/format.lua:39: Expected lua number
I am running NVIM v0.5.0-dev+1405-g2f0e5e7e6 and LuaJIT 2.1.0-beta3
I have also tried NVIM v0.5.0 RELEASE and NVIM v0.6.0-dev
Plugin has been installed via VimPlug and is running the example config.

Im not able to replicate this. How are you getting this? I need a test reproduction as well as some config.

I can reproduce it with this config
init.vim
call plug#begin()
Plug 'mhartington/formatter.nvim'
call plug#end()

" Formatter
luafile $HOME/.config/nvim/plugins/formatter.lua

$HOME/.config/nvim/plugins/formatter.lua
require("formatter").setup(
  {
    logging = false,
    filetype = {
      lua = {
        -- luafmt
        function()
          return {
            exe = "luafmt",
            args = {"--indent-count", 2, "--stdin"},
            stdin = true
          }
        end
      }
    }
  }
)

vim.api.nvim_exec(
  [[
augroup FormatAutogroup
  autocmd!
  autocmd BufWritePost *.lua,*.tsx,*.ts,*.js,*.jsx,*.json FormatWrite
augroup END
]],
  true
)

Do you have some sample code? still not able to replicate this.

The .config/nvim/plugins/formatter.lua from my last comment would be a example file.


[deprecated] Property extensions is not allowed

Transferred.

ref
https://zenn.dev/newgyu/scraps/4c24bf3df804bd


[Fix] Fix the bug that MMDetWandbHook cannot log evaluation results

Thanks for your contribution and we appreciate it a lot. The following instructions would make your pull request more healthy and more easily get feedback. If you do not understand some items, don't worry, just make the pull request and seek help from maintainers.
Motivation
Fix the bug that MMDetWandbHook cannot log evaluation results
Modification
Fix the bug that MMDetWandbHook cannot log evaluation results
Description
EvalHook calls all LoggerHook instances before evaluation. Since MMDetWandbHook class is a subclass of LoggerHook, after_train_iter hook is called twice in the iteration that performs evaluation. MMDetWandbHook logs the loss information in the first call and the evaluation results in the second call. If self.commit is True in the first call, then the second call will not log the evaluation results successfully because the metrics of this step are already persisted. Please check https://docs.wandb.ai/guides/track/log#stepwise-and-incremental-logging for more details.
I encountered this problem while training a panoptic segmentation model using MMDetWandbHook. I apologize for not verifying if this bug occurs when training instance segmentation models, as my GPU resources are pretty tight. Since MMDetWandbHook doesn't fully support the training of panoptic segmentation models, this bug may only occur when training panoptic segmentation models. If this is the case, please feel free to ignore my pr.
This bug can be demonstrated using the following simple example:
script_a.py:
import wandb

wandb.init(project='project_name',
           entity='entity_name',
           name='use commit == True')

for i in range(100):
    wandb.log({'a': i}, step=i, commit=True)
    wandb.log({'b': i**2}, step=i, commit=True)

script_b.py:
import wandb

wandb.init(project='project_name',
           entity='entity_name',
           name='use commit == False')

for i in range(100):
    wandb.log({'a': i}, step=i, commit=False)
    wandb.log({'b': i**2}, step=i, commit=True)

Running these two scripts and you will find that wandb only logs the points of a in script_a.py while wandb can log points of a and b in script_b.py

@RockeyCoss Thank you very much for your contribution. can you fix the ci？ Invite @ayulockin to take a look.

@RockeyCoss Thank you very much for your contribution. can you fix the ci？ Invite @ayulockin to take a look.

OK

Hey @RockeyCoss, thank you for using it for panoptic segmentation. Since wandb doesn't support panoptic segmentatio yet (as you rightly pointed out) I didn't test it.
By evaluation result you mean the result controlled by this config param:
# We can set the evaluation interval to reduce the evaluation times
cfg.evaluation.interval = 2

If yes I tested the official colab notebook with MMDetWandbHook with and without your fix. In the case of segmentation/detection the evaluation results are the same with (wandb run page) and without (wandb run page) your fix.
If I am not correct can you help me understand what evaluation is in the context of MM ecosystem.
Also the changes made in this PR looks good to me. cc: @hhaAndroid

Hey @ayulockin, thanks for testing my pr. It seems that the example from notebook uses EpochBasedRunner instead of IterBasedRunner. My pr only affects the training process that uses IterBasedRunner. Only when using IterBasedRunner for training is MMDetWandbHook called twice in the iteration that calls EvalHook. You could check this: EvalHook. Since MMDetWandbHook is a subclass of LoggerHook, MMDetWandbHook is called by the EvalHook's after_train_iter function. Then, since the priority of EvalHook is higher than MMDetWandbHook, MMDetWandbHook is called after EvalHook finishes its job. Thus, MMDetWandbHook is called a total of two times in one iteration, which caused the problem mentioned in the Description part of my pr information.

Ah, thanks for correcting me; my bad. I will test it with IterBasedRunner and let you know. :)

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.Rockey seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


IJulia bails on typing "00" in jupyter lab 2.1

IJulia (julia v1.4.2 in jupyter lab version 2.1) gets unresponsive if one types 00 (literally two zeros) in a code block. Only the first 0 will appear and the code block stalls. Alternatively, write max(1, 200) and try to remove the 2.
I think the problem has something to do with syntax coloring. In jupyter lab 1.2 all is fine - the first of the zeros will appear in red indicating that this is not a valid expression.

Seems to be a duplicate of codemirror/CodeMirror#6288


Instructions for Brew Mac OS method not working on 10.12.2

I'm using the brew version of the installer on Mac OS Sierra, 10.12.2.
The problem is that PyOpenGL is detected as installed on the system python, and thus not installed to the brew-installed python.
But then it's found missing when the script builds USD with the brew-installed python.
The problem is solved by running the setvars script, and then re-running the installer.
Or by running the setvars script before installing, in the first place.
After successfully compiling, usdview and others fail when running:
$ usdview
Traceback (most recent call last):
  File "/usr/local/bin/usdview", line 25, in <module>
    import pxr.Usdviewq as Usdviewq
ImportError: No module named pxr.Usdviewq

It would be helpful to add to the instructions to export PYTHONPATH (as found in the USD FAQs).
PYTHONPATH needs to be path that this script installs to, which in my case is /usr/local/:
This works for me:
export USD_INSTALL_ROOT=/usr/local
export PYTHONPATH=$PYTHONPATH:USD_INSTALLROOT/lib/python

But then when trying to run usdview /usr/local/share/usd/tutorials/helloWorld/helloWorld.py this happens:
$ usdview /usr/local/share/usd/tutorials/helloWorld/helloWorld.py
Traceback (most recent call last):
  File "/usr/local/bin/usdview", line 28, in <module>
    Usdviewq.Launcher().Run()
  File "/usr/local/lib/python/pxr/Usdviewq/__init__.py", line 56, in Run
    self.__LaunchProcess(arg_parse_result)
  File "/usr/local/lib/python/pxr/Usdviewq/__init__.py", line 150, in __LaunchProcess
    from mainWindow import MainWindow
  File "/usr/local/lib/python/pxr/Usdviewq/mainWindow.py", line 25, in <module>
    import stageView
  File "/usr/local/lib/python/pxr/Usdviewq/stageView.py", line 36, in <module>
    from pxr import Glf
  File "/usr/local/lib/python/pxr/Glf/__init__.py", line 29, in <module>
    import _glf
ImportError: dlopen(/usr/local/lib/python/pxr/Glf/_glf.so, 2): Symbol not found: __ZNK5boost16re_detail_10620031cpp_regex_traits_implementationIcE17transform_primaryEPKcS4_
  Referenced from: /Users/doppioslash/Code/USD/usd-stage-brew/homebrew/opt/openimageio/lib/libOpenImageIO.1.7.dylib
  Expected in: /Users/doppioslash/Code/USD/usd-stage-brew/homebrew/opt/boost/lib/libboost_regex-mt.dylib
 in /Users/doppioslash/Code/USD/usd-stage-brew/homebrew/opt/openimageio/lib/libOpenImageIO.1.7.dylib

Ugh, I ran into this as well. The problem came down to OIIO linking to a boost in homebrew/opt, but glf compiling against headers found in /usr/local/include/boost.
I had a fix, more fully qualifying the boost resolution for cmake, but I seem to have lost it.

According to this message - https://groups.google.com/d/msg/usd-interest/3OdJJvHjc0k/bzn_1qHICAAJ - the instructions are currently working. If there is still an issue, please reopen an issue.


Replace httpbin with go-httpbin

Tests complete much faster 32s vs 58s locally, without compatibility issues like previous attempt

Nice finding!

Indeed! We can probably use this for CRS tests too 🤔 :)


FAQs: [CDS-99282]: FAQs addition for CD

Thanks for contributing to the Harness Developer Hub! Our code owners will review your submission.
Description

Please describe your changes: __________________________________
Jira/GitHub Issue numbers (if any): ______________________________
Preview links/images (Internal contributors only): __________________

PR lifecycle
We aim to merge PRs within one week or less, but delays happen sometimes.
If your PR is open longer than two weeks without any human activity, please tag a code owner in a comment.
PRs must meet these requirements to be merged:

[ ] Successful preview build.
[ ] Code owner review.
[ ] No merge conflicts.
[ ] Release notes/new features docs: Feature/version released to at least one prod environment.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://66a8665755a8efd92d02943f--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://66b006bb6e8dc3250d40fff1--harness-developer.netlify.app


Pr update with images

Updating PR process to be simplified with screenshots.  Deleted the second half to be clear that the PR was already created.  Added explanation that if starting PR requests from their own fork, they will need to perform a compare and update first.

Beautiful. Thank you!


[Bug]: dev.lenra.io / password forgotten

What happened?
I tried to change my password, I received the token but then, I didn't receive the token to confirm my inscription, so I got stuck on the page as I checked the "keep me login" box juste before ...
We should add a button to " I didn't receive a confirmation of my inscription" and a button "deconnection"
What browsers are you seeing the problem on?
No response
Version
No response
Relevant log output
No response

Resolve by those issues:

[ ] https://github.com/lenra-io/client-common/issues/66
[ ] https://github.com/lenra-io/client-common/issues/67
[ ] https://github.com/lenra-io/server/issues/319


Create dockerfile

Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Dockerise application so that it works on any machine.
Fixes/resolves #16
Screenshots
Please include any screenshots or media that illustrates the changes made
Type of change
Please delete options that are not relevant.

[x] New feature (non-breaking change which adds functionality)
[x] This change requires a documentation update

Checklist:
Leave blank if not applicable

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes

start:docker will expose the frontend on port 80 and the backend on port 4200 as specified so i think thats all good

yep, good to merge!


Support for modules without exported memory

NewInstanceWithImports should support loading valid modules that do not export memory.
Motivation
NewInstanceWithImports currently will fail instantiation with No memory exported if the valid loaded module does not export memory. There are legitimate cases for "context-free" , stateless programs that do not need to export memory.
Spec says In the current version of WebAssembly, **at most one** memory is allowed in a module.
Proposed solution
Allow loading modules without memory.

@Hywan ^ should be easy to support this -- I still have my fork and I'd like to get back on mainline with v0.2.0 ...
Thanks.


algo:0.3.1

I am submitting

[ ] a new package
[x] an update for a package

I have read and followed the submission guidelines and, in particular, I

[x] selected a name in conformance with the guidelines
[x] added a typst.toml file with all required keys
[x] added a README.md with documentation for my package
[x] have chosen a license and added a LICENSE file or linked one in my README.md
[x] ensured that my submission does not infringe upon the rights of a third party
[x] tested my package locally on my system and it worked
[x] named this PR as name:version of the submitted package
[x] agree that my package will not be removed without good reason

Description: This update adds inline comments and a new no-emph function to escape a keyword from being automatically emphasized.

Thanks!


07/10/2018 21:38 : Create Pull Request for branch master -> prTesting1_2018071021

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

split/updateTestCon1.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


ClockTokens: Fixed longstanding issue with user options not being read correctly

Wrong property of globalconfig was being read. Refactored code a little.

Looks like you've set the version in your script.json to 1.2.1, but you've put the actual code into the 1.3 folder. The version name and folder name should match in order for the new version to be found correctly. Thanks!

Looks like you've set the version in your script.json to 1.2.1, but you've put the actual code into the 1.3 folder. The version name and folder name should match in order for the new version to be found correctly. Thanks!

Well that was silly of my. Should be fixe dnow.


Head reconstruction

Do you know which tool they employed to get head without background?
Is it necessary to preprocess images and get rid of background?
What is resolution requirement to images?
It is possible to process head with hair and opened eye?
Why do we need imgs_train and imgs_test?
Do you have sample data which you used for processing this model?

First, remove background is not necessary.
Second, if you want to remove background, can use rembg.
Third, any image resolution can be used. Of course, the higher the better.
Fourth, it can process full head.
Final, author already offered custom dataset which is include a full head.

I appreciate your explanation. Rembg worked well for me.
I ran full head, but could not extract mesh. How did you do this?


Should use : instead of . before images?

Discuss and change accordingly.
          Not feeling strongly (this should not block this PR to be clear), but it does look weird IMO (going from `.` to an image demonstrating the above description).
          I would suggest on aligning on `:`  - not necessarily in this PR

Originally posted by @omesser in https://github.com/iterative/dvc.org/pull/4758#discussion_r1300061514

@tapadipti please put proper labels, priority, better context. thanks.


Add doc to guide how to enable blue-green deployment with istio

What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes #
Does this PR introduce a user-facing change?:

NONE

Pretty good, thank you.
/lgtm

Nice 👍
/approve


Multiple projects in one window

Check for existing issues

[X] Completed

Describe the feature
In VSCode I usually have multiple projects open at the same time, and it's convenient for me to have them all in one window. In VSCode I use the New Window Tab command to open native macOS tabs:

Would be great to have a solution for this in Zed (doesn't need to be native window tabs)
If applicable, add mockups / screenshots to help present your vision of the feature
No response

If you right click the project menu, you can add folders to the root level of the workspace.  I think it is our equivalent of adding multiple projects to one window.  Does this cover your needs?

VSCode does have that too, but unfortunately it's not ideal for me because it mixes up the editors/terminals of different projects

Ah ok, that makes sense, having tabs would be like having entirely new workspace windows, but in a single unified window, which would keep terminals separated.  That makes sense.


What environment do you use to run it?

What environment do you use to run, I have encountered a lot of problems with win11

I would recommend using the notebooks on Colab to get started if you’re having installation issues! If you’re on windows, I would recommend WSL. Generally Linux or Mac OS should be fine. Please reach out if you have any additional question!


netcdf-by-coordinates examples fail when NaNs in data

Firstly - thanks for the examples, they are very helpful!
Just wanted to note that the supplied code examples fail when NaN's are in the dataset (which in my experience tends to be pretty frequent).
I'm currently using the Naive_fast approach, aka numpy - which fortunately seems to have a simple way to handle the NaN problem, by changing this line:
# argmin trips over NaN's
minindex_flattened = dist_sq.argmin()

To this:
# nanargmin handles NaN's
minindex_flattened = np.nanargmin(dist_sq)

Sorry; I'd prefer to submit a PR with fixes for other approaches too but haven't the time right now :(

This material has been removed.


Download data in docker

Wrap the Python example code in argparse, so that folks don't need to install the Python software to run this.

Hi @arokem,
I added this functionality via this commit.


add MCP server badge

This PR adds a badge for the mcp-jina-ai server listing in Glama MCP server directory.

Glama performs regular codebase and documentation scans to:

Confirm that the MCP server is working as expected
Confirm that there are no obvious security issues with dependencies of the server
Extract server characteristics such as tools, resources, prompts, and required parameters.

This badge helps your users to quickly asses that the MCP server is safe, server capabilities, and instructions for installing the server.

realized the project is missing a license
https://docs.github.com/en/communities/setting-up-your-project-for-healthy-contributions/adding-a-license-to-a-repository
Would you mind adding one?
We will automatically pick up the change (we scan every repo every 6 hours)

realized the project is missing a license
https://docs.github.com/en/communities/setting-up-your-project-for-healthy-contributions/adding-a-license-to-a-repository
Would you mind adding one?
We will automatically pick up the change (we scan every repo every 6 hours)

Sure... Done

test

Thanks! are you on the MCP Discord?
Let me know your Discord username and I will give you a special flair that's only for MCP server authors.


Take this-access into account for ignore-prefix

For example when using "no-array-mutation": [true, {"ignore-prefix": "mutable"}].
... this code emits "Mutating an array is not allowed":
this.mutableArr.push("item");

... the following code not:
const mutableArr = this.mutableArr;
mutableArr.push("item");

I propose to respect this accesses when checking for the name prefix.
Or maybe (more generic solution) the "last accessor part" (to allow sth. like some.deep.path.mutableArr.push("item")).

As a workaround for this.mutable you can use:
"no-array-mutation": [true, {"ignore-prefix": ["mutable", "this.mutable"]}]

@RebeccaStevens This wor


[T5A1][F11-B1] Justin Ng

Ready for review.

Reviewed in class.

@njyjn Awesome Job overall! :+1: Keep it up ~


Why 'Hierarchical' instead of 'Tree'?

This term was changed in Avalonia (TreeDataTemplate) and even the name of the control uses 'Tree'. I think it would make sense to rename the two modes:

~Hierarchical~: -> Tree
~Flat~: -> List

"List" implies 1 dimension, and "Tree" implies 2 dimensions. I think this makes the most sense and matches other Avalonia terminology.

Closing since it doesn't meet your "servicing policy" yikes....


Use getAsObject for incoming attributes from input

Resolves the error in which if attributes is not sent Object.entries errors due to attributes being undefined.

 Deployment ID Error


Adds --shutdown-without-signal and tests it.

Signed-off-by: Joshua Marantz<EMAIL_ADDRESS>Description: The libevent infrastructure to handle signals may conflict with signal handling in some environments. At the same time, it's beneficial, given upstream Envoy wants to be able to handle signals, to have the common path initiate shutdown from admin /quitquitquit via signal. So this change retains that default behavior while providing an option to initiate quits without handling a signal.
Risk Level: medium
Testing: //test/...
Docs Changes: pending (will be added to this PR)
Release Notes: n/a

Sorry I didn't understand why you were asking this question. TBH I don't think it's worth it to have this option. If shutting down via signal is causing issues just change it to not work that way?

sgtm; that just makes things simpler.  Now removing most of the PR.

ptal -- this simplifies the PR quite a bit. I'm still testing the SIGTERM flow, with a new test in MainCommonTest that specifically does that.


Added the support for MuKeyboard

Hi!
I added the support for the MuKeyboard library: this should works without any problems..!
I basically copied the file Arduino.js and modified every "dalay(" with "wait(", and changed the #import from "Keyboard.h" to "MuKeyboard.h"
Cheers
-MrMoDDoM

@MrMoDDoM @Plazmaz That sounds good, but I'll need to merge LocaleKeyboard.js into Duckuino for 'per module locale generation'.


MISSING BTC

Hello, i were using multibit hd and Breadwallet together. I used both of them with 1 wallet opened on both. Suddenly my pc broke and i tried to restore my wallet on new pc. When i restored one btc address with money on it was missing. i tried to generate private addresses from BIP39 mnemonic but i couldnt find that recieving addres in the list of 50000 address. Money is still unspent. Help me to get it back i know wallet words and everything.  I know what was the wallet words 100% but there is not that addres everywhere i try. In electrum bread or etc.
When i restore wallet every other transactions are visible but the address is missing only that address.. Multibit had bugs that moment and said wrong password and etc..
If someone helps bounty will be 1000 euros.

Please contact<EMAIL_ADDRESS>


update early stop callback check for improvement with tolerance

Fixing the improvement with tolerance check, e.g. for maximize, the new score has improvement if it at least improved by {tolerance} compared to the best score, i.e. for the new score to be considered as an improvement, new has to be > best + tolerance, and vice versa for minimize.

cc @trivialfis @RAMitchell ^

I think that means something else than tolerance.  In this PR we are not tolerating something instead we are asking for something more.

thanks for the response - though I am not quite sure I understand what's considered an improvement here then, e.g. for maximize:
def maximize(new, best):
    return numpy.greater(get_s(new) + self._tol, get_s(best))

that means if the new score is exactly == current best score, the above will return true (considered as an improvement) because of nonnegative tolerance. Similarly, if the new score is worse than the current best score, and as long as new + tolerance is better than the best score, it will be considered as an improvement which doesn't seem right.

the new score is slightly worse than the current best score, but as long as new + tolerance is better than the best score, it will be considered as an improvement which doesn't seem right.

Yes, we are tolerating the error.  I understand your use caes, I'm open to a new parameter for what you are specifying, but maybe we can call it something else?

min_delta sounds good


CES/helm: configure --ces-slice-mode via Helm values

The supported values for the --ces-slice-mode option are a bit redundant (cesSliceModeIdentity, cesSliceModeFCFS). This commit shortens them to identity and fcfs, and adds support for configuring the CES slice mode via Helm. Some unused constants related to CiliumEndpointSlice options were also removed.

/test

/test

/test


tests: remove a fake test

What problem does this PR solve?
Issue Number: close #9020
Problem Summary:
What is changed and how it works?
https://github.com/pingcap/tidb/pull/52988 fix the issue about create columns with wrong default, so #8803 will never happen, remove this test.
Check List
Tests

[ ] Unit test
[ ] Integration test
[ ] Manual test (add detailed scripts or steps below)
[x] No code

Side effects

[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[ ] Breaking backward compatibility

Documentation

[ ] Affects user behaviors
[ ] Contains syntax changes
[ ] Contains variable changes
[ ] Contains experimental features
[ ] Changes MySQL compatibility

Release note

None

/build

/run-all-tests

/run-all-tests


[spi_device] Mailbox Command SRAM Address

@eunchan in PR #12094 you can reproduce this potential mailbox issue:
./util/dvsim/dvsim.py hw/ip/spi_device/dv/spi_device_sim_cfg.hjson -i spi_device_cmd_mailbox --fixed-seed 20 --waves --xprop-off -v h --max-parallel 1
We configure normal read, issue it, configure mailbox host address CSR, we hit that address, but address to SRAM is not what host issued - we had for example address 0x38BE29 and configured host mailbox address in CSR is 0x38BC00 (10 bits are 0 according to spec here).
sram address bits are here 0x28A instead of what I expect 0x229. In the RTL logic address is taken 31:2, if this is correct how can we access mailbox locations inbetween?

Sorry for late response. I found addr_d logic is wrong.
I made a fix #12234 .
Please apply this patch to your dv to run on the latest.
Unzip the file and
git am 0001-Fix-CSR-UPLOAD_STATUS2.patch
0001-Fix-CSR-UPLOAD_STATUS2.patch.zip

@kosta-kojdic i'm going to close this issue for now since it seems @eunchan has already merged the fix.
If you continue to have problems, please feel free to re-open.


schemazen as a library

Adding "figure out building schemazen as a library in a reproducible manner" to @ConstantineK's todo 👍

Did some further digging (because I love https://github.com/sethreno/schemazen) and it looks like there are a few show stopper bugs which has me a little uncomfortable adding it to dbatools at this point (non-default collations, rowguids, and a few minor things around how it handles various features.)
The project is really good and with a few additional fixes I think it would be dbatools ready. I have started submitting pull requests to the project, the maintainer seems like cool.
If possible I would like to keep this open as a reminder and goad to keep fixing issues in that project.

awesome, thanks, ck! 💪

Closing this issue out as I'm not sure it is still on the ballet to be added to dbatools. As well I would state that the schemazen repo is abandoned considering it has had no changes in almost 3 years.

If it needs to be reopened by all means.


crash on fast page swipe grab

hello, the app crashes on the following lines:
// cancel transition in case of changing direction
            if (translation.x > 0 && animationDirectionInteractive != .right) || (translation.x < 0 && animationDirectionInteractive != .left) {
                interactiveTransitionInProgress = false
                finishTransition(isCancelled: true)
            }

with error:
2017-09-29 19:22:38.868030+0300 APP[7739:1446562] refreshPreferences: ActivationLoggingEnabled: 0 ActivationLoggingTaskedOffByDA:0
fatal error: unexpectedly found nil while unwrapping an Optional value
2017-09-29 19:23:10.943729+0300 APP[7739:1446562] fatal error: unexpectedly found nil while unwrapping an Optional value

you can reproduce this by including a scrollview in a viewcontroller then add it to swiftypagecontroller. swipe thought the scrollview fast and you'll catch the crash

you can use
if (animationDirectionInteractive == nil) {
                return
            }

above the code where is crashing

Fixed. Thanks


Reduce the output that goes into the Cesium dist folder during a build

Remove anything unnecessary (test dir for example) and shrink the size of the build outputs

-- Removed the test folder from the distribution. Removed from the dist folder the IAU2006_XYS, maki, and NaturalEarthII folders that were inside the sdk. Size was reduced by 2.4 MB.
Merged changes to the dev branch. Closing this issue.


how can I use the hmc method to approximate the non gaussian likelihood, thank you

I set the Possion distribution pdf as my GP likelihood, and want to use hmc method to infer its parameter. Here is my code as follows:
poisson_likelihood = GPy.likelihoods.Poisson()
kernel = GPy.kern.RBF(input_dim, variance=1.0, lengthscale=1.0)
hmc_inf= GPy.inference.mcmc.HMC()
m = GPy.core.GP(X=train_X_scaled, Y=train_Y_dl_total_scaled, likelihood=poisson_likelihood, inference_method=hmc_inf, kernel= kernel)

the error shows:
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
<ipython-input-97-6f996d532af2> in <module>()
      3 poisson_likelihood = GPy.likelihoods.Poisson()
      4 kernel = GPy.kern.RBF(input_dim, variance=1.0, lengthscale=1.0)
----> 5 hmc_inf= GPy.inference.mcmc.HMC()
      6 m = GPy.core.GP(X=train_X_scaled, Y=train_Y_dl_total_scaled, likelihood=poisson_likelihood, inference_method=hmc_inf, kernel= kernel)
      7

TypeError: __init__() missing 1 required positional argument: 'model'

So I want to know is there anyway that I can use the hmc to infer the parameters of an arbitrary likelihood? Thank you for your help!!!

I think there is an example notebook about hmc in GPy. Zhenwen should know
more about the notebook.
On 24 September 2017 at 01:23, Kuan Lu(Frank<EMAIL_ADDRESS>wrote:

Reopened #554 https://github.com/SheffieldML/GPy/issues/554.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/SheffieldML/GPy/issues/554#event-1262502026, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AE4H0Ln1gcEhSDprc48nZU9z4AwYqj07ks5slaEdgaJpZM4PhucU
.

@mu2013 :  Do you mean this "http://nbviewer.jupyter.org/github/SheffieldML/notebook/blob/master/GPy/sampling_hmc.ipynb"? I know that tutorial, but I find it impossible to set the likelihood arbitrarily.

How would you like to handle the intractable integral of the non-Gaussian likelihood?
You can run HMC for a non-Gaussian likelihood GP with Laplace approximation, but the samples are biased because of the approximation. (This can be done with GPy.)
Alternatively, you can run HMC without marginalizing the output variable of GP prior, f, but it results in very high HMC sampling problem. (This is not implemented.)

@ Thank you for your reply. I am a new learner for GP. I can't catch all you have said above. For example "run HMC for a non-Gaussian likelihood GP with Laplace approximation". The reason I ask this question is that I find it possible in GPflow to use GPMC to make mcmc inference "http://gpflow.readthedocs.io/en/latest/notebooks/mcmc.html" , where I can set the likelihood arbitrarily.  I just wander why I can't do this using GPy.

@zhenwendai Thank you for your reply. I am a new learner for GP. I can't catch all you have said above. For example "run HMC for a non-Gaussian likelihood GP with Laplace approximation". The reason I ask this question is that I find it possible in GPflow to use GPMC to make mcmc inference "http://gpflow.readthedocs.io/en/latest/notebooks/mcmc.html" , where I can set the likelihood arbitrarily. I just wander why I can't do this using GPy.

According the link that you provided, GPFlow does the second way that I mentioned previously. Its HMC sampler draw samples for f and model parameters jointly, which is typically super high dimensional.
Unfortunately, GPy does not support it at the moment, because we by default focus on the model with the latent function f marginalized out (apprioximately).

HMC require the gradient of likelihood. But if you use mcmc with metroplis
hasting you do not  need it. For non-Gaussian likelihood case, what we can
do is similar to  Williams, C. K. and D. Barber (1998). Bayesian
classification with gaussian processes.
you can check out that paper for some details.
cheers
On 27 September 2017 at 21:41, Zhenwen Dai<EMAIL_ADDRESS>wrote:

According the link that you provided, GPFlow does the second way that I
mentioned previously. Its HMC sampler draw samples for f and model
parameters jointly, which is typically super high dimensional.
Unfortunately, GPy does not support it at the moment, because we by
default focus on the model with the latent function f marginalized out
(apprioximately).
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/SheffieldML/GPy/issues/554#issuecomment-332648710,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AE4H0JGjqBaar6qYnLyNsoIqQBOSWJsYks5smrL4gaJpZM4PhucU
.


new node selectors (#2425)

resolves #2425
Description
Add the node selectors discussed in #2425, except I used test_type for differentiating schema and data tests, and test_name to differentiate between schema test names.
There's obviously lots of room for new selectors in addition to these, but this felt like a nice start.
Checklist

[X] I have signed the CLA
[X] I have run this code in development and it appears to resolve the stated issue
[X] This PR includes tests, or tests are not required/relevant for this PR
[X] I have updated the CHANGELOG.md and added information about my change to the "dbt next" section.

@kwigley sorry about that, I did not mean to merge it without your review, I mis-clicked! I'll open a PR to revert this.

@beckjake no worries! I got a chance to review this and don't have any meaningful feedback. Impl and tests looks great! no need to revert unless you think it is necessary


Revert "Revert "adds idea about default provider worker count""

Reverts giantswarm/api-spec#113

This is implemented now for cloud providers.

🎉


Android build failed

Cause: zip64 required but forbidden (#entries=88014, cd=(offset=470,870,720, size=14,287,056))

Reason: because of js_api install a lot of node packages inside that cause slow vs code ide and build failed.
Solution:

Move js_api file to outside project and copy only main.js into assets


Failed to compile latest release

Latest release fails to compile due to broken dependency:
error: failed to select a version for the requirement `fpdec = "^0.7"`
candidate versions found which didn't match: 0.10.3, 0.9.0, 0.8.1
location searched: crates.io index
required by package `quantities v0.12.0`
    ... which satisfies dependency `quantities = "^0.12.0"`

Version 0.7 of fpdev has been unpublished, but fix is already there: https://github.com/mamrhein/quantities.rs/commit/01aa0048c4a80c162975b142b6ff6ebeb3ec772d . So, all we need is to publish a new release with that fix.

Resolved in version 0.12.1.
Thx for the hint!


Configure Packet Forwarder for LG01-N for Azure IoT Hub

Hi Team,
I am willing to integrate the LoRa with the Azure IoT Hub using the documentation provided on - https://www.chirpstack.io/project/guides/microsoft-azure.
As a part of this we are supposed to configure and install packet forwarder, so for that I am following the link - https://www.chirpstack.io/gateway-bridge/gateway/dragino/. I did the installation and configured my gateway with the Device Connection string which is provisioned in the Azure IoT hub, but i don't see any messages coming thru and being published.
Please help in finding where am I missing. Nothing is coming on the logs as well.
The same gateway works fine with using with TTN.
Appreciate your prompt response.
Thanks,

Please see https://www.chirpstack.io/project/guides/troubleshooting/gateway/. I'm going to close this issue. For bug reports and feature requests, please use the provided template. It contains a couple of essential questions that must be answered which helps the community to respond.


[Sema] @_private imports brings is all SPI of the imported module

Within one module, SPI decls are always visible. Conceptually we want the same behavior for @_private imports where the client pretends it's part of the same module.
rdar://81240984

@swift-ci Please smoke test


Handle empty return

if usingreturn;
then in babel-plugin-tailcall-optimization the path.node.argument is null, thus you get a nice error

Thanks for contributing. Could you write test for this case?

have a look

Thanks!

do you have the time to publish a patch release as well? thanks!

I just did. Sorry for waiting ;)
pon., 12.09.2016 o 22:35 użytkownik Andrei Neculau<EMAIL_ADDRESS>napisał:

do you have the time to publish a patch release as well? thanks!
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/krzkaczor/babel-plugin-tailcall-optimization/pull/4#issuecomment-246483285,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABuvKGP4dQspdg8RIeIenYL6KYkuUtDVks5qpbengaJpZM4J6ILA
.

--
Best regards,
Krzysztof Kaczor