Hypha Collective Liquidity Vesting Contract

(formerly collective sales contract, but it's not a sales contract, it's a vesting contract)
Spec
Vesting contract where balances can be sent on behalf of a user
Each lock has a default expiry of 3 years
Then there's a function to unlock a certain % for each user all at the same time
So for example, if 10% are unlocked - by calling the unlock(float percent) action - then each lock gets 10% unlocked
We could either keep a balance of liquid / locked on each lock, and have a claim() function where the liquid percentage can be claimed.
Or we could automatically send out the % of tokens to their owners directly.
Whichever way seems more natural.

Hello @n13, I have some questions:

I saw the collective sales contract, should we add the new contract to that repo?
I assume this needs to use the document graph, right?
How are the balances been transferred to the contract? using a token contract? does the contract need to support several token contracts?
After those 3 years, the balance owner can claim the lock?, what will happen if we keep adding balance to the lock? or once a lock is created we can't add more balance to that lock?
Does the contract need to support multiple locks per account?

Regarded to the claim action, I think it is easier if the users call that action by themselves

Hello @n13, this could be the graph for this contract, what do you think?

Hello @n13, I have some questions:

I saw the collective sales contract, should we add the new contract to that repo?

Yes can do that

I assume this needs to use the document graph, right?

Not really - any way it's best
My concern with document graph is that complexity might make it difficult to keep it free of holes?

How are the balances going to be transferred to the contract? with a transfer action using a token contract? does the contract need to support several token contracts?

Initially only Hypha token but would be cool so support more tokens. Just not sure we need that now so if it adds complexity we can leave it out.

After those 3 years, the balance owner can claim the lock?, what will happen if we keep adding balance to the lock? or once a lock is created we can't add more balance to that lock?

I was thinking it works the same way as the escrow contract we already have (in Seeds).
It supports individual locks that expire individually, so more and more locks can be added per users, with different expiry dates.
The difference is our locks can also be partially released before that time.
So the question is is adding that functionality to the existing escrow contract more work or less work than doing the document graph above.
The diagram you created looks very good - makes a lot of sense as data architecture is concerned.

Does the contract need to support multiple locks per account?

Yes, see above

Regarded to the claim action, I think it is easier if the users call that action by themselves

Ok that's fine. We can always write a claim crawler too if we need to.


Lock Dependency Versions

All dependencies should be explicitly set; no version ranges. Locked versions reduce several security risks:

They ensure that checking and deployment are all done with the same software, reducing deployment risks, simplifying debugging, and enabling reproducibility.
They can help mitigate compromised dependencies from undermining the security of the project (in the case where you've evaluated the pinned dependency, you are confident it's not compromised, and a later version is released that is compromised).
They are one way to counter dependency confusion (aka substitution) attacks, in which an application uses multiple feeds to acquire software packages (a "hybrid configuration"), and attackers fool the user into using a malicious package via a feed that was not expected for that package.

It comes with the tradeoff of inhibiting dependency updates for a vulnerability fix. To mitigate this we need to use automated tools that detect such VULNs and also notify about outdated dependencies.
Reference: https://github.com/ossf/scorecard/blob/main/docs/checks.md#pinned-dependencies

@andresuribe87 May I add your comments in the Google Doc here? It was a good discussion about what versions we should lock (ie. Plugins, Test Deps, etc?) I'd like to reflect here as we port the work into GH Issues

@ALRubinger of course! Got nothing to hide :)

Done for now, adding issue for automation to protect against this going forward: #142


Best practice for testing with redux-oidc?

Thanks for a very useful library. It's working great for authentication, but after installing it, it keeps the project tests from running: I get missing references to sessionStorage and localStorage (for wholly unrelated tests). How should I set up my project to avoid the tests failing? Could you add a simple test to the example project? (keeping the same code path on client/server as much as possible)

sessionStorage and localStorage are available in a web environment, but not in a node environment. The problem here is really in oidc-client which is interacting with those dependencies. The oidc-client library does provide WebStorageStateStore and InMemoryWebStorage which you can use in a non-browser environment. I recommend you swap the InMemoryWebStorage in place of sessionStorage and localStorage when in a 'test' environment.
import { createUserManager } from 'redux-oidc';
import { WebStorageStateStore, InMemoryWebStorage } from 'oidc-client';

const userManagerConfig = {
...
};

if (process.env.NODE_ENV === 'test') {
  const stateStoreStorage = new InMemoryWebStorage();
  const userStoreStorage = new InMemoryWebStorage();

  userManagerConfig.stateStore = new WebStorageStateStore({ store: stateStoreStorage });
  userManagerConfig.userStore = new WebStorageStateStore({ store: userStoreStorage });
}

const userManager = createUserManager(userManagerConfig);

Thank you @NerdySaiyan. Great answer!

@maxmantz I have integrated the redux-oidc lib in my react project. It works well.
Is there any Jest sample test cases for mocking the userManager and related components and other methods in react app. I wanna add test cases for authentication. I didn't find any samples for this. Any links would be appreciated.


jsonnet/prometheus-adapter: include pause container in resource calculations

Supposedly pause container should be counted towards pod resource usage.
/cc @s-urbaniak @dgrisonnet

lgtm from my side but cc'ing @brancz as he might have some more history digging why the pause container was omitted in the first place.

I think we did this because we thought container="POD" would always be 0, and we just excluded it to reduce the number of series used in queries but it seems that assumption was incorrect.
This lgtm :+1:
Side note: I believe we do the same thing all over the place in kubernetes-mixin, I think there will need to be some fixes as well.


Move the Paraview example to the normal docs since it has no code

This would also make it easier/safer to link to, since it's one of the few examples we explicitly refer to in the documentation. (i.e. all our links break when we change the name of the file and such)

also done


Minor tweaks

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/TOC.md
:white_check_mark:Succeeded

docs/consume-packages/Package-References-in-Project-Files.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.


Dependencies fix

Cleaned up some package dependencies and CMakefiles causing issues: robotis_framework_common is supposed to pass dependencies to robotis_device and dynamixel_sdk.
Further cleanup advised.

I will merge this RP when next release to ROS distro.

applied to develop branch.


Could you use ForgeGradle 4.x?

My fork of ForgeGradle 2.3 is used only for 1.12.2 as I searched whole GitHub. But developing 1.12.2 is supported with ForgeGradle 3.x/4.x. So Could you use ForgeGradle 4.x?
When all projects which are using my ForgeGradle 2.3 in GitHub will not use ForgeGradle 2.3, I'll finish developing my ForgeGradle fork of 2.3. (If some project still use my fork, my suggestion, I'll develop but slowly.) (See anatawa12/ForgeGradle-2.3#33)
To migrate ForgeGradle to 4.1.x, see steps shown in anatawa12/ForgeGradle-2.3#33

Sorry for post two times


Fix Broken Team Pace Ranking Example

I understand that you are working on improving the plotting module but I thought I should fix the broken example for the time being.

Yes, the plotting module is taking longer than expected. It's better to fix this.

Oops, now the documentation shows the wrong version tag (v3.3.6.dev1 instead of v3.3.5). I guess we can live with that. Might need to have a look at that together with the source view being out of date.


Robusta in kubernetes v1.23+

Describe the bug
I am using GKE and it keeps on complaining about the deprecated api's. I have found the issue back to the robusta-forwarder pods which try to access a deprecated api:
pkg/mod/k8s.io/client-go@v0.16.8/tools/cache/reflector.go:96: Failed to list *v1beta1.ClusterRole: the server could not find the requested resource
To Reproduce
Steps to reproduce the behavior:

Go to GKE
Use robusta
Get the following warning:

Expected behavior
Not use the deprecated api.
Is there a new chart supposed to come out soon to suppress this error?

Hi @omfurman
Thank you for reporting this.
It will be fixed on the next Robusta release (in a week or so)

will be included in 0.9.18


OAK-D Pro support

EDIT:
Support for OAK-D Pro is available in mainline with the <IP_ADDRESS> release. The demo was updated to use the new IR driver control API (only the CV GUI part for now).
Can be tested with:
python3 depthai_demo.py -gt cv -s color left right depth
python3 depthai_demo.py -gt cv -s color left right depth -lrc
Extra controls will appear in the depth window:

Note: the color camera (OV9782) on OAK-D-Pro-W-DEV is not supported yet.

Support for OAK-D Pro is available in mainline with the <IP_ADDRESS> release (not formally released yet, but can be installed now).
The demo was updated to use the new IR driver control API (only the CV GUI part for now).
Can be tested with:
python3 depthai_demo.py -gt cv -s color left right depth
python3 depthai_demo.py -gt cv -s color left right depth -lrc
Extra controls will appear in the depth window:

Note: the color camera (OV9782) on OAK-D-Pro-W-DEV is not supported yet, and a separate branch will still be needed (to be updated).

Updated the PR description.


genesyscloud_group- Include Owners

Group -
For Groups in Genesys Console GUI, we have one option called " Include Owners "

How this can be unchecked using Cx-As-Code or an API please have this included if not available.
thanks

Hi Saravana,
Thanks for reaching out to us.  I am not sure yet as this appears to be new.  I will ping Jeremy Gillip once I have a better idea of what this is.
Thanks,
John

Hi Sarvana,
The field in question is not part of the groups API.  It is actually is a private API that was never exposed in our public API hence it does not show up in our docs.   I have pinged the dev team to ask why the API is unpublished.

Hi Do we have any update on the API ? in New release 1.17.0 is fixed?

No update.  This is not fixed in v.17

Hi Saravankumar,
I met with the API team.  It turns out the old API that is being used is an extremely old and was purposely kept visible because there were plans to replace it.  (The API in question is /api/v2/groups/{Pgfgdf}/profile and is not even marked available in our API explorer).
The API owners are in the process of migrating most of the API over to a more robust and "visible" call (e.g. the groups API).
but not yet moved this functionality. I am going to get a ticket for this on their backlog, but I do not have an ETA on when they are going to begin this work.  Once they have completed their work, this should be relatively straightforward to add to the groups API.
Thanks,
John Carnell
I am going to close this comment, but keep our internal Dev tickets so it can be tracked.


Flag --check.ignore-group not working as expected

Nice tool. I am using it with default settings to scrape the rules of my Prometheus server at <IP_ADDRESS>:9090, and check against them. I am trying to ignore a rule group, but it doesn't seem to respect my flag in the below format, and still outputs this rule group.
--check.ignore-group 'groupName'
I notice in the readme examples with this check.ignore-group, it also manually passes the --check.file. Does this ignore flag only work when passing a --check.file and not when the rules are scraped from the server?

FYI I also tried the following formats, to no avail.
--check.ignore-group=groupName
--check.ignore-group="groupName"


Add authenticate if no app registered.

For multiple corporate enviroments there is no possibility for developers to register an app, for example due to company security policy. Thanks to msal library and provided by Microsoft app number developers can authenticate in their tenants using personal accont principal. After that work can progress 'as usual' in .pbi. Check this repo- I can write in near future pull request for it.

Thanks for this. At the moment, the library deliberately avoids handling authentication. This is because there's different ways to authenticate depending on the user's Power BI setup and choice of authentication library. The only requirement the library has is that the user provides a Bearer Token. pbipy adds this to each request, in the same way you've done in your example. By choosing not to handle authentication, users have the flexibility to choose the right authentication method for their Power BI instance. Thanks for linking, as this is a useful example of authentication.


WIP: Reenable sinks gcm integration test

Okay, the gcm sink integration test is still failing with the cert issue. @vishh, you mentioned a PR that should fix this, which was it?

#445

@vishh I'm guessing those changes need to be done on the other configs - especially the standalone one - for them to matter here.

Reping @vishh

@mvdan: That's correct. Can you update this PR by cloning #445 into the standalone config as well?

@vishh looks like it failed all the same.

Did you try running this test manually in your cluster? That will give you an opportunity to see why its failing.

So that's the thing - the integration tests pass on my machine, both before and after that commit.

@vishh with that last commit we should see what the error is without having to go through the logs ourselves.

@vishh okay, so one can now see that the failure is that GCM isn't enabled for the account:

Access Not Configured. The API (Cloud Monitoring API) is not enabled for your project. Please use the Google Developers Console to update your configuration.

Can't fix it from home, but will do so tomorrow morning.

retest this please

Huzzah!

@vishh cleaned up my commits, jenkins should succeed again in a few minutes. Could you review and merge?

It failed for some weird issue. retest this please

LGTM. Waiting for jenkins.

Thanks @mvdan


⚠ Bofrost.lu has degraded performance

In 6bccc71, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1952 ms

Resolved: Bofrost.lu performance has improved in 7f99f26 after 8 minutes.


Set the App language

Sets the App language during onboarding
Alllows the SettingScreen to change language at anytime
The server is always up to date regarding player language preferences

Other than the typo on the commit message (s/cuurent/current/), LGTM!


Verify connection to clusters

When adding a cluster, I feel that next to the 'Save' button we should have a 'Verify' button which connects to the Kubernetes API.
Something like hitting https://{{ KUBEAPI }}/healthz and checking the response code. This could be used to validate if the API is reachable, the certificates are trusted, and whether the authentication is successful.

Thank you for the idea @benfairless ! I think there is no need for verify button and it could become the part of the saving process.

https://github.com/pixel-point/kube-forwarder/commit/f29d693a1387314a79b138c00cada8dd0681cbc0

Added in v1.2.0 as a part of Save logic when you add a cluster. If there is a connection issue, we still allow you to add a cluster but throwing an alert. Separate button "Check connection" added to edit cluster page, as we expect it could be used for debug purpose if you decide manually adjust the configuration.


examples clang tidy configuration.

I have code running clean with clang-tidy code analysis alongside microsoft all rules checking. To do this I needed to download 16.9.0 preview 2 (because of bugs in current non user headers which cause build errors). I will have students using both earlier and later compilers and I want my solution to build out of the box without having to change the default configuration. So I will want clang tidy to be enabled (but inactivated by meta rules if MSC_VER is earlier than the value for version 16.9.0 ).
I ought to be able to experiment and discover if this is viable (e.g by tring to configure away the checks that are failing) but the general documentary support in this area (and generally with all linux stuff) is less than ideal - particularly at the interface between the respective areas of responsibility (where guidance is falling through the cracks). E.g. in this case the syntax required on the VS checks line to enable or disable a clang-tidy check isnt optimal. The feedback you get when a wrong guess is made is minimal (until you can configure the tool to produce verbose output), and the possibile syntactical interpretations many. Its not clear what other clang-tidy commands might be accepted on the line provided for enabling/disabling checks. Questions like "are the [ ] brackets in the description of use a part of the grammar expression, or a real part of the cofiguration text remain matters to experiment with. Moreover I can click-jump into microsoft help but need to google for all clang commands, which is available scatter-gunned and unversioned all over the internet, making the job at hand already quite time consuming and frustrating.  A simple example would help a lot, as would an example configuration file and a clearer indication of what the default path/name for the config file is relative to $(Solutiondir) and if and how config file can vary by platform and configuration one from another.

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

ID: 7f9a6a82-c89c-673f-0db3-9d4e2689c956
Version Independent ID: 93c77d1a-b248-a12e-b13f-9ab299e88066
Content: Using Clang-Tidy in Visual Studio
Content Source: docs/code-quality/clang-tidy.md
Product: visual-cpp
Technology: cpp-tools
GitHub Login: @corob-msft
Microsoft Alias: corob

Thanks Tyler, I appreciate this. It seems like you have improved things. I had a very quick look, but it was inconclusive if the change addressed the particular use case that led me to raise this. I wont have any time in the next couple of weeks but I'll try and give you proper feedback when I get back from a trip.


Authorization required for each request

Do you know why I would receive an authorization request each time I start the workflow? When I select INBOX for example, Safari opens, and Google displays an authorization request. When I approve the request, localhost responds with the message The authentication flow has completed. No messages ever display, and the authorization request comes back up again when I try to use it.
Let me know at what I should look, and I will be able to help isolate what is causing the issue.

Hi @DarrinTisdale,
Unfortunately, I am currently unable to look into this, but I'm not aware of any Gmail API changes.
Since you are the first having this problem, try and delete and reinstall the workflow.
Can you also check if your credentials are being stored in your keychain successfully?
Search for com.fniephaus.gmail.


[BUG] Amethyst Crashes when opening an Incorrect Link

Hi, appears that Amethyst crashes when opening a Nostr link with an incorrect npub. I tried opening what wound up being an incorrect npub from a browser, specifically nostr:npub106246s. It's probably a pretty low priority bug, since it's not like it's actually going to impair a feature, but figured it was worth cataloging.
Thanks!
Device:

Phone Brand/Model: Pixel 5a
Android Version: 14 (GrapheneOS)
App Version: 0.83.4 (F-Droid)

No specific error or message outside of occasionally saying "Amethyst is not responding", it just closes when I try to open it. The exact steps I can do to make it happen is to go to atomstr.data.haus and add a feed that already exists. When it brings me to the success page and I click "native" link within Fennec it pulls up Amethyst and then it imminently closes.
Could be I misinterpreted what's causing it, it's only the oddly specific chain of events that I've seen cause the issue. Currently on 0.83.12 and still seems to be happen.


Button color needs to be updated.

Button color does not update to the hex color of the background on refreshing the page. Someone fix this.

Issue Fixed.


Is there way to integrate AUTH mechanisms?

I have been researching about auth mechanism support for kafka. I found that there is rsasl crate for that. We need to figure out how to integrate these two and test the entire system.
https://github.com/dequbed/rsasl/tree/feature/gss-api
https://github.com/dequbed/rsasl/

This crate is transport agnostic. I'm not totally sure about integration here -- I'm not opposed to adding stuff behind feature flags if it would help integration with other libraries though!

Ohai!
I don't know much about the Kafka protocol, but rsasl is designed to be agnostic of transport too; it will just write the mechanism data into any impl io::Write you hand it (e.g. a Vec<u8>).
I'm currently getting the version 2 out of the door (which is the one you'd want to use), so the latest link on docs.rs will give you the wrong answers. https://docs.rs/rsasl/2.0.0-rc.4/rsasl/index.html is a working link for the current development version though.

@dequbed hiiii! wow, great timing, i was just looking at your crate. i started a (very provisional work in progress) tower implementation here and was planning on working on getting SASL going this weekend. thanks for the heads up i'd love to integrate with this.


Ethereum DEXs integration

0x
For trades needs to listen event LogFill:
Exchange contract
EtherDelta
Exchange
For trades needs to listen event Trade
Exchange contract
https://coinmarketcap.com/exchanges/etherdelta/
Java Ethereum Library
One issue which we need to resolve - choose way of integration

integration of connectors for dex's smart contracts to cyber-markets (which create dependency for whole cyber-markets to ethereum node)
side stand-alone services

https://github.com/paritytech/parity/wiki/JSONRPC

https://github.com/cyberFund/cybernode-connectors


Update README with more builder.toml details

Fully documents builder.toml structure
Updates create-builder image to represent new changes
Updates Builders explained section with info about lifecycle
Other stylistic changes

Please fact check and offer any comments/suggestions.
Rendered preview here: https://github.com/buildpack/pack/tree/readme-update#pack---buildpack-cli-
Signed-off-by: Andrew Meyer<EMAIL_ADDRESS>

Technically I don't believe the buildpacks or groups are required in the builder configuration, but perhaps they should be (a builder isn't particularly useful without them). So I think it still makes sense to document them this way.

@ekcasey My thought exactly when I wrote that.


Add in ALC category 3a, 3b

BMV = best and most versatile = 1, 2, 3a
There is another dataset ``likelihood of best and most versatile agricultural land'' from Natural England which is 1, 2, 3a
So to find 3a, intersect this with 1, 2, 3, 4, 5

Will move this issue to the agrifoodpy_data rrepository and close it here


.NET 7: Intro to Web API /2

Fixes #27254
Internal review URL

@captainsafia  in the test section, I'm using Swagger as the primary test approach. I'll also show how to use httprepl
The  httprepl causes too much customer confusion. They have to change the port number. Swagger is much easier.


Crash on returning new foreign class in foreign class function

Hi everyone! I've been trying to integrate Wren into a Godot module for the purposes of allowing the user to write and execute code during runtime all from within the Godot editor. I've gotten Wren integrated and working for the most part, but I've hit a bit of a snag with exposing foreign functions that return foreign classes. I seem to be able to return a foreign class using wrenSetSlotNewForeign, but whenever I try to access or do anything with the newly returned foreign class, it crashes.
Here's the Wren code:
foreign class Vector2 {
	construct create(x, y) {}

	foreign x
	foreign x()
	foreign x=(val)
	foreign y
	foreign y()
	foreign y=(val)

	foreign abs()

	foreign set(x, y)
	foreign normalize()
	foreign get_as_string()
	foreign print_to_console()
}

// ===============================
var vec = Vector2.create(10, 10)

var vec_x = vec.x()
var vec_y = vec.y()
System.print("Vector X indirect:%(vec_x)")
System.print("Vector Y indirect:%(vec_y)")
//vec.print_to_console()

vec.set(10, 20)
System.print("Vector X:%(vec.x)")
System.print("Vector Y:%(vec.y)")
//vec.print_to_console()

vec.normalize()
System.print("Vector as string: %(vec.get_as_string())")
//vec.print_to_console()

vec.set(-20, -40)
// This does not cause a crash and according to a System.print, it is assigned to an instance of a Vector2
var vec_abs = vec.abs()
// However, this causes it to crash
System.print("Vector X:%(vec_abs.x)")
System.print("Vector Y:%(vec_abs.y)")
// ===============================

All of the code above printing the X and Y variables in vec_abs works fine, but whenever I try to access anything in vec_abs it crashes.
Here's how I have the class allocated, finalized, and bound in C++
(I removed some necessary bits, like the other foreign functions)
void Foreign_Vector2::allocate(WrenVM* vm)
{
    Vector2* vec2 = (Vector2*)wrenSetSlotNewForeign(vm, 0, 0, sizeof(Vector2));
    double val_x = wrenGetSlotDouble(vm, 1);
    double val_y = wrenGetSlotDouble(vm, 2);
    vec2->x = val_x;
    vec2->y = val_y;
}
void Foreign_Vector2::finalize(void* data)
{
    // Not really anything to do here, I don't think...
}
WrenForeignMethodFn Foreign_Vector2::bind_methods(WrenVM* vm, const char* module, const char* className, bool isStatic, const char* signature)
{
    if (!isStatic)
    {
        // Properties:
        // ========================
        if (strcmp(signature, "x()") == 0) { return Foreign_Vector2::get_vector2_x; }
        else if (strcmp(signature, "x") == 0) { return Foreign_Vector2::get_vector2_x; }
        else if (strcmp(signature, "x=(_)") == 0) { return Foreign_Vector2::set_vector2_x; }

        else if (strcmp(signature, "y()") == 0) { return Foreign_Vector2::get_vector2_y; }
        else if (strcmp(signature, "y") == 0) { return Foreign_Vector2::get_vector2_y; }
        else if (strcmp(signature, "y=(_)") == 0) { return Foreign_Vector2::set_vector2_y; }
        // ========================

        // Methods:
        // ========================
        else if (strcmp(signature, "abs()") == 0) { return Foreign_Vector2::method_vector2_abs; }
        // ========================

        // Misc
        // ========================
        else if (strcmp(signature, "set(_,_)") == 0)
        {
            return Foreign_Vector2::custom_vector2_set;
        }
        else if (strcmp(signature, "normalize()") == 0)
        {
            return Foreign_Vector2::custom_vector2_normalize;
        }
        else if (strcmp(signature, "get_as_string()") == 0)
        {
            return Foreign_Vector2::custom_vector2_get_as_string;
        }
        else if (strcmp(signature, "print_to_console()") == 0)
        {
            return Foreign_Vector2::print_to_console;
        }
        // ========================
    }
    return NULL;
}
bool Foreign_Vector2::bind_classes(WrenVM* vm, const char* module, const char* className, WrenForeignClassMethods *methods)
{
    if (strcmp(className, "Vector2") == 0)
    {
        methods->allocate = Foreign_Vector2::allocate;
        methods->finalize = Foreign_Vector2::finalize;
        return true;
    }
    return false;
}

void Foreign_Vector2::method_vector2_abs(WrenVM* vm)
{
    Vector2* vec = (Vector2*)wrenGetSlotForeign(vm, 0);

    // Didn't work
    /*
    Vector2* new_vec2 = (Vector2*)wrenSetSlotNewForeign(vm, 0, 0, sizeof(Vector2));
    new_vec2 = new Vector2(vec->abs());
    */

    // Didn't work
    /*
    void* bytes = wrenSetSlotNewForeign(vm, 0, 0, sizeof(Vector2));
    new (bytes) Vector2(vec->abs());
    */

    // Doesn't work
    auto* memory = wrenSetSlotNewForeign(vm, 0, 1, sizeof(Vector2));
    new (memory) Vector2();
    auto* wrapper = reinterpret_cast<Vector2*>(memory);
    Vector2 vec_abs = vec->abs();
    wrapper->x = vec_abs.x;
    wrapper->y = vec_abs.y;
}

All of the functions in the C++ file are static, public, and defined in the header with the same syntax and formatting as the file above.
Is it possible to return a foreign class as a return value from a foreign function? I feel like I am probably missing something and that's why it's not working, but so far all of the adjustments and tests I've done have all resulted in crashes.

There is an error in your invocation of wrenSetSlotNewForeign. Second slot
argument should be the class of the foreign. Your first try, attempt to use
an instance, and your second try to access nothing. You have to grow the
stack put the class at slot 1 (possibly from slot 0, I don't remember if we
have an API for that, or if you have to use a WrenHandle), and with that
you'll be able to create your instance.

Something like this?
WrenHandle* test_handle = wrenGetSlotHandle(vm, 0);

Vector2* new_vec2 = (Vector2*)wrenSetSlotNewForeign(vm, 0, 1, sizeof(Vector2));

Vector2 vec_abs = vec->abs();
new_vec2->x = vec_abs.x;
new_vec2->y = vec_abs.y;

test_handle = (WrenHandle*)new_vec2;
wrenSetSlotHandle(vm, 0, test_handle);

The code above, when in the function to return the foreign object, gives me this:
Vector Type:<PHONE_NUMBER>8
[Runtime Error] Num does not implement 'x'.
[main line 88] in (script)
Runtime Error!

Which is closer, but it still isn't returning the right type. I tried using slot 1 with wrenGetSlotHandle, but it was crashing like before, while using slot 0 seems to have it return a number rather than the foreign Vector2 class.
I'm sure I'm missing something obvious.

Unless I'm is taken, there is nothing in slot 1. So you have to grow the
stack and push the class from slot 0 to slot 1 before calling
wrenSetSlotNewHandle(vm, 0, 1, size of(Vectors)).

When you say grow the stack and push the class, I'm not quite following how to do that. I've tried using wrenGetSlotHandle(vm, 0) and wrenGetSlotHandle(vm, 1) and then setting it to the class using test_handle = (WrenHandle*)new_vec2 but I'm guessing that is not the way to do it or I am still missing something.

Okay, I think I figured it out! I think you need to use wrenGetVariable and point it to the Foreign class you define in Wren code and store that in the slot that matches the class_slot in wrenSetSlotNewForeign.
I found how to get and store the class into the slot from this code snippet in this issue. Now it seems to be working.
For anyone looking in the future, here's the code that I found that works:
wrenGetVariable(vm, "main", "Vector2", 1);
Vector2* new_vec2 = (Vector2*)wrenSetSlotNewForeign(vm, 0, 1, sizeof(Vector2));
Vector2 vec_abs = vec->abs();
new_vec2->x = vec_abs.x;
new_vec2->y = vec_abs.y;

And I'm loading the code into the main module with my Wren foreign class defined as below:
foreign class Vector2 {
	construct create(x, y) {}

	foreign x
	foreign x()
	foreign x=(val)
	foreign y
	foreign y()
	foreign y=(val)

	foreign abs()

	foreign set(x, y)
	foreign normalize()
	foreign get_as_string()
	foreign print_to_console()
}

Thanks @mhermier for the help!
Is this solution correct? And if so, should I close this issue?

The solution is correct (with possible some subtle technical issues, like ensuring the stack size, and accessing the class via module) but slow because of wrenGetVariable.
Maybe a function should be added that would put the type of a slot to a destination slot. It would ease coding and avoid some awkward questions like were to store the reference/handle to the class in many cases.

Great!
I plan to change how the code I’m using a bit so I can use a handle to store the class, rather than using wrenGetVariable, now that I understand more on how it all works.
I think having a function for this sort of thing would be helpful, especially for those getting started, or perhaps having an example in the documentation/embedding section of the website that shows a quick example. I knew I was missing something, but until I got your help, I wasn’t able to figure it out even after looking around on both GitHub and via Google.
Thanks so much for the help, I really appreciate it!
I’ll close the issue since a solution was found.


OAuth process with SaaS business central Odata Services.

Hello,
we are Using OAuth to Authorize Business Central Web Services (OData and SOAP). Part of this  we are registering the console application in the Azure AD tenant. We unable to find what redirect url to mention with Azure AD
We found some references with onprem versions but we couldn't find SaaS.  Can someone please help me with example for redirect url.
We have tried with different URl's. But when we try to do the Grant Consent in BC getting the following ERROR. Please help on this
AADSTS50011: The reply URL specified in the request does not match the reply URLs configured for the application: '8B036D70-01A5-499F-BC2E-A6781859A647'
Thanks.

This repository no longer handles general questions and is only dedicated to bug reports for the latest preview version of the AL compiler and developer tools, while this seem to be a runtime issue or question.
To get help for your question please use one of the following resources:
Business Central Community
mibuso forum
Dynamics User Group
If this turns out to be a bug in the product, we suggest that you open a support case or file a bug in Collaborate, to ensure that all Business Central users benefit from your catch as soon as possible.
To open a support case, you can:

Open a support request to CSS through the PartnerSource portal
Contact your Service Account Manager (SAM) in your local subsidiary to understand what is included in your contract as of support incident and PAH (Partner Advisory Hours). Your SAM might also direct you "step by step" how to open a support request or how to get credentials, if this is the first time for you or your company

If you file the bug in Collaborate, remember to include steps to reproduce the issue, and the Business Central build number and country version you're using.


Linkedlist singly and doubly

6 new classes have been added for the programmer to interact with:

linkedlist

LinkedListNode
LinkedList
ForwardList

doublylinkedlist

DoublyLinkedListNode
DoublyLinkedList
List

The *Node classes in both modules are the handle most of the state generation
The ForwardList and List class do not generate states directly. They just use the Node classes which renders the states
# fl is an object of ForwardList
fl.push_front(3)

will create a node with value 3 and add it to the front of forwardlist
the states generated in this scenario would be llnode_declare , llnode_next , ll_head which interact with particular nodes rather than the list itself. Thus we can step by step show how the pointers and the values of nodes are altered for simple operations which would be essential for teaching purpose.
The LinkedList is a parent to the ForwardList. The ForwardList comes with all the methods and attributes needed to use the class as an container. The LinkedList class contains only a head attribute. I have designed in this way so programmers have the freedom to use this and LinkedListNode as basic building blocks to make their LinkedList method implementation. Same applies betweem the DoublyLinkedList and List classes.

This will make the rendering process logically easier but might make technically difficult with respect to placing nodes and managing pointers between them.

Why two different kinds of linked lists?

Why two different kinds of linked lists?

Why two different kinds of linked lists?

One for doubly linked list and one for singly linked list

Why two different kinds of linked lists?

One for doubly linked list and one for singly linked list

Regarding the mountain of commits after that

I just configured codacy for our project, we were previous running on defaults which caused faulty poor results. And resolved some code style issues while i was at it

Regarding the mountain of commits after that

I just configured codacy for our project, we were previous running on defaults which caused faulty poor results. And resolved some code style issues while i was at it

@yatharthmathur is that review done?

@yatharthmathur is that review done?

Yea I reviewed and comment last time for that doubt about doubly linked

Yea I reviewed and comment last time for that doubt about doubly linked


feat: list view filters for Query History

SUMMARY

Add filters for Query History list view, including a date range filter.
upgrade antd and moment due to incompatible versions in the types for the DatePicker

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

After:

TEST PLAN

unit tested
manual testing:

filter by Database
filter by State
filter by User
filter by Time Range
filter by query text

ADDITIONAL INFORMATION

[ ] Has associated issue:
[ ] Changes UI
[ ] Requires DB Migration.
[ ] Confirm DB Migration upgrade and downgrade tested.
[ ] Introduces new feature or API
[ ] Removes existing feature or API

Codecov Report

Merging #11702 (f1bf3a2) into master (68693c7) will decrease coverage by 0.60%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master   #11702      +/-   ##
==========================================
- Coverage   62.86%   62.26%   -0.61%
==========================================
  Files         889      435     -454
  Lines       43055    26871   -16184
  Branches     4017        0    -4017
==========================================
- Hits        27065    16730   -10335
+ Misses      15811    10141    -5670
+ Partials      179        0     -179

Flag
Coverage Δ

javascript
?

python
62.26% <100.00%> (-0.63%)
:arrow_down:

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

Impacted Files
Coverage Δ

superset/queries/api.py
100.00% <100.00%> (ø)

superset/db_engines/hive.py
0.00% <0.00%> (-85.72%)
:arrow_down:

superset/db_engine_specs/hive.py
53.90% <0.00%> (-30.08%)
:arrow_down:

superset/db_engine_specs/presto.py
69.76% <0.00%> (-12.53%)
:arrow_down:

superset/utils/cache.py
76.00% <0.00%> (-4.00%)
:arrow_down:

superset/examples/world_bank.py
97.10% <0.00%> (-2.90%)
:arrow_down:

superset/examples/birth_names.py
96.51% <0.00%> (-2.33%)
:arrow_down:

superset/views/database/mixins.py
80.70% <0.00%> (-1.76%)
:arrow_down:

superset/models/core.py
88.01% <0.00%> (-0.82%)
:arrow_down:

superset/connectors/sqla/models.py
90.77% <0.00%> (-0.14%)
:arrow_down:

... and 446 more

Continue to review full report at Codecov.

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

merging this before I get any more comments! 😃


Kendra web crawler not finding the Indexer

Hello,
I am trying to test the QnaBot built in web crawler based on the read me here:
https://catalog.us-east-1.prod.workshops.aws/workshops/20c56f9e-9c0a-4174-a661-9f40d9f063ac/en-US/qna/kendra-web-index
here are my settings:

here is my indexer:

But I am unable to crawl the web links, here is the error from cloudwatch.

Please advise.

Hi @kmaramr, on first glance this could be caused by the Kendra index and the Q&A bot deployment being in separate accounts or regions. Can you please confirm that the Kendra index is in the same account and region as the Q&A bot deployment?
If this doesn't resolve the issue then can you please use the bug issue template? This will allow us to better support your request. i.e. version, steps to reproduce, etc.


Add fica.Config.get_user_config

Closes #19

Codecov Report

Merging #20 (12a3ee4) into main (fddbf40) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##              main       #20   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            7         7
  Lines          243       263   +20
=========================================
+ Hits           243       263   +20

Impacted Files
Coverage Δ

fica/config.py
100.00% <100.00%> (ø)

fica/exporter.py
100.00% <100.00%> (ø)

fica/key.py
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


add max_retries support

Occasionally, testcases are failed by network failure. If I need a retry to make it passed, I can pass max_retries=1 to Create Session.

Thanks for this but I wont be able to merge it if tests are failing.

I can't figure out why "Do Not Pretty Print a JSON object" is failing.
{u'key_two': u'this is a test string', u'key_one': u'true'} != {u'key_one': u'true', u'key_two': u'this is a test string'}
any idea?

Yes, try enclose them in ":
"{u'key_two': u'this is a test string', u'key_one': u'true'}" !=
"{u'key_one': u'true', u'key_two': u'this is a test string'}"
On Tue, Aug 18, 2015 at 10:48 AM, myzhan<EMAIL_ADDRESS>wrote:

I can't figure out why "Do Not Pretty Print a JSON object" is failing.
{u'key_two': u'this is a test string', u'key_one': u'true'} !=
{u'key_one': u'true', u'key_two': u'this is a test string'}
any idea?
—
Reply to this email directly or view it on GitHub
https://github.com/bulkan/robotframework-requests/pull/59#issuecomment-132147349
.

This is the test.
Should Be Equal As Strings    ${jsondata['args']}    ${var}
Both ${jsondata['args']} and ${var} are dicts.
As a workaround, I can convert them to str, before passing them to robot's
build-in keyword, but it's not nice :(
2015-08-18 17:59 GMT+08:00 Hélio Guilherme<EMAIL_ADDRESS>
Yes, try enclose them in ":
"{u'key_two': u'this is a test string', u'key_one': u'true'}" !=
"{u'key_one': u'true', u'key_two': u'this is a test string'}"
On Tue, Aug 18, 2015 at 10:48 AM, myzhan<EMAIL_ADDRESS>wrote:

I can't figure out why "Do Not Pretty Print a JSON object" is failing.
{u'key_two': u'this is a test string', u'key_one': u'true'} !=
{u'key_one': u'true', u'key_two': u'this is a test string'}
any idea?
—
Reply to this email directly or view it on GitHub
<
https://github.com/bulkan/robotframework-requests/pull/59#issuecomment-132147349

.

—
Reply to this email directly or view it on GitHub
https://github.com/bulkan/robotframework-requests/pull/59#issuecomment-132152104
.

Now I see that the dictionaries are nor sorted. You must compare them using the same sort order. Do that before testing.


Migration path for pre 1.2 projects.

Is your feature request related to a problem? Please describe.
Database migrations is going to be the new standard tool to set up your Serverpod database. Therefore we need to provide an upgrade path for pre 1.2 projects so that they can utilize migrations.
Describe the solution you'd like
A series of steps or instructions together with CLI support that helps pre 1.2 projects upgrade to the new migrations framework.
The suggested solution is to use the repair functionality from the migration CLI command.
Additional context
Part of the database migration epic: #154

Pushed a draft to the database branch on our documentation repo. It is found under the Migration page but should probably be broken out into a separate article.


Added remaining docstrings

Description
Added remaining docstrings
Type of change

Documentation update

Testing steps
N/A
Checklist

[ ] make before_commit passes
[ ] updated documentation wherever necessary
[ ] added or modified tests if necessary
[ ] updated schemas and validators in insights-data-schemas in case of input/output change

Codecov Report
Base: 95.16% // Head: 95.16% // No change to project coverage :thumbsup:

Coverage data is based on head (2feb2b2) compared to base (1fc20fe).
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #276   +/-   ##
=======================================
  Coverage   95.16%   95.16%
=======================================
  Files          39       39
  Lines        1302     1302
=======================================
  Hits         1239     1239
  Misses         46       46
  Partials       17       17

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Safety Objective & Endpoint [Rules]

Do we need safety objective/endpoint in CT. MIght be needed to support old studies?

@dih-cdisc @ASL-rmarshall : I don't think rules are needed for this as the notes relationships are completely optional and flexible for users. If you agree then we can close this ticket.


fix race conditions in sending and editing messages

Fixes intermittent Cannot set new context used for bot message errors in chat when you are editing a message.
If a submit or edit operation was aborted, its prompt builder would continue trying to mutate the transcript. Now it fully aborts.
Instead of wrapping ONLY the low-level LLM interaction with cancelation, now the entire submit or edit operations are wrapped in a cancelation.
Test plan
CI
Also, try spamming new messages by pressing Enter repeatedly in a chat. Previously, you would be likely to get some Cannot set new context used for bot message errors, and now, it does not show errors and properly restarts the operation cleanly each time.

This didn't seem to work for me:
https://github.com/sourcegraph/cody/assets/153/c8941747-8961-4c4e-9742-c0b976af78ba

merged in https://github.com/sourcegraph/cody/pull/4305


Fix query profile with parallel traversals

Scope & Purpose
Query profiling is currently broken when using parallel traversals, looks like code that was leftover during a merge

[x] Bug-Fix for devel-branch (i.e. no need for backports?
[x] The behavior change can be verified via automatic tests

Testing & Verification
This PR adds tests that were used to verify all changes:

[x] Added Regression Tests (Only for bug-fixes)

http://jenkins01.arangodb.biz:8080/job/arangodb-matrix-pr/10637/

Tests blue


OFF file calibration needs to use LineModel objects for fitting, not the deprecated LineFitter class

Original report by Joseph Fowler (Bitbucket: joe_fowler, ).

Class LineFitter is deprecated, but the calibration procedures for OFF files use it. Change them to use the newer LineModel family of classes.

Original comment by Joseph Fowler (Bitbucket: joe_fowler, ).

G: is this fixed by the recent PR you completed this morning?


gatt - add offset to buffer write for 0.10 type error fixes

In node 0.10, the lack of the offset argument causes the following error.
TypeError: offset is not uint
    at TypeError (<anonymous>)
    at checkInt (buffer.js:786:11)
    at Buffer.writeUInt8 (buffer.js:794:5)
    at Gatt.executeWriteRequest (/root/Computrols/ble-manager/node_modules/noble/lib/hci-socket/gatt.js:302:7)
    at Gatt.longWrite (/root/Computrols/ble-manager/node_modules/noble/lib/hci-socket/gatt.js:578:27)
    at Gatt.write (/root/Computrols/ble-manager/node_modules/noble/lib/hci-socket/gatt.js:533:17)
    at NobleBindings.write (/root/Computrols/ble-manager/node_modules/noble/lib/hci-socket/bindings.js:364:10)
    at Noble.write (/root/Computrols/ble-manager/node_modules/noble/lib/noble.js:284:19)
    at Characteristic.write (/root/Computrols/ble-manager/node_modules/noble/lib/characteristic.js:74:15)

//cc @sandeepmistry @jacobrosenthal

@brycejacobs the changes in https://github.com/sandeepmistry/noble/pull/667/commits/1e721747a2994727e74f42df62c4f2abf15df79a look ok to merge to me.
The other commit seems unrelated though and change behaviour.

The other commit is required to have a long write work with a callback. If not, the first case always gets triggered.
It shouldn't change behavior.

On Sep 4, 2017, at 7:26 PM, Sandeep Mistry<EMAIL_ADDRESS>wrote:
@brycejacobs the changes in 1e72174 look ok to merge to me.
The other commit seems unrelated though and change behaviour.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

Could you please provide a way to reproduce the issue?

Sure,
  if (withoutResponse) {
    this._queueCommand(this.writeRequest(characteristic.valueHandle, data, true), null, function() {
      this.emit('write', this._address, serviceUuid, characteristicUuid);
    }.bind(this));
  } else if (data.length + 3 > this._mtu) {
    return this.longWrite(serviceUuid, characteristicUuid, data, withoutResponse);
  } else {
    this._queueCommand(this.writeRequest(characteristic.valueHandle, data, false), function(data) {
      var opcode = data[0];

      if (opcode === ATT_OP_WRITE_RESP) {
        this.emit('write', this._address, serviceUuid, characteristicUuid);
      }
    }.bind(this));
  }

Let's say mtu = 23, and you want to write some data that is of the length 50.


Improves design of floating save buttons

Description
Fixes #1768
Notes (out of scope, known isues, hints for reviewing code, ...)  (optional)
...
Test cases

[ ] Case 1:

Given I am the usual user
When I go to this page
And I modify form data
Then I new design of floating buttons

[auto-generated message] E2E test report on: https://algorea-static.s3.eu-central-1.amazonaws.com/branch/feature/cancel-changes-button-design/playwright-report/index.html


Build openstack-watcher container

This pull request:
* Builds OpenStack Watcher containers
* Add python-watcherclient package to openstackclient container
* Add openstack-watcher-ui package to horizon container
Note: python-watcherclient and openstack-watcher-ui is not available in downstream currently. It is available in CentOS Stream with RDO antelope release. That's why we have added these packages under tcib_distro conditional to avoid breakage downstream.
Test results: https://github.com/openstack-k8s-operators/tcib/pull/215#issuecomment-2459510817
Jira: https://issues.redhat.com/browse/OSPRH-11085
Co-authored-by: Alfredo Moralejo<EMAIL_ADDRESS>Signed-off-by: Chandan Kumar<EMAIL_ADDRESS>

/assign @rlandy

recheck

From openstack meta content provider results, Link to watcher containers: https://logserver.rdoproject.org/15/215/84602e0ec8da34c3c73dca78c2b8f0d5df5ae6ea/github-check/openstack-meta-content-provider/6664be7/ci-framework-data/logs/4c45eaca-5ae8-415a-b049-47c753375d81/base/os/watcher-base/

Is watcher service going to be tech-preview in a OSP 18 Feature Release or OSP19? Is there any PM agreement for that you could link it the linked jira?

@rabi Hello, thank you for the comments, https://issues.redhat.com/browse/OSPRH-7674 tracks it and it is targeted as a tech preview in RHOS-18.0 FR 2 release.


Pyperclip not recognized.

OS: Ubuntu 22.04
python version: v3.9.10
pydetex version: v1.0.8

Running the command from a shell, I get:
$ python3 -m pydetex.gui
/usr/local/lib/python3.8/dist-packages/pydetex/gui.py:246: UserWarning: pyperclip is not available on your system (copy/paste mechanism). GUI buttons were disabled
  warn(error)

Even though pyperclip seems to be installed fine, and Copy & Paste inside the GUI works fine.
$ locate pyperclip
/usr/lib/python3/dist-packages/prompt_toolkit/clipboard/pyperclip.py

Indeed the two buttons at the bottom of the window are disabled.
If I execute:
python3 -m pip show pyperclip

It recognizes pyperclip as installed, no problems.

Hi, I guess that Pydetex cannot import the library. If you look at the path, python3 relies on lib/python3.8/dist-packages/... whereas paperclip is on lib/python3/dist-packages. This error happens while trying to execute pyperclip.paste()
https://github.com/ppizarror/PyDetex/blob/3b93bc938f8c426d10b39559019b8bdeecd93527/pydetex/gui.py#L239-L248

Hi, I have updated the tool. Now it creates a much more complete warn message if pyperclip fails. See updated v1.1.0. I am closing this issue.
https://github.com/ppizarror/PyDetex/blob/42ddea2f0b587334f818d909937e6bfea5ea8971/pydetex/gui.py#L252-L259


Add --allow-read argument to CLI install instructions

Deno.execPath() as used in the more recent lume-cli scripts needs read access.
Otherwise, you get a nasty warning on every invocation:
lume -h
┌ ⚠  Deno requests read access to <exec_path>.
├ Requested by `Deno.execPath()` API.
├ Run again with --allow-read to bypass this prompt.
└ Allow? [y/n/A] (y = yes, allow; n = no, deny; A = allow all read permissions)

Thanks!
According to the README.md in the repo, it needs --allow-env too:
deno install --allow-run --allow-env --allow-read --name lume --force --reload https://deno.land/x/lume_cli/mod.ts

Could you update the command before merging?

I didn't get a warning because of the missing --allow-env, but i'll add it.

It was required for npm packages: https://github.com/lumeland/cli/compare/v1.0.1...v1.0.2
Maybe it's not longer required?


repo-reorg-experimental

Simplifying repo organization (experimental).

We like this @mmiele - what is the next step to upstream into the DASH Repo?
TY, Kristina

Obsolete replaced by https://github.com/mmiele/DASH/pull/18.


resolves issue where an RSS feed with external images was not properl…

…y being parsed into an image URL for display

Resolves #519


ActiveRecord::StatementInvalid: PG::NotNullViolation: ERROR:  null value in column "item_id" violates not-null constraint
DETAIL:  Failing row contains (2724, Article, null, update, null, ---
id: 656
title:
created_at: 2016-03-12 02:15:55.221448000 Z
...

View details in Rollbar: https://rollbar.com/trystant/BOW/items/319/

PG::NotNullViolation: ERROR:  null value in column "item_id" violates not-null constraint
DETAIL:  Failing row contains (2724, Article, null, update, null, ---
id: 656
title:
created_at: 2016-03-12 02:15:55.221448000 Z
..., 2016-03-12 17:14:48.668097, ---
title:
-
- John T. Williams
, <IP_ADDRESS>, 2724).

  File "/app/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.6.rc1/lib/active_record/connection_adapters/postgresql_adapter.rb", line 602, in exec_prepared
  File "/app/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.6.rc1/lib/active_record/connection_adapters/postgresql_adapter.rb", line 602, in block in exec_cache
  File "/app/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.6.rc1/lib/active_record/connection_adapters/abstract_adapter.rb", line 472, in block in log
  File "/app/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.6.rc1/lib/active_support/notifications/instrumenter.rb", line 20, in instrument
  File "/app/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.6.rc1/lib/active_record/connection_adapters/abstract_adapter.rb", line 466, in log
  File "/app/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.6.rc1/lib/active_record/connection_adapters/postgresql_adapter.rb", line 601, in exec_cache
  File "/app/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.6.rc1/lib/active_record/connection_adapters/postgresql_adapter.rb", line 585, in execute_and_clear
  File "/app/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.6.rc1/lib/active_record/connection_adapters/postgresql/database_statements.rb", line 173, in exec_delete
  File "/app/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.6.rc1/lib/active_record/connection_adapters/abstract/database_statements.rb", line 114, in update
  File "/app/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.6.rc1/lib/active_record/connection_adapters/abstract/query_cache.rb", line 14, in update
  File "/app/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.6.rc1/lib/active_record/relation.rb", line 345, in update_all
  File "/app/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.6.rc1/lib/active_record/associations/has_many_association.rb", line 159, in delete_count
  File "/app/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.6.rc1/lib/active_record/associations/has_many_association.rb", line 175, in delete_records
  File "/app/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.6.rc1/lib/active_record/associations/collection_association.rb", line 525, in remove_records
  File "/app/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.6.rc1/lib/active_record/associations/collection_association.rb", line 518, in block in delete_or_destroy
  File "/app/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.6.rc1/lib/active_record/associations/collection_association.rb", line 183, in block in transaction
  File "/app/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.6.rc1/lib/active_record/connection_adapters/abstract/database_statements.rb", line 211, in transaction
  File "/app/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.6.rc1/lib/active_record/transactions.rb", line 220, in transaction
  File "/app/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.6.rc1/lib/active_record/associations/collection_association.rb", line 182, in transaction
  File "/app/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.6.rc1/lib/active_record/associations/collection_association.rb", line 518, in delete_or_destroy
  File "/app/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.6.rc1/lib/active_record/associations/collection_association.rb", line 268, in delete
  File "/app/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.6.rc1/lib/active_record/associations/collection_association.rb", line 538, in replace_records
  File "/app/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.6.rc1/lib/active_record/associations/collection_association.rb", line 373, in block in replace
  File "/app/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.6.rc1/lib/active_record/associations/collection_association.rb", line 183, in block in transaction
  File "/app/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.6.rc1/lib/active_record/connection_adapters/abstract/database_statements.rb", line 213, in block in transaction
  File "/app/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.6.rc1/lib/active_record/connection_adapters/abstract/transaction.rb", line 184, in within_new_transaction
  File "/app/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.6.rc1/lib/active_record/connection_adapters/abstract/database_statements.rb", line 213, in transaction
  File "/app/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.6.rc1/lib/active_record/transactions.rb", line 220, in transaction
  File "/app/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.6.rc1/lib/active_record/associations/collection_association.rb", line 182, in transaction
  File "/app/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.6.rc1/lib/active_record/associations/collection_association.rb", line 373, in replace
  File "/app/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.6.rc1/lib/active_record/associations/collection_association.rb", line 67, in ids_writer
  File "/app/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.6.rc1/lib/active_record/associations/builder/collection_association.rb", line 76, in version_ids=
  File "/app/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.6.rc1/lib/active_record/attribute_assignment.rb", line 54, in public_send
  File "/app/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.6.rc1/lib/active_record/attribute_assignment.rb", line 54, in _assign_attribute
  File "/app/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.6.rc1/lib/active_record/attribute_assignment.rb", line 41, in block in assign_attributes
  File "/app/vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.6.rc1/lib/action_controller/metal/strong_parameters.rb", line 185, in each_pair
  File "/app/vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.6.rc1/lib/action_controller/metal/strong_parameters.rb", line 185, in each_pair
  File "/app/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.6.rc1/lib/active_record/attribute_assignment.rb", line 35, in assign_attributes
  File "/app/vendor/bundle/ruby/2.2.0/gems/rails_admin-0.6.7/lib/rails_admin/adapters/active_record/abstract_object.rb", line 19, in set_attributes
  File "/app/vendor/bundle/ruby/2.2.0/gems/rails_admin-0.6.7/lib/rails_admin/config/actions/edit.rb", line 27, in block (2 levels) in <class:Edit>
  File "/app/vendor/bundle/ruby/2.2.0/gems/rails_admin-0.6.7/app/controllers/rails_admin/main_controller.rb", line 22, in instance_eval
  File "/app/vendor/bundle/ruby/2.2.0/gems/rails_admin-0.6.7/app/controllers/rails_admin/main_controller.rb", line 22, in edit
  File "/app/vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.6.rc1/lib/action_controller/metal/implicit_render.rb", line 4, in send_action
  File "/app/vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.6.rc1/lib/abstract_controller/base.rb", line 198, in process_action
  File "/app/vendor/bundle/ruby/2.

This is something that is happening locally in development.


Not working in Qt Quick project, locking up

Hello. Great work on this project, but I can't get it to work in a QtQuick 2 project.
I've created a empty QtQuick project and added your Chart.bundle.js, Chart.qml and main.qml to the project. Also added visible: true to the Window object in main.qml
When trying to run the project the the executable shows up as a white window and just locks up and "stops answering".
Any suggestions?
Compiling for Qt 5.12, Windows 10.

Updating to latest version of Qt Creator and compiling to 5.12.7 seems to have fixed the issue somehow. Atleast I'm able to get the plots showing and the its not locking up anymore.

Thank you for your information and good to hear that it works now!
Concerning your previous issue, did you also try to run animationExample.qml or just main.qml when this happened? Locking up sounds strange, there was no console output, I suspect? Locking should only happen if there is some infinite loop/recursion in JavaScript due to some error, or when Qt itself has a bug. I myself use Qt5.13.2.

Can't remember everything I tried, but I tried pretty much everything from bare minimal to your main.qml. No console output.
Havent done much testing yet bit everything seems to work as expected so far (except for the legend dashed line appearance).
However I've noticed that there's an error output if mousing over the window when the application starts. But the tooltips works etc. Will report back if I notice something odd.

qrc:/Chart.qml:60: TypeError: Property 'handler' of object QQuickMouseArea_QML_1(0x2320dd40) is not a function

I would suggest to at least make ChartJs2QML compatible with Qt 5.12.7 since that is the latest and only LTS-version of Qt.

Ah yes, at this point in time, handler is not yet defined. This error can be safely ignored, but we will introduce some check against undefined to remove the warning.
I will check to fix it with 5.12.7, if possible
Thanks for your valuable input!

Having installed and used qmlscene of 5.12.7 with macOS, I can confirm that it also works. Strange

Also note that we have fixed the dashed-line button... strangely, setLineDash([]) does not seem to work with QML


When both shading commandapi and nbtapi package directory error

CommandAPI version: 6.0.5
Minecraft version: 1.17
What I did:
I shaded plugin both CommandAPI and NBTAPI
Actual result:
When building plugin this happen
class file for de.tr7zw.nbtapi.NBTContainer not found
What should have happened:
Build should be successful
It might be NBTAPI package dir change to "de.tr7zw.changeme.nbtapi.NBTContainer" but CommandAPI's import dir is not changed

The NBTAPI has two methods at which it can be used:

It can be used as a standalone plugin, where the API .jar file is included in your plugins directory
It can be shaded into another plugin, and its package names have to be relocated

In order to use the CommandAPI with the NBTAPI standalone plugin, the CommandAPI has to import de.tr7zw.nbtapi.NBTContainer. However, if the CommandAPI wants to be used with a shaded version of the NBTAPI, it has to import de.tr7zw.changeme.nbtapi.NBTContainer and then be relocated at compile time when both the NBTAPI and CommandAPI are shaded in together.
So effectively, the package for the NBTAPI that the CommandAPI should import depends on whether the user is shading the NBTAPI or not. I think the best way to handle such a case is for me to create a separate module, such as commandapi-shade-nbtapi, which uses all of the NBTAPI de.tr7zw.changeme.nbtapi.NBTContainer packages instead of the standalone packages.

Implementing such a thing is incompatible with the CommandAPI's annotation system. The CommandAPI's annotation system would also require a variant (e.g. commandapi-annotation-nbtapi) in order to be compatible with shading both the NBTAPI and the CommandAPI at the same time.
At this point, it makes one wonder if shading is the correct thing to do here, and I'd recommend not shading because this whole package relocation thing is unnecessarily complicated and more work than it should be.

Fixed in 8.4.0.


Implement new pure java sass generation using vaadin sass compiler

The vaadin sass compiler is a pure java implementation of the sass compiler, see https://github.com/vaadin/sass-compiler

Hi,
The JIRA JAWR-354 has been created to track this new feature request.
Cheers,

Hi,
This issue has been fixed in the master branch of https://github.com/ic3fox/jawr-main-repo
Cheers


Nested calc() values are not parsed

Nested calc values are used in Bootstrap 4 on things like tooltips, for example:
.testclass1 {
    bottom: calc(( 0.5rem - 1px ) * -1);
}

The php css parser seems to ignore these.
#79 has fixed calc values for subtraction, would supporting nesting be possible too?

Can you test the changes proposed by this PR https://github.com/sabberworm/PHP-CSS-Parser/pull/140

Removed max-width:calc(50% - ( ( 4% ) * 0.5 ) ); also

@ajeetku this should be fixed in master. Please give that one a try.

ok checked its working @raxbg

@sabberworm Looks like this can be closed


[Dialog] allow overflow body content

Coverage increased (+0.1%) to 92.267% when pulling 8dc62b6032f3726a2b100d650ea0986b0250868a on petermikitsh:dialog-overflow into acbb5b45a42f7ab975a577d2d4d4af961f55d36a on collegepulse:master.


ASP.NET OmniSharp server is not running on Ubuntu Mono

After setting up VS Code, I'm trying to run an ASP.NET 5 project using Visual studio code's command palette on Ubuntu Linux 14.4.
The DNVM installed is for Mono. Following the steps given on VS code's official docs, the project is created with Yeoman scaffolder.
Whenever trying to start the project, I get the following error:

OmniSharp server is not running.

I found some posts when trying to solve this but most seems to be addressing either Console project or are given for OS x:

For a Console App
This is for debugging not running
The output of mono --version shows that it is >3.12:

My dnvm is already the latest

I can run the project by using dnx web command from Terminal.
However, my simple question:

How do I run ASP.NET 5 on Ubuntu using VS Code?

Side question : Not sure by when the debugging will be supported. Any rumours about the extension will be appreciated.

SOURCE

This issue was moved to OmniSharp/omnisharp-vscode#27

@jrieken I have the same problem on Windows 10. The linked issue OmniSharp/omnisharp-vscode#27 is still not resolved. For workaround what should I do this - run omnisharp manually as stated in Windows section [here] (https://github.com/OmniSharp/omnisharp-server)?

@jannavarro As per my question, I'm able to run the project by going into project directory using cd and using dnx web


Updated Breadcrumbs/Readme, removed breadcrumb4

Removed breadcrumb4

Nice work @Rup-Royofficial

Hey
Sorry to disturb, but I am a bit perplexed b'coz
the PR I submitted for the bug , was merged successfully
But while surfing through the contributors page for this specific project, I didn't find myself there
I am quite new to this, and I don't exactly understand why is that so?
Can you shed some light onto this?

Ok, I will keep that in mind


Rubocop style fixups

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[x] Have you written new tests for your changes? Here's an example.
[x] Have you successfully run brew tests with your changes locally?

CC @reitermarkus for some reason these failed when they hit master even although the PR was green? https://travis-ci.org/Homebrew/brew/builds/163074310

This was because only the old file names were excluded in the .rubocop_todo.yml, and since the new .rubocop_todo.yml wasn't actually merged in the parallel_tests PR, it was green.


Fix typos in tutorials

Fix typos in the tutorials.

You're welcome, @robertaboukhalil ! I'm more than happy to help 🥳


Video fails to play when subtitles are enabled

Description of the problem
The video urn:rts:video:14378203 does not play (note that this content has limited availability) when French subtitles are enabled. A cryptic error is returned by the player
Error Domain=CoreMediaErrorDomain Code=-16012 "(null)"

Relevant stack trace or log output
No response
Reproducibility
Always
Steps to reproduce

Play the provided URN with the Pillarbox demo.
Playback either fails immediately if French subtitles were already set. If playback starts simply enable these subtitles to make playback immediately fail.

The issue affects Letterbox as well, both on iOS as well as on the web in Safari.
Library version
0.7.0
Operating system
iOS 17
Code sample
No response
Is there an existing issue for this?

[X] I have searched existing issues and found no similar bug report.

Analysis
This content is protected by DRM but we can still check its master playlist:
#EXTM3U
#EXT-X-VERSION:5
#EXT-X-MEDIA:TYPE=SUBTITLES,GROUP-ID="subs",LANGUAGE="fr",NAME="text_fra_sdh",DEFAULT=NO,AUTOSELECT=YES,FORCED=NO,URI="https://rtsvod-euwe.akamaized.net:443/f928a3d4-f2ac-4a98-804b-f6e55239550f/4ce78d2b27d770d825c58766336e2df9/grans_20231015_full_fra_sdh.m3u8"
#EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="audio",NAME="audio_fra",LANGUAGE="fr",URI="QualityLevels(128000)/Manifest(audio_fra,format=m3u8-aapl)"
#EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="audio",NAME="audio_eng",LANGUAGE="en",DEFAULT=YES,URI="QualityLevels(128000)/Manifest(audio_eng,format=m3u8-aapl)"
#EXT-X-STREAM-INF:SUBTITLES="subs",CLOSED-CAPTIONS=NONE,BANDWIDTH=658242,RESOLUTION=484x272,CODECS="avc1.4d401f,mp4a.40.2",AUDIO="audio"
QualityLevels(500104)/Manifest(video,format=m3u8-aapl)
#EXT-X-I-FRAME-STREAM-INF:BANDWIDTH=658242,RESOLUTION=484x272,CODECS="avc1.4d401f",URI="QualityLevels(500104)/Manifest(video,format=m3u8-aapl,type=keyframes)"
#EXT-X-STREAM-INF:SUBTITLES="subs",CLOSED-CAPTIONS=NONE,BANDWIDTH=1373738,RESOLUTION=640x360,CODECS="avc1.4d401f,mp4a.40.2",AUDIO="audio"
QualityLevels(1200198)/Manifest(video,format=m3u8-aapl)
#EXT-X-I-FRAME-STREAM-INF:BANDWIDTH=1373738,RESOLUTION=640x360,CODECS="avc1.4d401f",URI="QualityLevels(1200198)/Manifest(video,format=m3u8-aapl,type=keyframes)"
#EXT-X-STREAM-INF:SUBTITLES="subs",CLOSED-CAPTIONS=NONE,BANDWIDTH=2191502,RESOLUTION=960x540,CODECS="avc1.4d401f,mp4a.40.2",AUDIO="audio"
QualityLevels(2000359)/Manifest(video,format=m3u8-aapl)
#EXT-X-I-FRAME-STREAM-INF:BANDWIDTH=2191502,RESOLUTION=960x540,CODECS="avc1.4d401f",URI="QualityLevels(2000359)/Manifest(video,format=m3u8-aapl,type=keyframes)"
#EXT-X-STREAM-INF:SUBTITLES="subs",CLOSED-CAPTIONS=NONE,BANDWIDTH=3724695,RESOLUTION=1280x720,CODECS="avc1.4d401f,mp4a.40.2",AUDIO="audio"
QualityLevels(3500547)/Manifest(video,format=m3u8-aapl)
#EXT-X-I-FRAME-STREAM-INF:BANDWIDTH=3724695,RESOLUTION=1280x720,CODECS="avc1.4d401f",URI="QualityLevels(3500547)/Manifest(video,format=m3u8-aapl,type=keyframes)"
#EXT-X-STREAM-INF:SUBTITLES="subs",CLOSED-CAPTIONS=NONE,BANDWIDTH=6280315,RESOLUTION=1920x1080,CODECS="avc1.640029,mp4a.40.2",AUDIO="audio"
QualityLevels(6001154)/Manifest(video,format=m3u8-aapl)
#EXT-X-I-FRAME-STREAM-INF:BANDWIDTH=6280315,RESOLUTION=1920x1080,CODECS="avc1.640029",URI="QualityLevels(6001154)/Manifest(video,format=m3u8-aapl,type=keyframes)"

as well as the French subtitles media playlist:
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-MEDIA-SEQUENCE:0
#EXT-X-ALLOW-CACHE:NO
#EXT-X-TARGETDURATION:10
#EXT-X-PLAYLIST-TYPE:VOD
#EXTINF:10.000000,
grans_20231015_full_fra_sdh/seg-00000.vtt
#EXTINF:10.000000,
grans_20231015_full_fra_sdh/seg-00001.vtt
#EXTINF:10.000000,
grans_20231015_full_fra_sdh/seg-00002.vtt
#EXTINF:10.000000,
grans_20231015_full_fra_sdh/seg-00003.vtt
#EXTINF:10.000000,
...
grans_20231015_full_fra_sdh/seg-00241.vtt
#EXTINF:10.000000,
grans_20231015_full_fra_sdh/seg-00242.vtt
#EXT-X-ENDLIST

Attempting to validate the subtitles playlist we get an error:
mediastreamvalidator -V https://rtsvod-euwe.akamaized.net/f928a3d4-f2ac-4a98-804b-f6e55239550f/4ce78d2b27d770d825c58766336e2df9/grans_20231015_full_fra_sdh.m3u8
mediastreamvalidator: mediastreamvalidator: Version 1.12 (541.12-211008)

Validate https://rtsvod-euwe.akamaized.net/f928a3d4-f2ac-4a98-804b-f6e55239550f/4ce78d2b27d770d825c58766336e2df9/grans_20231015_full_fra_sdh.m3u8, fetch http
[/f928a3d4-f2ac-4a98-804b-f6e55239550f/4ce78d2b27d770d825c58766336e2df9/grans_20231015_full_fra_sdh.m3u8] Started root playlist download
[/f928a3d4-f2ac-4a98-804b-f6e55239550f/4ce78d2b27d770d825c58766336e2df9/grans_20231015_full_fra_sdh.m3u8] Started media playlist download
[/f928a3d4-f2ac-4a98-804b-f6e55239550f/4ce78d2b27d770d825c58766336e2df9/grans_20231015_full_fra_sdh.m3u8] Received media playlist response
[/f928a3d4-f2ac-4a98-804b-f6e55239550f/4ce78d2b27d770d825c58766336e2df9/grans_20231015_full_fra_sdh.m3u8] SequenceNum: 0  Size: 110 bytes Duration: 10.0000 sec Bitrate: 11.0000
Error injecting segment data
Error injecting segment data
[/f928a3d4-f2ac-4a98-804b-f6e55239550f/4ce78d2b27d770d825c58766336e2df9/grans_20231015_full_fra_sdh.m3u8] SequenceNum: 1  Size: 49 bytes Duration: 10.0000 sec Bitrate: 4.9000
[/f928a3d4-f2ac-4a98-804b-f6e55239550f/4ce78d2b27d770d825c58766336e2df9/grans_20231015_full_fra_sdh.m3u8] SequenceNum: 2  Size: 96 bytes Duration: 10.0000 sec Bitrate: 9.6000
...

There is something obviously wrong with the first chunk. Having a look at it:
WEBVTT

1
00:00.000 --> 00:00.000

2
00:00.200 --> 00:02.360
"STOP!"
(UPSAHL)

3
00:02.560 --> 00:25.880
---

we can observe that there is an entry with a length of 0, which does not pass validation.
If we intercept the 1st subtitle chunk request with Charles proxy and fix this issue playback works fine.
Fix
The stream is invalid and needs to be delivered again. Maybe the error is in the source and not in the encoding process.
@bgaudaen Could we have a look at the source subtitles?
Workaround
In the meantime users encountering this issue should open another content which plays fine (e.g. another episode of the same series), open the subtitles panel to explicitly disable subtitles, then open the content which was not correctly playing before. Playback will start but of course these users cannot have French subtitles until the stream is fixed.
@svenduvoisin You can provide the above workaround to our users in the meantime.

I wanted to post the following reply to an existing thread:

We recently got the same problem. In our case this revealed an issue with subtitles. One of the VTT segments contained a cue with zero length (identical start and end times), leading to playback failing. Fixing this issue made the content play fine again.

But sadly attempting to post a reply currently fails.

@defagos, @waliid I opened the following issue SMAC-481884.

For some reason having cue in the text was preventing the comment from being posted.


How to avoid duplicate inserts？

like the sqlite api:
insert or ignore into ...

Wouldn't this be an insert with unique constraints on whatever columns?

it can't work when i set two unique constraints at same time

Try with upsert.


Tweak rate limit delay logic

:rocket:
This description was created by Ellipsis for commit cc706a80d0ee904fa05f6ad0de1fd6b75f7bd6b2

Summary:
Doubled the sleep duration in the hogql function when retrying after a rate limit error in src/index.ts.
Key points:

File: src/index.ts
Function: hogql
Change: Doubled the sleep duration from rateLimitResetsInSeconds * 1_000 to rateLimitResetsInSeconds * 2_000 when retrying after a rate limit error.
Impact: Reduces retry frequency after rate limiting, potentially easing server load.

Generated with :heart: by ellipsis.dev

@ellipsisdev review


make 'adapted-from-phet' the default brand

Broke this issue out of https://github.com/phetsims/brand/issues/13.
Until all brands are in master, this means moving the 'adapted-from-phet' branch to master.

@pixelzoom is this complete?

No, hasn't been done.  Was potentially waiting until all brands are in master.  And doesn't need to be addressed for S2015R.

I'll be working on some other branding issue in the near future, so I'll assign this to me and take a look at it as well.

adapted-from-phet is now the default brand, and can be overriden with a grunt option --brand or a query parameter ?brand
Closing.

Reopening.
Did we bail on being able to specify the brand in $HOME/.phet/build-local.properties ?

We did not bail on being able to specify the brand in $HOME/.phet/build-local.json, it is being tracked and labeled for discussion at the next developer meeting in https://github.com/phetsims/brand/issues/11
Please close if there is nothing else to do for this issue.


Changed Text for Demo

Changed some Text for a Demo.

Hi, this PR seems to only introduce some spacing, which doesnt seem like an addition to the docs to me. I'm sorry I'm going to have to close it :/


Automate and Extend Employee Onboarding

Mission URL: https://developers.sap.com/mission.cp-starter-ibpm-employeeonboarding.html
Tutorial 3, Step 4
At this point MTA will not build because mta.yaml contains a module onboarding which requires workflow_sample.... this name has to be renamed to workflow

Modifying the MTA is already mentioned in Step2. When you rename the workflow instance name, it also needs to be changed in the reference as well. or You might not have saved the MTA file and so you see that way.

Maybe I missed that part


nixos/tests/signal-desktop: Fix the sqlite3 part of the test (regressed)

Due to recent changes (likely a sqlite3 update) the sqlite3 meta-command
did suddenly succeed while sqlite3 is still unable to read the still
encrypted database. It just prints the following output and doesn't
seem to try to open/read the DB (which would fail):
main: /home/alice/.config/Signal/sql/db.sqlite r/w

We can simply fix this "regression" by instructing sqlite3 to list the tables
in the database (which fails because it cannot read the encrypted DB):
machine: must fail: su - alice -c 'sqlite3 ~/.config/Signal/sql/db.sqlite .tables'
machine # [   47.036720] su[1178]: Successful su for alice by root
machine # [   47.041049] su[1178]: pam_unix(su:session): session opened for user alice(uid=1000) by (uid=0)
machine # Error: file is not a database
machine # [   47.116070] su[1178]: pam_unix(su:session): session closed for user alice
(finished: must fail: su - alice -c 'sqlite3 ~/.config/Signal/sql/db.sqlite .tables', in 0.12 seconds)

Fix #181463.
Description of changes

Things done

Built on platform(s)

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

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

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

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

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

[ ] Fits CONTRIBUTING.md.

@ofborg test signal-desktop


feat: Zoom indicator

Adds a component that shows an indicator if a tab has a zoomed pane.
If icons_enabled = false, it will be show the letter Z, otherwise it will be wezterm.nerdfonts.oct_zoom_in or a custom icon specified in a user's config like:
      tab_active = {
        -- ...
        {
          'zoomed',
          icons_enabled = true,
          icon = wezterm.nerdfonts.fa_bars, -- user-specified icon
        },
        -- ...
      },

@joncrangle This looks good, but the handling of icons is already built in, you do not need to do it inside the component itself. Instead you can put some default options. I think some of the other components illustrates this. If you want the icon to be a Z when icons are not enabled it has to be handled within the component, but I think reusing the same logic for icons as the other components would be nice

That makes sense, I overlooked that! LGTM

https://github.com/michaelbrusegard/tabline.wez/commit/599e47f277e445e53ba8333348fbeef063771e48
Had to fix some bugs with it here. The name property is what the component returns, not the name of the component so it does not work to set it like that. Instead I made it so that when the component returns nil it will not be added. I also made it to explicitly return 'Z' when there is no icon defined. if an icon is defined it returns an empty string so the icon gets added by the component creation logic! I overlooked it when merging the PR but now it should be fine


Preanalysis Task fails

After uploading the coke_bottles_exported.zip and creating a new Object Detection DL Task in the Web Tooling of IBM PowerAI Vision the Build Model Task fails with the error "Preanalysis task failed".
This seems to be an issue as this happens withe the zip that's contained in this repo as well as files labeled by myself.

trying to reproduce now

I was able to train and test with the exported zip today. I'm going to close this as cannot reproduce. Will be doing more end-to-end testing later.
@eightBEC do you still have this problem?  Any additional info. Are you on SuperVessel. Not sure why our results are different.  Hoping it was a temporary issue and is really fixed.


Readme clashes with Backend trait contract

The Backend trait contract returns Option<&str> in version 2.0, however the README shows the example of the RemoveI18n that returns Option instead.
Currently I'm trying to create a "reloadable backend".  where I can setup a watcher via the Notify create to reload the translations from disk.  However I am running into issues due to the contract change of Backend  as I am unable to return a reference to a string.
struct ReloadableBackend {
    translations: Arc<RwLock<HashMap<String, HashMap<String, String>>>>,
}

impl Backend for ReloadableBackend {
   fn available_locales(&self) -> Vec<&str> {
        let l = self.i18n.read();
        if let Ok(h) = l {
            let mut locales = h.keys().map(|k| k.as_str()).collect::<Vec<_>>();
            locales.sort();
            locales // Error cannot return value referencing local variable `h` [E0515] returns a value referencing data owned by the current function
        } else {
            Vec::new()
        }
    }

    fn translate(&self, locale: &str, key: &str) -> Option<&'_ str> {
        let l = self.i18n.read();
        if let Ok(h) = l {
            return h
                .get(locale)
                .and_then(|trs| trs.get(key))
                .and_then(|k| Some(k.as_str())); // cannot return value referencing local variable `h` [E0515] returns a value referencing data owned by the current function
        } else {
            None
        }
    }
}

This, of course, makes perfect sense since it has to return a reference from the locked data in the Arc.
If the contract were still returning String then this would not be an issue as I could just return a cloned string and move on.

Same problem, any solution?


reverted to using raspi-config to be used for automatic image resizing

while not having to rely on the raspi-config tool does make the pishrink utility more portable, the raspi-config tool is already properly maintained. rather than being forced to maintain the autosizing utility in this script (which has already been broken for several months due to a linux kernal change), it just makes more sense to not have to rewrite properly maintained code.

FYI this addressed the issue I reported with newer versions of Raspbian #18

@russau good to hear. I added this pull request because the auto-expand feature stopped working a few months ago when there was a linux kernal update that i'm pretty sure broke it.

Thanks for the fix! I still want to keep the auto-expand working on distros that don't have raspi-config. But That will be added to the todo list!

ahh, gotcha. i wasn't aware that the script even worked on other distros.


论文中提到的测试数据集BID在哪下？

引用的那篇文章好像没有提到

Refer to the uploaded database:
Note for datasets
You can download the datasets used in the papers from their owners for research purposes. If you have difficulty, you can refer to my sharing on BaiduNetDisk with password b6sv.
Have a nice day!

您好，您分享的BID数据集链接已失效，可以重新发一个吗

这位作者在UNIQUE的readme中提供了下载链接

这位作者在UNIQUE的readme中提供了下载链接

十分感谢！


Integrated support in Power BI Desktop?

It seems someone dropped the ball in the migration from the previous "data catalog in Power BI", since ADC is still not listed as a data source in Power BI Desktop (unlike in Excel, though Excel dialog boxes still refer to "Power BI" rather than "Azure Data Catalog").

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

ID: 60a1a789-7dbc-bd3d-82fa-e7cfdaec4d57
Version Independent ID: a11180ad-4739-560f-6434-f634e22082ae
Content: Azure Data Catalog frequently asked questions
Content Source: articles/data-catalog/data-catalog-frequently-asked-questions.md
Service: data-catalog
GitHub Login: @steelanddata
Microsoft Alias: maroche

@otravers
Thanks for the feedback! We are currently investigating and will update you shortly.

@otravers have you already mentioned this in the forums or feedback portal:
https://social.msdn.microsoft.com/forums/azure/en-US/home?forum=azuredatacatalog
https://feedback.azure.com/forums/906052-data-catalog/category/320788-data-sources
We are closing this issue for now, but if you have a specific suggestion on where we could modify the documentation, let's reopen the issue.