Using Baobab 2.5.1 is causing babel to fail

I don't have much information yet, but last version is causing babel transpilation to fail with following error:
Options {"loose":true} passed to <project-folder>/node_modules/babel-preset-es2015/index.js which does not accept options.
The issue could be just be on babel, babelify, or in the project it has happened (quite a big one), so I created just the issue for now.
I will try to gather some more information. For now, I changed to use 2.4.x.

Well this indeed a problem :). 2.5.0 should be ok though. Let me check that.

2.5.1 is broken period. Now when I require Baobab I get an object with a single 'default' key.
> let B = require('baobab')
undefined
> B
{ default:
   { [Function: Baobab]
     monkey: [Function],
     dynamicNode: [Function],
     Cursor: [Function: Cursor],
     MonkeyDefinition: [Function: MonkeyDefinition],
     Monkey: [Function: Monkey],
     type:
      { array: [Function],
        object: [Function],
        string: [Function],
        number: [Function],
        function: [Function],
        primitive: [Function],
        splicer: [Function],
        path: [Function],
        dynamicPath: [Function],
        monkeyPath: [Function],
        lazyGetter: [Function],
        monkeyDefinition: [Function],
        watcherMapping: [Function],
        operationType: [Function] },
     helpers:
      { Archive: [Function: Archive],
        shallowClone: [Function: bound cloner],
        deepClone: [Function: bound cloner],
        freeze: [Function: bound freezer],
        deepFreeze: [Function: bound freezer],
        shallowMerge: [Function: bound merger],
        deepMerge: [Function: bound merger],
        uniqid: [Function],
        arrayFrom: [Function: arrayFrom],
        before: [Function: before],
        coercePath: [Function: coercePath],
        getIn: [Function: getIn],
        makeError: [Function: makeError],
        hashPath: [Function: hashPath],
        solveRelativePath: [Function: solveRelativePath],
        solveUpdate: [Function: solveUpdate],
        splice: [Function: splice] },
     VERSION: '2.5.0' } }

This is 2.5.1, what's 'default'? Sounds like something meant for the 'import' syntax (e.g. exporting something as default) but I'm not using babel here.
Importing 2.5.0 works as expected:
> let B = require('baobab')
undefined
> B
{ [Function: Baobab]
  monkey: [Function],
  dynamicNode: [Function],
  Cursor: [Function: Cursor],
  MonkeyDefinition: [Function: MonkeyDefinition],
  Monkey: [Function: Monkey],
  type:
   { array: [Function],
     object: [Function],
     string: [Function],
     number: [Function],
     function: [Function],
     primitive: [Function],
     splicer: [Function],
     path: [Function],
     dynamicPath: [Function],
     monkeyPath: [Function],
     lazyGetter: [Function],
     monkeyDefinition: [Function],
     watcherMapping: [Function],
     operationType: [Function] },
  helpers:
   { arrayFrom: [Function: arrayFrom],
     before: [Function: before],
     coercePath: [Function: coercePath],
     getIn: [Function: getIn],
     makeError: [Function: makeError],
     solveRelativePath: [Function: solveRelativePath],
     solveUpdate: [Function: solveUpdate],
     splice: [Function: splice],
     Archive: [Function: Archive],
     shallowClone: [Function: bound cloner],
     deepClone: [Function: bound cloner],
     freeze: [Function: bound freezer],
     deepFreeze: [Function: bound freezer],
     shallowMerge: [Function: bound merger],
     deepMerge: [Function: bound merger],
     uniqid: [Function] },
  VERSION: '2.5.0' }

I just released a v2.5.2 that should fix the issue. Can you both test it and tell me if it works for you.
@debugmaster you should probably add /node_modules/ to the ignore setting in webpack so you don't attempt to transpile dependencies.

Thank you so much! I'm at work so no, not for several hours, but I will as soon as possible.

Yeah it works! Thanks.


AAC LC to PCM

	if err != nil {
		return nil, beep.Format{}, err
	}

	mp4a := file.Moov.Trak.Mdia.Minf.Stbl.Stsd.Mp4a
	format := beep.Format{
		SampleRate:  beep.SampleRate(mp4a.SampleRate),
		NumChannels: int(mp4a.ChannelCount),
	}
	trex := file.Moov.Mvex.Trex

	var samples []mp4.FullSample

	for i, box := range file.Children {
		if box.Type() == "moof" {
			moof := box.(*mp4.MoofBox)
			trun := moof.Traf.Trun

			mdat := file.Children[i+1].(*mp4.MdatBox)

			trun.AddSampleDefaultValues(moof.Traf.Tfhd, trex)

			samples = append(samples, trun.GetFullSamples(0, 0, mdat)...)
		}
	}```

	i made this code to get the samples
        but how i can turn the AAC LC samples to PCM?

Decoding AV media is not the purpose of mp4ff. Try ffmpeg to extract the PCM data. You probably need to add an (7B) ADTS header to each AAC frame and then concatenate them to a resulting '.adts' file. There is some code in mp4ff/adts package to generate such headers. You should also be able run ffmpeg directly on your input mp4 file.

What’s the command to extract pcm data from the sample?

I don't know

@oq-x I close this issue. I hope you were able to found the ffmpeg pieces you needed on the Internet.


[HW]

Name: Vincenzo Pellecchia
Email<EMAIL_ADDRESS>Linkedin Profile: https://www.linkedin.com/in/ing-vincenzo-pellecchia/
Attach the homework step I screenshots below:

Attach the homework step II screenshots below:

Hey Vincenzo Pellecchia, great job! Congrats! Here is your badge! https://api.badgr.io/public/assertions/e7QSXYSWRTyOhrTn9ZnqCA


Does it run on a Chromebook?

From the article below, it looks like VS Code can run on a Chromebook.
https://code.visualstudio.com/blogs/2020/12/03/chromebook-get-started
Does anyone have access to a Chromebook to try VS Code with the MPRemote VS Code Extension? I'd love to know if a Chromebook can be used as a development host for MicroPython projects.

The answer seems to be: If it does, it's not without a lot of hassle. So, skipping this to focus on Raspberry Pi instead.


VideoJS as input source, RTMP

Hi,
I've been struggling to solve this issue for last few days.
but I couldn't find a way.
And I found #159 which literally exactly same to my case.
But there doesn't provide final solution.
As the author of @#159 mentioned, video.js generate object for flash, I getting errors while using face-api.
I NEED Urgent help for this.
Thanks

Please do not duplicate the issue then. We will keep track of this under #159.


verifyPhoneNumber method does not work on iPads

verifyPhoneNumber returns the token on iPhones and works perfectly, but does not return on iPads. As a result iPad waits forever to get the result of the promise. I guess the issue is either on silent notification or recaptcha.
Expected behavior: To receive the token on iPad similar to iPhone.

Maybe this issue is because of the same issue that raised to the Firebase that is resolved in Firebase 4.2.0 by adding recaptcha (https://stackoverflow.com/questions/45111165/app-store-rejection-due-to-firebase-phone-auth). So maybe it can be similarly solved here?

I am guessing that this happens on any device with background app disabled prior to fresh install of the app. So the plugin has no way of sending the silent, remote, notification.???

@mobari How you get this work in iPhone? I just started to use this plugin by following the document README.md.
There are 3 arguments expected:
window.FirebasePlugin.verifyPhoneNumber(number, timeOutDuration, function(credential) {...}
However, when I am coding this part (using Ionic 3 to develop hybrid app), I found that the function expected 2 arguments only.

Thanks

@mobari , while using phone authentication in ios , did recaptcha verification pops up while sending code to the phone number?


Some feeds not working

Some feeds fail to be added, such as World News: https://rsshub.app/apnews/topics/world-news
AntennaPod works with it just fine.

Thanks. This has been a recurring problem, I have to find another way to parse RSS.


[Enhancement] Add debug log for colocate group bucket seq change (#31324)

[FE Incremental Coverage Report]
:heart_eyes: pass : 10 / 12 (83.33%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/catalog/ColocateTableIndex.java
2
4
50.00%
[198, 199]

:large_blue_circle:
com/starrocks/common/util/LogUtil.java
3
3
100.00%
[]

:large_blue_circle:
com/starrocks/clone/ColocateTableBalancer.java
5
5
100.00%
[]

[BE Incremental Coverage Report]
:heart_eyes: pass : 0 / 0 (0%)


Return log results to inject to dagster ?

Hello,
I am using the rest API. tap_rest_api_msdk
Sometime this API returns a 404 error :
{
  "error": {
    "message": "Resource not found",
    "status_code": "404"
  }
}

The 404 is not a good response from the server but I cannot control it. If the dagster_op returns to logs we can imagine manipulate this for further dagster treatement.
Now, the pipeline fails.
I would return the _log_results of run_and_log so it becomes manageable.
Do you have another way to manage this use case ?

https://github.com/quantile-development/dagster-meltano/blob/f9cfaebc2e4c046603eda65ba459b5004c2e69aa/dagster_meltano/ops.py#L70

I look into dagster-shell. It returns the output of the command and errors.
https://github.com/dagster-io/dagster/blob/41d6c4d12c1b11fd140bb1749437f6ed71b971d2/python_modules/libraries/dagster-shell/dagster_shell/solids.py#L63

Yes, if you want you can return the log_results, this is currently a tuple with stdout and stderr.
In the future we can take a look at porting to using dagster-shell.


New device added: Cisco SG3XX switch family

Hello.
Netdev cannot work right now for SG3XX Cisco switch (SG300, SG350, SG350-10, etc.).
Two things are blocking the SSH requests if we use CiscoIOS class:

the "_disable_paging_command" variable used for paging with the value "terminal length 0" should be replaced by "terminal datadump" (since "terminal length" does not exist on the device)
The escape sequence "ESC[K" used by those switches is not taken into account so that the prompt and pattern variables are wrong (and then the end of the escape sequence is a part of the beginning of the prompt and the pattern which give a Timeout as you can imagine)

I created a new class for SG3XX Cisco switches for Netdev.
The code has been tested on a device SG350-10 but the test file "test_cisco_iossg3xx.py" is the only file not tested. Example script "cisco_sg3xx.py" has been tested and the result is inside the file as a comment.
Feel free to change the code as you wish; I am not an expert programmer...

I also added Alcatel AOS switch family. I tested the send command method successfully on:

Alcatel OS10K
Alcatel OS6860E-48
Alcatel OS6900-X40

I tested successfully config set method on:

Alcatel OS6860E-48
I did not try on the others.

I also tested other Alcatel switches:

OS6850E-48X is not working after several attemps.
Alcatel OS6400,  OS4500 and OS6850-48 just do not work due to a problem of DSA key.
All those 4 models of switch are rather old and their software too. Netmiko is having the same problems as Nevnet. There is nothing much to do...

I also made performance tests on Netdev for SG350-10 and the Alcatel switchs. This is just 1 device 1 command test. If you are curious you can find the results there:
https://github.com/ericorain/benchmark
Regards.


Habito,

From http://www.stephendiehl.com/posts/haskell_2018.html
I couldn't find confirmation of Bose or SlamData (beyond using Purescript, are they contributing to Purescript compiler heavily?)

thanks


Create a (cumulative) integrated boundary flux in Ribasim and expose it via BMI

For the coupling to MODFLOW 6 we need to know how much of a requested infiltration flux could be realized by Ribasim over a given timespan. If Ribasim does a cumulative integration of its boundary fluxes, we can extract a realized volume per timestep by computing the difference over any given timespan.

linked to #935

Fixed by #1300


[lit/reactive-element] Decorators expect to be set to properties of "string | undefined" preventing Symbol()

With<EMAIL_ADDRESS>I am no longer able to do the following without a Typescript error:
import { LitElement } from 'lit';
import { queryAssignedNodes } from 'lit/decorators.js';

const propertyKeySymbol = Symbol('propertyKey');

export class MyEl extends LitElement {
  @queryAssignedNodes('', true)
  private [propertyKeySymbol]!: NodeListOf<HTMLElement>;
}

This produces a:
error TS2345: Argument of type 'unique symbol' is not assignable to parameter of type 'string | undefined'.

It seems the change is here: https://github.com/lit/lit/blob/25e7a3186efa692ffeafa7e0d254ff3c3e9c9955/packages/reactive-element/src/decorators/base.ts#L73
Whereas previously this mapped to the following type:
declare type PropertyKey = string | number | symbol;

If this seems like an acceptable change, I'd be happy to structure a PR. Please let me know if you have an alternative implementation that would avoid this.

Seems like just an oversight on our part. A PR would be great. A test for Symbol-keyed properties would be great too :)


"undefined" in title of many items in scripting.com/river.html

I don't know if this is the right place to report this, but many of the items in scripting.com/river.html have "undefined (Feed)" as the "source" of the item. I append a recent screen shot.
Is this expected? (Everything else seems to work fine.) Thanks.

@richb-hanover -- yes of course I've seen that too. There's obviously a problem in there. But rather than try to fix it now, we're on the verge of switching over to a new feed management system, and it does not have this problem and has lots of other features. But thanks for the report in the meantime.

A perfect answer. Good luck switching to the new system. Thanks.

Here's the news..
http://scripting.com/2022/10/04/142201.html?title=feedland
Dave


Update contact page

Also upgraded dependencies to try to fix build issues on netlify.

 Setup content for Contact Page


fix: showing parsing project issue in diagonostics

Overview
handling below error to show better diagonostics when parsing project for cloud
SyntaxError: Unexpected end of JSON input
at JSON.parse (<anonymous>)
at <REDACTED: user-file-path>:18206:114
at Array.map (<anonymous>)
at DBTCloudProjectIntegration_1.<anonymous> (<REDACTED: user-file-path>:18206:96)
at Generator.next (<anonymous>)
at fulfilled (<REDACTED: user-file-path>:26924:23)

Problem
Describe the problem you are solving. Mention the ticket/issue if applicable.
Solution
Describe the implemented solution. Add external references if needed.
Screenshot/Demo
A picture is worth a thousand words. Please highlight the changes if applicable.
How to test

Steps to be followed to verify the solution or code changes
Mention if there is any settings configuration added/changed/deleted

Checklist

[ ] I have run this code and it appears to resolve the stated issue
[ ] README.md updated and added information about my change

closing in favor of https://github.com/AltimateAI/vscode-dbt-power-user/pull/1351


Kernels in shared libraries fail to execute

Hi there,
I am unable to run kernels in shared libraries. Please, refer to the attached boiled-down example. The file test.cpp contains a driver that calls the function testKernel() in file gpu.cpp.

When I link both files directly, the kernel executes:
hipcc test.o gpu.o -l test; ./test
Now place gpu.o into a shared library:
hipcc -shared -Wl,-soname,libtest.so -o libtest.so gpu.o; hipcc test.o -L. -ltest -o test; ./test
results in a segfault at hsa_init(). I found that this library has several global variables that are
not initialized by the time hsa_init() is called.
Use g++ instead of hipcc:
g++ -shared -Wl,-soname,libtest.so -o libtest.so gpu.o; hipcc test.o -L. -ltest -o test; ./test
Here, hsa_init() succeeds, but the kernel launch fails.
All hip examples run fine (but none uses shared libraries). My HIP environment is freshly compiled as of this week. May I kindly ask you for advice re: building shared libraries?

Thanks, Frithjof
test.txt
gpu.txt
hipInfo.txt

With a fresh install of ROC version 2.4, I can confirm that tests 1. and 2. work.
Running an executable built with a g++-constructed shared library (test 3) does not work, because the function function_names() in line 107 of functional_grid_launch.hpp does not find the kernel function signature, although it is present in the executable.

Summary : Initial investigation looks like not a bug, will wait for submitter's confirmation.
I am able to launch kernel from shard library without any crash, I used the same set of files/code (gpu.txt & test.txt) that submitter had attached here. I used below commands to compile the code
Steps:

hipcc -fPIC $(INC) -c gpu.cpp     // will generate gpu.o object file
hipcc -shared -o libgpu.so gpu.o $(LIB) -i:libhip_hcc.so   // will generate shared library name libgpu.so
g++ $(INC) -D HIP_PLATFORM_HCC -c test.cpp -std=c++11 // Macro is required to force HIP to take HCC path for required linkings, c++ standard you can choose anything I have chosen as HIP code follows c++11
hipcc -o test test.o libgpu.so

Note : For temporary you can use LD_LIBRARY_PATH to point to libgpu.so location so that "./test" will be able to invoke required APIs. Permanent solution is to copy the library under /usr/lib/
Difference in ABOVE steps and CURRENT steps:

I could not see libhip_hcc.so library was used any where in submitter's steps which should have given failure during linking.
Linking was done during host code build, which I feel not needed as object code are getting built hence linking in last step make more sense.

Please let me know in case you need more help.

I have already mentioned steps that worked for me with same code files shared by submitter. hence closing it.

Thanks for your update. Please note that I already confirmed
that my test cases 1 and 2 worked after an update to ROC
version 2.4 (on May 14).
However, I still find that generating a shared library with gcc
(my test case 3) does not work. Note that this case is not tested
or covered in your answer.
It might be helpful to learn which ROC release you are using.
Thanks and best wishes, Frithjof

Thanks for your response, I really wanted to understand your intension in test 3. That's why I have given my working steps with some extra comments added. If you feel that is not what you want to achieve then please clearly call out your intension so that I can help you with steps.
From your mentioned steps looks like you wanted to build GPU code (kernel) using g++ which is not possible. You have to use hipcc or nvcc to build device code. Having said that we can always create/build shared library with device code using hipcc and build host code in g++, finally link then using hipcc as g++ does not understand device instruction.
I am using ROC 2.6 version

Thanks for getting back to me. I apologize if the intentions
for my examples were not fully clear.

From your mentioned steps looks like you wanted to build GPU code
(kernel) using g++ which is not possible.
It is perfectly clear to me that hipcc is needed to build device
code. hipcc was used for all compilation steps (.cpp -> o.). Note
that I did not mention compilation my examples.
If hipcc is needed for GPU code generation during a later step
(i.e., shared library build or linking), please, state so, because
then I would understand the issue.

I really wanted to understand your intension in test 3.
The intention was to link a program against a shared library built
by hipcc (test 2) or g++ (test 3) from compiled objects. As said,
the program built in test 2 executes correctly, while the program
from test 3 fails to execute. From inspection, I find GPU code in
both executables. While executing test 2, the GPU code is found
(and executed), for test 3, the GPU code is not found.

So I assume that during the shared library build, object modules
may be flagged/marked in a different way such that the hipcc runtime
can (test 2) or cannot (test 3) find the GPU code.
Just for the sake of clarity, please, let me rephrase:

I can run GPU code contained in a shared library if the
GPU kernel is compiled by hipcc, the library built by hipcc,
and the program linked by hipcc.
I cannot run GPU code contained in a shared library if the
GPU kernel is compiled by hipcc, the library built by g++,
and the program linked by hipcc or g++.

Please note that all three test cases run fine on NVIDIA cards
(using nvcc & g++).
Thanks again and best wishes, Frithjof

Thanks you for explaining the intent
You guessed it right, hipcc is needed for GPU code generation during a later stages e.g. shared library building or linking. It is because hipcc during compile only emits LLMV IR and later during linking it generates ISA hence creating shared library using hipcc is must on AMD platform.

I suggest to add this information to the documentation.
Thanks for your clarification and help. Case closed.


chore: opm version to 1.40.0

/lgtm

/override "Test upgrade operator"
/override "Test with custom operator installation"
/override "ci/prow/tas-operator-e2e"


Support text input with no type="text" declerations

Text inputs without type="text" deceleration are not treated as valid inputs.
Reason:

Browsers set inputs without type deceleration to "input" by default.
Minifiers often drop type="text" decelerations.

Example:
<input name="tel" ng-model="tel" ng-intl-tel-input>

Closed with https://github.com/hodgepodgers/ng-intl-tel-input/pull/46


Subscription resolver not working as function

I followed the guild.dev guide and everything were good. So in book/schema.graphql I added
extend type Subscription {
    bookReadEvent: Boolean!
}

and upon generation I got a new filew in book/Subscription folder named bookReadEvent.ts
export const bookReadEvent: NonNullable<SubscriptionResolvers['bookReadEvent']> = async (_parent, _arg, _ctx) => {
};

I am not able to make it work as a function, nomatter what I added there. For example when I put this
//@ts-ignore
export const bookReadEvent: NonNullable<SubscriptionResolvers['bookReadEvent']> = async (_parent, _arg, _ctx) => ({
  subscribe: () => pubSub.subscribe('userLoginChanged'),
  resolve: () => true
});

I was getting
{
  "errors": [
    {
      "message": "Subscription field must return Async Iterable. Received: undefined.",
      "locations": [
        {
          "line": 1,
          "column": 28
        }
      ],
      "path": [
        "bookReadEvent"
      ]
    }
  ]
}

right when I executing the subsription call. I was able to make to work like this:
export const bookReadEvent: NonNullable<SubscriptionResolvers['bookReadEvent']> = async (_parent, _arg, _ctx) => ({
  subscribe: () => pubSub.subscribe('userLoginChanged'),
  resolve: () => true
});

where pubSub is
export const pubSub = createPubSub<{
  userLoginChanged: [boolean]
}>()

The generated type support both, so it seems that I am missing something. Could you help me please? Happy to add it to documentation afterwards as example.

Hello @trixobird , you are right: the generated shape of Subscription is incorrect. I will make an update soon.
It is supposed to look like this:
// Option 1
export const bookReadEvent: NonNullable<SubscriptionResolvers["bookReadEvent"]> = {
  subscribe: async (_parent, _arg, _ctx) => {
    // ... Subscription implementation here
  },
};

// Option 2
export const bookReadEvent: NonNullable<SubscriptionResolvers["bookReadEvent"]> = () => ({
  subscribe: async (_parent, _arg, _ctx) => {
    // ... Subscription implementation here
  },
});

For your current issue, are you following the Subscription guide on GraphQL Yoga? If so, can you try this and see if it works:
export const bookReadEvent: NonNullable<SubscriptionResolvers["bookReadEvent"]> = {
  subscribe: () => pubSub.subscribe('userLoginChanged'),
  resolve: (payload) => payload
};

I have released an alpha version to fix the default Subscription resolver generation issue.
If you have a chance, do you mind trying it out:

Install the package

yarn add @eddeee888/gcg-typescript-resolver-files@pr73-run101-1

Comment out existing resolver implementation
Run codegen
Check that the new generated function is this:

export const bookReadEvent: NonNullable<SubscriptionResolvers["bookReadEvent"]> = {
  subscribe: async (_parent, _arg, _ctx) => {
    /* Implement Subscription.bookReadEvent resolver logic here */
  },
};

Try updating it to this to see if it works:

export const bookReadEvent: NonNullable<SubscriptionResolvers["bookReadEvent"]> = {
  subscribe: () => pubSub.subscribe('userLoginChanged'),
  resolve: (payload) => payload
};

Let me know how you go! :)

Hi @trixobird , does the alpha version work for you? :)

Version 0.4 has a fix for this. Please try and let me know if there's still a problem
yarn add -D<EMAIL_ADDRESS>


⚠ Bofrost.at has degraded performance

In 7666d5f, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1301 ms

Resolved: Bofrost.at performance has improved in 3c1e953 after 6 minutes.


Wrong exception message in Schema\Keyword\MinLength

// Schema/Keyword/MinLength.php
if (mb_strlen($data) < $minLength) {
    throw KeywordMismatch::fromKeyword(
        'minLength',
        $data,
        sprintf("Length of '%d' must be longer or equal to %d", $data, $minLength)
    );
}

This generates a "wrong" exception message (Length of '0' must be longer or equal to 8)
The first placeholder should be %s.

Thanks for reporting this, @PatrickG


Cucumber Refactor

Description
As a developer,
So that I can more easily reuse cucumber steps,
I want reusable cucumber tests.
Acceptance Criteria

[ ] Steps are more modular
[ ] Tests are refactored

I'm going to do this work on the travel-auth-update branch along with the tests for that branch


npm install failed with Windows

OS:

[x]  Windows
[ ]  MacOS
[ ]  Linux

Platform:

[ ]  iOS
[x]  Android

Output of node -v && npm -v && npm ls --prod --depth=0
v8.12.0
6.4.1
<EMAIL_ADDRESS>Q:\EcrmApp
+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>`--<EMAIL_ADDRESS>

I have following issue:
Description goes here
1245 verbose notsup SKIPPING OPTIONAL DEPENDENCY: Valid OS:    darwin
1245 verbose notsup SKIPPING OPTIONAL DEPENDENCY: Valid Arch:  any
1245 verbose notsup SKIPPING OPTIONAL DEPENDENCY: Actual OS:   win32
1245 verbose notsup SKIPPING OPTIONAL DEPENDENCY: Actual Arch: x64
1246 verbose stack Error<EMAIL_ADDRESS>install: `node scripts/install.js`
1246 verbose stack Exit status 1
1246 verbose stack     at EventEmitter.<anonymous> (C:\Users\ck\AppData\Roaming\nvm\v8.12.0\node_modules\npm\node_modules\npm-lifecycle\index.js:301:16)
1246 verbose stack     at emitTwo (events.js:126:13)
1246 verbose stack     at EventEmitter.emit (events.js:214:7)
1246 verbose stack     at ChildProcess.<anonymous> (C:\Users\ck\AppData\Roaming\nvm\v8.12.0\node_modules\npm\node_modules\npm-lifecycle\lib\spawn.js:55:14)
1246 verbose stack     at emitTwo (events.js:126:13)
1246 verbose stack     at ChildProcess.emit (events.js:214:7)
1246 verbose stack     at maybeClose (internal/child_process.js:915:16)
1246 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)
1247 verbose pkgid<EMAIL_ADDRESS>1248 verbose cwd Q:\EcrmApp
1249 verbose Windows_NT 10.0.17134
1250 verbose argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "react-native-sentry"
1251 verbose node v8.12.0
1252 verbose npm  v6.4.1
1253 error code ELIFECYCLE
1254 error errno 1
1255 error<EMAIL_ADDRESS>install: `node scripts/install.js`
1255 error Exit status 1
1256 error Failed at the<EMAIL_ADDRESS>install script.
1256 error This is probably not a problem with npm. There is likely additional logging output above.
1257 verbose exit [ 1, true ]

Steps to reproduce:

npm install react-native-sentry --save
I've tried @0.42.0 & lastest, all failed
MacOS is ok

Actual result:

failed

Expected result:

success

I have the same issue at macOS

I had the same issue at macOS.
I recommend trying to run 'node<EMAIL_ADDRESS>and check the error.
In my case, the error message is 'Error: EACCES: permission denied, open '/Users/aitrics/.npm/sentry-cli/b5de9c-sentry-cli-Darwin-x86-64.14321-f9be98acde1ad.tmp'.

FYI ,I've solved this by npm install --sentrycli_cdnurl=https://npm.taobao.org/mirrors/sentry-cli/


Support 0.0 and 1.0 quantile

Hi, thank you for contributing!

Released here https://github.com/RefaceAI/quantile-estimator/releases/tag/v0.1.2


⚠ SkipTheCommericals has degraded performance

In 7cd24a3, SkipTheCommericals ($STC) experienced degraded performance:

HTTP code: 200
Response time: 3068 ms

Resolved: SkipTheCommericals performance has improved in 560e963.


paths between node (id) and node (type)

i want to be able to say,
show me all the paths (or shortest or whatever) between my identified node (say NCBIGene_6469), and any other node that is_a gene.

@nlwashington can this be resolved with #66 ?


The project doesn't appear to build properly

The build appears to fail. I see two separate build.gradle files (one at the root and another in the app folder). 'gradle tasks' doesn't list any available tasks for building it as an android project. Can you publish the  instructions for building the project?

Updated README with setup instructions


How should we go about updating the global tools applications?

We can use rye install ... to install some python applications, but how to update it? Currently it seems the only option is to uninstall and then reinstall. pip can use --upgrade to update the application. Can we also add another parameter to update the application?

The functionality of rye install is based on rye add, so there should be an update mechanism such as adding the --upgrade flag, so that the project's virtual environment can update the package (as well as synchronize the update of the pyproject.toml file), and the tools can be updated as well.

Also is there a need for a command like --upgrade-all to update all the tools?

You can rye install the-tool --force to update.

You can rye install the-tool --force to update.您可以 rye install the-tool --force 进行更新。

you are right, but it doesn't feel very graceful.

It's not very graceful, but it works for now. I think I should add this to the docs until a better command exists.

related: https://github.com/mitsuhiko/rye/discussions/518

The main problem with “rye install the-tool --force” right now is that it doesn’t work great when run automatically, e.g. as part of a script to update various global packages throughout the system.
I wrote a bit about that here: https://github.com/mitsuhiko/rye/discussions/496#discussion-5838264
But the short version is that you lose any pinned python version for a tool, and it always reinstalls the tool even if the version hasn’t changed, so it gets slow when you have a lot of them

If uv is used to facilitate this, perhaps uv tool upgrade could be exposed as rye tools upgrade?  Related uv addition within the past couple of days: https://github.com/astral-sh/uv/commit/cbc3274848dbbf8420b475232579db962a863811 (new as of uv 0.2.35)


Cleanup action js packaging and add (ability to run) tests

Merging to a v2 action branch, then will test by updating existing actions.
Existing workflows in FreeAgent will still be using v1, and can continue to do so until the new feature branch with polling is ready and tested.

Add gitignore

Don't check in node modules folder (use ncc to compile the js into a single file in dist/)

Add test and prepare scripts

Add first dummy test

Add action which runs tests, and checks that the latest code has been compiled to the dist folder. If not, it auto-creates a commit.

Best practices taken from: https://github.com/actions/javascript-action

After chatting this through with Daniel this morning, we've reached a difference of opinion on one particular issue:

Should we use ncc to compile the js code into a single file (in dist/index.js) and do that in this PR?

Benefits:

Don't have to check in the whole node_modules folder, and it doesn't need to be in the repo. That makes the repo easier to work on, and smaller.
We can add dev dependencies without bloating the size of the repo/and and/or having large diffs when working on the action after running npm install/update.
Making it easy to add dev dependencies makes adding tests easier.
Adding tests makes adding features safer and easier. It also makes it easier for others to contribute, especially since this is open-source and we'll hopefully publish it at some point to the GitHub marketplace.
Follows the recommended practices from [the documentation] and from the example repo from GitHub. (https://docs.github.com/en/actions/creating-actions/creating-a-javascript-action#commit-tag-and-push-your-action-to-github):

Checking in your node_modules directory can cause problems. As an alternative, you can use a tool called @vercel/ncc to compile your code and modules into one file used for distribution.

Drawbacks:
Changing to using ncc to compile the distributed file requires one command to be run after making changes (npm run prepare).
To mitigate against forgetting to do this, and not seeing it in the updated readme, I've added an action that catches if it's not updated, and sets a message telling the use what command to run.

Unless this can be totally automated, Daniel does not want to do this as it's an extra overhead for him to think about if coming to the repo after context switching, so these mitigations aren't enough.

For now, we're not going to get any agreement on this, so I'll close this PR and make another where I'm not removing the node_modules folder from git.

Follow up PR: https://github.com/fac/harness-deploy-action/pull/5

@singhprd Lets go with adding as a check, we can circle back on the details and general implementation of ci/cd for javascript actions later on. Think this is a really good place to be, and we have context for when we tackle it later.

rad, I see an error raised in the tests https://github.com/fac/harness-deploy-action/runs/3252869073?check_suite_focus=true#step:4:17 but again can wait for when more tests are added.


[9.x] Adds builder countDistinct()

What?
Sugar syntax to counting distinct values from the database, making more lexically clear.
// Before
DB::table('students')->distinct()->count();
DB::table('students')->distinct('country')->count();

// After
DB::table('students')->countDistinct();
DB::table('students')->countDistinct('country');

Thanks for your pull request to Laravel!
Unfortunately, I'm going to delay merging this code for now. To preserve our ability to adequately maintain the framework, we need to be very careful regarding the amount of code we include.
If possible, please consider releasing your code as a package so that the community can still take advantage of your contributions!
If you feel absolutely certain that this code corrects a bug in the framework, please "@" mention me in a follow-up comment with further explanation so that GitHub will send me a notification of your response.


feat: Add go-winio to attribution (new SPIFFE dependency)

Signed-off-by: Valina Li<EMAIL_ADDRESS>

If your build fails due to your commit message not passing the build checks, please review the guidelines here: https://github.com/edgexfoundry/device-mqtt-go/blob/main/.github/Contributing.md
PR Checklist
Please check if your PR fulfills the following requirements:

[x] I am not introducing a breaking change (if you are, flag in conventional commit message with BREAKING CHANGE: describing the break)
[ ] I am not introducing a new dependency (add notes below if you are)
[ ] I have added unit tests for the new feature or bug fix (if not, why?)
[ ] I have fully tested (add details below) this the new feature or bug fix (if not, why?)
[ ] I have opened a PR for the related docs change (if not, why?)

Testing Instructions

New Dependency Instructions (If applicable)

Codecov Report

Merging #383 (26515dd) into main (7790181) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #383   +/-   ##
=======================================
  Coverage   21.34%   21.34%
=======================================
  Files           5        5
  Lines         492      492
=======================================
  Hits          105      105
  Misses        374      374
  Partials       13       13

Continue to review full report at Codecov.

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


Can't download larger sizes

I can't seem to download anything larger than the default size 1680x867.
I set it to 1920x1080, or 3840x2160. When I hit "download" the image does appear larger, but when you save it, it's still 1680x867. Have tried with both Firefox and Chrome on my Mac, same result.
Am I missing something? I've also tried hitting "generate" before "download", but does not help.

@welby12 I have instantiated a new npm module for this based on this repo. If you still have an issue- you are welcomed here


Homepage installation script one-liner

Part of improving the first touch experience. (See #137)
The NGINX Unit home page should prominently feature an easy way to get started with Unit.
Summary: we need a script that installs a CLI to control Unit and Unit itself. Our current scripts and guides are not suited to a one-liner.
Inspiration
rustup.rs offers a particularly spartan way to get going.

Several ideas have been floated so far in private discussions in Unit team as to the best way to go from zero to serving requests with Unit.
Docker
Many production deployments of Unit use Docker, and it also happens to be a relatively simple way to get Unit onto developers' computers. We already have a fairly in-depth guide to running Unit in Docker, but it's not simple enough as is to be put on the home page as a one liner.
Current friction points when running Unit inside of Docker:

Control socket requires running curl inside the container (or restarting the container to pick up modified config file)

unitc handles this problem in a clever way

Users must manually compose images to get certain combinations of modules to work (PHP+Python+Wasm, e.g.)

We used to provide -full images to get around this.

Users have to get their application code into the container (usually a Docker --mount)

What this could look like today

Questions:

Should these commands be hidden inside of a curl ... | sh one-liner? Is that helpful?
Can this example be simpler? (Suggestions welcome)
Would it be more helpful to show users a lightly customized Dockerfile example instead?

Personally, I don't think the above image presents a great first touch experience, and I'd be thrown off if all that happened from a shell piped script.
Local install
These options could be displayed intelligently on the home page by reading the client user agent.
On macOS with Homebrew, we already have a very good one-liner:
brew install nginx/unit/unit

On Linux (including WSL), we have our existing setup-unit script:
wget https://raw.githubusercontent.com/nginx/unit/master/tools/setup-unit && chmod +x setup-unit
sudo ./setup-unit repo-config
# ... apt, yum, etc.

What's missing is a reasonable way to run something in Unit quickly.
Proposed Solution
curl --proto '=https' --tlsv1.2 -sSf https://<SOME_URL>/setup.sh | sh

What this script should do is out of scope for this issue. See (todo: link to CLI issue)

I am a huge fan of having GH releases that offer a static compiled binary.
I think if we can settle on a path forward for our CLI we can offer a CLI binary that will deploy docker containers of NGINX Unit into a user's environment, and even configure them automatically.
Then we dont have to tell users to curl scripts into their shell, but can still offer a really fast self-serve experience.

Current friction points when running Unit inside of Docker:
Control socket requires running curl inside the container (or restarting the container to pick up modified config file)
unitc handles this problem in a clever way
Users must manually compose images to get certain combinations of modules to work (PHP+Python+Wasm, e.g.)
We used to provide -full images to get around this.
Users have to get their application code into the container (usually a Docker --mount)

Can I ask when we stopped providing the full images and why?
I figure a CLI could automatically mount a user's application project directory at time of deployment.

What is the status of this ticket @avahahn ? What do we need to do to keep this moving forward?
cc @callahad


ADTS-47 Fixing Overlaping for new Nodes

@JoseZarmada - this is not working as expected. As you can see in the image below, the nodes are not being created in the correct location...

If you load a graph and a node does not have a relationship, it will be rendered like the below:

The ideal solutions would be to find the right-hand most "single-node" and place the new one beside it (like the red circle).
CC: @jamescarpinter

Just made the required changes to get the last node and start creating using his position

This looks good.
One thought though... what happens if someone moves the nodes in the graph (i.e. manually)? Do we need to re-calc the new node position at that point? @jamiewilbraham thoughts?

Yea, I have a few thoughts on this. I will add it to the ticket


Fix station list parsing

The DWD introduced slight changes in the format of their Stationslexikon, and our maximally unrobust parsing fails now. We should use ElementTree like in our other XML parsers.

https://github.com/jdemaeyer/dwdparse/commit/21666b9879da57fbd7d443494503a45a18ea73c7
Opted to stick with regexes as the station list HTML is not valid XML and I don't want to pull in lxml as an extra dependency


Add DoubleMetaphone

Mabye this could be merged into natural? https://github.com/hgoebl/doublemetaphone

as a matter of fact i created a branch to do this very thing. should be there in about a week.

Great news! Thanks for creating and maintaining natural!

sweet, no problemo. looking like i'll have something out within 48 hrs that's publicly testable.

Note quite done as i think there's some bugs in C's, S's and maybe Ç's but it's testable via the current NPM:
var natural = require('natural'),
var dm = natural.DoubleMetaphone;
var encodings = dm.process('Matrix');
console.log(encodings[0]);
console.log(encodings[1]);


TagBot trigger issue

This issue is used to trigger TagBot; feel free to unsubscribe.
If you haven't already, you should update your TagBot.yml to include issue comment triggers.
Please see this post on Discourse for instructions and more details.
If you'd like for me to do this for you, comment TagBot fix on this issue.
I'll open a PR within a few hours, please be patient!

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/91448

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/91577

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/104876


Split manual consensus into sealing and finality parts

This PR splits the existing manual seal consensus engine into two parts. One is responsible only for authoring blocks. The second, a finality gadget, is responsible for manual finality. This split better emphasizes the way that Substrate handles authoring and finality separately. It also allows for combinations Grandpa with manual seal or aura with manual finality, which are useful in educational settings.
This is a better and less-invasive approach to what I tried in #6949
One of the tests is failing, but it is also failing on master.

Hmm so I finally had the time to take a look at this pr, I really don't think it's necessary to split them out for this reason.

t also allows for combinations Grandpa with manual seal or aura with manual finality.

if you want grandpa to finalize blocks, you can exclusively use manual-seal for sealing blocks
and if you want aura to produce blocks, you can use manual seal exclusively for block finalization, they don't need to be separated to achieve this goal.

This split better emphasizes the way that Substrate handles authoring and finality separately.

Maybe you can clarify better on this, but imo the existing manual seal code already does this perfectly?


drops usage of Symbol

closes #25

// cc @hemanth @davidchase

so this is pretty nice that you internalize that Symbol usage and the polyfill will use the native Symbol if it exists .. this really streamlines the end user usage of this package :+1:

@tomekwi also okay for you?

LGTM

Yeah, :+1: :+1:!


BLE Terminal disconnect always

hi im connectig with my freekwan (lillygo 1.6 868) with ble terminal
but I can't use it, every command I send it disconnect, how I can I try to send commands to the devices?

Hi, just downgrande MicroPython. Recent versions crash the BLE stack.


[KED-1273] Using transformers to specify Python objects in DataSets

I just wanted to say first off, I love the software so far.  Thank you for releasing this!
I do however, want to talk about datasets.
Kedro has structured all of its datasets around the pandas dataframe, and I'm not in love with this.
the issue
First off, pandas is a very large package for just io.  It also unfortunately suffers from a volatile API.  For me, it's not obvious that csv objects ought to be loaded/written into/from a pandas dataframe, and I really wouldn't want to include pandas as a dependency for my project if I'm not using it at all, especially if I'm dockerizing the package.  Returning a file descriptor, numpy array, pyarrow table, or otherwise might be a better choice depending on the use case, and the name CSVLocalDataset certainly doesn't imply anything about the pandas library, I could easily imagine passing it a nested list instead.
the proposal
My proposal would be to consider adding in some additional modularity regarding what type of python object you'd like to get in/out of your datasets.  Namely, pandas DataFrames should be a Transformer class inheriting from AbstractTransformer compatible with each of these dataset types (with an optional pandas dependency on import if possible).  I think it would be great to have each of the datasets return more natural file descriptors, then have numpy, pandas, dask, etc. transformers which specify how you want to be saving and loading these things to/from a csv.
This gives some nice freedom to users to choose how to handle the dataset objects.  It also promotes a nice way of thinking about datasets and transformations from various python objects, abstracting the python data classes out of the fileIO.
Thoughts?

Oops, I wanted to put a discussion tag on there

Thank you so much for raising this @dasturge. I'm going to answer this one by breaking your issue into two parts:

pandas as a dependency
Python object modularity for the datasets

On 1. you'll be glad to know that we have it on our backlog to remove pandas and numpy as core dependencies in Kedro. The issue evolved out of a request to create a Kedro-Glue plugin and users not being able to do this because of our dependency on pandas and numpy for our built-in datasets (issue #57). So we're implementing a version of #178 soon.
On 2. we'll have a discussion on this one. We're looking at ways to limit the insane amounts of DataSets in the Data Catalog and this might be a solve for this. One change you'll see in kedro next year is the use of fsspec to abstract file storage to create CSVDataSet, eventually deprecating CSVLocalDataSet, CSVS3DataSet, CSVGCSDataSet but even in this system we would still have CSVDataSet and CSVDaskDataSet and so on. So I'll circle back and get back to you on this.
Let me tag this issue with a ticket so we can add it to our backlog for discussion.

Thank you very much for using Kedro and contributing with opening an issue here, @dasturge ! We're really glad to see more people joining the conversation about shaping up Kedro's future!
The point raised here is very related to the point raised in https://github.com/quantumblacklabs/kedro/issues/31 and my comment there is also relevant for the current issue. I will try to rephrase the problem though, so we can have more context in the current discussion.
The Dataset abstraction is made purposefully this simple, due to the very large landscape of different object formats (X = {pandas, numpy, pyarrow, ...}), file formats (Y = {CSV, Parquet, Excel, Avro, ...}) and storage options (Z = {local disk, AWS S3, Azure BlobStorage, GCS, ...}). So essentially the problem space is defined to be of at least a cubic complexity (|X| * |Y| * |Z|). If we consider each of those variables to be independent from each other, we can very easily turn that into a |X| + |Y| + |Z| problem, meaning that we create one solution per category and then we just combine them in the DataCatalog by configuration as per requirement for the project at hand. However the reality is that these are not independent - e.g. the way you load a CSV file into a Pandas DataFrame is done in one way (pandas.read_csv() for X=pandas and Y=CSV) and if you want to load it into a python list of lists, that'd be a totally different way for X=list and Y=CSV. So you have to count |X| * |Y| solutions rather than |X| + |Y| solutions and no matter how you represent them, they will always be in a quadratic order O(|X| * |Y|).
Recently we found a way to cheat a little bit by using fsspec, which collapsed multiple storage options as one file system option and since |Z| is quite well represented by fsspec, de facto the complexity of the problem was decreased from cubic to quadratic, because it made |Z| ~= O(1), so now we have O(|X| * |Y| * 1). This is only possible because almost all instances of |X| * |Y| and almost all of |Z| had connections to a third variable with only one instance - a python bytestream. Luckily for us the connection of Z to a bytestream comes for free for us through fsspec and bytestreams generally have connections to most instances of the set X * Y (bear in mind that if pandas.read_csv() and similar functions did not accept bytestream as input already, that wouldn't have been achieved as easily as it is now).
What you are suggesting is that we use transformers to decouple X from Y. Unfortunately that is hard to do in a generic way, because we cannot leverage all the optimisations functions like pandas.read_csv() and make loading of larger datasets much slower. Also in order to do that, we will need a new common intermediary format which all instances of X and Y can work with. We haven't found such a format yet and as far as I am aware Apache Arrow aims to be exactly that for a representative subset of file formats and objects, but it is only applicable to tabular data. If we naively implement transformers between each pair of X and Y, we'll still end up with |X| * |Y| transformations, which is no better than just making |X| * |Y| datasets.
That's why we don't plan into changing the way we load data into python objects just yet. However if you find a neat way to do it like the way fsspec solved the other side of the dependency, please feel free to share that with us.

That makes sense, but I guess what I might suggest is two things:

make the pandas dependency optional:  i.e. only on import of pandas io classes (for smaller kedro docker containers when possible)
change the naming conventions on the datasets to reflect use of pandas

What's awkward for me, is creating a numpy or pure python CSV loader.  In extending the kedro io classes, I end up writing:
NumpyCSVLocalDataSet, ListCSVLocalDataSet, or DaskArrayCSVLocalDataSet, meanwhile the |X| element is obfuscated from the standard kedro io classes.  It was a bit awkward for me to figure out how I ought to be naming these new datasets I had to create by need, when the class description of CSVLocalDataSet also naturally describes them.
I understand this is getting verbose, but once you integrate fsspec it sounds like you'll be eliminating the fs aspect, so you'd end up with:
CSVDataSet
So, perhaps naming it PandasCSVDataSet or DataFrameCSVDataSet instead is more clear, and offers a natural naming convention for users implementing their own datasets for CSV io.

@dasturge Absolutely, I agree that the current naming convention is obfuscating the object type and it isn't very clear what you load your data into. The Pandas dependency can also be avoided by moving all datasets to the contrib module and this way people can install the datasets they actually care about rather than kedro depending on them as you pointed out.
Both of your suggestions are great and will definitely be taken into consideration before releasing 0.16.0. Thanks a lot for your help, welcome to the community and we hope to see you here more often in 2020 🎉

@dasturge The first part of this query is on its way. We've created kedro.extras.datasets and will start deprecating all io and contrib.io datasets to eventually remove their dependencies from Kedro.
The second part is that all of these new datasets are using fsspec for file storage abstraction. We have one CSVDataSet that allows you to load data from local file storage, S3, GCS and many more. You can check out the full registry of options here: https://filesystem-spec.readthedocs.io/en/latest/_modules/fsspec/registry.html

@dasturge The new datasets are out and finally commit ecd7277 has addressed deleting contrib.io and some datasets from io. Thank you so much for submitting this request!

Hi @dasturge, I'm going to close this issue. In kedro 0.16.0 you will find a modular structure for your datasets. Meaning it's possible to determine if you're working with pandas or numpy. All dependencies related to datasets have also been moved out of the core library, see the docs about this change.
We hope that you continue to use Kedro! Let us know if you have any more thoughts on this by opening up this issue or creating a new one.


diart.stream microphone fail to work on macos

Hello,
I am using diart.stream microphone from command line on macbook pro, but it always crash while diart.stream file works just fine, I found the same problem when I tested it on another macbook.
Have you ever encountered this problem and how can I fix it?
Thank you very much.
my input:
(diart) ➜  ~ diart.stream microphone:2
result
Streaming input_device:2 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━   libc++abi: terminating
[1]    2962 abort      diart.stream microphone:2
Here is the stack info:
Thread 27 Crashed:: com.apple.audio.IOThread.client
0   libsystem_kernel.dylib        	    0x7ff8110411f2 __pthread_kill + 10
1   libsystem_pthread.dylib       	    0x7ff811078ee6 pthread_kill + 263
2   libsystem_c.dylib             	    0x7ff810f9fb45 abort + 123
3   libc++abi.dylib               	    0x7ff811033282 abort_message + 241
4   libc++abi.dylib               	    0x7ff81102531f demangling_terminate_handler() + 47
5   libc++abi.dylib               	    0x7ff8110326db std::__terminate(void ()()) + 6
6   libc++abi.dylib               	    0x7ff811032680 std::terminate() + 32
7   libportaudio.2.dylib          	       0x193432476 AudioIOProc + 790
8   CoreAudio                     	       0x193b8a033 0x193b7e000 + 49203
9   CoreAudio                     	    0x7ff813210514 HALC_ProxyIOContext::IOWorkLoop() + 7734
10  CoreAudio                     	    0x7ff81320e049 invocation function for block in HALC_ProxyIOContext::HALC_ProxyIOContext(unsigned int, unsigned int) + 80
11  CoreAudio                     	    0x7ff81337d946 HALB_IOThread::Entry(void) + 72
12  libsystem_pthread.dylib       	    0x7ff8110791d3 _pthread_start + 125
13  libsystem_pthread.dylib       	    0x7ff811074bd3 thread_start + 15

When I limited the microphone optional sample rate from [16000, 32000, 44100, 48000] to [44100, 48000], the program worked fine. Maybe there are some problems with the detection of the minimum usable sample rate for macos in the code.

@zsg900412 can you share your change that you made to the program?

@jygh98 I made the following changes

which commit does that change reference?  I dont see this on the latest commit.

Fwiw I had the same problem using a streaming microphone on M1 and found that it was an issue with the conda version of the python-sounddevice library discussed here: https://github.com/spatialaudio/python-sounddevice/issues/460
This one took me a long time to figure out, so adding a note here in case this helps someone else.

Hi everyone, sorry it took me a while to get to this issue.
The library used in diart to read the microphone stream is sounddevice and unfortunately I've found it a bit unstable and failing to detect some devices.
Some time ago I implemented a workaround to read Apple microphones in issue #116:

I think I may have a temporary solution to this. Diart provides a TorchStreamAudioSource that you could use to wrap a torchaudio.io.StreamReader linked to the microphone as shown here:

from torchaudio.io import StreamReader
from diart import OnlineSpeakerDiarization
from diart.sources import TorchStreamAudioSource
from diart.inference import RealTimeInference
from diart.sinks import RTTMWriter

pipeline = OnlineSpeakerDiarization()
streamer = StreamReader("0:0", format="avfoundation")
mic = TorchStreamAudioSource(
   uri="live_recording",
   sample_rate=pipeline.config.sample_rate,
   streamer=streamer,
   stream_index=0,
)
inference = RealTimeInference(pipeline, mic, do_plot=True)
inference.attach_observers(RTTMWriter(mic.uri, "/output/file.rttm"))
prediction = inference()

This should automatically grab the Mac's default microphone.
Ideally I would like to have a single class for any device, but a new AppleMicrophoneAudioSource could be a nice temporary solution to quickly get started with the default device.
I would gladly merge a PR with this feature if you're interested in contributing.

The workaround simply changes the backend to handle the microphone. It uses torchaudio streams instead of sounddevice. However, I haven't got a response from that issue, and having no Mac myself I can't verify if it works.
Could you try this out and let me know if it solves the problem?

Hi @juanmc2005, I tested the above code but not work. I'm not sure if this is a permission issue.
RuntimeError: Failed to open the input "0:0" (Input/output error).

@zsg900412 it could be a matter of incorrect device ids. torchstream uses ffmpeg under the hood so you could use it to get the available devices. See pytorch's tutorial on this

Implemented in #182. Will appear in next release (v0.8)


Kubelogin doesn't work correctly with MSI in Container Instances

We're want to run run Kubernetes deployments from Container Instances with attached managed identities, but are hitting an issue with MSI authentication. We are running kubelogin in the Managed Service Identity (non interactive) setup, but after the call to kubelogin convert-kubeconfig -l msi, any kubectl command returns the error:
error: You must be logged in to the server (the server has asked for the client to provide credentials)

When running the same script from a VM using the same managed identity, the kubectl commands succeed after running kubelogin. This leads us to believe that our cluster/managed identity setup is correct, but that the issue lies with managed identities in container instances.

chatted offline. your token coming from the IMDS endpoint in Container Instance somehow has spn: prefix, which will definitely fail at the AKS server side which expects <app-id>. We will need to follow up with Container Instance team.

@weinong was this issue ever resolved? We are running into the exact same problem...
What I noticed is that when the container runs under root (which also happens randomly but is probably an issue of our CI) the aud claim has no spn: prefix and kubectl works.

@yvespp what issue are you seeing? token from IMDS should not have spn:. What you described is an expected scenario.

I'm doing this:
az login --identity --output none
az account set --subscription $ARM_SUBSCRIPTION_ID
az aks get-credentials --name $AKS_CLUSTER_NAME --resource-group $AKS_CLUSTER_RG --subscription $ARM_SUBSCRIPTION_ID --overwrite-existing

token=$(kubelogin get-token --server-id 6dae42f8-....-....-....-............ --client-id 78d2afd6-....-....-....-............ --login msi -v 99 | jq .status.token -r)
I0204 15:47:13.265529      93 execCredentialPlugin.go:31] Login Method: msi, Environment: AzurePublicCloud, TenantID: , ServerID: 6dae42f8-....-....-....-............, ClientID: 78d2afd6-....-....-....-............, IsLegacy: false, msiResourceID:
I0204 15:47:13.265633      93 execCredentialPlugin.go:111] acquire new token

The token looks like this:
echo $token | cut -f 2 -d "." | base64 -d
{
  "aud": "spn:6dae42f8-....-....-....-............",
  ...
}

If I try to use the token it returns this:
kubectl get nodes
error: You must be logged in to the server (Unauthorized)

kubectl get nodes --token "$token"
error: You must be logged in to the server (Unauthorized)

But when the ACI container runs as root (which sometimes randomly happens), the spn: prefix is not there and the token works...
The cluster uses the newer AKS-managed AAD integration.

while I'm following up with ACI internal team, can you also open a support request so that we can gather more detail? please send me the SR# via aks-help at service.microsoft.com with reference to this issue.

@weinong was able to get hold of ACI engineering team. The issue is due to the library in one of their ACI infrastructures. They expect to complete the new infra migration around end of March.
Thanks again @weinong for you help!


[Auto] Fix make_change to not create half-satoshis

make_change would split up inputs regardless of whether they were an odd number of satoshis and therefore would create outputs with half-satoshi amounts (or 9 decimal places in the python code).  This would cause JSONRPC error: 16: bad-txns-in-belowout (perhaps both outputs are being rounded up).   This fix solves that problem in that if you make-change too many times that won't happen, but I could imagine there are other places in the code that we need to be careful representing satoshis as a decimal or float number of BTC.

ack


add redundancy

[x] docker hub
[ ] quay.io
[x] bitbucket (open source version)

will be done later


I can't load my books

The tests with Moby and Alice works great, but with an ebook in my website, don't work. The screen shows an infinite loading progress. What I can do?

我也遇到了这个问题，白鲸和爱丽丝都能打开，但自己网站上的书就无法加载，http和https的都不行。

hi @alexlupoz , any update on this  ?


An idea who's going on?

Which Model do you use from loxone? Miniserver? Gen1 or Gen2? Gen2
Which software version does your loxone use? <IP_ADDRESS>
How did you install HomeAssistant? Over Hassio oder manual install?
Which Version do you use of HomeAssistant?
Home Assistant 2022.12.8
Supervisor 2022.11.2
Operating System 9.4
Frontend 20221213.1 - latest
Describe the bug
Error setting up entry PyLoxone for loxone
Paste the error log with the following settings:
2022-12-26 20:28:08.905 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry PyLoxone for loxone
File "/config/custom_components/Loxone/init.py", line 195, in async_setup_entry
File "/config/custom_components/Loxone/miniserver.py", line 140, in async_setup
File "/config/custom_components/Loxone/api.py", line 122, in getJson

Error occurs right at the beginning. Are the credentials and username and port right?

And with the gen2 only local access via the IP address is supported at the moment.

Many thanks, that was the root cause. I did not see that it only can be reached with the local IP address. Maybe it’s me but if it is actually missing in the description it would be good to add it.

Am 27.12.2022 um 07:04 schrieb Joachim D. @.***>:
And with the gen2 only local access via the IP address is supported at the moment.
—
Reply to this email directly, view it on GitHub https://github.com/JoDehli/PyLoxone/issues/151#issuecomment-1365635603, or unsubscribe https://github.com/notifications/unsubscribe-auth/A46UZVFMOCFCHWDACBYMJ7TWPKBFZANCNFSM6AAAAAATJ3J4ZM.
You are receiving this because you authored the thread.

I am working on a better integration for the gen2.then this should be solved. But it needs some time to finish.


scenarios: add small sleep between sends

give single CPU setups (docker) time to context switch and keep up

Lets me run with 400 nodes pretty stably on my machine (TM). Not sure that it's essential, but seems like a good idea in any case..

Hmmm, perhaps we should bake this into rpc method instead...


kubectl shell doesn't work for air-gapped Kubernetes environment

Before you start please confirm the following.

[X] Yes, I've searched similar issues on GitHub.
[X] Yes, I've checked whether this issue is covered in the Portainer documentation or knowledge base.

Problem Description
In air-gapped Kubernetes environment kubectl shell doesn't work because cluster has no access to external docker registry.
Expected Behavior

You can set your own proxy registry (my-dockerhub-proxy.com/portainer/kubectl-shell)
kubectl shell works

Actual Behavior
Pulling image "portainer/kubectl-shell" is impossible. kubectl shell doesn't work.
Steps to Reproduce

Click "kubectl shell" button.
"Loading Terminal..." tab.
Tab closed.

Portainer logs or screenshots
No response
Portainer version
2.19.0
Portainer Edition
Community Edition (CE)
Platform and Version
Kubernetes 1.24.6
OS and Architecture
Ubuntu 22.04
Browser
Firefox
What command did you use to deploy Portainer?
helm install portainer -f dev.yaml portainer/portainer

Additional Information
No response

Same here. It seems that v2.20 CE won't fix that. We need the option to pass a private docker registry through helm for the kubectl shell image.


Automated testing of supported backends?

Hi!
Last time I checked support for multiple backends was broken. I did a superficial check for related tests in the repository now and didn't any, e.g. there is no test that backend waitress still works today. Am I missing something? Are there plans to get all backends covered by smoke tests at leasts? Are there tests that I am missing? Should I create a ticket for every backend I find broken?
Thanks and best, Sebastian

Backend integration tests proved to be very unstable on public CI systems (travis/circle) and reported a lot of false positives, so they were removed. If you find a way to test these in a more stable way, that would be great.

Backend integration tests proved to be very unstable on public CI systems (travis/circle) and reported a lot of false positives

@defnull could you elaborate on that? What kind of false positives? What kind of instability?

Spawing a new process with a running server listening on localhost, waiting up to 10 seconds for the port to open, and then sending a single HTTP request, failed randomly. For various reasons. Either timeouts or port conflicts or other issues. I'm not exactly sure.

Let's find out :smiley: Found the code in test/test_server.py by now.

@defnull #1118 is ready for a first round of review now. I'm happy to make adjustments. We'll need some decision for #1119 to move on.

Closing as #1118 is merged by now. Please re-open as needed.


Nasty hack

This line caused a lot of trouble.

If you understand the purpose of the library, it makes sense to hijack all methods that can be used to sync animations. There's no good reason to have a video that runs in real-time in a non-realtime capturing session.
The only real issue is that all of those methods should be hijacked based on a configuration provided by the user, instead of blindly. You might want requestAnimationFrame to be throttled, but need setTimeout to jumpstart the animation. That, for instance, is a known issue that needs manual stepping from the console.
In the future I plan to add a configuration object to control what is intercepted and what's not, but still will require the developers to know what they're doing and what the library can do.
If you don't want non-realtime capture (or rather, want real-time capture), just use CaptureStream and MediaRecorder.

This library is awesome for what it is doing, and we are using it for a production side as a gif generator, and thank you for this.
I just trigger the fact there might be another way than overriding, and that way it could help people using this in higher scale, no offense

None taken, don't worry! I should have sprinkled more emojis in the reply, but i was in a rush. I'm the first one to recognise it's all a bunch of hacks, but that's they only way i can see it working, since ideally it should be completely transparent to the page.
I'm the first to not be happy with the way timeouts and HTMLVideo and Audio Elements currentTime are being set (since, for instance, there's no way to setting them back to their original state).
As I said, the idea is to provide a configuration mask to enable what values and methods to intercept -and more things, like setting the canvases correctly to support transparency-, but I haven't had time to address those issues.

I think you're confused about what's the purpose of this library: it's capturing framerate-independent animations.
If you want to capture at 60 FPS, but your animation + capturing overhead takes more than 16.66 ms ( 1000 ms / 60 ), then your final animation will be choppy --- it's the equivalent of dropping frames when transcoding. Ccapture helps getting 60, 120, 100000 FPS animations, but it does it by hooking functions that are used for time syncing.
If you don't mind dropping frames, just use HTMLCanvasElement.captureStream

Now I think I get the purpose of the library, but I still don't quite understand why it needs to hook such fundamental functions. Are the alternatives just that complicated?
The two big things I discovered specifically about hooking those functions was it caused several Cesium components related to moving the camera around to exhibit weird behavior (camera would 'glide' forever in the direction panned), and also broke the ability for moment to parse time strings correctly. That's why I asked about some way to encapsulate the behavior that I was unaware of.
In my scenario, what attracts me to CCapture is the API and the paradigm implied by 'capturer.capture(canvas)' in particular. The app is a client-rendered view of a server-side simulation, using Cesium on the client. The Cesium canvas is drawn at 30 fps, and the user can move smoothly around the map, but the simulation is usually much lower than 30fps. So for recording here the strategy here is to only capture a frame when the simulation steps, and then stitch that into an animation at the desired fps. In our case, dropping frames when the user is panning the camera for example is acceptable. Also of interest is getting all those frames exported in a zip/tar/webm/mpeg(?). I realize all these things could be accomplished with smaller libraries (such as gif.js, which I'm actively researching), but right now I'm still learning what's out there. CCapture's API made it seem like I could do all those things with a single library.

Forgot to point this out too: Commenting out all the code that hooks the time functions let me use CCapture (for gifs, anyway) exactly as I hoped I could. Even if making each specific hook optional through settings is too difficult, making it an all-or-nothing choice still might have value.

Yes, that's the idea. Given that some people want to use it without it affecting HTMLVideoElement/HTMLAudioElement, and some people need those elements to be hooked, the best option is to make it configurable. That also helps with the planned Web Extension.
It's coming...


error state seems to be inconsistent to other states

Is your feature request related to a problem? Please describe.
All other states accept JQ input for their fields. The error state can only accept a string for the error field. I wanted to catch an error, handle it and then still raise it after. The use-case would be to do jq(.error.code) in the error field.
The message has the same "issue". If it would be JQ instead of the args field it would be easier to use because Direktiv has a basically a sprintf with jq.
Now:
- id: error-out-of-date
  type: error
  error: validation.outOfDate
  message: "food item %s is out of date"
  args:
  - jq(.item.name)

New
- id: error-out-of-date
  type: error
  error: jq(.whatever) OR my.new.error
  message: 'This is an error jq(.myvalue)'

I'm not sure if this works as intended the way it's described. Can you provide a more complete example for how it would be used?

The example is in the "New" part. The type is string only. And the message is strange because everywhere else, e.g. logs, you can use jq. Why not in errors? Why do we have a custom sprintf?

On the message field, it's true that this pattern was designed before our modern jq logic. The current method still arguably is more powerful because printf gives you a lot of control over the output format. I agree that the power probably isn't worth the inconsistency though. I'm in favour of changing it to a single jq field.
On the error field, I'm not so sure about this. I can see the it being used in some cases. Probably rare ones. But I like right now that you can easily tell exactly what errors a workflow can throw just by looking at the YAML.

We've merged something that partially addresses this issue. It makes it possible to generate the message via embedded jq.
We haven't made the code itself variable at this stage. I believe we discussed this and had good reasons both for and against. Are we happy to close this issue? Or do we want to make the codes variable as well?


llvmPackages_14: Fix build on aarch64-linux

Description of changes
This PR fixes building the LLVM packages on aarch64-linux.
The libcxx library needs a C++20 capable compiler toolchain since version 14.
Also, work around the linking problems described in https://github.com/NixOS/nixpkgs/issues/201254
ZHF: #199919
Things done

Built on platform(s)

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

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

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

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

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

[x] Fits CONTRIBUTING.md.

@ofborg eval

Hmm I'm still getting
/nix/store/1g5g7vzlcprmg1d6864fs5r4nf1h5b5j-binutils-2.39/bin/ld: CMakeFiles/clang_rt.scudo_standalone-dynamic-aarch64.dir/linux.cpp.o: in function `bool scudo::atomic_compare_exchange_strong<scudo::atomic_u32>(scudo::atomic_u32 volatile*, scudo::atomic_u32::Type*, scudo::atomic_u32::Type, scudo::memory_order)':
/build/compiler-rt-src-14.0.6/compiler-rt/lib/scudo/standalone/atomic_helpers.h:119: undefined reference to `__aarch64_cas4_acq'

for compiler-rt-libc-14.0.6

@risicle you're right, I have added the same workaround for compiler-rt and clang.

When building llvmPackages_14.libcxxabi, I ran into this error:
n file included from /nix/store/87sa00y1dyyfyigqzav5cjjgzrr44rx4-libcxx-headers-14.0.6/include/c++/v1/__compare/strong_order.h:12,
                 from /nix/store/87sa00y1dyyfyigqzav5cjjgzrr44rx4-libcxx-headers-14.0.6/include/c++/v1/__compare/weak_order.h:14,
                 from /nix/store/87sa00y1dyyfyigqzav5cjjgzrr44rx4-libcxx-headers-14.0.6/include/c++/v1/__compare/partial_order.h:14,
                 from /nix/store/87sa00y1dyyfyigqzav5cjjgzrr44rx4-libcxx-headers-14.0.6/include/c++/v1/__compare/compare_partial_order_fallback.h:13,
                 from /nix/store/87sa00y1dyyfyigqzav5cjjgzrr44rx4-libcxx-headers-14.0.6/include/c++/v1/compare:144,
                 from /nix/store/87sa00y1dyyfyigqzav5cjjgzrr44rx4-libcxx-headers-14.0.6/include/c++/v1/utility:236,
                 from /nix/store/87sa00y1dyyfyigqzav5cjjgzrr44rx4-libcxx-headers-14.0.6/include/c++/v1/__functional_base:26,
                 from /nix/store/87sa00y1dyyfyigqzav5cjjgzrr44rx4-libcxx-headers-14.0.6/include/c++/v1/memory:808,
                 from /build/libcxxabi-src-14.0.6/libcxxabi/../libcxx/src/include/atomic_support.h:13,
                 from /build/libcxxabi-src-14.0.6/libcxxabi/src/cxa_default_handlers.cpp:19:
/nix/store/87sa00y1dyyfyigqzav5cjjgzrr44rx4-libcxx-headers-14.0.6/include/c++/v1/__bit/bit_cast.h: In function 'constexpr _ToType std::__1::bit_cast(const _FromType&)':
/nix/store/87sa00y1dyyfyigqzav5cjjgzrr44rx4-libcxx-headers-14.0.6/include/c++/v1/__bit/bit_cast.h:31:38: error: expected primary-expression before ',' token
   31 |     return __builtin_bit_cast(_ToType, __from);
      |                                      ^
In file included from /nix/store/87sa00y1dyyfyigqzav5cjjgzrr44rx4-libcxx-headers-14.0.6/include/c++/v1/__compare/strong_order.h:12,
                 from /nix/store/87sa00y1dyyfyigqzav5cjjgzrr44rx4-libcxx-headers-14.0.6/include/c++/v1/__compare/weak_order.h:14,
                 from /nix/store/87sa00y1dyyfyigqzav5cjjgzrr44rx4-libcxx-headers-14.0.6/include/c++/v1/__compare/partial_order.h:14,
                 from /nix/store/87sa00y1dyyfyigqzav5cjjgzrr44rx4-libcxx-headers-14.0.6/include/c++/v1/__compare/compare_partial_order_fallback.h:13,
                 from /nix/store/87sa00y1dyyfyigqzav5cjjgzrr44rx4-libcxx-headers-14.0.6/include/c++/v1/compare:144,
                 from /nix/store/87sa00y1dyyfyigqzav5cjjgzrr44rx4-libcxx-headers-14.0.6/include/c++/v1/utility:236,
                 from /nix/store/87sa00y1dyyfyigqzav5cjjgzrr44rx4-libcxx-headers-14.0.6/include/c++/v1/__functional_base:26,
                 from /nix/store/87sa00y1dyyfyigqzav5cjjgzrr44rx4-libcxx-headers-14.0.6/include/c++/v1/memory:808,
                 from /build/libcxxabi-src-14.0.6/libcxxabi/../libcxx/src/include/atomic_support.h:13,
                 from /build/libcxxabi-src-14.0.6/libcxxabi/src/cxa_default_handlers.cpp:19:
/nix/store/87sa00y1dyyfyigqzav5cjjgzrr44rx4-libcxx-headers-14.0.6/include/c++/v1/__bit/bit_cast.h: In function 'constexpr _ToType std::__1::bit_cast(const _FromType&)':
/nix/store/87sa00y1dyyfyigqzav5cjjgzrr44rx4-libcxx-headers-14.0.6/include/c++/v1/__bit/bit_cast.h:31:38: error: expected primary-expression before ',' token
   31 |     return __builtin_bit_cast(_ToType, __from);
      |                                      ^
make[2]: *** [src/CMakeFiles/cxxabi_static.dir/build.make:90: src/CMakeFiles/cxxabi_static.dir/cxa_default_handlers.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:165: src/CMakeFiles/cxxabi_static.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
make[2]: *** [src/CMakeFiles/cxxabi_shared.dir/build.make:90: src/CMakeFiles/cxxabi_shared.dir/cxa_default_handlers.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....

According to https://github.com/llvm/llvm-project/issues/56828 this happens with GCC 10, but works OK with GCC 11.

Linking error again for lldb

Linking error again for lldb

Fixed.
I tried to use nixpkgs-review, but this never finishes... :shrug:

@primeos  I have rebased onto master and refined the commit history.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-already-reviewed/2617/694

This can't go directly to master.  OfBorg doesn't check this for aarch64-linux, but it is a large rebuild:
Estimating rebuild amount by counting changed Hydra jobs (parallel=unset).
  14523 aarch64-linux

Bisected a broken llvm_14 on aarch64-linux to<PHONE_NUMBER>6bf79fd67501a55b1b60683c2b5d62.
In https://hydra.nixos.org/build/201827173 it fails >80 tests.

Go ahead and revert my merge if it doesn't make things worse.

Bisected a broken llvm_14 on aarch64-linux to 7496574.
In hydra.nixos.org/build/201827173 it fails >80 tests.

It fails all the gold tests. Which is caused by:
/nix/store/cwivsnh1p591x7yydynrz0xc1zcq54p3-binutils-2.39/bin/ld.gold: error: /build/llvm-src-14.0.6/llvm/build/lib/LLVMgold.so: could not load plugin library: /nix/store/kyrb20x8ldfhih953ffd8yba42qfb5xy-gcc-9.5.0-lib/lib/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /build/llvm-src-14.0.6/llvm/build/lib/libLLVM-14.so)

Would it be feasible to disable the gold linker plugin on this platform?


Smarter property handling

Related to this ticket https://github.com/krasa/StringManipulation/issues/6
The fix was added for only java context but the same could be applied to other languages such as typescript/golang etc.
Is it possible to expand this fix to other languages as well?

Yes. Which?

Would be great to add it for typescript and golang! (biased as those are the two I use this plugin with the most atm).


Resolve Linting Issues with Score F

This bug relates to https://github.com/usds/justice40-tool/pull/510
Right now linting tests are not passing because of two issues:
1 There are too many statements on the transform function which reflects a need to refactor the score/etl.py file
1 Lucas re-added matplotlib which has a license dependency with Pillow which uses some licensed imaging libraries. I need to research how to clear this, which according to Nat, it's just a matter of adding a LICENCE file

Jorge is working on this and will timebox it. If we can't get past this today we will make an exception for this linting rule, and potentially revisit with the bigger refactor of the score work.


Add selwyn college

Description of our digital technologies course:
http://www.selwyn.school.nz/Web/5217/
http://www.selwyn.school.nz/DataStore/Pages/PAGE_191/Docs/Documents/def661fb-8d61-4303-8057-0f84a7d5a0cb-Senior Course Descriptions 2020.pdf
Page: 15
The description on the website is extremely out of date and we have since moved on to using laguages like basic, C# and Python with tools like picaxes, unity and raspberry pi.
This is the closest I could find to the school claiming that this is the official email domain for students.
http://www.selwyn.school.nz/Web/5834/

@mariowhitmore Pull request merged. Thank you!


Feature request: Check and UI message for low power (laptops)

This has been mentioned in Slack, just adding here as a request.
Thank you

Duplicate of: https://github.com/Macjutsu/super/issues/8


Fixed the alpha for the ColorMatrixFilter

I believe this fixes issues #1342 and #2302. Alpha now is handled correctly when applying additive color. Credit to @andrewstart for this fix.
Before

After

Example Code
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <title>Example</title>
    <link rel="stylesheet" href="style.css">
    <script src="pixi.js/bin/pixi.js"></script>
  </head>
  <body>
    <canvas id="stage" width="200" height="200"></canvas>
    <script>
      var renderer = new PIXI.autoDetectRenderer(200, 200, {
        view: document.getElementById("stage"),
        backgroundColor: 0x000000,
        antialias: true
      });
      var stage = new PIXI.Container();
      var filter = new PIXI.filters.ColorMatrixFilter();
      filter.matrix = [
         0.4, 0, 0, 0, 0.4,
         0, 0.4, 0, 0, 0.4,
         0, 0, 0.4, 0, 0.4,
         0, 0, 0, 1, 0
      ];
      var gfx = new PIXI.Graphics()
        .beginFill(0xff0000, 1)
        .drawCircle(100, 100, 50);
      gfx.filters = [filter];
      gfx.alpha = 1;
      stage.addChild(gfx);
      function update() {
        requestAnimationFrame(update);
        renderer.render(stage);
      }
      update();
    </script>
  </body>

nice one @bigtimebuddy :+1:

Hmm - I tried re-running my tests using the file at https://github.com/pixijs/pixi.js/blob/dev/bin/pixi.min.js and it still behaves as before (https://gyazo.com/ec10e6589fbcc3692ec07ecd01970f5d - the graphics with the CMF are from the same file, with the hue changed by 1 - so they should look virtually the same as the "No CMF" ones).
Do I need to do anything else to verify it? The codepen is at http://codepen.io/anon/pen/JGVpyP - I copied the whole pixi.min.js file from the dev-branch into it, because I don't know how to directly link files from github.

Was this fix definitely correct? It makes the 5th column of the matrix completely redundant, since the 4th column already multiplies by alpha. The screenshots don't show a bug, because the 5th column is meant to ignore alpha (see here). To fix the example code you would move the values in the 5th column to the 4th column:
filter.matrix = [
         0.4, 0, 0, 0.4, 0,
         0, 0.4, 0, 0.4, 0,
         0, 0, 0.4, 0.4, 0,
         0, 0, 0, 1, 0
];

It is my understanding that the 4th column is not an offset, but a multiplier of existing values just like the first 3 columns. The problem in the screenshots is that filter used is not offsetting the alpha at all, so it is counterintuitive to have transparent areas stop being transparent just because you were offsetting colors - that is not the behavior used by Flash, probably because of a difference between an expectation of pre-multiplied alpha vs not pre-multiplied alpha.

I agree that's what the 4th column should do, and it already does. The filter used in the screenshots doesn't use the 4th column. This commit changes the behaviour of the 5th column and actually diverges from the behaviour used by Flash (according to the docs I linked previously).


Adding Login Form

Is your feature request related to a problem? Please describe.
Sometimes we need a login page.
Describe the solution you'd like
I have created a login page that takes an input of username and password.
Describe alternatives you've considered
I created this using HTML and CSS.
Additional context
https://user-images.githubusercontent.com/98695632/182360098-cfcf9a56-e133-4f22-a5f0-acdc21d36405.mp4

Assigning it to you🥳🥳


AnimationTree not animating in preview and in game

Godot version
v4.0.beta6.official [7f8ecffa5]
System information
Windows 10
Issue description
AnimationTree isn't working, checked this in Godot 3.5 using steps below and it worked as it should showing the preview animation.
Steps to reproduce
Made an Animation Player with 1 idle animation for 2D pixel character. Created an Animation Tree and added to the tree Root AnimationNodeAnimation with this animation selected. No animation of the character whatsoever.

Tried other tree nodes to no avail.
Minimal reproduction project
Uploading issue.zip…

Just tried the beta 6 with my game (current on beta 4) and all the animations tree are not animating in preview and in game here as well.

Duplicate of #69066


Package request: ballerina

Ballerina is a cloud-native programming language that makes it easy to write microservices that integrate APIs.
Source code available on GitHub here: https://github.com/ballerina-platform/ballerina-lang
Build dependencies:

Oracle JDK 8 or OpenJDK 8
Maven 3.5.0 or later
Node (v8.9.x) + npm (v5.6.0 or later)
Docker

License: Apache 2.0

I am not a Nix expert, but this is what I personally use as my nix-shell for Ballerina.
I tried to follow the Homebrew formula.
with import <nixpkgs> { };

let
  ballerina = stdenv.mkDerivation {
    name = "ballerina";

    src = fetchzip {
      url = "https://dist.ballerina.io/downloads/1.2.4/ballerina-1.2.4.zip";
      sha256 = "0lr0c7p2w04s9l48lhl39nz5s6fvq9ncq5l02jys7bx4mlqbca2z";
    };

    installPhase = ''
      # Make the output directory
      mkdir -p $out/bin

      # Remove windows files
      rm bin/*.bat

      # Copy the script there and make it executable
      cp -pR * $out
      chmod +x $out/bin/ballerina
    '';
  };
in mkShell { buildInputs = [ jdk8 ballerina ]; }

Hope this helps 😄

Added in #181319.


Change no-unused-vars lint rule to a warning

It's quite distracting having an unused variable error appear, this should be a warning as it's normally just a dev time thing. Committing should reject all warnings anyway.

Codecov Report

Merging #12048 (3bd8742) into main (503220a) will increase coverage by 15%.
The diff coverage is n/a.

@@           Coverage Diff            @@
##            main   #12048     +/-   ##
========================================
+ Coverage     47%      62%    +15%
========================================
  Files        502      502
  Lines      35918    35918
  Branches    5813     5813
========================================
+ Hits       16908    22594   +5686
+ Misses     17399    11193   -6206
- Partials    1611     2131    +520

Impacted Files
Coverage Δ

src/platform/common/platform/fs-paths.node.ts
64% <0%> (ø)

src/platform/vscode-path/map.ts
10% <0%> (+<1%)
:arrow_up:

src/platform/logging/index.ts
75% <0%> (+<1%)
:arrow_up:

src/kernels/serviceRegistry.node.ts
100% <0%> (+1%)
:arrow_up:

...platform/interpreter/reservedNamedProvider.node.ts
93% <0%> (+1%)
:arrow_up:

src/platform/vscode-path/resources.ts
40% <0%> (+1%)
:arrow_up:

...ernels/raw/session/hostRawNotebookProvider.node.ts
86% <0%> (+1%)
:arrow_up:

src/kernels/kernelProvider.node.ts
100% <0%> (+1%)
:arrow_up:

src/platform/common/utils.ts
79% <0%> (+1%)
:arrow_up:

...preter/jupyterInterpreterDependencyService.node.ts
75% <0%> (+1%)
:arrow_up:

... and 271 more


Add link to http://fsprojects.github.io/Fable/ in the title of the repo.

Description
You can add a link to a website for a project in the title of the rep. Now when there is nice git hub pages a link should be added to: http://fsprojects.github.io/Fable/.

done


Closing ends with parent

Testcase for #2192

How do you actually run the test/bugs/reuse-endsWithParent.js test?

What a fun one this is, great way to wake up in the morning! lol.


Test failures in arm64: FrameSemantics.FrameID2d, JointTypes.RevoluteJoint2f

When building packages for arm64 I found the following test failures:
[ RUN      ] FrameSemantics_TEST.FrameID2d
Scaled difference in linear acceleration: 2.00028e-12 | Difference: 2.00028e-12 | Scale: 1 | (Tolerance: 1e-12)
/var/lib/jenkins/workspace/ign-physics2-debbuilder/build/ignition-physics-2.1.0/test/integration/FrameSemantics.hh:329: Failure
Value of: Equal(J1_T_J1.RelativeToParent(), fs->Resolve(O_T_J1, J1), _tolerance)
  Actual: false
Expected: true
[  FAILED  ] FrameSemantics_TEST.FrameID2d (53 ms)

[ RUN      ] JointTypes_TEST.RevoluteJoint2f
Scaled difference in angle: 2.79141e-09 | Difference: 2.79141e-09 | Scale: 1 | (Tolerance: 1e-16)
/var/lib/jenkins/workspace/ign-physics2-debbuilder/build/ignition-physics-2.1.0/test/integration/JointTypes.hh:99: Failure
Value of: Equal(T, pose, _tolerance)
  Actual: false
Expected: true
Scaled difference in angle: 5.68705e-09 | Difference: 5.68705e-09 | Scale: 1 | (Tolerance: 1e-16)
/var/lib/jenkins/workspace/ign-physics2-debbuilder/build/ignition-physics-2.1.0/test/integration/JointTypes.hh:99: Failure
Value of: Equal(T, pose, _tolerance)
  Actual: false
Expected: true
Scaled difference in angle: 7.37315e-09 | Difference: 9.21644e-09 | Scale: 1.25 | (Tolerance: 1e-16)
/var/lib/jenkins/workspace/ign-physics2-debbuilder/build/ignition-physics-2.1.0/test/integration/JointTypes.hh:99: Failure
Value of: Equal(T, pose, _tolerance)
  Actual: false
Expected: true
Scaled difference in angle: -1.22641e-08 | Difference: -1.22641e-08 | Scale: 1 | (Tolerance: 1e-16)
/var/lib/jenkins/workspace/ign-physics2-debbuilder/build/ignition-physics-2.1.0/test/integration/JointTypes.hh:99: Failure
Value of: Equal(T, pose, _tolerance)
  Actual: false
Expected: true
Scaled difference in angle: -4.26041e-09 | Difference: -1.3064e-08 | Scale: 3.06637 | (Tolerance: 1e-16)
/var/lib/jenkins/workspace/ign-physics2-debbuilder/build/ignition-physics-2.1.0/test/integration/JointTypes.hh:99: Failure
Value of: Equal(T, pose, _tolerance)
  Actual: false
Expected: true
Scaled difference in angle: -7.78027e-09 | Difference: -2.09396e-08 | Scale: 2.69137 | (Tolerance: 1e-16)
/var/lib/jenkins/workspace/ign-physics2-debbuilder/build/ignition-physics-2.1.0/test/integration/JointTypes.hh:99: Failure
Value of: Equal(T, pose, _tolerance)
  Actual: false
Expected: true
[  FAILED  ] JointTypes_TEST.RevoluteJoint2f (67 ms)

I can confirm that the same tests fail on arm64 on drone.io even in conda-forge builds (see https://cloud.drone.io/conda-forge/libignition-physics-feedstock/10/1/2 and https://github.com/conda-forge/libignition-physics-feedstock/pull/12):
21/87 Test #21: INTEGRATION_FrameSemantics2d ................***Failed    0.04 sec
[==========] Running 4 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 4 tests from FrameSemantics_TEST
[ RUN      ] FrameSemantics_TEST.RelativeFrames2d
[       OK ] FrameSemantics_TEST.RelativeFrames2d (1 ms)
[ RUN      ] FrameSemantics_TEST.RelativeAlignedBox2d
 -- Ignore the following warnings; these functions are being called for the sake of test coverage:
[AABBSpace::ResolveToTargetCoordinates] Warning: Axis-aligned bounding boxes cannot undergo coordinate changes.
[AABBSpace::ResolveToWorldCoordinates] Warning: Axis-aligned bounding boxes cannot undergo coordinate changes.
[       OK ] FrameSemantics_TEST.RelativeAlignedBox2d (0 ms)
[ RUN      ] FrameSemantics_TEST.FrameID2d
Scaled difference in linear acceleration: 2.00028e-12 | Difference: 2.00028e-12 | Scale: 1 | (Tolerance: 1e-12)
../test/integration/FrameSemantics.hh:329: Failure
Value of: Equal(J1_T_J1.RelativeToParent(), fs->Resolve(O_T_J1, J1), _tolerance)
  Actual: false
Expected: true
[  FAILED  ] FrameSemantics_TEST.FrameID2d (1 ms)
[ RUN      ] FrameSemantics_TEST.RelativeQuantities2d
[       OK ] FrameSemantics_TEST.RelativeQuantities2d (0 ms)
[----------] 4 tests from FrameSemantics_TEST (2 ms total)

[----------] Global test environment tear-down
[==========] 4 tests from 1 test case ran. (2 ms total)
[  PASSED  ] 3 tests.
[  FAILED  ] 1 test, listed below:
[  FAILED  ] FrameSemantics_TEST.FrameID2d

 1 FAILED TEST

      Start 22: check_INTEGRATION_FrameSemantics2d
22/87 Test #22: check_INTEGRATION_FrameSemantics2d ..........   Passed    0.06 sec
      Start 23: INTEGRATION_FrameSemantics2f
23/87 Test #23: INTEGRATION_FrameSemantics2f ................   Passed    0.04 sec
      Start 24: check_INTEGRATION_FrameSemantics2f
24/87 Test #24: check_INTEGRATION_FrameSemantics2f ..........   Passed    0.05 sec
      Start 25: INTEGRATION_FrameSemantics3d
25/87 Test #25: INTEGRATION_FrameSemantics3d ................   Passed    0.04 sec
      Start 26: check_INTEGRATION_FrameSemantics3d
26/87 Test #26: check_INTEGRATION_FrameSemantics3d ..........   Passed    0.06 sec
      Start 27: INTEGRATION_FrameSemantics3f
27/87 Test #27: INTEGRATION_FrameSemantics3f ................   Passed    0.04 sec
      Start 28: check_INTEGRATION_FrameSemantics3f
28/87 Test #28: check_INTEGRATION_FrameSemantics3f ..........   Passed    0.06 sec
      Start 29: INTEGRATION_JointTypes2d
29/87 Test #29: INTEGRATION_JointTypes2d ....................   Passed    0.01 sec
      Start 30: check_INTEGRATION_JointTypes2d
30/87 Test #30: check_INTEGRATION_JointTypes2d ..............   Passed    0.06 sec
      Start 31: INTEGRATION_JointTypes2f
31/87 Test #31: INTEGRATION_JointTypes2f ....................***Failed    0.01 sec
[==========] Running 2 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 2 tests from JointTypes_TEST
[ RUN      ] JointTypes_TEST.RevoluteJoint2f
Scaled difference in angle: 2.79141e-09 | Difference: 2.79141e-09 | Scale: 1 | (Tolerance: 1e-16)
../test/integration/JointTypes.hh:99: Failure
Value of: Equal(T, pose, _tolerance)
  Actual: false
Expected: true
Scaled difference in angle: 5.68705e-09 | Difference: 5.68705e-09 | Scale: 1 | (Tolerance: 1e-16)
../test/integration/JointTypes.hh:99: Failure
Value of: Equal(T, pose, _tolerance)
  Actual: false
Expected: true
Scaled difference in angle: 7.37315e-09 | Difference: 9.21644e-09 | Scale: 1.25 | (Tolerance: 1e-16)
../test/integration/JointTypes.hh:99: Failure
Value of: Equal(T, pose, _tolerance)
  Actual: false
Expected: true
Scaled difference in angle: -1.22641e-08 | Difference: -1.22641e-08 | Scale: 1 | (Tolerance: 1e-16)
../test/integration/JointTypes.hh:99: Failure
Value of: Equal(T, pose, _tolerance)
  Actual: false
Expected: true
Scaled difference in angle: -8.17847e-09 | Difference: -2.50782e-08 | Scale: 3.06637 | (Tolerance: 1e-16)
../test/integration/JointTypes.hh:99: Failure
Value of: Equal(T, pose, _tolerance)
  Actual: false
Expected: true
Scaled difference in angle: -2.8491e-08 | Difference: -7.66798e-08 | Scale: 2.69137 | (Tolerance: 1e-16)
../test/integration/JointTypes.hh:99: Failure
Value of: Equal(T, pose, _tolerance)
  Actual: false
Expected: true
[  FAILED  ] JointTypes_TEST.RevoluteJoint2f (1 ms)
[ RUN      ] JointTypes_TEST.TypeCasts2f
[       OK ] JointTypes_TEST.TypeCasts2f (2 ms)
[----------] 2 tests from JointTypes_TEST (3 ms total)

[----------] Global test environment tear-down
[==========] 2 tests from 1 test case ran. (3 ms total)
[  PASSED  ] 1 test.
[  FAILED  ] 1 test, listed below:
[  FAILED  ] JointTypes_TEST.RevoluteJoint2f

 1 FAILED TEST

      Start 32: check_INTEGRATION_JointTypes2f


Gamepad support

Surprised nobody's tackled this one yet. We already handle keyboard and mouse input, so gamepad input seems to be the logical next step.
Anyone looking for inspiration might want to see how SDL2 does this: basically they maintain a list of controllers and map them as closely to the XInput layout as possible. That doesn't have to be the strategy we use here, and there is some legacy code in there as well (mainly deprecated Windows APIs like DirectInput), but I think it's a reasonable starting point.

There was already a discussion here: https://github.com/tomaka/glutin/issues/151
Basically it's "won't fix, should be an external library".

Closing in favor of #804. This is something we want, but we need help implementing it on other platforms.