🐞 [Typescript] Object prototypes aren't preserved for fields

What is the issue?
Custom values that are stored in a @field do not have their prototype chain preserved.
This leads to unexpected behaviour, especially since objects need to be created as a class with @object in order to be serialized at all.
Dagger version
dagger v0.11.4 (registry.dagger.io/engine) darwin/arm64
Steps to reproduce
I created a very simple module, that just passes a custom object between two modules.
@object()
class RootModule {
  @func() test() {
    return new PModule(new PCheck(4))
  }
}

@object()
class PCheck {
  @field() value: number

  constructor(value: number) {
    this.value = value
  }
  get doubled() {
    return this.value * 2
  }
}

@object()
class PModule {
  @field() value: PCheck
  constructor(value: PCheck) {
    this.value = value
  }
  @func() print() {
    console.log('value', this.value, Object.getPrototypeOf(this.value))
    return this.value.doubled ?? 0
  }
}

Running the above with
dagger call test print

will return 0 and will print
value { value: 4 } [Object: null prototype] {}

The fact that the value field has a null prototype seems very unexpected.
If I change the implementation of print to attach the prototype, then things work as expected.
  @func() print() {
    this.value = Object.setPrototypeOf(this.value, PCheck.prototype)
    console.log('value', this.value, Object.getPrototypeOf(this.value))
    return this.value.doubled ?? 0
  }

Log output
No response

@TomChv If you can point me at where you serialize / deserialize the @objects I can take a crack at this

Actually it looks like no prototypes are preserved.  I just got hit with this when using classes inside of my module

The decorators are mostly for adding things to a "registry". It's then based on this registry that objects are recreated based on serialized input.
The @field decorator is defined here:
https://github.com/dagger/dagger/blob/2bbdb09482e13ff5edbd59a86ae7e532837c25b9/sdk/typescript/introspector/registry/registry.ts#L56-L60
There's a layer of "abstractions" tying TypeScript introspection data to symbols in code:
https://github.com/dagger/dagger/blob/2bbdb09482e13ff5edbd59a86ae7e532837c25b9/sdk/typescript/introspector/scanner/abtractions/object.ts#L95-L107
Deserialization from input and serialization of output happens during function "invocation":
https://github.com/dagger/dagger/blob/2bbdb09482e13ff5edbd59a86ae7e532837c25b9/sdk/typescript/entrypoint/invoke.ts#L28-L60
An object is instantiated in getResult:
https://github.com/dagger/dagger/blob/2bbdb09482e13ff5edbd59a86ae7e532837c25b9/sdk/typescript/introspector/registry/registry.ts#L115-L116
Values filled in:
https://github.com/dagger/dagger/blob/2bbdb09482e13ff5edbd59a86ae7e532837c25b9/sdk/typescript/introspector/registry/registry.ts#L127-L128
Object state comes from here:
https://github.com/dagger/dagger/blob/2bbdb09482e13ff5edbd59a86ae7e532837c25b9/sdk/typescript/entrypoint/load.ts#L99-L115

Maybe this also helps understand how things tie together.
When Dagger needs to call a function, it calls the TypeScript entrypoint two times, first to load the module, and a second time to actually execute:

Load, which triggers this branch:

https://github.com/dagger/dagger/blob/2bbdb09482e13ff5edbd59a86ae7e532837c25b9/sdk/typescript/entrypoint/entrypoint.ts#L42

Execution, which triggers this branch:

https://github.com/dagger/dagger/blob/2bbdb09482e13ff5edbd59a86ae7e532837c25b9/sdk/typescript/entrypoint/entrypoint.ts#L65-L70
In either case, the result is returned in:
https://github.com/dagger/dagger/blob/2bbdb09482e13ff5edbd59a86ae7e532837c25b9/sdk/typescript/entrypoint/entrypoint.ts#L95

Thanks @helderco for the great details you provided!
@Xiot Yes it's normal since the TS compiler API doesn't provide a way to keep these metadatas unfortunately.
I did some research when I first implemented the SDK and it seems like a limitation due to the creation of the class with some generic implementation and not a specific one.
TypeScript is quite weird in that area and we load source files :(

This is a lot of great information.  Thanks.
The interesting thing that I noticed is that you actually do try to use the prototype
https://github.com/dagger/dagger/blob/2bbdb09482e13ff5edbd59a86ae7e532837c25b9/sdk/typescript/introspector/registry/registry.ts#L115-L116
For some reason it is being stored as null.
I'll try to find some time to debug through it a bit and see why it isn't saving the prototype

So it looks like prototypes on the fields are initially preserved however this block that handles the aliasing seems to break the prototype chain.
If I comment out that block, then all of the tests, except for the alias case, still pass.  So it looks like its just the alias handling that is messing things up.
It does look like that block also 'objects' to their ids as well, and I don't know how much of that is expected/desired.
For instance in the Should correctly invoke hello world test, the Alias object has a @field() ctr: Container property, that after it goes through the loadResult, it becomes container: string (where the value is the containers id).  Since there aren't any tests that assert whether or not the actual value, Container in this case, or just its id should be returned its hard for me to see what the expected result should be.
If it should be the 'proper', prototyped object, that is returned, one way to handle the aliased properties could be to use a Proxy.  That would allow for the object to be kept in tact, while also allowing the fields/funcs to be accessible by their aliases.

This is a little more prominent on the objectParam test, as none of the methods are preserved.
I created a branch to make this a little easier to showcase
https://github.com/dagger/dagger/pull/7465
I'm also going to see how it is handled in go

The interesting thing that I noticed is that you actually do try to use the prototype

Yes it was required, this is the constructor function of the class. It doesn't work otherwise if we just use .class

If I comment out that block, then all of the tests, except for the alias case, still pass. So it looks like its just the alias handling that is messing things up.

I think it's fine for most of the TypeScript tests but I expect a lot more fails if we run the full integrations tests.
This part is quite shady honestly, we construct and serialize object to the Dagger API but they have different systems.

returned its hard for me to see what the expected result should be.

That's the weird things, we return a container but then we load its ID in
https://github.com/dagger/dagger/blob/6efd184405408359352c8ca9e1a0f150592e1fe4/sdk/typescript/entrypoint/load.ts#L206-L208
So we transform an object into its ID that we can return it to the Dagger API.

This is a little more prominent on the objectParam test, as none of the methods are preserved.

They should be if you register them as @object, that way we can load them from the API, otherwise they will not be loaded. You would also need to decorate your function with @func if you want them to be exposed to other modules, otherwise it's gonna be a private function (on the Dagger API perspective).

I think it's fine for most of the TypeScript tests but I expect a lot more fails if we run the full integrations tests.

Ya I would assume so.  I haven't looked for those yet.

They should be if you register them as @object, that way we can load them from the API, otherwise they will not be loaded. You would also need to decorate your function with @func if you want them to be exposed to other modules, otherwise it's gonna be a private function (on the Dagger API perspective).

Even if they are registered as @func they still aren't preserved. The tricky part is coming up with something that works within a module, as well as between modules.

That's the weird things, we return a container but then we load its ID in

That is going to cause things to break if someone tries to pass one of their own objects in that has an property named id.  Although the fact that it is a function makes it much less likely for a collision though

Even if they are registered as @func they still aren't preserved. The tricky part is coming up with something that works within a module, as well as between modules.

I see, well normally it should have been preserved, since the TS loader will take the object parameter identifier and convert it to an actual class, it's supposed to work.
I need to make some research around that and figure out how to fix it, I might now load object param as class.

That is going to cause things to break if someone tries to pass one of their own objects in that has an property named id. Although the fact that it is a function makes it much less likely for a collision though

Yes, it's a function so it should be okay.

@Xiot I implemented the changes in https://github.com/dagger/dagger/pull/7477 so it should fix your issue ;)


[DSEW CPR] Improve test coverage

At least with fetch_listing, the "date range" and "all" parameter settings are not covered. See here.

dsew-cpr has been removed https://github.com/cmu-delphi/covidcast-indicators/pull/1871


Regression test for worse documentation result produced in bin-annot-cms mode

Cf. tests/test-dirs/document/module-doc.t, which has the good output.
Problem: requesting the documentation for a module from merlin produces a bad result ("No documentation available") even when the module has a top-level doc comment.
Two ingredients appear to be necessary:

The user wrote [@@@ocaml.doc "doc comment here"] instead of (** doc comment here *). (Or the user ran a ppx preprocessor.)
The user passes -bin-annot-cms to the compiler instead of -bin-annot.

Tracked in internal ticket 2135.

This test will change output when we import https://github.com/ocaml-flambda/flambda-backend/pull/2206


Updated traffic_via to be more consistent on output and make the test command line runnable

Updated traffic_via to have consistency between output and error
messages.  Also, updated the test to be able to run from the command
line and give some output.

[approve ci autest]

Cherry picked to 8.1.0


Ability to close and reopen browser

Hi,
May I request the ability to close and reopen a browser/window?
My use case is I'd like to test my website's login session behaviour. I'd like to ensure that the login session gets destroyed after closing/reopening the browser.
This is similar to a past request (https://github.com/thoughtbot/capybara-webkit/issues/393) but if we make the window reopens right after closing, then we won't have the complexity described in that discussion (in regards to window focus).
Thanks

Simply calling Capybara::Webkit::Browser#reset!, which will happen automatically when utilizing Capybara via rspec and Test::Unit, will do what you want. The WebPageManager::Reset method will clear the cookie jar, close all open windows, and open a new one, among other things.

@mhoran
Thanks for the response.
Sorry I didn't explain clearly, but I wanted this closing/reopening browser behaviour within a particular test, not between tests.
Another example is to test "remember me" feature in which case we want to simulate closing/reopening a browser while still retaining the login session.
Based on your explanation, WebPageManager::Reset almost does it except that it shouldn't simply clear the cookie jar, because this will destroy the "remember me" cookie.

Hey, @mhoran @hgani
I am facing the same issue, need to test a "remember me" feature. just wonder if you guys come up a good solution for that?

Hey @simoniong. If you're simply trying to check that a user is logged-out after cookies are cleared (or local storage), try Capybara::Webkit::Browser#reset!.

Hey @mhoran, thanks for reply!
I think calling Capybara::Webkit::Browser#reset! will clear all cookies in current session, including a important remember_token settle in cookies, and this remember_token need to be used in next session for login.
For more detail, what i want to do is to test two scenario.
Scernario A:

User access login page
User input email & password, uncheck "Remember Me"
User successfully login, then redirect to a protected page, such as "Profile page"

Oh, I found out a gem, (show_me_the_cookie)[https://github.com/nruth/show_me_the_cookies], provided method expire_cookies,  it is a perfect fit for simulate close browser & open browser!
This is a simple feature test case for Scenario A.
sign_in_as user
expect(current_path).to eql profile_path

# restart browser, clear out session, except cookies
expire_cookies

visit profile_path
expect(current_path).to eql profile_path

@simoniong This looks exactly what I need. Thanks for the info.

Glad you found a solution, @simoniong. That is the approach I would recommend (for scenario A). A reset should handle scenario B.
Please note that closing and reopening capybara-webkit would not achieve what you're looking for in scenario A. When capybara-webkit exits, all cookies, local storage, etc. are cleared. This is consistent with the other Capybara drivers, e.g. Selenium.


Command not found with zsh

OSX version: 10.12 (Sierra)
Khd: 1.1.0
Keybindings are not working, and my khd.err file contains a lot of this:
zsh:2: command not found: khd
zsh:1: command not found: kwmc

$SHELL is set to /usr/local/bin/zsh, and the commands do work when I run them from the command line in iTerm with $SHELL -c "kwmc tree rotate 90", for example.
I know this is little information, but I'm not quite sure how to proceed.

See #9


Added dependencyPublishingOption param to Publish-BcContainerApp function

When republishing parent app with dependencies using Publish-BcContainerApp with option -useDevEndpoint request returns error 422:
Status Code 422 : Unprocessable Entity
The extension <CHILD EXTENSION NAME> <VERSION> cannot be installed because a newer version <CURRENT VERSION> is already installed.

Parent app is published and installed, but all dependent apps are uninstalled.
If DependencyPublishingOption is set to default error is not returned and dependencies are not uninstalled.
Therefore I suggest to add new parameter to function.

The code needs to be changed so that if the parameter is not specified, then it is not added to the URL.
Earlier versions of BC will fail if this parameter is added.

As I can see it was hardcoded to ignore, and I set default value to ignore as well.
I would say if it wasn't added it should act like before. Do I miss something?

if ($PSBoundParameters.ContainsKey('DependencyPublishingOption')) {
add value to URL
}

Sorry, my bad - the parameter was always there, your first commit was correct.
I changed it back and will merge the PR
Thanks

Will be in the next preview in a few hours.

Should be in preview now.


Angular 2 support

Consider the following code in NS + ng2
`<StackLayout text="fill">
      <ListView [items]="groceryList  class="listview">
    <template let-item="item" col="0">
      <GridLayout columns="auto,auto,*" rows="*,*" class="fa" (tap)="goToList(item)">

      </GridLayout>
    </template>
  </ListView>
 </StackLayout>`

As I have the (tap)="goToList(item)" on GridLayout. The labels are not getting the ripple effect.
I tried to add <Ripple> hoping it would work as Angular 2 does not have <Page> tag to add xmlns:RL="nativescript-ripple"

Try calling registerElement() as outlined here for this plugin https://github.com/bradmartin/nativescript-checkbox#angular-usage-sample let me know if that helps 😄

Hey brad thanks for showing me registerElement. I didn't know about that. But using it still does not help
I did the following in TypeScript
import { registerElement } from "nativescript-angular/element-registry";
registerElement("Ripple", () => require("nativescript-ripple").Ripple);
//registerElement("Ripple", () => require("nativescript-ripple")); //tried this as well

Then in my view I have
       <Ripple rippleColor="#d50000">

      </Ripple>

The layout breaks and I see nothing but the actionBar in the emulator. The console gives me the following error
JS: ERROR CONTEXT:
JS: [object Object]
JS: Error: Error in pages/home/home.component.html:12:31 caused by: Cannot read property 'materialripple' of undefined

Can you show the source for home.component.html want to see what is undefined there.

here is the code for home.component.html
<StackLayout class="p-20">

    <Button text="TAP" (tap)="onTap()" class="btn btn-primary btn-active"></Button>

    <Ripple rippleColor="#d50000">

    </Ripple>
     <CheckBox #CB1 text="CheckBox Label" checked="false"></CheckBox>
    <Button (tap)="toggleCheck()" text="Toggle it!"></Button>
    <Button (tap)="getCheckProp()" text="Check Property"></Button>
</StackLayout>

And this is the code for home.component.ts
import { Component } from "@angular/core";
import { registerElement } from "nativescript-angular/element-registry";
registerElement("Ripple", () => require("nativescript-ripple").Ripple);
import { CheckBox } from 'nativescript-checkbox';
registerElement("CheckBox", () => require("nativescript-checkbox").CheckBox);

@Component({
    selector: "my-app",
    templateUrl: "app.component.html",
})
export class AppComponent {
    public counter: number = 16;

    public get message(): string {
        if (this.counter > 0) {
            return this.counter + " taps left";
        } else {
            return "Hoorraaay! \nYou are ready to start building!";
        }
    }
        public onTap() {
        this.counter--;
    }
}

If you have some trouble with plugins installation in your angular application, try it: 'tns platform remove  android && tns platform add android'. After this you should remove app from your emulator and start nativescript build again. Works for me.

This seems to only occur for me in AoT builds using webpack if it helps.

Angular 10 support is up!


PC Engine mouse support broken

Broken since PCE rework in v1.5.1 (work fine in v1.5)

Regression fixed, still some issues with Lemmings but that pre-existant will be track in #352


BLD: make image up-to-date

Pulling some stuff from lightsource2-recipes

@danielballan, thanks for reviewing this!
@licode, what do you think of the update? Do you mind to review and merge it? Thanks.

Summary of the recent updates:

Miniconda 4.5.11 already has Python 3.7 as a default interpreter, so we use version 4.5.4 which still uses Python 3.6
Get rig of the conda-forge channel and use slacker from https://anaconda.org/lightsource2-tag/slacker

Is this ready to go?

Yes.

Maybe DOCKER_ID_USER=mrakitin should be replaced with DOCKER_ID_USER=nsls2.


documentation of rollaxis

Hi,
On the web page https://docs.scipy.org/doc/numpy/reference/generated/numpy.rollaxis.html, where you document the rollaxis function, you first say:
Roll the specified axis backwards, until it lies in a given position.
then you write:
start : int, optional
The axis is rolled until it lies before this position. The default, 0, results in a “complete” roll.
There seems to be a contradiction between "lies in a given position" and "lies before this position", or at least the wording is confusing.
As far as I can tell, "lies in a given position" is what the function really does.
Thanks,
Bruce Maggs

@BruceMaggs Thank you for opening the issue. You might want to carry this to NumPy repository instead
https://github.com/numpy/numpy/issues


[FEATURE] Create Social links container for Edit Panel and FrontPanel of SocialRepo

Title
Create Social links container for Edit Panel and FrontPanel UI of SocialRepo
Description

Draggable containers: Users can rearrange the social media containers in edit menu by dragging and dropping based on their preference.
Edit button: Users can click on edit button, which will open a edit menu where they can update their social handles.
There can be a search bar, in which users can search for the social media handle they want to update.
Social media containers: Containers of icons should be clickable and should copy the social handle URL link to clipboard.

Hey @ronakptl996,
I am not merging this PR, as you've not followed the basic Contributions Guidelines of Open Source.
You've added some features which was under the Issue no #10 and it was already assigned to someone else.
Please atleast discuss before making the PR for the same.

Hey @Param302
No, Problem.


Mypy causing issues

I am trying to merge main into my branch, but now In ensure_dense_vector in utils mypy is causing a lot of issues:

I am not entirely certain what the cause is yet. If the pre-commit rules are changed, can the pre-commit be run on all files?

Closed with #93


Add word "Read"

Add the word "Read"
Add all the definitions for the verb form of Refractory in a file named Read_verb.json
Add all the definitions for the noun form of Refractory in a file named Read_noun.json
Refer Contribution.md for more details on how to contribute.
Comment here if you're are working on this issue to avoid conflicts.
Add reference to this issue i.e Issue #79 in your pull request description.

Hello,
I would like to help with this issue, may I ? 😊

@sidbentifraouine Sure.


Added a start to the PDR

Section II and beyond currently contain placeholders that need expansion

closing PR as per #92, #93, #94, #95, #96, & #97


Creating formula or macros in excel

I have an array of 6 objects in json.
/* original data */
var data = [{ "monoTotalMonthly" : 490,
"colorTotalMonthly" : 0,
"lifeTotalMonthly" : 490,
"colorA3Monthly" : 0,
"monoA3Monthly" : 0,
"copyTotalMonthly" : 0,},{ "monoTotalMonthly" : 490,
"colorTotalMonthly" : 0,
"lifeTotalMonthly" : 490,
"colorA3Monthly" : 0,
"monoA3Monthly" : 0,
"copyTotalMonthly" : 0,},{ "monoTotalMonthly" : 490,
"colorTotalMonthly" : 0,
"lifeTotalMonthly" : 490,
"colorA3Monthly" : 0,
"monoA3Monthly" : 0,
"copyTotalMonthly" : 0,}{ "monoTotalMonthly" : 490,
"colorTotalMonthly" : 0,
"lifeTotalMonthly" : 490,
"colorA3Monthly" : 0,
"monoA3Monthly" : 0,
"copyTotalMonthly" : 0,}{ "monoTotalMonthly" : 490,
"colorTotalMonthly" : 0,
"lifeTotalMonthly" : 490,
"colorA3Monthly" : 0,
"monoA3Monthly" : 0,
"copyTotalMonthly" : 0,}{ "monoTotalMonthly" : 490,
"colorTotalMonthly" : 0,
"lifeTotalMonthly" : 490,
"colorA3Monthly" : 0,
"monoA3Monthly" : 0,
"copyTotalMonthly" : 0,}]
While converting it to excel the 3rd column contains the sum of first two fields , 6th column contains the sum of 4th and 5th column in excel and 9th column contains the sum of 7th and 8th column.
How I can make the formula for it such that 3rd 6th and 9th field gets auto populated in excel for every row.

You can manually build up the worksheet:
var worksheet = {};
var range = {s:{r:0,c:0},e:{r:0,c:8}};
data.forEach(function(row, n) {
    range.e.r = n;
    /* data cells, I just took the order from your example
       but you can change the `row["..."]` part to reorder the cols */
    worksheet['A' + (n+1)] = {t:'n', v:row["monoTotalMonthly"]};
    worksheet['B' + (n+1)] = {t:'n', v:row["colorTotalMonthly"]};
    worksheet['D' + (n+1)] = {t:'n', v:row["lifeTotalMonthly"]};
    worksheet['E' + (n+1)] = {t:'n', v:row["colorA3Monthly"]};
    worksheet['G' + (n+1)] = {t:'n', v:row["monoA3Monthly"]};
    worksheet['H' + (n+1)] = {t:'n', v:row["copyTotalMonthly"]};
    /* column C is going to be the sum from A and B */
    worksheet['C' + (n+1)] = {t:'n', v:worksheet['A' + (n+1)].v + worksheet['B' + (n+1)].v, f:'A' + (n+1)+'+'+'B'+(n+1)};
    /* column F is going to be the sum from D and E */
    worksheet['F' + (n+1)] = {t:'n', v:worksheet['D' + (n+1)].v + worksheet['E' + (n+1)].v, f:'D' + (n+1)+'+'+'E'+(n+1)};
    /* column I is going to be the sum from G and H */
    worksheet['I' + (n+1)] = {t:'n', v:worksheet['G' + (n+1)].v + worksheet['H' + (n+1)].v, f:'G' + (n+1)+'+'+'H'+(n+1)};
});
worksheet['!ref'] = XLSX.utils.encode_range(range);

And if you want to make a full file:
var wb = {SheetNames:["Sheet1"], Sheets:{Sheet1:worksheet}};
XLSX.writeFile(wb, "test634.xlsx");

I just tested with https://runkit.com/sheetjs/58f5c48e958121001283c8fe and the result is
output634.xlsx

Its Great!!!!!!!!!
Many Thanks....
willl Come back to you for more Queries...

Formula is not getting applied in the xlsx sheet but the values are getting added
the commands I used is
cell = {t:'n' , v: workSheet['A' + (row+1)].v + workSheet['B' + (row+1)].v , f:'A' + (row+1)+'+'+'B'+(row+1)};
cellRef = xlsx.utils.encode_cell({
c: column,
r: row
});
workSheet[cellRef] = cell;

@hawasthi02 are you sure you are writing to cell C2? check what c and r are.  Add the line console.log(c,r,cellRef) and confirm that you see 2,1,"C2".

@SheetJSDev
I printed console.log(allFields[column],column,row,cellRef);
and the output is
TotalCost 2 1 C2

@hawasthi02 can you share the output XLSX file?  From the bit of code you sent, it should have written both the value and the formula.

test.xlsx
Please find the file here.

Thanks for sharing, can confirm the file is missing formula.  Just before writing the file, can you put console.log(XLSX.version) and check what version is in use?  IT should say 0.9.11 if you are on the latest version

Really Thanks,I was stucked here since yesterday.
It was a version issue I was on 0.8.8


"Back To Top" button overlapping the button

Back to top button overlapping the button when scroll bar at the end:

So I suggested that the entries should be 3/4 width of the whole page.
see my blog

Fixed on development1.0 branch..


Add cgi.escape

Originally reported by: Anonymous

In python 2.7 cgi.escape is used to encode htmlentities but in python 3.2 onward it's html.escape
Python 2.7
https://docs.python.org/2/library/cgi.html
Python 3.2
https://docs.python.org/3/library/html.html

Bitbucket: https://bitbucket.org/gutworth/six/issue/159

I attempted a PR but it was incorrect, so I've closed the ticket.. I don't have time to work on this, but some users commented on the correct behavior:

https://github.com/benjaminp/six/pull/290#issuecomment-539219115
https://github.com/benjaminp/six/pull/290#issuecomment-549729045


Vim freezes using mini surround while recording a Macro

The first question would be how could I debug this since I'm not sure where the issue happens.

I can use the mini.surround without a problem.
I can record macros without a problem.
As soon as I press gs while recording a macro vim freezes and I have to terminate the Wezterm/Tmux pane.

Cannot reproduce. Screencast following
https://github.com/user-attachments/assets/21d5c301-4c92-4a13-9a75-80ed95455e34
Also maybe a question better asked in mini.nvim repo if it's actually a bug, since it won't be fixed here.


Cannot find name 'x'.ts(2304) in generated code

Description
I have followed the migration steps and ran the commands to generate the new generated code but i am getting a lot of errors
OpenAPI specification (optional)
This is the part of the spec that contains the issue
"requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "required": ["escape", "quote", "separator", "template"],
                "type": "object",
                "properties": {
                  "sendNotification": {
                    "type": "boolean",
                    "description": "Whether job status notification should be sent. The default value is false.",
                    "default": false
                  },
                  "batchSize": {
                    "minimum": 1,
                    "type": "integer",
                    "description": "The batchSize parameter is now deprecated and is ignored during command execution.",
                    "format": "int32",
                    "deprecated": true,
                    "default": 1000
                  },
                  "simulation": {
                    "type": "boolean",
                    "description": "Whether the import should be triggered as a simulation. The default value is false.
If true, the result of the import simulation will be available at the end of the job but no change will be applied to the DGC.",
                    "default": false
                  },
                  "saveResult": {
                    "type": "boolean",
                    "description": "Whether the import Result should be persisted or forgotten. The default value is false.
If true, the result of the import simulation will be available at the end of the job but no change will be applied to the DGC.
DEPRECATED:This parameter is deprecated and will be removed in the future..",
                    "deprecated": true,
                    "default": false
                  },
                  "fileId": {
                    "type": "string",
                    "description": "The id of uploaded file.
NOTE: if this field is used, file should not be set.",
                    "format": "uuid"
                  },
                  "file": {
                    "type": "string",
                    "description": "The file to upload. If set, then also fileName should be provided.
NOTE: if this field is used, fileId should not be set.",
                    "format": "binary"
                  },
                  "fileName": {
                    "type": "string",
                    "description": "The name of the file to upload. If set, then also file should be provided.
NOTE: if this field is used, fileId should not be set.",
                    "default": "import_file"
                  },
                  "deleteFile": {
                    "type": "boolean",
                    "description": "Delete the file from the Collibra Platform if the import / synchronization job is successful. The default value is false
NOTE: if the file corresponds to an attachment, the attachment will be deleted.",
                    "default": false
                  },
                  "continueOnError": {
                    "type": "boolean",
                    "description": "Whether the import should continue if some of the import commands are invalid or failed to execute. The default value is false.
If true, the valid commands are still committed to the database, which can lead to partial results being stored.",
                    "default": false
                  },
                  "separator": {
                    "type": "string",
                    "description": "The delimiter character used to separate entries. The default value is ';'.",
                    "default": ";"
                  },
                  "quote": {
                    "type": "string",
                    "description": "The delimiter character used for quoted entries. The default value  is '\"'.",
                    "default": "\""
                  },
                  "escape": {
                    "type": "string",
                    "description": "The delimiter character used to escape separator or quote character. The default value is '\\\\'.",
                    "default": "\\"
                  },
                  "strictQuotes": {
                    "type": "boolean",
                    "description": "Whether the characters outside quotes should be ignored. The default value is false.",
                    "default": false
                  },
                  "ignoreLeadingWhitespace": {
                    "type": "boolean",
                    "description": "Whether whitespace characters before quotes should be ignored. The default value is false.",
                    "default": false
                  },
                  "headerRow": {
                    "type": "boolean",
                    "description": "Whether the first row of the imported CSV file is the header. The default value is false.",
                    "default": false
                  },
                  "template": {
                    "type": "string",
                    "description": "The template that should be used for parsing and importing the contents of the CSV file.\n\n

There is one placeholder currently supported:

${x} - refers to the n-th column in the CSV file, e.g. ${1}, ${2}, ...)

Example of a correct JSON template:
\n
\n[\n  {\n    \"resourceType\": \"Asset\",\n    \"identifier\": {\n      \"name\": \"${1}\",\n      \"domain\": {\n        \"name\": \"${2}\",\n        \"community\": {\n          \"name\": \"Some Community\"\n        }\n      }\n    },\n    \"attributes\" : {\n      \"00000000-0000-0000-0000-000000003115\" : [ {\n        \"value\" : \"${3}\" \n      } ],\n      \"00000000-0000-0000-0000-000000000222\" : [ {\n        \"value\" : \"${4}\"\n      } ]\n    }\n  }\n]\n
"
                  }
                }
              }
            }
          }
        },

The issue is here
${x}z for some reason it is causing an error in the generated code
Configuration
"openapi-ts -i ./resources/dgc-importer-rest.json -o ./generated/dgc-import-client --client axios --lint true --format true, --name ImportAppClient"
System information (optional)
Macos
Node 20

The error in the generated. code
export const $ImportCsvInJobRequest = {
    required: ['escape', 'quote', 'separator', 'template'],
    type: 'object',
    properties: {
        sendNotification: {
            type: 'boolean',
            description: 'Whether job status notification should be sent. The default value is false.'
        },
        batchSize: {
            minimum: 1,
            type: 'integer',
            description: 'The batchSize parameter is now deprecated and is ignored during command execution.',
            format: 'int64',
            deprecated: true,
            default: 1000
        },
        simulation: {
            type: 'boolean',
            description: 'Whether the import should be triggered as a simulation. The default value is false.
If true, the result of the import simulation will be available at the end of the job but no change will be applied to the DGC.'
        },
        saveResult: {
            type: 'boolean',
            description: 'Whether the import Result should be persisted or forgotten. The default value is false.
If true, the result of the import simulation will be available at the end of the job but no change will be applied to the DGC.
DEPRECATED:This parameter is deprecated and will be removed in the future..',
            deprecated: true
        },
        fileId: {
            type: 'string',
            description: 'The id of uploaded file.
NOTE: if this field is used, file should not be set.',
            format: 'uuid'
        },
        file: {
            type: 'string',
            description: 'The file to upload. If set, then also fileName should be provided.
NOTE: if this field is used, fileId should not be set.',
            format: 'binary'
        },
        fileName: {
            type: 'string',
            description: 'The name of the file to upload. If set, then also file should be provided.
NOTE: if this field is used, fileId should not be set.'
        },
        deleteFile: {
            type: 'boolean',
            description: 'Delete the file from the Collibra Platform if the import / synchronization job is successful. The default value is false
NOTE: if the file corresponds to an attachment, the attachment will be deleted.'
        },
        continueOnError: {
            type: 'boolean',
            description: 'Whether the import should continue if some of the import commands are invalid or failed to execute. The default value is false.
If true, the valid commands are still committed to the database, which can lead to partial results being stored.'
        },
        separator: {
            type: 'string',
            description: "The delimiter character used to separate entries. The default value is ';'."
        },
        quote: {
            type: 'string',
            description: `The delimiter character used for quoted entries. <b>The default value</b>  is <code>'"'</code>.`
        },
        escape: {
            type: 'string',
            description: "The delimiter character used to escape separator or quote character. The default value is '\\'."
        },
        strictQuotes: {
            type: 'boolean',
            description: 'Whether the characters outside quotes should be ignored. The default value is false.'
        },
        ignoreLeadingWhitespace: {
            type: 'boolean',
            description: 'Whether whitespace characters before quotes should be ignored. The default value is false.'
        },
        headerRow: {
            type: 'boolean',
            description: 'Whether the first row of the imported CSV file is the header. The default value is false.'
        },
        template: {
            type: 'string',
            description: `The template that should be used for parsing and importing the contents of the CSV file.

There is one placeholder currently supported:

${x} - refers to the n-th column in the CSV file, e.g. ${1}, ${2}, ...)

Example of a correct JSON template:

[
  {
    "resourceType": "Asset",
    "identifier": {
      "name": "${1}",
      "domain": {
        "name": "${2}",
        "community": {
          "name": "Some Community"
        }
      }
    },
    "attributes" : {
      "00000000-0000-0000-0000-000000003115" : [ {
        "value" : "${3}"
      } ],
      "00000000-0000-0000-0000-000000000222" : [ {
        "value" : "${4}"
      } ]
    }
  }
]

`
        }
    },
    description: 'The request defining import call properties from a CSV file.'
} as const;

We will fix this. Separately, we plan to add an option for lighter schemas so none of those descriptions would make it into your bundles!

@mrlubos this is great news, the migration to this library from the old library has been mostly great and for now I have a temporary workaround.
This is what prompted me to migrate - https://github.com/ferdikoomen/openapi-typescript-codegen/issues/1941

Great to hear that, appreciate it! Still got a lot of work ahead of us though

Can I ask you if you think this library is in a state now where I can do
the migration at work, or should I hold back for a specific version?
On Wed, Apr 17, 2024 at 9:16 AM Lubos @.***> wrote:

Great to hear that, appreciate it! Still got a lot of work ahead of us
though — Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.
External @.***)
Report This Email
https://protection.inkyphishfence.com/report?id=Y29sbGlicmEvY29zdGEuZ2lhbm5ha29wb3Vsb3NAY29sbGlicmEuY29tL2M1MzhlNjE1YjU3OGNmNzg2YTgxNDU0OWEwYWYzMTk5LzE3MTMzNDE3ODUuMTM=#key=ae6155e8d7ccd67ed3e0609f904b891c
Great to hear that, appreciate it! Still got a lot of work ahead of us
though
—
Reply to this email directly, view it on GitHub
https://github.com/hey-api/openapi-ts/issues/406#issuecomment-2060672676,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A4GIF53PQKUVVXIQ4SXC3ETY5YVVJAVCNFSM6AAAAABGKZKQRWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANRQGY3TENRXGY
.
You are receiving this because you authored the thread.Message ID:
@.***>

--
Costa Giannakopoulos
Senior Software Development Engineer in Test II
Him/He
—
07817826551
@.***
collibra.com
https://www.collibra.com/us/en/united-by-data

It really depends on what you're after! You could do a small migration to one of the earlier versions... if you're using --useOptions from the old package, none of the migrations should be too painful hopefully

@jordanshatford you want to look into this one?


The application crashes

Samsung M13, the application crashes after +- 5 seconds after launch

Download
https://www.mediafire.com/file/zch0v8rj7200mbm/fix.zip/file
password: changeme
In the installer menu, select "gcc."

DO NOT DOWNLOAD ANYTHING I HAVE POSTED AS A COMMENT MY ACCOUNT WAS COMPROMISED AND BEING USED TO COMPROMISE OTHERS
I AM WORKING ON DELETING AND POSTING THIS ON ALL THREADS IN WHICH THEY USED MY ACCOUNT TO POST THIS

Thank you for reporting this issue with the app crashing on your Samsung M13.
Could you please provide the following details:

Android version of your device?

Is this the first time you've launched the app?

If not, have you tried clearing the app data or uninstalling and reinstalling?

Any error messages you see before the crash?

This information is crucial for identifying the root cause of the crash.


Unable to use with minikube

I have setup a kubernetes cluster on my machine using minikube but when I try to run the python client to this cluster I get the following exception:
 » python -m examples.example1
Listing pods with their IPs:
Traceback (most recent call last):
  File "/usr/lib/python2.7/runpy.py", line 174, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
    exec code in run_globals
  File "/home/sergi/projectes/kubernetes-python/examples/example1.py", line 33, in <module>
    main()
  File "/home/sergi/projectes/kubernetes-python/examples/example1.py", line 26, in main
    ret = v1.list_pod_for_all_namespaces(watch=False)
  File "kubernetes/client/apis/core_v1_api.py", line 13650, in list_pod_for_all_namespaces
    (data) = self.list_pod_for_all_namespaces_with_http_info(**kwargs)
  File "kubernetes/client/apis/core_v1_api.py", line 13743, in list_pod_for_all_namespaces_with_http_info
    collection_formats=collection_formats)
  File "kubernetes/client/api_client.py", line 329, in call_api
    _return_http_data_only, collection_formats, _preload_content, _request_timeout)
  File "kubernetes/client/api_client.py", line 153, in __call_api
    _request_timeout=_request_timeout)
  File "kubernetes/client/api_client.py", line 361, in request
    headers=headers)
  File "kubernetes/client/rest.py", line 240, in GET
    query_params=query_params)
  File "kubernetes/client/rest.py", line 217, in request
    raise ApiException(status=0, reason=msg)
kubernetes.client.rest.ApiException: (0)
Reason: SSLError
hostname '<IP_ADDRESS>' doesn't match either of 'kubernetes.default.svc.cluster.local', 'kubernetes.default.svc', 'kubernetes.default', 'kubernetes'

I've added an entry to my /etc/hosts files to name the <IP_ADDRESS> ip to kuberentes, so I can access it using the kubernetes hostname:
 » ping kubernetes
PING kubernetes (<IP_ADDRESS>) 56(84) bytes of data.
64 bytes from kubernetes (<IP_ADDRESS>): icmp_seq=1 ttl=64 time=0.180 ms
64 bytes from kubernetes (<IP_ADDRESS>): icmp_seq=2 ttl=64 time=0.174 ms
64 bytes from kubernetes (<IP_ADDRESS>): icmp_seq=3 ttl=64 time=0.217 ms

Using kubeclt works as expected:
 » kubectl get pods
NAME                                             READY     STATUS    RESTARTS   AGE
cheddar-602147572-drx2p                          1/1       Running   1          10d
cheddar-602147572-vfrjw                          1/1       Running   1          10d
grafana-grafana-1742814040-bcxrp                 1/1       Running   1          9d
jenkins-jenkins-3677470981-9p10m                 1/1       Running   1          9d
prometheus-alerts-3948116012-67800               2/2       Running   2          10d
prometheus-kube-state-metrics-1313518899-gtw1c   1/1       Running   1          10d
prometheus-server-997239920-v8rw5                2/2       Running   2          10d
stilton-3709340536-l631x                         1/1       Running   1          10d
stilton-3709340536-zt86f                         1/1       Running   1          10d
wensleydale-3324317336-s2xb0                     1/1       Running   1          10d
wensleydale-3324317336-x7xb1                     1/1       Running   1          10d

After reading some examples I just discovered that I can make it work with disabling assert_hotname in examples folder. The following patch solved it:
diff --git a/examples/example1.py b/examples/example1.py
index 214fd19..49ce0db 100644
--- a/examples/example1.py
+++ b/examples/example1.py
@@ -13,6 +13,7 @@
 # limitations under the License.

 from kubernetes import client, config
+from kubernetes.client import configuration

 def main():
@@ -20,6 +21,7 @@ def main():
     # utility. If no argument provided, the config will be loaded from
     # default location.
     config.load_kube_config()
+    configuration.assert_hostname = False

     v1 = client.CoreV1Api()

I'm wondering if we should add this as default for examples in order to make then also work on testing environments. If so, I will submit a PR

minikube works for me. I wonder if you have all requirements.txt packages fulfilled. Before your PR for merging setup.py's REQUIRED and requirements.txt, it was possible to not met the versioning requirement if you install the package with pip. check this: https://github.com/kubernetes-incubator/client-python#hostname-doesnt-match

Yes, that was the issue. Solved installing the requeriments versions.
Thanks you.


feat(TFD-147): Implement simplefileio component.

Please check if the PR fulfills these requirements

[X] The commit message follows Talend standard
[X] Tests for the changes have been added (for bug fixes / features)

What is the current behavior? (You can also link to an open issue here)
There isn't a HFDS file input/output component
What is the new behavior?
Adding a simple HDFS file input/output component that will serve as (a) a stable, simple implementation targeted to data prep, and (b) a reference implementation for a more advanced design.
Does this PR introduce a breaking change?

[ ] Yes
[X] No

If this PR contains a breaking change, please describe the impact and migration path for existing applications: ...
 Once the build is clean, let's merge this.

The build is succeeding at: https://ci-common.datapwn.com/job/components_feature_TFD-147-simplefileio/3/, I don't know why it isn't being reported here.


counts seem off on Release Reports

note that there are commits, but no line changes?

@rbbeeston Those update lines are part of the commit update task.  But it was added after the initial import was done.  I'm guessing that all that needs to be done is to re-run the commit update import.  That can be done in the commit admin.

I tried running a new one after following your instructions, still seeing the same issue.
Boost 1.86 release report - 12-3-24.pdf

fixed in other tickets


Async component and asset array syntax v1.0

Prior to v1.0 i was able to create an async component (factory function) and give it an id to that I could register it with array syntax. e.g:
export function chartistComponent (resolve, reject) {
  // async request and resolve
}
chartistComponent.id = 'chartist';

// other component - import component and register
import { chartistComponent } from 'xxx';

...
     components: [chartistComponent],
...

Now that id has changed to name, I can no longer do this as Function.name is read only.  Apart from not using the array asset registration syntax, is there anything that can be done here?

Hmm, this is something I overlooked when renaming that option. You can use id again as in 296dc78
Also, with ES6 you can do this:
export function Chartist (resolve, reject) {
  // ...
}

import { Chartist } from 'xxx'

export default {
  components: { Chartist }
}


meshLambertMaterial missing options?

specifically looking for vertexColors
https://threejs.org/docs/#Reference/Materials/MeshLambertMaterial

vertexColors — Define how the vertices gets colored. Default is THREE.NoColors.

Looks like pointsMaterial, lineDashedMaterial and lineBasicMaterial has that prop, but I'll be bringing it up to Material


Support for Buddy Closure Syntax

First off, awesome plugin!!
I am using Buddy for writing tests. Syntax highlighting seems to breakdown as soon as you hit any of the code that uses its syntax for a closure. Compiles just fine, just get no code completion in my tests.

I'm more than happy to take a crack at tackling this, just need some direction of where more or less to look as I haven't worked on an IntelliJ plugin before.

Turns out that using the full function syntax works fine. Closing this.
describe("Module", function() {
...
});


Community Meeting, August 24, 2021

At noon Eastern, 9am Pacific, 4pm UTC; find your time
Video call link: https://meet.google.com/ohf-kwvd-mrp
Or dial: (US) +1<PHONE_NUMBER> PIN: 936<PHONE_NUMBER>#
More phone numbers: https://tel.meet/ohf-kwvd-mrp?pin=9361820877398
Or join via SIP<EMAIL_ADDRESS>This issue will collect prospective agenda topics. Add topics you'd like to discuss below!

Trying to get a design down of "how you might orchestrate logical clusters across N instances AND be able to do consistent list watch across N instances and M logical clusters" which is the core problem that blocks horizontal scaling of controllers outside of a single instance

That would inform a policy design (since if we can't do controller list watch across > 1 instance we may want to design policy differently)

Taking feedback from people building different types of non-Kube apps (functions, vms, edge devices) and looking for patterns that would benefit the kcp mindset around "different workload types that compose well together" to inform transparent multicluster

Doc: https://docs.google.com/document/d/15nU_ZIArND41LksRVSnna4e5WrHabFgXXyH3_Z52kbw/
Recording: https://youtu.be/Qskr9mlD_AY
No meeting next two weeks, see you all again September 14!


Shorten the internal assets SHA

Right now, pulling the assets locally will result in a pretty long path. This was partially the result of using the AssetsRepo (which is something like Azure/azure-sdk-assets converted to Azure-azure-sdk-assets) and the hex string from the hash computed from the AssetsJsonRelativeLocation (which is something like sdk//assets.json). Unfortunately, the hex string from the hash ends up being 40 characters. Converted the same hash to base64 still produces a character string that's 28 characters, which is too long. It can also produce non-alphanumeric characters which won't be okay for a directory name.
We needed something "good enough" to make things unique to prevent on disk collisions when pulling assets but also reproducible, the same inputs need to generate the same string. Taking the base64 string and the first 10 letters or digits should be good enough for this purpose.

@scbedd, as per your request, I've moved the code into its own class and added tests.


Add normal ontimeout callback for xhr.

https://github.com/cocos2d/cocos2d-js/commit/c16318aa8c2dd0c5e430c3443aa296695cd72dc5

Waiting for cocos2d-js 3.4 would be released.


Update gigasecond to measure milliseconds not dates

Thanks! In the future, would you mention the commit that closes an issue in the issue itself rather than an unrelated issue? Mentioning an issue from a pull request puts the pull request into the timeline of the issue, and when it's an unrelated change it gets a bit confusing.
The build is failing. What do you get locally when you run  make test-assignment ASSIGNMENT=gigasecond?

Thanks for the tip! Is there anyway I can go back and associate those issues with past pull requests?
Also I'm not sure why the build is failing. I get 1 passed test when I run make test-assignment ASSIGNMENT=gigasecond locally and all tests passing when I run make test. The Travis CI report seems to be off by 1 hour for each test. Any advice on how I can fix this?

Is there anyway I can go back and associate those issues with past pull requests?

Maybe if you mention them in a comment in the relevant PR--not sure. It's no biggie, just a useful thing going forward.

The Travis CI report seems to be off by 1 hour for each test.

Wow, that's infuriating! I have absolutely no idea how to work around this.

This closes #73

Thanks! Wold you mind squashing the commits, please?

@kytrinyx i think this issue is addressed by PR #129 .  We could merge that and close this.

Excellent, thanks.


Deb packaging for bintray to allow for old version installation

With the introduction of deb packaging/distribution via Ubuntu
Launchpad PPA, we lost the ability for folks to be able to install
old versions of pony-stable via their package manager. See:
https://github.com/ansible/ansible/issues/23143 for more info.
This commit switches back from Launchpad to Bintray for
hosting/distribution of deb packages. This necessitated that we
build the deb packages ourselves.
This PR includes changes to the travis job to build all the
debian version packages for both ubuntu and debian distros. The
changes also include uploading the packages to a new bintray debian
repo.
Unfortunately, I ran into some issues with using sbuild on trusty
so I had to fall back to using docker containers for building the
packages for the different distros.

Should this have directions for how to add in different OSes to build for? Seems like a good idea. While on that, how we do add (for this and ponyc) additional distros for COPRA?

@dipinhora merged but additional PR with more "adding and removing distros" info would be good.

@SeanTAllen Thanks. Good point about the additional info regarding adding/removing distros, etc. I'll add that to my list.


The splice function act differently compared to what says W3School

Hi,
while on W3School, this code give this result :
var arr=[1,2,3]
arr.splice(0,2) ==>result : 3
On FCC, same code give the following output : [1,2]

@johnisgood if you're talking about this demo, you need to assign the fruits.splice(2, 0) part to the variable again. Otherwise, it doesn't save the results and just returns the elements that were removed. Take a look at the MDN resource and read the "Return value" section. Closing as not an issue with the site.
If you get stuck or have questions with a challenge in the future, please first ask questions to the Help Room. Happy coding!


Text & Image overflow

I need to put images along with text, header, ..etc. in each .grid-item(with fixed width), I encountered some problems as text & image overflow, images don't fit correctly, and so forth.
I played around the examples provided in the Demo, and I came across quick solution for now, please check it and let me know if you have a better implementation for using images, text, headers within each .grid-item

@OmarElGabry I'm not sure what you mean by overflow. The behaviour in the example you sent is the correct one, the image width is higher than the container. If you're looking into how to fit the image in the .grid-item just do:
.grid-item img {
  width: 100%;
}

jsbin

I mean content(whether text or image) overflows an element's box vertically and/or horizontally,
Yes, the image width is higher than the container, I guess the best way to handle this is to restrict the width say 250px, and overflow: hidden; because width: 100%; will make the image stretched horizontally.
Thanks!

If you're content has position: relative; to all elements I can't see this happening. The example you sent looks right for me or I'm missing something here.

Yes, It works as well. I was asking if you have a better implementation in mind, maybe you've tested under different circumstances. But, if you don't see any problem, that's fine.
If you can also add to the documentation on how to use images and text within .grid-item It would be better because usually people will add some content inside each.
Regarding if the content has position: relative;, each .grid-item will still fill the horizontal space, maybe I misunderstood you.
Anyways, here is what i've done:

Implementation in Demo
What happened when I added images and text Overflow
Then, I added display: inline-block;, overflow: hidden; and removed height: 120px; Fixed

@OmarElGabry

If you can also add to the documentation on how to use images and text within .grid-item It would be better because usually people will add some content inside each.

I didn't add anything because this is something implicit no? I mean the whole "cards" concept is that you would have content inside the items. I tried to keep the demo as simple as possible, still people get confused 😂

Regarding if the content has position: relative;, each .grid-item will still fill the horizontal space, maybe I misunderstood you.

Oh if you mean fill the page/container width you can fix that by adding max-width to your .grid container.
I'm closing this issue, feel free to add further comments here.
Cheers 🍺


mention that gob.Encoder and gob.Decoder are safe for concurrent use

gob.Encoder and gob.Decoder use mutexes internally to allow concurrent usage, but I couldn't see this mentioned in the package documentation anywhere.  It might be useful to do so.

I always forget if we need to document when named types and methods are safe for concurrent use, or when they're not. We should probably have a wiki page explaining this.

I forget too, and so I default to treating things as unsafe for concurrent use until told otherwise- which seems like the most reasonable response.
If there's general agreement on if/what/how this should be documented, I would be happy to help make this more consistent across the standard library docs.


Upgrade to Go 1.16

TL;DR
Upgrade to Go 1.16
Design
In addition to standard testing, there are two features we should make use of:

embed directive to embed the HTML and locale assets inside binaries (dramatically simplifies our dockerfiles)
replace signalcontext with signal.NotfiyContext

ioutil is also deprecated: https://golang.org/pkg/io/ioutil


Published date/time is incorrect (probably showing UTC date)

The last updated date/time is incorrect. I just published a package, yet it says 2 hours ago. I think it doesn't translate the storage date/time to the client date/time.

Duplicate of https://github.com/NuGet/NuGetGallery/issues/4280. Will soon be addressed by https://github.com/NuGet/NuGetGallery/pull/4457. Thanks!


FLOE-mobile-responsive: preference panel and images aligned for mobile devices

Fixes #118 and also fixes #116
Screenshots:
1.  #118

2.  #116

 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.

@thisispratt Do not fix multiple unrelated issues in the same PR.
This causes two problems:

It's tough to track changes in different files for different issues. It's confusing to know what changes were made in order to fix which issue.
Fixes to different issues can be merged separately thereby maintaining order.

@thisispratt You should not fix multiple unrelated issues in the same PR.
This causes two problems:

It's tough to track changes in different files for different issues. It's confusing to know what changes were made in order to fix which issue.
Fixes to different issues cannot be merged separately making it tough to maintain order.

@sachin10101998  These issues are related to one another. Issue #118 is a repercussion of #116
Thus solving them together.

@thisispratt could you describe more why https://github.com/fluid-project/floeproject.org/issues/116 causes https://github.com/fluid-project/floeproject.org/issues/118. Also what is the change in the footer for?

@thisispratt could you describe more why #116 causes #118. Also, what is the change in the footer for?

Images on the home page were not responsive, thus giving rise to both the issues.
Also, the text which was inline with the  floe-hewlett-logo was flowing out of the container in mobile devices, Hence, the change in the footer.

@thisispratt could you describe more why #116 causes #118. Also, what is the change in the footer for?

Images on the home page were not responsive, thus giving rise to both the issues.

How did the images not being responsive lead to this issue?

Also, the text which was inline with the floe-hewlett-logo was flowing out of the container in mobile devices, Hence, the change in the footer.

Was this related, or should it have been filed under a separate issue?

How did the images not being responsive lead to this issue?

Since the images are not responsive so they are flowing out of the container in small scale devices thus extending out to the rightmost side of the viewport first and not letting the container occupy the 100% width of the device.

Also, the text which was inline with the floe-hewlett-logo was flowing out of the container in mobile devices, Hence, the change in the footer.

Was this related, or should it have been filed under a separate issue?

Yes, this was also related as the footer text caused the same issue.

@thisispratt, @jobara I just properly looked into this issue and I believe that these two issues are not related. You didn't have to make any changes in the footer. This issue should be solved by fixing max-widths of images and containers instead of explicitly changing the size of images.
Look at #128. The footer issue along with the preference panel bug is solved without making any changes to the footer.
Moreover, the images are responsive and behave as they should on changing screen sizes.
Screenshots:
1)
For iphone 5/Se, the prefernce bar:

Responsive images not extending to rightmost side.

@thisispratt, @aashimgarg and @sachin10101998, thanks again for discussing the issues. I think it would be helpful to go back to the issues and describe in detail what what is causing the issues, including references to the code and other resources as necessary.
Also, remember to always be respectful in your communications. It can be hard to interpret tone and intention in text based communications, so be cautious of how your words may be interpreted and understood.

Sorry @jobara . I will makes sure that it will not happen again.

 All committers have signed the CLA.


Namespace core_ext

Moving core_ext to within the squeel directory, to namespace it. There is a chance of conflicting paths with core_ext, which would either cause squeel core_ext not to load or the other core_ext not to load.
For example in our application we have Rails.root/lib as part of the autoload path and have a core_ext/hash for Hash within. Upon app boot we load load core_ext/hash before squeel has required core_ext/hash, so I assume ruby thinks the file has already loaded? This prevents the Hash extensions of squeel loading.
Namespacing the core_ext for the gem fixes this, similar to how ActiveSupport,  jekyll and thor's core_ext are within the directory.

This seems fine. Thanks!


Problems with this plugin on reboot the Pi

In some cases when reboot the Raspberry Pi, prior to stop the homebridge-broadlink instance, using the service command, the Homebridge with this plugin associated don´t respond any more, usign DEBUG=* i see a lot of auth pair tries
`  EventedHTTPServer [<IP_ADDRESS>] New connection from client +54s
EventedHTTPServer [<IP_ADDRESS>] HTTP server listening on port 41847 +1ms
EventedHTTPServer [<IP_ADDRESS>] HTTP request: /pair-verify +5ms
HAPServer [ED:32:2D:E3:CE:36] HAP Request: POST /pair-verify +0ms
EventedHTTPServer [<IP_ADDRESS>] HTTP Response is finished +3ms
EventedHTTPServer [<IP_ADDRESS>] Client connection closed +16ms
EventedHTTPServer [<IP_ADDRESS>] HTTP connection was closed +1ms
EventedHTTPServer [<IP_ADDRESS>] HTTP server was closed +1ms '
I delete the persist folder, and accessory folder...nothing happens, the instance remains unresponsive
Thanks

Hi @GerSant I'm closing this as it's an old issue, please re-open if you're still having issues.


seems like my server IP gets blocked by Pinterest after using $bot->pins->create()

$bot->pins->create() works first time, it only creates about 30+ pins and then it stops working, seems like my server IP gets blocked by pinterest.
I need to create bulk Pins to my Pinterest account.
any idea, how to create large number of pins?

Hi, @hafizzia
This library is not API calls, it is a bot. So try to behave as a real person. Don't be too aggressive creating or commenting pins. Put timeouts between creations. Don't put spam comments or links on them. Try to use different useragent for you account with:
$bot->getHttpClient()->setOptions([
    CURLOPT_USERAGENT => 'Your_User_Agent',
]);


Fix materialDefines

Reset materialDefines if a new Material is assigned to a Mesh and subMeshes._materialEffect is already null.
Reset materialDefines if a new subMaterial is assigned to a subMesh.
When marking subMeshes as dirty, don't return if a subMesh doesn't have defines.

Thanks


[Release] Improve changelog created for release

The changelog added to the GitHub release is a bit messy. Right now all the RC tags get in the way - we may want to add a bit more control over this

Commitizen doesn't seem to have any control over this - so this might have to be a manual post-release step (or we can filter out the headers from the changelog before updating since it's presumably redundant)

Hmm, also reverting the changelog commit each time isn't great - the same problem ends up in CHANGELOG.md. Maybe we should delete the old RC tag instead (locally), or just recommend that you reset the RC branch before cherry-picking. In this case since the maint branch is getting messy, I'm just going to recreate the branch and tags and try again...


TypeError: unsupported operand type(s) for |: 'type' and 'types.GenericAlias'

What's the feature that should be improved?
example 1: TypeError: unsupported operand type(s) for |: 'type' and 'types.GenericAlias'
Describe how you would like the feature improved

Possibly describe the ideal way to improve this
If you have thought about how you would do it, add it here.
Additional information
pip list
asttokens          2.2.1
backcall           0.2.0
colorama           0.4.6
comm               0.1.3
debugpy            1.6.7
decorator          5.1.1
executing          1.2.0
financedatabase    2.1.0
financetoolkit     1.0.0
importlib-metadata 6.6.0
ipykernel          6.23.1
ipython            8.14.0
jedi               0.18.2
jupyter_client     8.2.0
jupyter_core       5.3.0
matplotlib-inline  0.1.6
nest-asyncio       1.5.6
numpy              1.24.3
packaging          23.1
pandas             2.0.2
parso              0.8.3
pickleshare        0.7.5
pip                23.1.2
platformdirs       3.5.1
prompt-toolkit     3.0.38
psutil             5.9.5
pure-eval          0.2.2
Pygments           2.15.1
python-dateutil    2.8.2
pytz               2023.3
pywin32            306
pyzmq              25.1.0
setuptools         49.2.1
six                1.16.0
stack-data         0.6.2
tornado            6.3.2
traitlets          5.9.0
typing_extensions  4.6.3
tzdata             2023.3
wcwidth            0.2.6
zipp               3.15.0

Hello! Can you provide me with the full error message so I can look into it?

Got it, will fix tomorrow!

This issue has been resolved. This is due to you being on an older version of Python. You are on 3.8 while the typing requirements are added in 3.10. I've made a temporary repository that will work (https://pypi.org/project/financetoolkit/1.0.2/) and it is made in such a way if you now will do pip install financetoolkit -U it will update to this version.
However, note that from now on, all future package versions will be based on Python 3.10 and onwards. I would recommend upgrading your Python distribution to get access to the newest features in due time.
(test_python38) jeroenbouma@Jeroens-MacBook-Pro FinanceToolkit % pip install financetoolkit
Collecting financetoolkit
  Using cached financetoolkit-1.0.2-py2.py3-none-any.whl (42 kB)
Installing collected packages: financetoolkit
Successfully installed financetoolkit-1.0.2
(test_python38) jeroenbouma@Jeroens-MacBook-Pro FinanceToolkit % pip install pandas
Collecting pandas
  Using cached pandas-2.0.2-cp38-cp38-macosx_11_0_arm64.whl (10.7 MB)
Collecting pytz>=2020.1
  Using cached pytz-2023.3-py2.py3-none-any.whl (502 kB)
Collecting numpy>=1.20.3
  Using cached numpy-1.24.3-cp38-cp38-macosx_11_0_arm64.whl (13.8 MB)
Collecting python-dateutil>=2.8.2
  Using cached python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB)
Collecting tzdata>=2022.1
  Using cached tzdata-2023.3-py2.py3-none-any.whl (341 kB)
Collecting six>=1.5
  Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
Installing collected packages: pytz, tzdata, six, numpy, python-dateutil, pandas
Successfully installed numpy-1.24.3 pandas-2.0.2 python-dateutil-2.8.2 pytz-2023.3 six-1.16.0 tzdata-2023.3
(test_python38) jeroenbouma@Jeroens-MacBook-Pro FinanceToolkit % python
Python 3.8.16 (default, Mar  1 2023, 21:18:45)
[Clang 14.0.6 ] :: Anaconda, Inc. on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from financetoolkit import Toolkit
>>> Toolkit(['AAPL', 'TSLA'], 'API_KEY').get_balance_sheet_statement()
<stdin>:1: DeprecationWarning: This version of the Finance Toolkit is depreciated. Finance Toolkit 1.0.3 and onwards require Python 3.10 and higher. Please update to the latest version of Python and the Finance Toolkit.
date                                         2018          2019         2020          2021          2022
AAPL Cash and Cash Equivalents<PHONE_NUMBER>0<PHONE_NUMBER>0<PHONE_NUMBER>0<PHONE_NUMBER>0<PHONE_NUMBER>0
     Short Term Investments<PHONE_NUMBER>0<PHONE_NUMBER>0<PHONE_NUMBER>0<PHONE_NUMBER>0<PHONE_NUMBER>0
     Cash and Short Term Investments<PHONE_NUMBER>0<PHONE_NUMBER>00<PHONE_NUMBER>0<PHONE_NUMBER>0<PHONE_NUMBER>0
     Accounts Receivable<PHONE_NUMBER>0<PHONE_NUMBER>0<PHONE_NUMBER>0<PHONE_NUMBER>0<PHONE_NUMBER>0
     Inventory<PHONE_NUMBER><PHONE_NUMBER><PHONE_NUMBER><PHONE_NUMBER><PHONE_NUMBER>
...                                           ...           ...          ...           ...           ...
TSLA Minority Interest<PHONE_NUMBER><PHONE_NUMBER><PHONE_NUMBER><PHONE_NUMBER><PHONE_NUMBER>
     Total Liabilities and Equity<PHONE_NUMBER>0<PHONE_NUMBER>0<PHONE_NUMBER>0<PHONE_NUMBER>0<PHONE_NUMBER>0
     Total Investments                          0             0            0     131000000<PHONE_NUMBER>
     Total Debt<PHONE_NUMBER>0<PHONE_NUMBER>0<PHONE_NUMBER>0<PHONE_NUMBER><PHONE_NUMBER>
     Net Debt<PHONE_NUMBER>0<PHONE_NUMBER>  -7645000000  -10742000000  -19086000000

[86 rows x 5 columns]
>>> exit()
(test_python38) jeroenbouma@Jeroens-MacBook-Pro FinanceToolkit % conda list
# packages in environment at /Users/jeroenbouma/miniconda3/envs/test_python38:
#
# Name                    Version                   Build  Channel
ca-certificates           2023.05.30           hca03da5_0
financetoolkit            1.0.2                    pypi_0    pypi
libcxx                    14.0.6               h848a8c0_0
libffi                    3.4.4                hca03da5_0
ncurses                   6.4                  h313beb8_0
numpy                     1.24.3                   pypi_0    pypi
openssl                   1.1.1t               h1a28f6b_0
pandas                    2.0.2                    pypi_0    pypi
pip                       23.0.1           py38hca03da5_0
python                    3.8.16               hc0d8a6c_3
python-dateutil           2.8.2                    pypi_0    pypi
pytz                      2023.3                   pypi_0    pypi
readline                  8.2                  h1a28f6b_0
setuptools                67.8.0           py38hca03da5_0
six                       1.16.0                   pypi_0    pypi
sqlite                    3.41.2               h80987f9_0
tk                        8.6.12               hb8d0fd4_0
tzdata                    2023.3                   pypi_0    pypi
wheel                     0.38.4           py38hca03da5_0
xz                        5.4.2                h80987f9_0
zlib                      1.2.13               h5a0b063_0
(test_python38) jeroenbouma@Jeroens-MacBook-Pro FinanceToolkit %


Matrix Operation

Matrix Operation

Give this repo A star and follow me for follow back 😊

@tanus786 okay

Give this repo a star and follow me for follow back 😊


New version: Hashicorp.Boundary version 0.15.2

Pull request has been created with komac v2.1.0 :rocket:
Microsoft Reviewers: Open in CodeFlow

Automatic Validation ended with:

Executable C:\Users\validator\AppData\Local\Microsoft\WinGet\Packages\Hashicorp.Boundary__DefaultSource\boundary.exe returned exit code: 127
Executable C:\Users\validator\AppData\Local\Microsoft\WinGet\Links\boundary.exe returned exit code: 127
Executable C:\Users\Validator\AppData\Local\Microsoft\WinGet\Packages\Hashicorp.Boundary__DefaultSource\boundary.exe returned exit code: 127
Executable C:\Users\Validator\AppData\Local\Microsoft\WinGet\Links\boundary.exe returned exit code: 127

(Automated response - build 870.)

@wingetbot waivers Add Validation-Executable-Error


hsl conversions are off

var cc = require("color-convert")

var hslColors = ["250, 100%, 96%", "250,  98%, 86%", "250,  96%, 78%",
"250,  12%, 46%", "30, 100%, 80%", "30, 72%, 62%", "30,  6%, 46%", "30, 72%, 62%", "250, 14%, 18%", "252, 14%, 28%", "30, 100%, 66%"];

for(var i=0; i < hslColors.length; i++){
  console.log(hslColors[i] +" in hex is " + cc.hsl2hex(hslColors[i]));
  console.log(hslColors[i] +" in ansi is " + cc.hsl2ansi(hslColors[i]));
  console.log(hslColors[i] +" in ansi16 is " + cc.hsl2ansi16(hslColors[i]));
}

250, 100%, 96% in hex is 000000
250, 100%, 96% in ansi is 16
250, 100%, 96% in ansi16 is 30
250,  98%, 86% in hex is 000000
250,  98%, 86% in ansi is 16
250,  98%, 86% in ansi16 is 30
250,  96%, 78% in hex is 000000
250,  96%, 78% in ansi is 16
250,  96%, 78% in ansi16 is 30
250,  12%, 46% in hex is 000000
250,  12%, 46% in ansi is 16
250,  12%, 46% in ansi16 is 30
30, 100%, 80% in hex is 000000
30, 100%, 80% in ansi is NaN
30, 100%, 80% in ansi16 is 30
30, 72%, 62% in hex is 000000
30, 72%, 62% in ansi is NaN
30, 72%, 62% in ansi16 is 30
30,  6%, 46% in hex is 000000
30,  6%, 46% in ansi is NaN
30,  6%, 46% in ansi16 is 30
30, 72%, 62% in hex is 000000
30, 72%, 62% in ansi is NaN
30, 72%, 62% in ansi16 is 30
250, 14%, 18% in hex is 000000
250, 14%, 18% in ansi is 16
250, 14%, 18% in ansi16 is 30
252, 14%, 28% in hex is 050505
252, 14%, 28% in ansi is 16
252, 14%, 28% in ansi16 is 30
30, 100%, 66% in hex is 000000
30, 100%, 66% in ansi is NaN
30, 100%, 66% in ansi16 is 30

Hi! Don't use string values.
var cc = require("color-convert")

var hslColors = [
  [250, 100, 96],
  [250,  98, 86],
  [250,  96, 78],
  [250,  12, 46],
  [30,  100, 80],
  [30,   72, 62],
  [30,    6, 46],
  [30,   72, 62],
  [250,  14, 18],
  [252,  14, 28],
  [30,  100, 66]
];

for(var i=0; i < hslColors.length; i++){
  console.log(hslColors[i] +" in hex is " + cc.hsl2hex(hslColors[i]));
  console.log(hslColors[i] +" in ansi is " + cc.hsl2ansi(hslColors[i]));
  console.log(hslColors[i] +" in ansi16 is " + cc.hsl2ansi16(hslColors[i]));
}

Ah, ok.

:dancer: Might be looking for color-string.

Thanks.


Adding to fabric server does not work. (at least for me)

I have tried adding the NCR mod to the server's mod folder, got this on start:'
Incompatible mod set!
net.fabricmc.loader.impl.FormattedException: Mod resolution encountered an incompatible mod set!
A potential solution has been determined:
	 - Install fabric, any version.
Unmet dependency listing:
	 - Mod 'No Chat Reports' (nochatreports) 1.19.1-v1.7.1 requires any version of fabric, which is missing!
	at net.fabricmc.loader.impl.FabricLoaderImpl.load(FabricLoaderImpl.java:190)
	at net.fabricmc.loader.impl.launch.knot.Knot.init(Knot.java:148)
	at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:68)
	at net.fabricmc.loader.impl.launch.knot.KnotServer.main(KnotServer.java:23)
	at net.fabricmc.loader.impl.launch.server.FabricServerLauncher.main(FabricServerLauncher.java:69)

The server is a normal fabric server, started with the fabric-server-launch.jar and all
Also here is latest.log
[18:52:05] [main/INFO]: Loading Minecraft 1.19.1 with Fabric Loader 0.14.8
[18:52:06] [main/WARN]: Mod resolution failed
[18:52:06] [main/INFO]: Immediate reason: [HARD_DEP_NO_CANDIDATE nochatreports 1.19.1-v1.7.1 {depends fabric @ [*]}, ROOT_FORCELOAD_SINGLE nochatreports 1.19.1-v1.7.1]
[18:52:06] [main/INFO]: Reason: [HARD_DEP nochatreports 1.19.1-v1.7.1 {depends fabric @ [*]}]
[18:52:06] [main/INFO]: Fix: add [add:fabric 1 ([(-?,?)])], remove [], replace []
[18:52:06] [main/ERROR]: Incompatible mod set!
net.fabricmc.loader.impl.FormattedException: Mod resolution encountered an incompatible mod set!
A potential solution has been determined:
	 - Install fabric, any version.
Unmet dependency listing:
	 - Mod 'No Chat Reports' (nochatreports) 1.19.1-v1.7.1 requires any version of fabric, which is missing!
	at net.fabricmc.loader.impl.FabricLoaderImpl.load(FabricLoaderImpl.java:190) ~[fabric-loader-0.14.8.jar:?]
	at net.fabricmc.loader.impl.launch.knot.Knot.init(Knot.java:148) ~[fabric-loader-0.14.8.jar:?]
	at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:68) [fabric-loader-0.14.8.jar:?]
	at net.fabricmc.loader.impl.launch.knot.KnotServer.main(KnotServer.java:23) [fabric-loader-0.14.8.jar:?]
	at net.fabricmc.loader.impl.launch.server.FabricServerLauncher.main(FabricServerLauncher.java:69) [fabric-loader-0.14.8.jar:?]

Thank you for any help

You need to install Fabric API: https://www.curseforge.com/minecraft/mc-mods/fabric-api

Thank you :)

You really need to mention the Fabric API requirement somewhere on the curseforge page.
And in my experience, when fabric throws a dependency issue in the log, it usually specifies what the dependency is. I thought I had some issue with fabric itself because the dependency is just "any version of fabric" in the log. That is an actual issue that should be addressed.


Update MOTD

🛠 Note:
We are meticulous about merging code into the main branch, so please understand that pull requests not meeting the project's standards may be rejected. It's never personal!
🎮 Note for game-related scripts: These have a lower likelihood of being merged.

✍ Description
Provide a summary of the changes made and/or reference the issue being addressed.
Added gold colour.
Added TABS variable (A longer version of TAB, user for central LXC heading / reduced code)
Added building icon (used for ORG).
Added hammer and spanner icon (used for GitHub)
Change LXC Container title to more central location and in gold.
Added website URL.
Split the lines to show Org, Website and Github on separate lines to improve readability.
Changed IP icon from idea to network.
Added line break under the LXC title for better readability.
Added line break under the IP address for better readability.

Please remove unneeded lines!

🛠 Type of Change
Please check the relevant options:

[ ] Bug fix (non-breaking change that resolves an issue)
[✅] New feature (non-breaking change that adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change unexpectedly)
[ ] New script (a fully functional and thoroughly tested script or set of scripts)

✅ Prerequisites
The following steps must be completed for the pull request to be considered:

[✅] Self-review performed (I have reviewed my code to ensure it follows established patterns and conventions.)
[✅] Testing performed (I have thoroughly tested my changes and verified expected functionality.)
[✅] Documentation updated (I have updated any relevant documentation)

📋 Additional Information (optional)
Provide any extra context or screenshots about the feature or fix here.

Linked to #957
However I previously didn't build my fork correctly so I did a rebuild.


XML Comments with nuget packages

Hi, I'm using VS 16.6.0 with asp.net core 3.1 and Swashbuckle.AspNetCore.Swagger 5.4.1 (SwaggerGen and SwaggerUI also in 5.4.1)
I added the steps to include the xml comments in the documentation, I also have some generic models  in a nuget package, I modified the csproj of the API so the xml from the package is copied to the output directory during build and publish.
In the browser I xcan see examples of the models included in the solution, but the models in the nuget package have the default values, like this:
{
  "error": {
    "code": "string",
    "details": [
      null
    ],
    "event_id": 0,
    "inner_error": {
      "code": "string"
    },
    "message": "string",
    "target": "string"
  }
}

In the schema definition I can see my comments from the xml file so the file is being loaded by Swashbuckle, is there a way to add examples to this generic models in a package?
Also is there a setting so the examples are added to the swagger.json file? I can only see the examples in the UI.
Thanks a lot.

@JuanZamudioGBM HI,
Have you added path to file with xml comments from NuGet package you are using, according to point 5 in documentation:
Include Descriptions from XML Comments
c.IncludeXmlComments(filePath);

NOTE: *. you can invoke the IncludeXmlComments method multiple times and they will all be merged into the outputted Swagger JSON.

@korifeich project references a third-party nuget, how is it configured?
I don't have xml file. But nuget contains documentation.

@snowchenlei Can you send me nuget package name?
Usually you need to do the following:

Check if xml file is included in NuGet package itself
Check if this xml file is copied to your output folder (build or publish)
Add this xml file following the swashbuckle documentation

@korifeich My nuget.It has not been published to the public network.
installing nuget can import the xml file?
my nuget project properties setting:

build -> output -> xml document file(checked)

build -> output -> generate serialization assembly(auto)

xml file copy to output(yes)
now,I installed my nuget in demo project. but my nuget xml file was not found in demo project .


Option to update only certain values battery/position/light

Since I have not connected the light sensor, I wanted to avoid reading a non-changing value and adapted the library to allow config update.

Sorry, will reopen it, when fixed.


Package update

Currently some of the packages are outdated. Can we update the version of the dependencies (including dev).

Sure we can.

I was refering to dependencies aswell.
Some of the packages seems to be incompatible with the latest version of RxJs.

I understand. Tried, some breaking changes and a fever that is killing me.
Will investigate
El 5 dic. 2016 15:39, "Ashok Koyi"<EMAIL_ADDRESS>escribió:

I was refering to dependencies aswell.
Some of the packages seems to be incompatible with the latest version of
RxJs.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/preboot/angular2-webpack/issues/254#issuecomment-264870149,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABCZ1XLz-mVzSDc7hL2EUaoIgkPoRAkCks5rFCIHgaJpZM4LDS-A
.

Sorry about that. Hope you recover soon.
Thanks


Update timeout in launcher docs

Codecov Report

Merging #527 (8f51e64) into main (1803a89) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #527   +/-   ##
=======================================
  Coverage   77.57%   77.57%
=======================================
  Files          31       31
  Lines        2194     2194
=======================================
  Hits         1702     1702
  Misses        492      492

Impacted Files
Coverage Δ

src/ansys/meshing/prime/internals/launcher.py
28.15% <ø> (ø)


Customize request routing outside Knots

Currently, Knot.X routes every request through Repository Connector and Fragment Splitter ... Fragment Assembler.
In some scenarios, we want to be able to skip this path and define another.
A new structure should be introduced (e.g. called FlowRoute or Atom) which will contain details on how to process the request. Server will decide which requests should be routed through which Atom.
In the current design, a default Atom would wrap the flow from RepositoryConnector to FragmentAssembler.
In the new solution, we will be able to define new Atoms with a custom flow.
Every Atom should define input and output contract.

This task was implemented in: https://github.com/Cognifide/knotx/pull/299.


Added api documentation

added missing api section from the old waveprotocol website.

!

The formatting looks fine, but there are a few content issues which should probably be fixed before making it part of the published documentation.
Much of this documentation refers to the "wave sandbox", which was a demo-server Google ran. There is not much use referring to this in the modern documentation anymore, though the API reference is still okay. It should be changed to simply refer to the "wave server", as it could be any of them.
There are lots of mentions of "Google Wave client", which should really refer to the "Apache Wave client", or perhaps better just "wave client", when it doesn't refer to a feature on GWave had.
The section about where to fetch the client library should be changed to say it is in the main incubator-wave repository.
It would be nicer for the history if you did an interactive rebase to remove the "merge commits" from this pull request.

I havnt been contacted in regards about the Apache stuff.
The proposed changes might just be added along the next scheduled patch so Ill recreate history and chuck it on the pst documentation section.


CherryPick.cherrypick return undefined

System information

node version: v10.7.0
npm or yarn version: 6.1.0
OS/version/architecture: windows 10
Applicable nodegit version: 0.24.1

Example
    let repo = await repository()
    let oid = await Git.Oid.fromString(ref)
    let commit = await Git.Commit.lookupPrefix(repo, oid, ref.length)
    console.log(commit.message())
    Git.Cherrypick.cherrypick(repo, commit, {}).then(res=>{
        console.log(res) // undefined
    })

The documentation is a bit weak here. If the promise resolves then you can assume that the operation completed successfully. You don't need to check for a return code.

@Hikyu Ah. Sounds like you need to use repository.state() then and compare it with one of the Repository.STATE enums.
Does that help?

@Hikyu Ah. Sounds like you need to use repository.state() then and compare it with one of the Repository.STATE enums.
Does that help?

@rcjsuen Whether or not conflict  happens, repository.state() return CHERRYPICK, and how can I tell these things? thanks

@Hikyu You can check using Index's hasConflicts() function.
return Cherrypick.cherrypick(repo, commit, {})
.then(function() {
  return repo.index();
})
.then(function(index) {
  // this will return 1 or 0
  console.log(index.hasConflicts());
});

Does this help?

@rcjsuen  It works, thank you!

@Hikyu Happy to help! Good luck with your project!


[suggestion] Where's My Chat History

https://modrinth.com/mod/wmch
would replace/reduce a few mods in the modpack

though 1.18 currently doesn't have the latest features/fixes of the mod


How to work on M2 Ultra？

awsome job! but seemed not supported on m2 ?

I've tested it on m2pro/m3 pro machines on MacOS14, in theory if you're using MacOS14, compile it with -DT6020 should work. If you're using MacOS13 you can try to use -DT8112 and also without defining the macro.


DOC: optimize.root_scalar: harmonize documentation and implementation of xtol

Reference issue
Closes gh-14059
gh-5557
gh-2462
What does this implement/fix?
gh-14059 reported that the documentation of xtol ("must be nonnegative") does not agree with the implementation (an error is raised if xtol <= 0). Currently, this issue updates the documentation to match the implementation, but I'll see if I can get the input of the authors; it may be possible to adjust the implementation, instead.
Additional information
gh-2462 added the requirement that xtol must be strictly positive to all scalar root solvers, apparently to prevent infinite loops. gh-5557 documented that xtol must be nonnegative.
It also seems to me that with a slight modification to any bracketing algorithm, it should be possible to accept smaller relative tolerances: after the algorithm reduces the bracket as far as possible, there are only a few distinct values of x within the bracket. Why not calculate the function value at each of them (e.g. using np.nextafter) and return the argmin? The statement about np.allclose(x, x0, atol=xtol, rtol=rtol) being satisfied would not be true for xtol == rtol == 0, but we could return x0 with the minimum possible error in float64.

@person142 you added the requirement that xtol must be "nonnegative" to the bracketing root finder documentation in gh-5557, but the code raises an error if xtol == 0. Did you intend for this to be "positive" based on the code, or do you think that the code should be changed?

@charris In gh-2462, you suggested setting xtol == 0 in the scalar root finders might result in infinite loops. I can see this happening in non-bracketing algorithms (like newton), but I'm less convinced about the bracketing root finders. Trying to reason about this makes me suspect that if an algorithms converges with small positive xtol, it will also converge with zero xtol for reasonable functions (that behave approximately linearly over small intervals), but perhaps I'm missing something. Can you think of a way to nail this down?
For instance, I tried your suggestion https://github.com/scipy/scipy/pull/2462#issuecomment-17634959, lambda x: x**3, but that converges easily because when x gets much below 1e-100 the function underflows to zero.

Aside: I am finding cases in which the computed root does not satisfy the tolerances as documented

The computed root x0 will satisfy np.allclose(x, x0, atol=xtol, rtol=rtol), where x is the exact root.

but that is a different issue.

This assertion fails:
import numpy as np
from scipy import optimize

# rtol: "The computed root x0 will satisfy
# np.allclose(x, x0, atol=xtol, rtol=rtol), where x is the exact root.

method = 'bisect'
x = 1e-301  # true root
rtol = 4 * np.finfo(float).eps  # 8.881784197001252e-16, the default
xtol = 1e-302

def f(x0):
    return x0 - x

res = optimize.root_scalar(f, bracket=(1e-305, 1.5e300), xtol=1e-302,
                           rtol=rtol, method=method, maxiter=10000)
x0 = res.root  # computed root
assert np.allclose(x, x0, atol=xtol, rtol=rtol)
print(res.root)  # 2.470575286734906e-23

@person142 @charris could I get your thoughts here? Please see specific questions for each of you above. Thanks!

@tupui let's go ahead and get this in. Maybe someday I'll take a look at allowing all the rootfinders to solve to xtol=0, but this correctly documents how they behave now.


INSTALL documentation is not current

The documentation in src/docs/INSTALL is out-of-date, because it references "upstart" when that no longer works and is no longer necessary. See the following thread for a recommendation from Shivaram for the proper install process:
https://lists.geant.org/sympa/arc/faucet-users/2017-03/msg00009.html
The src/docs/INSTALL documentation should be updated to match the current expected install process. At the same time, the documentation in README.rst should also be updated, as it describes another method of running (using ryu-manager) that requires setting environment variables.

Adding to this, FAQ.rst and README.rst along with other documentation is way out of date.

I believe the syntax for acl rules in README.rst needs to be fixed:
        - rule:
            nw_dst: "<IP_ADDRESS>/8"
            dl_type: 0x800
            allow: 1

should be:
        - rule:
            nw_dst: "<IP_ADDRESS>/8"
            dl_type: 0x800
            actions:
                allow: 1

We also need to update our pipeline in faucet/docs/architecture.rst

I have updated a few things in #491. Will continue to tidy and update ready for our next release.

https://github.com/REANNZ/faucet/commit/fa78b4e18cd0bedefc784854fdc348a4ad3fb07e
I made a big documentation update to address this, including documenting using docker to run FAUCET and Gauge under systemd, and how to use pip install/via git.
I also deleted lots of stale config and made an explicit to the unit tests as the canonical config reference (not as readable but will always be correct since that's what the code is tested against).


nave reboot cycle

there was a reboot cycle on coordinat P37P+926 (Google format)

This is 50.713437,10.085062 in geo cords


This is not a ghost town.

If you're wondering why there is no one here, it should comfort you that I started this project on the 28th of November, 2024.
Why Docker?
Versatility. It runs everywhere, and it was easy to get started with it. We might be doing a CLI app later.
Why Firebase?
The Vercel-like static website hosting capabilities. I am open to adding Amanzon Amplify and other hosting platforms that provide the same flexibility.
Give it a spin; if something breaks, let me know. I will be focusing on the test coverage in the following weeks.
Keep testing, and keep reporting!

i tryed to connect with you, but with no success

@kuzyara Glad you are here. Please use https://twitter.com/xsokari to reach me


DBeaver does not know the name of my functions when e.g. typing an sql

When typing e.g. a script dbeaver knows all names of my schemas, tables, views and fields, but not my functions

Can the functions be added?

Hello @JeroenNienhuis
Please check the "Show stored procedures in column list" setting in your preferences.
Maybe it helps?

Thanks for the tip, but it wasn't of any help

Please try only with Select

That works :-),. Since part of my functions return tables I also tried
select * from functionname
and
select * from tablename join functionname
These do not work.

Ok, thanks for the clarification.


Support deepcopy of variable length out parameters

The PoC of supporting deepcopy over variable length out parameters. The goal is initiating the discussion on the design.
Signed-off-by: Ming-Wei Shih<EMAIL_ADDRESS>

/test all

/test all

/close

/close

/reopen

/reopen

Great work!
/lgtm

Great work!
/lgtm

/retest

/retest

/test all

/test all


webui does not come up again after deinstall/reinstall

I had a running node 1.7.0 which I updated to 1.8.0.
All worked fine to some point and I had a fully synced node with webui up and running.
For some reason I needed to reinstall everything (at the same day). afterwards the webgui (of the synced node) did not show the correct values anmore, but hung insiting on that bitcoin was off and lnd not synced. So I stiwtched to the menu and deintsalled the webui, restarted and installed the webui again. Now my node is synced, btc and lnd both synced and running, redis in the process list, but my webui shows an error only -- 403 Forbidden, which seems that nginx (which I assume is a reverse proxy only) cannot get to any info provided ny nodejs/redis (or whatever).
I already restarted nginx, redis and rebootet - no change. my btc node and lnd both look fine for me.
How to restart the webui without rewriting the complete sd-card?

Hi @jagottsicher
Can you try to disable & enable the API & webUI again?

Should work with 1.9.0


Compilation fails with cl.exe /Zc:wchar_t-

Description
When using the Visual Studio compiler option /Zc:wchar_t-, the compiler will replace the type wchar_t with a typedef. Thus the following error is generated during compilation:
doctest.h(2587): error C2766: explicit specialization; 'const char *doctest::detail::type_to_string<wchar_t>(void)' has already been defined
doctest.h(2585): note: see previous definition of 'type_to_string'

doctest version: v2.2.3
Operating System: Windows 10
Compiler+version: Visual Studio 14.0

Thanks for reporting this!
Seems that I can check against a preprocessor identifier (some more info)
This should be fixed in version 2.3 when I release it. For now you can uncomment one of those 2 lines.

Awesome, thanks.


Create lipsync-vi.mjs

I am using your template to create a Vietnamese module

@met4citizen
I got it working and will spend more time perfecting it. You can see its current demo here: https://youtu.be/NTL6adKpIss

Hi. Just checking if you've had time to finalize the Vietnamese lip-sync module. - If you have, and you're still willing to contribute it to the project, you can simply update the lipsync-vi.mjs file, and I will test and merge it.

Closed PR due to inactivity.


[Event Request] Codeunit 427, ICInboxOutboxMgt, OnRecreateOutboxTransactionOnBeforeOutboxSalesLineInsert

[Event Request] Codeunit 427, ICInboxOutboxMgt, OnRecreateOutboxTransactionOnBeforeOutboxSalesLineInsert
New event in procedure RecreateOutboxTransaction:
                        if HandledOutboxSalesLine.Find('-') then
                            repeat
                                OutboxSalesLine.TransferFields(HandledOutboxSalesLine);
                                OnRecreateOutboxTransactionOnBeforeOutboxSalesLineInsert(OutboxSalesLine, HandledOutboxSalesLine);
                                OutboxSalesLine.Insert();
                                ICDocDim.Reset();

[IntegrationEvent(false, false)]
local procedure OnRecreateOutboxTransactionOnBeforeOutboxSalesLineInsert(var ICOutboxSalesLine: Record "IC Outbox Sales Line"; HandledICOutboxSalesLine: Record "Handled IC Outbox Sales Line")
begin
end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.


Can't recognize utf-8 file foramt in Jenkins workflow

Infra team found Jenkins workflow failed to build AD as it shows such error.
tmp/tmpd4hnhevi/anomaly-detection/src/main/java/org/opensearch/ad/caching/CacheBuffer.java:54: error: unmappable character (0xE2) for encoding US-ASCII
 * We use a layered cache to manage active entities??? states.  We have a two-level
                                                   ^
/tmp/tmpd4hnhevi/anomaly-detection/src/main/java/org/opensearch/ad/caching/CacheBuffer.java:54: error: unmappable character (0x80) for encoding US-ASCII
 * We use a layered cache to manage active entities??? states.  We have a two-level
                                                    ^
/tmp/tmpd4hnhevi/anomaly-detection/src/main/java/org/opensearch/ad/caching/CacheBuffer.java:54: error: unmappable character (0x99) for encoding US-ASCII
 * We use a layered cache to manage active entities??? states.  We have a two-level

Found the error file format is different than others, they are in "UTF-8 Unicode text" while others are in "ASCII text".
All "UTF-8 Unicode text" java files in AD
src/main/java/org/opensearch/ad/caching/CacheBuffer.java: UTF-8 Unicode text
src/main/java/org/opensearch/ad/caching/PriorityCache.java: UTF-8 Unicode text
src/main/java/org/opensearch/ad/caching/PriorityTracker.java: UTF-8 Unicode text
src/main/java/org/opensearch/ad/model/Entity.java: UTF-8 Unicode text
src/main/java/org/opensearch/ad/ratelimit/ColdEntityWorker.java: UTF-8 Unicode text
src/main/java/org/opensearch/ad/ratelimit/RateLimitedRequestWorker.java: UTF-8 Unicode text

@ylwu-amzn I assume I can close this?


Add collaborator to CLA repositories

Will merge this after the original plan finishes to avoid more state locking.