erro in cli

Creating Ionic app in folder /Users/tom/simplehours based on blank project
Downloading: https://github.com/driftyco/ionic2-app-base/archive/master.zip
[=============================]  100%  0.0s
Downloading: https://github.com/driftyco/ionic2-starter-blank/archive/master.zip
Installing npm packages...
Error with start undefined
Error Initializing app: There was an error with the spawned command: npminstall
There was an error with the spawned command: npminstall
Caught exception:
undefined

I just experienced the same issue.

Seems like it failed in the process of installing node modules. So I went inside the directory myapp, deleted node_modules and ran the command npm install to install the dependencies from the beginning. Then this happened:

..
I'm only experiencing this issue on Ubuntu. No issue with my local Windows 10 machine.

Could you provide me with the output from ionic info from within your project directory? Thanks, this should help in troubleshooting.

Could you try running the command with the verbose flag?  I have a feeling that everyone is receiving this same issue due to node-sass.
ionic start cutePuppyPics --verbose

My problem seemed to be a RAM problem. I was trying to start my app on a server with only 512MB of RAM. The large amount of NPM installs requires more RAM to successfully install. Other option is to install packages manually in smaller batches.
So I think to fix this issue, the build process has to install NPM modules in smaller chunks rather than installing everything at once.

there are few things you need to do to upgrade / update

upgrade nodejs
 brew upgrade node

upgrade npm
 npm install -g npm

set new registry
 npm set registry http://registry.npmjs.org

Closing this as a duplicate of #1013.


Shared note contains metadata footer

Example:
https://share.note.sx/cvhhwxoz#4NhnClbL9l9JmF6uA/p20EywNf4XPRgAK7nWEEADTSU
Scroll to the very bottom. Everything under the horizontal line shouldn't be there. This includes "linked mentioned". I'm seeing this within the app (android, v1.4.16, core module "backlinks" enabled and option "backlink in document" enabled) but it's not part of the note itself. In fact, listing all mentions might easily be a data breach / leak. Also, the footer within the app is interactive but obviously that interactivity wasn't preserved after sharing and the links within the footer are dead (which makes sense).

Tough call on this one. I have other tickets requesting that I make that section work including links.
Who is right? I might have to add a setting to turn on/off.

I might have to add a setting to turn on/off.

That sounds like a good compromise and would also be in line with the "remove published frontmatteer/YAML" option which does the same for the "other end".

The option to disable the backlinks footer is added in 0.8.5, thanks for the suggestion.


Docker image tensorflow:latest-gpu-jupyter - Setting a password doesn't work

Using image from here: https://github.com/tensorflow/tensorflow/blob/master/tensorflow/tools/dockerfiles/dockerfiles/devel-gpu-jupyter.Dockerfile
Downloaded from dockerhub with docker pull tensorflow/tensorflow:latest-gpu-jupyter
When running the jupyter server, we can normally set up a password in the login page.
However, with this image I get an error 500 after configuring the password.
The password is effectively written to /root/.jupyter/jupyter_notebook_config.json but it isn't taken into account by the jupyter server. I.e. you can't connect just as if you had put a wrong password.
On the other hand, this works perfectly when using images from jupyter/docker-stacks.

@Atralb
We see that the issue template has not been filled, could you please do so as it helps us analyse the issue [tf version, steps followed before you ran into this error or stand alone code to reproduce the issue faced]

@Atralb
We see that the issue template has not been filled, could you please do so as it helps us analyse the issue [tf version, steps followed before you ran into this error or stand alone code to reproduce the issue faced]

@Saduf2019
I'm talking about running the docker container provided by yourselves. I have linked to the dockerfile and every single package version is in there, I couldn't give you a more exhaustive list than that.
The single additional step I can give you is: docker run -p 8888:8888 tensorflow/tensorflow:latest-gpu-jupyter, and then it's the steps performed in the GUI as explained in my original post.

Hello,
Any updates about this issue? Please don't close it, -p PASSWORD:password does not help. Thank you.

Is this still an issue?

This is still an issue. I'm trying to set a password by using:
docker run -e PASSWORD=password tensorflow/tensorflow:1.15.5-gpu-py3-jupyter

and it is not working.  See: https://github.com/tensorflow/tensorflow/issues/6351#issuecomment-637476227

@Atralb !
I could replicate this issue in 2.10 version  and was able to run the container without password even after changing the password in root directory .
Thank you!

@mohantym What do you mean "run the container" ? I'm talking about logging in on the Jupyter UI on the browser.
So what is the current state on fixing this issue @angerson @ymodak ? It' been 2 years with no updates.
Thanks in advance.

Hi,
Thank you for opening this issue. Since this issue has been open for a long time, the code/debug information for this issue may not be relevant with the current state of the code base.
The Tensorflow team is constantly improving the framework by fixing bugs and adding new features. We suggest you try the latest TensorFlow version with the latest compatible hardware configuration which could potentially resolve the issue. If you are still facing the issue, please create a new GitHub issue with your latest findings, with all the debugging information which could help us investigate.
Please follow the release notes to stay up to date with the latest developments which are happening in the Tensorflow space.


Login page still says "username or email" when using LDAP authentication

I know this is a small detail, but I get complaints from new users who try to use their email to log in.
Since LDAP only allows username login, this evidently does not work.
This confusion mainly stems from

and

Any help would be appreciated.

Since this is a front-end manipulation related to a back-end 'plugin', I wasn't able to discover the solution myself, and thought it related more to the main project.
Now moving it to the 'lets-chat-ldap' issue list instead.


Removed the dynamic allocations for optmization.

This is one of the TODO in the file.

Thanks for the review, i am closing this PR as similar is already closed.
Regards
Amit


feature/derived types

code-gen: csharp derived types

code-gen : missing body parameter description default

CC @MIchaelMainer as an early preview for https://github.com/microsoft/kiota/issues/85 to see whether this is what you meant or whether I misinterpreted.

@baywet To be honest, I'm having to reinterpret what I meant.


Global Action Helps Allow No callback

Updated the startLoading function created by createActionHelpers so
that the callback argument is optional.
If callback is not provided, startLoading returns immediatley after
the action dispatch. It is up to the user to call the corresponding
endLoading function.
Updated README.md to document optional callback.

This looks good.

Published new version, thanks @wooliet


[build fix] make WebKitBrowser separately buildable

Copyright scan failure
Commit: 878e70f074e1e2de07edca875633b291f76edbf1
Report detail: https://gist.github.com/a75a13a4a5c9893d7c6dcae5489e717d

Copyright exclusions file updated for vanilla Metrological import - scan now passes


Only one object label

When I defined  VOC_CLASSES = {‘person’} {line 20} in voc0712.py，I got a KeyError. How can I set this class name correctly? If anybody has solved this problem, please share your experiece with me. Thank you very much.
Traceback (most recent call last):
File "train.py", line 275, in
train()
File "train.py", line 172, in train
images, targets = next(batch_iterator)
File "/usr/local/lib/python3.7/dist-packages/torch/utils/data/dataloader.py", line 346, in next
data = self.dataset_fetcher.fetch(index)  # may raise StopIteration
File "/usr/local/lib/python3.7/dist-packages/torch/utils/data/_utils/fetch.py", line 44, in fetch
data = [self.dataset[idx] for idx in possibly_batched_index]
File "/usr/local/lib/python3.7/dist-packages/torch/utils/data/_utils/fetch.py", line 44, in
data = [self.dataset[idx] for idx in possibly_batched_index]
File "/content/drive/MyDrive/ssd.pytorch/data/voc0712.py", line 125, in getitem
im, gt, h, w = self.pull_item(index)
File "/content/drive/MyDrive/ssd.pytorch/data/voc0712.py", line 140, in pull_item
target = self.target_transform(target, width, height)
File "/content/drive/MyDrive/ssd.pytorch/data/voc0712.py", line 76, in call
label_idx = self.class_to_ind[name]
KeyError: 'person'

I met the same problem days ago. There is probably a typo in your training data label.


fix(http): dynamic generation don't follow constraints

This fixes #1549.
Dynamic generations wouldn't follow maxItems and maxLength JSON
schema constraints due to the configured json-schema-faker options:

maxItems — Override maxItems if it's greater than this value
maxLength — Override maxLength if it's greater than this value

Hey @IGassmann,
thanks a lot for the PR.
I'll clone the branch and try this out, but I am not 100% sure how this is going to fix the issue.
According to the documentation, the override will happen only if the value that's coming from the schema is greater than the default option value.
If I look at the issue, that is not what's happening (provided:5, option: 20).
Can you clarify?

@IGassmann I took another look at this — while this effectively fixes the thing, it's not the best fix.
The real problem is in JSON Schema Faker that's incorrectly interpreting the minItems: 0 as a false value, making a fallback to out option.
The real fix is https://github.com/json-schema-faker/json-schema-faker/pull/619
We'll update the dependency when ready.


Add Extensive Tests

Currently, Muon's internal tests sit at ~69 tests. We would like to have more tests.
This issue is open to anyone who'd like to contribute to this project.
Good resources:

Doctest
Catch2

The floor is open! Good luck!
-J

I've added death tests as well as attempted to test @davepoo's 6502Emulator. So far, so good


move function does not take None

There's an example usage in readme pyautogui.move(None, 10).
It runs with error in repl:

int() argument must be a string, a bytes-like object or a number, not 'NoneType'

version: '0.9.53'
windows 10

Hi @arisliang,  I hope you are doing well.  Yes, I see this too.
This behaviour changed after 3.10 None values do not behave the same.  As you can no longer run int(None).  Which throws the [Type Conversion error] (https://docs.python.org/3.10/library/functions.html#int).  But it should not as it hasn't even been updated yet in the main documentation.  int(None) ""used"" to return Zero,  hence why we are seeing this complain.
int(None)
# Traceback (most recent call last):
#  File "<stdin>", line 1, in <module>
# TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType'

I did some digging around and created a fix for you.  if you want to resolve this on your machine as a workaround until this gets resolved do the following.
Update Yourself (Workaround)
Locate your pyautogui init file
in your error you will get the path to the file it is complaining on line 701 of pyautogui.init   Copy that path and open the file in your text editor.
THEN: Paste these two lines into your existing pyautogui installed package:  (mine is line 701 & 702):
        firstArg = 0 if firstArg is None else firstArg
        secondArg = 0 if secondArg is None else secondArg

It should look like this:
    else:
        firstArg = 0 if firstArg is None else firstArg
        secondArg = 0 if secondArg is None else secondArg
        return Point(int(firstArg), int(secondArg))  # firstArg and secondArg are just x and y number values

You can reference my commit if it helps visually.

Save the file.
Close & Reopen your python terminal or interactive session.
ReOpen it and retry your code OR rerun your file.  It should work.
If you break something and forgot what you changed you can revert all changes by running.

pip install pyautogui --upgrade --force

# OR

pip3 install pyautogui --upgrade --force

Found & fixed a Separate Issue
** Now in my search I discovered another odd behaviour that I addressed in #690. and PR691
Separately, but just as an FYI.
Have a Great day!

Thanks for the fix. I can wait for the next release.


Remove ConnectionCloseTest

Because exact tests are already in ConnectionTest.

LGTM @HeartSaVioR @marcosnils  @sazzad16

Merged into master, 2.10, 2.9.


Update copy to reflect latest UI

Issue #, if available:
Description of changes:
Changing "My Security Credentials" -> "Security credentials" so that guide reflects latest UI

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Thanks for taking the time to submit a pull request.


Update for Julia 0.7

drop support Julia 0.6
import JLD2 (though not used currently but https://github.com/JuliaDSP/MFCC.jl/issues/11 )
ceil(Int,) for https://github.com/JuliaDSP/MFCC.jl/pull/10

Hi thanks for these efforts.  Please be aware there seems to be a similar effort in #13, at some stage I have to choose.


Fixed a small bug around CDATA tags for fixed web parts

The transformation would include the CDATA tags in the modern web part as encoded text.
Also, removed big block on unused code.

Thanks @pkbullock


ProxyForwardAuthDataTest shouldn't reuse pulsar client

This test was flaking due to the pulsar client being reused. The test
starts a proxy service, subscribes to a topic, stops the proxy, starts
a new proxy and tries to subscribe again.
If using the same client for both connections, the client will have an
open connection to the first proxy, which, when the proxy is stopped,
will be closed by netty asynchronously. This can race with the second
subscription attempt, and cause it to fail with
ConnectionClosedException. Specifically, if the subscription attempt
runs before the netty callback runs, the subscription attempt will try
to subscribe on a dead connection.
The immediate fix for this test, to stop the flaking, is just to use a
different client for each attempt.

This patch addresses #1211

@jai1 @merlimat @mgodave

Looks good to me, someone with permissions will have to review it though.


Is there more to it? Example won't work with Worker template on Visual Studio Mac

.ConfigureAppConfiguration((hostingContext, config) => { config. ???
This does not expose the methods described in the example, at least not for me on Visual Studio Mac when using the new Worker Template. Added the Microsoft.Extensions.Configuration package but still only Add() and Build(). No AddXYZ() methods.
The same code in template for API (for instance) exposes those methods. Without having to add extra dependencies. If this is expected behaviour perhaps the differences in the worker template should be noted somewhere?

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

ID: 0eb4d762-3910-2c57-8741-3306c15537b6
Version Independent ID: ba2254a0-ea8e-9b28-e94b-edd0fc58c043
Content: Configuration in ASP.NET Core
Content Source: aspnetcore/fundamentals/configuration/index.md
Product: aspnet-core
Technology: aspnetcore-fundamentals
GitHub Login: @guardrex
Microsoft Alias: riande

I realize this is misplaced. Of course it should be placed under the Worker Template if anywhere. The page I commented is about ASP.NET Core, so obviously that dependency is included in the sample. My bad.
I close this and apologize for any confusion caused.


Feature to update the number of available copies of the particular book in Gurugram, Tehri and Dwarahat ColoredCow library.

Problem statement
Currently Portal only lets the user know how many total copies are available for a particular book.
For example 10 copies of the book pragmatic programmer is available in ColoredCow library.
But out of 10 available copies how many are available in Gurugram office, Tehri office and Dwarahat office that can not be seen as per the current system.
Describe the solution you'd like
Need a feature where someone can manually update how many copies of a particular book are available in each office library.

@srivastava-jyoti @GauravGusain98


WIP: OVA migration

MTV 2.5
Resolves https://issues.redhat.com/browse/MTV-568 by updating the MTV user guide to include information on importing OVA files.
Note. This PR does not discuss creating OVA source providers in the UI. That is part of  https://github.com/kubev2v/forklift-documentation/pull/402.
Previews:

https://file.emea.redhat.com/rhoch/ova/html-single/#ova-prerequisites_mtv [OVA prerequisites]. The Technology Preview notifications in the guide in the same places as the OpenStack ones did in version 2.4 -- as shown here and in the Create Providers PR.
https://file.emea.redhat.com/rhoch/ova/html-single/#creating-storage-mapping_mtv [Storage mapping step 4d].
https://file.emea.redhat.com/rhoch/ova/html-single/#migrating-virtual-machines-cli_mtv [Procedure step 1 -- callout 4 in YAML and note after YAML]

@ahadas  and @bkhizgiy: Please review this PR.

@bkhizgiy @ahadas I made the changes you suggested. Please review this PR again.

@RichardHoch other than two minor comments looking good!

@bkhizgiy @ahadas @qiyuann Please review this PR. As noted in the Description, it does not include the creation of OVA source providers. Those are discussed in the "Create Providers" PR.

@ahadas @liranr23 I made all the changes you suggested. Please review the PR again.
@qiyuann Please review this PR.

@ahadas fixed.

@qiyuann I made the changes you suggested. Please review the PR again.

@sbeskin-redhat I fixed the redundancy you pointed too, but Arik's conformed the data structure. Please review this PR again -- open to suggestions about describing the structure if it;s not clear.

@sbeskin-redhat I made the changes you suggested. Please review this PR again.

@RichardHoch
Looks fine


Running test using PhantomJS is failing with RC.0

Please provide us with the following information:

OS?

Windows 10.

Versions.

Please run ng --version. If there's nothing outputted, please run in a Terminal: node --version and paste the result here:

@angular/cli: 1.0.0-rc.0
node: 7.5.0
os: win32 x64
@angular/common: 2.4.8
@angular/compiler: 2.4.8
@angular/core: 2.4.8
@angular/forms: 2.4.8
@angular/http: 2.4.8
@angular/platform-browser: 2.4.8
@angular/platform-browser-dynamic: 2.4.8
@angular/router: 3.4.8
@angular/cli: 1.0.0-rc.0
@angular/compiler-cli: 2.4.8
Repro steps.

Was this an app that wasn't created using the CLI? What change did you do on your code? etc.
Running  tests using PhantomJS fails, while running the same tests using Chrome passes.

$ ng test -browsers PhantomJS
27 02 2017 09:16:38.148:WARN [karma]: No captured browser, open http://localhost:9876/
27 02 2017 09:16:38.158:INFO [karma]: Karma v1.4.1 server started at http://<IP_ADDRESS>:9876/
27 02 2017 09:16:38.158:INFO [launcher]: Launching browser PhantomJS with unlimited concurrency
27 02 2017 09:16:38.614:INFO [launcher]: Starting browser PhantomJS
27 02 2017 09:16:42.636:INFO [PhantomJS 2.1.1 (Windows 8 0.0.0)]: Connected on socket FxslPlobVmqXyCu-AAAA with id 90654741
PhantomJS 2.1.1 (Windows 8 0.0.0) ERROR
SyntaxError: Use of reserved word 'class'
at webpack:///src/app/shared/models/search-params.model.ts:4:0 <- src/test.ts:6252
PhantomJS 2.1.1 (Windows 8 0.0.0) ERROR
SyntaxError: Use of reserved word 'class'
at webpack:///src/app/shared/models/search-params.model.ts:4:0 <- src/test.ts:6252
PhantomJS 2.1.1 (Windows 8 0.0.0): Executed 0 of 0 ERROR (0.862 secs / 0 secs)
Chrome 56.0.2924 (Windows 10 0.0.0): Executed 291 of 291 SUCCESS (10.092 secs / 9.985 secs)
TOTAL: 291 SUCCESS
The log given by the failure.

Normally this include a stack trace and some more information.
$ ng test -browsers PhantomJS
27 02 2017 09:16:38.148:WARN [karma]: No captured browser, open http://localhost:9876/
27 02 2017 09:16:38.158:INFO [karma]: Karma v1.4.1 server started at http://<IP_ADDRESS>:9876/
27 02 2017 09:16:38.158:INFO [launcher]: Launching browser PhantomJS with unlimited concurrency
27 02 2017 09:16:38.614:INFO [launcher]: Starting browser PhantomJS
27 02 2017 09:16:42.636:INFO [PhantomJS 2.1.1 (Windows 8 0.0.0)]: Connected on socket FxslPlobVmqXyCu-AAAA with id 90654741
PhantomJS 2.1.1 (Windows 8 0.0.0) ERROR
SyntaxError: Use of reserved word 'class'
at webpack:///src/app/shared/models/search-params.model.ts:4:0 <- src/test.ts:6252
PhantomJS 2.1.1 (Windows 8 0.0.0) ERROR
SyntaxError: Use of reserved word 'class'
at webpack:///src/app/shared/models/search-params.model.ts:4:0 <- src/test.ts:6252

Mention any other details that might be useful.
This only happens if you are running using PhantomJS

Thanks! We'll be in touch soon.

The issue is the new tsconfig.spec.json, what gets generated for a brand new project is:

{
"compilerOptions": {
"sourceMap": true,
"declaration": false,
"moduleResolution": "node",
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"lib": [
"es2016"
],
"outDir": "../out-tsc/spec",
"module": "commonjs",
"target": "es6",
"baseUrl": "",
"types": [
"jasmine",
"node"
]
},
"files": [
"test.ts"
],
"include": [
"**/*.spec.ts"
]
}
`

to get it to run with PhantomJS and Chrome I made the following changes:

{
"compilerOptions": {
"sourceMap": true,
"declaration": false,
"moduleResolution": "node",
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"lib": [
"es2016",
"dom"
],
"outDir": "../out-tsc/spec",
"module": "es2015",
"target": "es5",
"baseUrl": "",
"types": [
"jasmine",
"node"
]
},
"files": [
"test.ts"
],
"include": [
"**/*.spec.ts"
]
}

I had to add, "dom" to the lib.
I changed the module to be "es2015" instead of "commonjs"
and I change the target to "es5" instead of "es6"
hope this helps someone.
Is these changes by design?  or is PhantomJS is not intended to work with the CLI?

Beside the above change @daBishMan made, I also modified polyfills.ts to include all es6 polyfills (i.e. core-js/es6/*) to get it work.

Weird, I did what you guys did, but I still get this error:
PhantomJS 2.1.1 (Windows 8 0.0.0) ERROR   SyntaxError: Unexpected token 'const'   at webpack:///~/@angular/core/@angular/core/testing.es5.js:10:0 <- src/test.ts:7712
Any ideas? There is another Thread here which is kind of similar.

@DjolePetrovic I assume you are using angular v4.x (ng new --ng4). If so, there is the issue with the build process as you already linked - https://github.com/angular/angular/issues/14730.

@royling Yes, that's correct. Well at least I've moved my old project to CLI rc0 and angular 4 rc1.

Having the same issue here, using<EMAIL_ADDRESS>and<EMAIL_ADDRESS>Also have:
...
"karma-phantomjs-launcher": "^1.0.2",
"phantomjs-prebuilt": "^2.1.14",
...

Enabled all imports in polyfills.ts, tried adding this file to Karma's file array
PhantomJS 2.1.1 (Mac OS X 0.0.0) ERROR
  SyntaxError: Use of reserved word 'class'
  at webpack:///~/@angular/platform-browser-dynamic/@angular/platform-browser-dynamic/testing.es5.js:11:0 <- src/test.ts:24962

Not sure where to go from there?

I changed my browser to phantomjs but meet the same issue as @DjolePetrovic . My system is Angular 2 + ts 2.0. Thank you, @daBishMan  and @royling , after I applied both your methods now it could pass npm test without any issue.

My problem got solved with angular 4 rc2. Update the version and try again.

Fixed by https://github.com/angular/angular-cli/pull/5255

Hi, I'm experiencing this issue, on latest angular-cli and angular 4, with latest PhaontomJS. i have tried setting "target": "es5" etc in tsconfig.spec.json etc, nothing works.
Any advice, or is this a regression? Let me know if I should open a new issue.
Thanks,
Justin

Hi,
getting this issue with @angular/cli 1.6.8 and @angular 5.2.3 and IE 11
tsconfig.spec.ts has es5 as a target


fix #9

https://github.com/sylym/comfy_vid2vid/issues/9
According to original report at #9, ComfyUI internal function and module names are changed.
So, I fixed function names and import modules.
After that, plugin load error is surpressed.

@sylym Please take a look


A Constructor type

Suggestion

🔍 Search Terms

Class, Constructor, Function, lib
✅ Viability Checklist

My suggestion meets these guidelines:

[x] This wouldn't be a breaking change in existing TypeScript/JavaScript code
[x] This wouldn't change the runtime behavior of existing JavaScript code
[x] This could be implemented without emitting different JS based on the types of the expressions
[x] This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, new syntax sugar for JS, etc.)
[x] This feature would agree with the rest of TypeScript's Design Goals.

⭐ Suggestion

A Constructor type
📃 Motivating Example

There are currently a lot of elements being typed as Function instead of Constructor (see #implementation bellow)
💻 Implementation
https://github.com/Malix-Off/oop-utility/blob/ab0b593f0a7039582ea2876a6eb1c980f4262fd4/src/constructor.ts#L1
export type Constructor<T extends Object = object> = new (...args: any[]) => T;

This will be declined.  TS doesn't add new utility types anymore unless they are required for emitting declaration files.  See this comment on #51841 and the things to which it links.

Also a duplicate of #41656 / #20256.


coveralls.io not updating

As in the title. For some reason, my coverage information is not updating when travis builds complete.

Fixed via a hack in .travis.yml script. travis-cargo stopped passing the right flags to kcov as of Rust version 1.10+, and the fix is not done yet.

Information uploaded is now inaccurate.


UWP IsAvailable and Dynamic Status

As a user, I would like to have UWP automatically inform me of the Radio's state change (IsAvailable) as well as properly informed of its availability on initialization of the library.
This PR provides said requests as per Issue #642.
Feature Includes:

UWP/WinUI implemented Radio StateChanged.
Added EditorConfig for maintaining spaces/indentation

p.s.
I hope you don't mind I included the EditorConfig file. If it's an issue or out of scope, I can remove it. The intent was to help keep consistency with developer environments and this open-source project.  I removed the style ruleset which I usually keep in there.. food for thought, it might be good to add some ;)

On line 41 of BleImplementation.cs, I placed in there a 100ms wait. This is because the async Task falls through too quickly and the _radio object isn't created yet.
If anyone has a cleaner suggestion for this workaround, please, please let me know.

With regard to the Task.Run(..).Wait(20), it was found that during the app's startup BleImplementation.State gets the async operations for Radio can get a few clock cycles too late. Thus the GetInitialStateNative() returns "Unknown" and the app's ViewModel's is still constructing its event listener for StateChanged and doesn't get receive the updated status.
I tried using 10ms and lower, but it was flaky during debugging.

Sorry for the constant re-pushes. I was trying to squeeze out every clock cycle. Feel free to squish this merge if accepted 😉

Any word if this needs refactored or is good-to-go?

Hi Damian, thanks a lot for your contribution, it is highly appreciated. I'll try to review it within the next week ...

@DamianSuess : Why don't you use the methods in the windows.devices.enumeration API ?
https://learn.microsoft.com/en-us/uwp/api/windows.devices.enumeration

This PR is outdated by now and has conflicts with the current master branch. The problem may even by fixed via #746. If not, it's probably the best to open a new PR. I'll close this one for now.


Compiling error: mising '../common/netcdf.hpp'

See the following error message when running the make command:

make: *** No rule to make target '../common/netcdf.hpp', needed by 'a.out'.  Stop.

Thanks for pointing this out. I am working on it.

Thanks, @r-barnes and @giswqs.
@r-barnes: if you can send me the NetCDF library, it should be simple to include within this package... that is, unless you think that would be a bad idea for the architecture.
Is your netcdf.hpp the same as this? https://github.com/AppliedMathematicsANU/diamorse/blob/master/src/lib/netcdf.hpp

This should be fixed in the newest push. Build is now done with cmake.

Thanks, Richard!
CMAKE is complaining that:
submodules/richdem

does not contain a CMakeLists.txt file.
I copied CMakeLists.txt from the root directory there to see if that would fix, and that brought up directory-related errors in finding dephier.exe.
So... could you check that there isn't an additional CMakeLists.txt that isn't pushed?

I think this is fixed in the latest commits.


Support for creating/deploying jobs with image digests

This updates the JobValidator to accept image names that have digests, and
adds some unit tests and an integration test to make sure it all works.

@davidxia @gimaker

:+1:


ReferenceError: Headers is not defined

Tried running autodoc on a fresh repository and got this error at indexing time.
Steps to reproduce:

doc init  to create an autodoc.config.json file (contents pasted below)
Run doc index and answer yes at the prompt

Stacktrace:
ReferenceError: Headers is not defined
    at createRequest<EMAIL_ADDRESS>234:21)
    at fetchAdapter (file:///home/diwank/.fnm/node-versions/v17.9.1/installation/lib/node_modules/@context-labs/autodoc/node_modules/langchain/dist/util/axios-fetch-adapter.js:1
64:21)
    at dispatchRequest (/home/diwank/.fnm/node-versions/v17.9.1/installation/lib/node_modules/@context-labs/autodoc/node_modules/axios/lib/core/dispatchRequest.js:58:10)
    at Axios.request (/home/diwank/.fnm/node-versions/v17.9.1/installation/lib/node_modules/@context-labs/autodoc/node_modules/axios/lib/core/Axios.js:108:15)
    at Function.wrap [as request] (/home/diwank/.fnm/node-versions/v17.9.1/installation/lib/node_modules/@context-labs/autodoc/node_modules/axios/lib/helpers/bind.js:9:15)
    at /home/diwank/.fnm/node-versions/v17.9.1/installation/lib/node_modules/@context-labs/autodoc/node_modules/openai/dist/common.js:149:22
    at /home/diwank/.fnm/node-versions/v17.9.1/installation/lib/node_modules/@context-labs/autodoc/node_modules/openai/dist/api.js:1738:133
    at runNextTicks (node:internal/process/task_queues:61:5)
    at listOnTimeout (node:internal/timers:528:9)
    at processTimers (node:internal/timers:502:7)
Failed to get summary for file turbo.py

autodoc.config.json:
{
  "name": "turbo-chat",
  "repositoryUrl": "https://github.com/creatorrr/turbo-chat",
  "root": ".",
  "output": "./.autodoc",
  "llms": [
    "gpt-3.5-turbo",
    "gpt-4"
  ],
  "ignore": [
    ".*",
    "*package-lock.json",
    "*package.json",
    "node_modules",
    "*dist*",
    "*build*",
    "*test*",
    "*.svg",
    "*.md",
    "*.mdx",
    "*.toml",
    "*autodoc*"
  ]
}

doc -V
0.0.7

Possibly duplicate of #3

Upgrade to node 18 or high.

Upgrade to node 18 or high.

Fixed, it runs now but it gives [TOO MANY REQUESTS] on indexing

gotcha yeah, upgrading to node 18 fixed it. Closing


Doesn't loggout correctly - Store/Publisher both

When logout, the page keeps stucked in below view.

Reason: Browser local storage is not cleared correctly.
As an effect if logged into another user in same browser, we see the same old username as logged in user.

Fixed in APIM 3.0.0 m35


fix spark test on travis due to lack of py4j

fixes #306

Again, awesome for figuring this out! Do you mind trying one more thing: remove the line you added and change this line
export PYTHONPATH=$SPARK_HOME/python/lib/py4j-<IP_ADDRESS>-src.zip:$PYTHONPATH

to
export PYTHONPATH=$SPARK_HOME/python/lib/py4j-0.9-src.zip:$PYTHONPATH

@freeman-lab Yep, working as well!

Terrific! Let's do it this way, only because Spark technically pins the version of py4j it depends on by bundling it, which is kinda awkward, but we should follow that pattern.


How to prevent BottomSheet from swiping down completely?

How can I prevent the BottomSheet from being completely swiped down off the screen? The video shows the end-state I would like to prevent (no BottomSheet visible):
https://vimeo.com/200455034

Hi there,
just delete app:behavior_hideable="true" in NestedScrollView that is using BottomSheetBehaviorGoogleMapsLike behavior.

Thank you! That was easy ... :)


RGB 灯控 @nekomona 2021-07-23

@nekomona

[ ] ws2812 驱动移植
[ ] 实现基本灯光（能够打开与关闭）
[ ] 实现 大小写， 数字 等基础灯光显示
[ ] 实现 电源电量指示？

SPI mode WS2812 controlling in the progress -w-、

SPI mode WS2812 driver finished and controllable through firmware. Further light controlling delayed to be added as one of the RGB effect layers #18


investigate --dev on pipenv

This was removed temporarily as it is not supported by pip anymore!

@paribaker - Can you be more specific about where it was removed?
Doing a full-text search, it seems pipenv install --dev is used everywhere except init-app.sh. Also - the option should work with pipenv!


Possible limitation, or I just don’t understand something

This is a great library, thanks for sharing. However, in my use case I can't really use it, but maybe that's just because I don't understand something.
In my case, I have to watch for pan events on multiple elements. One option I have is to put the pan action on a container and manipulate the elements based on the target of the event, but this is not really a good solution for me because all the targets are complex, it would simply be too much work.
The other solution is to just place the action on each element individually. This works, but it doesn't do what I would do if I didn't use this library, because it only triggers the pointermove on the element itself.
What I would do is attach a pointerdown event to the element I want to manipulate, and when that event is triggered, I would attach a pointermove event to the window so I can move outside the element.
This library makes me attach the pointerdown and pointermove events to the same element, so I can't move outside of it.
Here is a repl which might help What I try to show in this repl is that the red box can not be moved outside of the grey box unless I attach the action only to the container in which case I need to deal with some unnecessary complexity.
I plan to fork your library to change the setPointerControls function so it accepts another node as a target for up, move and similar events but that is hard work for me since I need to understand everything that depends on this function. I thought I first should just ask you: do you think this change is easily possible or do you see problems that will appear after I made this change?

Sorry, but adding pan event on container is the right way to go. It is gesture library for a gesture recognition. You are probably looking rather for something like drag and drop. Or you simply need custom implementation.
As there is none else requesting this king of feature I am closing the issue in favour of keeping the library small with a single purpose


Escape characters not interpreted on the home page

In Your Next Challenge... section on the home page, the escape keywords are shown as it is in the Kata descriptions. For example it appears as > in the Kata description page, but in the home page it appears to be > as shown in the screenshot attached.

Duplicate of #15 and #62.

I should probably close it then. :neutral_face:

@tfKamran Well, the other issue was open for 6 months now…

@bkaestner Yeah, I was wondering why is it open since so long, doesn't look like it should take too long to be fixed... :confused:


gnu-ld unknown option "pagezero_size"

What version of Go are you using (go version)?
go version go1.11 linux/amd64
Does this issue reproduce with the latest release?
Yes, with the latest official build
What operating system and processor architecture are you using (go env)?
GOARCH="amd64"
GOCACHE="/home/me/.cache/go-build"
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOROOT="/usr/local/go"
GOTOOLDIR="/usr/local/go/pkg/tool/linux_amd64"
GCCGO="gccgo"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
CGO_CFLAGS="-g -O2"
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build020687925=/tmp/go-build -gno-record-gcc-switches"
Note:All empty variables omitted
What did you do?
I tried to cross compile a program with env GOOS=darwin GOARCH=amd64 CGO_ENABLED=1 go build. It is noteworthy that it relies on go-sdl2 which uses cgo as this does not reproduce when only using the standard library.
In this case I tried to build alienSignal.
What did you expect to see?
Not a fail.
What did you see instead?
# github.com/Pixdigit/alienSignal
/usr/local/go/pkg/tool/linux_amd64/link: running gcc failed: exit status 1
/usr/bin/x86_64-linux-gnu-ld: unknown option »-pagezero_size«
/usr/bin/x86_64-linux-gnu-ld: Use the option --help for help
collect2: error: ld returned 1 exit status
Relevant piece of code
src/cmd/link/internal/ld/lib.go

You are trying to build code on GNU/Linux that will run on Darwin, and that code uses C.  You need to use a C cross-compiler, not the native GNU/Linux C compiler.
If you don't want to use C, you will need to set CGO_ENABLED=0, which is the default when cross-compiling.
Closing because this is not something we can fix in the Go tools.

Yes.  It's not easy, though.  There's no simple or standard way to interrogate the compiler, or linker, to find out what target it supports.  But if you or anyone have any ideas on how to implement that, patches to support it would be great.


Set last written lsn for created relation

Seems reasonable, but I'm curious if the lack of this was causing some user-visible issue? Can you write a test case?

Seems reasonable, but I'm curious if the lack of this was causing some user-visible issue? Can you write a test case?

This is what I trying to create all this day. Without any success:(
This change is motivated by failure of test_parallel_copy test (#2384)
It failed to find key with relation size in get_page_at_lsn.
I tried to understand how it is possible (assuming that there is no data corruption or race condition in pageserver). I have inspected content of WAL after execution of "CREATE TABLE" command. There is only one record associated with created relation: SMGR_CREATE. But we are not update last written LSN cache.So if we try to send any request to this relation to pageserver, then we will use LSN preceeding one of SMGR_CREATE record. Compute node will specify "latest" flag, but  it can happen that it is also smaller than LSN of SMGR_CREATE.
It is not so difficult to force this scenario: just inset some sleep in ingest_xlog_smgr_create.
But what I failed to make compute to request page of this relation fro page server. We have relation size cache at compute, so we know that relation is empty and do not try to read any pages from it.
Also I wonder why test_parallel_copy may cause reading relation pages while copying data to it.

I think I just hit this bug on my PR: https://github.com/neondatabase/neon/actions/runs/3002515510

I think I just hit this bug on my PR: https://github.com/neondatabase/neon/actions/runs/3002515510

I more precisely investigated the log and almost sure that the problem is cause by lsn written cache: it is not updated after relation creation (and it is fixed by this PR).
As you can see request LSN is  0/016960E8:
asyncpg.exceptions.PostgresIOError: could not read block 3 in rel 1663/12972/16384.0 from page server at lsn 0/016960E8

and it is LSN of branch creation:
2022-09-06 21:32:27.756 INFO [neon_fixtures.py:1151] Run success: Created timeline '55a645087623b4cffacbb3336d4d2825' at Lsn 0/16960E8 for tenant: a310952299e6717aa7b9bab68c685eba. Ancestor timeline: 'empty'

So this LSN precedes moment when table is created and that it why key is not found.

The question remains, what exactly is the sequence of events here? I would've thought it goes like this:

CREATE TABLE, creates SMGR_CREATE record. Without this PR, it does not update last-written LSN
COPY extends the table from 0 to 1 pages. It calls smgrextend(), which updates the relsize cache, and also updates the last-written LSN for the block range, and for the relation (i.e. for REL_METADATA_PSEUDO_BLOCKNO).

So even if we're missing a SetLastWrittenLSNForRelation() call when the relation is created, the COPY should do it before any GetPage requests on the table are issued. What am I missing?

So even if we're missing a SetLastWrittenLSNForRelation() call when the relation is created, the COPY should do it before any GetPage requests on the table are issued. What am I missing?

This is what I do not understand myself:(
As we see, pageserver failed in get_page_at_lsn call. It means that one of parallel copy tasks  tries to load some page pf this relation.  But it means that relation shoudl be considered as non-empty i.e. was extended.
But if it is extended (smgr_extend) is called, then SetLastWrittenLsn should be called for this relation and the fact that it was not called after creation of relation doesn't matter any more.

O just realized that actually smgr_extend can be called and in turn call SetLastWrittenLSNForRelation.
But if there is no LSN stored in the mage image (PageGetLSN) then this  SetLastWrittenLSNForRelation does nothing and does not update last written LSN for this relation.
And calling ReadBuffer* with P_NEW actually initializes page with zeros.
So there is no magic here, but still any my attempt to reproduce the bug by inserting delays didn't succeed.

The strangest thing here is that this PR is setting last written LSN for the relation metadata (i.e. REL_METADATA_PSEUDO_BLOCKNO). But according to the log, the failure happens in GetPage, so last written LSN for the correspondent chunk should be used instead. It is unclear how setting LSN for relation metadata may affect it. But is it a fact there are no CI failures in this branch, although I have restarted tests more than ten times.

Three news:

(good) I managed to reliably reproduced this error.
(bad) My patches in this PR really doesn't prevent it
It is hard to write test for it.

So, as @hlinnaka  expected, the problem is related with bulk relation extension. In this case quantum of new page is allocaetd using smgr_extend with zero buffer. So it them are not wal-logged and last written LSN is not updated for them. If such page is swapped out and the accessed before SMGR_CREATE record is replayed by pageserver and some other page from this chunk is updated, then we will get this "key not found" error, because we try to retrieve page of the relation which doesn't not yet exist at pageserver. But reproducing all this conditions is very non trivial and I have spent couple of days trying to simulate stuation which rarely happens on CI and never at local runs.
So what I have to do:

Insert large sleep before self.put_rel_creation ni walingest. So it simulates situation when lagging page server is not yet replayed this record when page of this relation is accessed.

Bulk relation extension (RelationAddExtraBlocks) is used only when there are mutliple waiter: backends trying to extend relation. It just comment this logic and let RelationAddExtraBlocks always be used:

	/*
	 * If we need the lock but are not able to acquire it immediately, we'll
	 * consider extending the relation by multiple blocks at a time to manage
	 * contention on the relation extension lock.  However, this only makes
	 * sense if we're using the FSM; otherwise, there's no point.
	 */
	if (needLock)
	{
		#if 0
		if (!use_fsm)
			LockRelationForExtension(relation, ExclusiveLock);
		else if (!ConditionalLockRelationForExtension(relation, ExclusiveLock))
		#endif

and
	/* Use the length of the lock wait queue to judge how much to extend. */
	#if 0
	lockWaiters = RelationExtensionLockWaiterCount(relation);
	if (lockWaiters <= 0)
		return;
	#endif

Then I set breakpoint in GDB at the end of RelationAddExtraBlocks at let it extend relation, mark pages as free in free space map but do not fill them.

Create relation and initiate copy to it:

create table t1(x integer);
copy t1 from '/tmp/t.csv';

Backend is stopped at breakpoint.

In another session initiate another copy and  get key not found error:

copy t1 from '/tmp/t.csv';
ERROR:  could not read block 0 in rel 1663/13010/16384.0 from page server at lsn 0/0169A3F8
DETAIL:  page server returned error: could not find data for key 000000067F000032D20000400000FFFFFFFF at LSN 0/169A380, for request at LSN 0/169A488
CONTEXT:  COPY t1, line 1000

I have not checked, but looks like the problem is not caused by my last written lsn cache. It just increase probability of such error.

I wonder if I should continue attempts to create some test reproducing the problem? Looks like we need something like failpoints mechanism but now for C (for postgres code). There are actually two mechanism used to reproduce race condition bugs;

Specify particular schedule using sleeps or some other mechanism.
Repeat test many times hoping that any synchronization bug will sooner or later show up itself.
In this particular case approach 2 is not working well, because the problem can happen t the very beginning work with relation. So we need to have multiple backends trying to append data to empty (just created) relation. So we nee to organize concurrent access to the relation and contention fro the very beginning. It seems to be difficult to achieve at normal desktop or laptop. This is why the problem never reproduced locally, I am not sure what is more critical for reproducing the problem: larger number of cores or some background activity which delays backends acting as some kind of barrier.

In any case, the problem seems to be clear and this PR is fixing it (I hope: the problem is not reproduced with my manual scenario).

Ok, let's get this in.
Careful with vendor/postgres-v15! I think this PR is about to make the same mistake as commit f44afba, and changes vendor/postgres-v15 actually be v14 again.

I created 2 PRs for core part of this patch:
https://github.com/neondatabase/postgres/pull/209
https://github.com/neondatabase/postgres/pull/210
Them require approval  to be committed.
Once been compitted, I will update submodule referenes in neon repository.

Ok, let's get this in.
Careful with vendor/postgres-v15! I think this PR is about to make the same mistake as commit f44afba, and changes vendor/postgres-v15 actually be v14 again.

I created 2 PRs for core part of this patch: neondatabase/postgres#209 neondatabase/postgres#211 Them require approval to be committed. Once been commiitted, I will update submodule references in neon repository.

Approved https://github.com/neondatabase/postgres/pull/209 and opened new PR for the v15 changes at https://github.com/neondatabase/postgres/pull/212, with REL_15_STABLE_neon as the base.

Postgres core part of this PR is merged, neon part still waiting for review. Not ACID:)


Add loading bar for long processes

Add loading bar for long processes

[ ] Download CSV
[ ] Switch Urban / Rural filter ?

https://www.npmjs.com/package/react-redux-loading-bar

still needed with speed ups?


It is prompted to fill in the value even though the variable type is enum

Describe the bug
It is prompted to fill in the value even though the variable type is enum.
Steps to reproduce
Use the template: https://github.com/walrus-demo-catalog/alicloud-ecs to create a service.
Result

Environment

Walrus version:
UI: dev-e38b4ae
Server: dev-ee6f735

Fixed in v0.4.1.


Update result.rb

Refers to https://github.com/dry-rb/dry-schema/issues/24
You might want to include the proposed changes as a temporary fix

Thanks but this will be properly addressed, no need for temporary workarounds.

yes. of course, you are right


Detailed Routing should not be limited to 64 iterations

Description
Detailed Routing is currently limited to 64 iterations by limiting the max input on DRT_OPT_ITERS. This limit is problematically low, I have several designs that fail because the max iterations are hit when the number of violations is still dropping (I just had a run where the violation count dropped from 2 to 1 on the 64th iteration). Later optimization passes take a fraction of a second, and the fact that the maximum possible value is the default setting for OpenLane when calling DRT suggests that this is generally not enough.
Suggested Solution
The maximum value for DRT_OPT_ITERS should be as high as possible. This check should have its cap raised or the check should be removed if there is no affirmative reason to have it.
Additional Context
I'm not able to find a reason why this value is capped at 64 when looking through the code base, it appears arbitrary or perhaps a limitation of a tool other than tritonroute.
OpenRoad drt checks if the value passed to droute_end_iter is in the range [1,64] and rejects other values.
The value of droute_end_iter is passed to tritonroute through this detailed route cmd, which parses it into END_ITERATION
Tritonroute does not seem to have any apparent limitation above 64 iterations, in fact the default value of  END_ITERATION in tritonroute is actually 80, but the wrapper scripts will reject any value above 64.

There's actually a simple reason for the limit, which is that each iteration is a different "strategy" and there are only 64 different strategies coded into DRT:
https://github.com/The-OpenROAD-Project/OpenROAD/blob/0074941fb9569768fff3be72e2b6b01d5b142196/src/drt/src/dr/FlexDR.cpp#L958-L1031
After 64 iterations, there are no more strategies to try. One could add more strategies, but there are severe diminishing returns for adding more strategies. If there are still violations after 64 iterations, then it's more likely that there are algorithmic improvements that need to be made to the router (or that the design's routability is infeasible).
There's lots of room for improvement in the router, but it's a complex and challenging issue.
If you have a specific test case that you are able to share, someone might be able to see if there's a systemic issue with the router (e.g. a bug, poor support for a specific DRC rule, unexpected corner case etc.) or if there's no clear problem other than the design's density is too high.

Note that the standalone TritonRoute repo is an archive and all current development happens in the drt module of OR.

I think this has been answered.  There is no plan for more iterations.


Chrome Extension

A few users of the iOS application have asked for a version of ToneBoard available for macOS or as a Chrome extension. I initially thought the native macOS option was preferable, but after exploring both options, I think a Chrome extension is preferable.
The main reason is that many users use ToneBoard with apps like Duolingo which switch rapidly between e.g. input in Chinese and English. There is no way to tell in an OS input method what kind of web content a user is interacting with. However, in a Chrome extension, it is possible to see whether the currently active input has something like a lang="zh" property (this is the case for Duolingo Chinese input boxes). This makes for a very convenient experience where the input method is automatically selected as in the iOS application.
The extension is actually mostly implemented now, and available in the repo in "/chrome/extension" for anyone who wants to try it. It can be installed as an unpacked extension. That said, I will keep this issue open until the extension is available in the Chrome Web Store.

I'll mark this as done for now, as the extension is in the Chrome Web Store now. However, I definitely want to add things like contenteditable support so that it can work in things like Google Docs/Gmail before I consider it "really done".


Error in tuyapi

I have 4 tuya bulbs.
When I active theses bulbs, nodered fails and stops.
I have this message in the log :
[error] TypeError: Cannot read properties of undefined (reading 'payload')
2024-03-23T17:14:38.587789678Z     at Socket. (/data/node_modules/tuyapi/index.js:985:30)
2024-03-23T17:14:38.587806419Z     at Socket.emit (node:events:513:28)
2024-03-23T17:14:38.587819678Z     at UDP.onMessage [as onmessage] (node:dgram:930:8)
I use the version 5.2 of the node.
Can you help ?
Thank you

i have the same probleme, an idea ?

I have the same issue. In the version of tuyapi that this repo uses, the problem is caused by a prefix error that I managed to surface.
TypeError: Prefix does not match:<PHONE_NUMBER>000000000000000013000000ef18e50e3166d903b212dcf474d350b9a60368c20de852a60f097eb08cd2cebfc4be6b061d7fc95d05354ad9b981024152cdce6119eb5df16718edc92aab320bf14af2c184d11c7d1ec1b54de7e21c34830a65e71af2332474f5c280bc4e7962288228df3bc8f71aba9c24739310477bee094becd986db3eb01a5cfc33b25150c8a2e3928443591e5a678aa04021bc8c3a89a2e2868a65c6c81bb28c24e41900f21dff928125dbf50c0a1a3e2ca21c87825d45e13c9911905dae6b039b3d147e228fd660d78829fa481ac5efba580b557653080d8fad6bd094499092f13c8296f3341d333141006fc4d77c611a12306400009966
    at MessageParser.parsePacket (/home/iain/.node-red/node_modules/tuyapi/lib/message-parser.js:113:13)
    at MessageParser.parseRecursive (/home/iain/.node-red/node_modules/tuyapi/lib/message-parser.js:238:25)
    at MessageParser.parse (/home/iain/.node-red/node_modules/tuyapi/lib/message-parser.js:259:17)
    at Socket.<anonymous> (/home/iain/.node-red/node_modules/tuyapi/index.js:976:26)
    at Socket.emit (node:events:517:28)
    at Socket.emit (node:domain:489:12)
    at UDP.onMessage [as onmessage] (node:dgram:942:8)

This particular issue is fixed in the latest version of tuyapi and the new prefix is handled: https://github.com/codetheweb/tuyapi/blob/master/lib/message-parser.js#L114-L116
However - a further error is thrown when tuyapi tries to process the data from these devices. I have raised an issue over there which will need to be fixed before dependencies are updated here. https://github.com/codetheweb/tuyapi/issues/676
Happy to help where I can - but I lack the development chops to be able to figure this one out by myself.


Active directory windows

Laravel Version: 5.7
Adldap2-Laravel Version: #.#
PHP Version: 7
LDAP Type:

Hi i am new and i setup ldap authentication in my project laravel. I set all setting and the ldap work with the testing credentials (eulero, riemann) but if i set the setting of my active directory the ldap doesn't work. How can i do to setup windows active directory account? I insert all parameters. What are the steps?

Hi @annibale93,
Please read the quick start and other authentication setup documentation.


Song not downloading

Everything works but when i paste the yt link and click download my game freezes for a couple secs and then it tabs out of GD. But thats it and the song isnt downloaded

Same(((


Error installing with sh with macOS Sonoma

I kept getting error when installing into macOS Sonoma. Can this work without NVidia?
source install.sh
install.sh:3: command not found: module
install.sh:4: command not found: module
install.sh:5: command not found: module
Requirement already satisfied: torch in ./venv_magic123/lib/python3.10/site-packages (2.0.1)
Requirement already satisfied: torchvision in ./venv_magic123/lib/python3.10/site-packages (0.15.2)
Requirement already satisfied: filelock in ./venv_magic123/lib/python3.10/site-packages (from torch) (3.12.2)
Requirement already satisfied: typing-extensions in ./venv_magic123/lib/python3.10/site-packages (from torch) (4.7.1)
Requirement already satisfied: sympy in ./venv_magic123/lib/python3.10/site-packages (from torch) (1.12)
Requirement already satisfied: networkx in ./venv_magic123/lib/python3.10/site-packages (from torch) (3.1)
Requirement already satisfied: jinja2 in ./venv_magic123/lib/python3.10/site-packages (from torch) (3.1.2)
Requirement already satisfied: numpy in ./venv_magic123/lib/python3.10/site-packages (from torchvision) (1.25.2)
Requirement already satisfied: requests in ./venv_magic123/lib/python3.10/site-packages (from torchvision) (2.31.0)
Requirement already satisfied: pillow!=8.3.*,>=5.3.0 in ./venv_magic123/lib/python3.10/site-packages (from torchvision) (10.0.0)
Requirement already satisfied: MarkupSafe>=2.0 in ./venv_magic123/lib/python3.10/site-packages (from jinja2->torch) (2.1.3)
Requirement already satisfied: charset-normalizer<4,>=2 in ./venv_magic123/lib/python3.10/site-packages (from requests->torchvision) (3.2.0)
Requirement already satisfied: idna<4,>=2.5 in ./venv_magic123/lib/python3.10/site-packages (from requests->torchvision) (3.4)
Requirement already satisfied: urllib3<3,>=1.21.1 in ./venv_magic123/lib/python3.10/site-packages (from requests->torchvision) (2.0.4)
Requirement already satisfied: certifi>=2017.4.17 in ./venv_magic123/lib/python3.10/site-packages (from requests->torchvision) (2023.7.22)
Requirement already satisfied: mpmath>=0.19 in ./venv_magic123/lib/python3.10/site-packages (from sympy->torch) (1.3.0)
Collecting git+https://github.com/NVlabs/nvdiffrast/ (from -r requirements.txt (line 35))
  Cloning https://github.com/NVlabs/nvdiffrast/ to /private/var/folders/dd/6tfdfc6x5pz37mrm2msqyc9r0000gn/T/pip-req-build-n620rpyy
  Running command git clone --filter=blob:none --quiet https://github.com/NVlabs/nvdiffrast/ /private/var/folders/dd/6tfdfc6x5pz37mrm2msqyc9r0000gn/T/pip-req-build-n620rpyy
  Resolved https://github.com/NVlabs/nvdiffrast/ to commit c5caf7bdb8a2448acc491a9faa47753972edd380
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Collecting git+https://github.com/openai/CLIP.git (from -r requirements.txt (line 45))
  Cloning https://github.com/openai/CLIP.git to /private/var/folders/dd/6tfdfc6x5pz37mrm2msqyc9r0000gn/T/pip-req-build-nuhso61n
  Running command git clone --filter=blob:none --quiet https://github.com/openai/CLIP.git /private/var/folders/dd/6tfdfc6x5pz37mrm2msqyc9r0000gn/T/pip-req-build-nuhso61n
  Resolved https://github.com/openai/CLIP.git to commit a1d071733d7111c9c014f024669f959182114e33
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Collecting git+https://github.com/ashawkey/cubvh (from -r requirements.txt (line 55))
  Cloning https://github.com/ashawkey/cubvh to /private/var/folders/dd/6tfdfc6x5pz37mrm2msqyc9r0000gn/T/pip-req-build-mv3wxooq
  Running command git clone --filter=blob:none --quiet https://github.com/ashawkey/cubvh /private/var/folders/dd/6tfdfc6x5pz37mrm2msqyc9r0000gn/T/pip-req-build-mv3wxooq
  Resolved https://github.com/ashawkey/cubvh to commit d3e923c90e56974d39f57c2e2b9bf372d2e45870
  Installing build dependencies ... done
  Getting requirements to build wheel ... error
  error: subprocess-exited-with-error

  × Getting requirements to build wheel did not run successfully.
  │ exit code: 1
  ╰─> [17 lines of output]
      Traceback (most recent call last):
        File "/Users/jimmygunawan/Magic123/venv_magic123/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
          main()
        File "/Users/jimmygunawan/Magic123/venv_magic123/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
          json_out['return_val'] = hook(**hook_input['kwargs'])
        File "/Users/jimmygunawan/Magic123/venv_magic123/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 118, in get_requires_for_build_wheel
          return hook(config_settings)
        File "/private/var/folders/dd/6tfdfc6x5pz37mrm2msqyc9r0000gn/T/pip-build-env-1age28hp/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 341, in get_requires_for_build_wheel
          return self._get_build_requires(config_settings, requirements=['wheel'])
        File "/private/var/folders/dd/6tfdfc6x5pz37mrm2msqyc9r0000gn/T/pip-build-env-1age28hp/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 323, in _get_build_requires
          self.run_setup()
        File "/private/var/folders/dd/6tfdfc6x5pz37mrm2msqyc9r0000gn/T/pip-build-env-1age28hp/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 487, in run_setup
          super(_BuildMetaLegacyBackend,
        File "/private/var/folders/dd/6tfdfc6x5pz37mrm2msqyc9r0000gn/T/pip-build-env-1age28hp/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 338, in run_setup
          exec(code, locals())
        File "<string>", line 3, in <module>
      ModuleNotFoundError: No module named 'torch'
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.
Processing ./raymarching
  Installing build dependencies ... done
  Getting requirements to build wheel ... error
  error: subprocess-exited-with-error

  × Getting requirements to build wheel did not run successfully.
  │ exit code: 1
  ╰─> [17 lines of output]
      Traceback (most recent call last):
        File "/Users/jimmygunawan/Magic123/venv_magic123/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
          main()
        File "/Users/jimmygunawan/Magic123/venv_magic123/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
          json_out['return_val'] = hook(**hook_input['kwargs'])
        File "/Users/jimmygunawan/Magic123/venv_magic123/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 118, in get_requires_for_build_wheel
          return hook(config_settings)
        File "/private/var/folders/dd/6tfdfc6x5pz37mrm2msqyc9r0000gn/T/pip-build-env-82p7d66s/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 341, in get_requires_for_build_wheel
          return self._get_build_requires(config_settings, requirements=['wheel'])
        File "/private/var/folders/dd/6tfdfc6x5pz37mrm2msqyc9r0000gn/T/pip-build-env-82p7d66s/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 323, in _get_build_requires
          self.run_setup()
        File "/private/var/folders/dd/6tfdfc6x5pz37mrm2msqyc9r0000gn/T/pip-build-env-82p7d66s/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 487, in run_setup
          super(_BuildMetaLegacyBackend,
        File "/private/var/folders/dd/6tfdfc6x5pz37mrm2msqyc9r0000gn/T/pip-build-env-82p7d66s/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 338, in run_setup
          exec(code, locals())
        File "<string>", line 3, in <module>
      ModuleNotFoundError: No module named 'torch'
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.
Processing ./shencoder
  Installing build dependencies ... done
  Getting requirements to build wheel ... error
  error: subprocess-exited-with-error

  × Getting requirements to build wheel did not run successfully.
  │ exit code: 1
  ╰─> [17 lines of output]
      Traceback (most recent call last):
        File "/Users/jimmygunawan/Magic123/venv_magic123/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
          main()
        File "/Users/jimmygunawan/Magic123/venv_magic123/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
          json_out['return_val'] = hook(**hook_input['kwargs'])
        File "/Users/jimmygunawan/Magic123/venv_magic123/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 118, in get_requires_for_build_wheel
          return hook(config_settings)
        File "/private/var/folders/dd/6tfdfc6x5pz37mrm2msqyc9r0000gn/T/pip-build-env-na2dcujd/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 341, in get_requires_for_build_wheel
          return self._get_build_requires(config_settings, requirements=['wheel'])
        File "/private/var/folders/dd/6tfdfc6x5pz37mrm2msqyc9r0000gn/T/pip-build-env-na2dcujd/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 323, in _get_build_requires
          self.run_setup()
        File "/private/var/folders/dd/6tfdfc6x5pz37mrm2msqyc9r0000gn/T/pip-build-env-na2dcujd/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 487, in run_setup
          super(_BuildMetaLegacyBackend,
        File "/private/var/folders/dd/6tfdfc6x5pz37mrm2msqyc9r0000gn/T/pip-build-env-na2dcujd/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 338, in run_setup
          exec(code, locals())
        File "<string>", line 3, in <module>
      ModuleNotFoundError: No module named 'torch'
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.
Processing ./freqencoder
  Installing build dependencies ... done
  Getting requirements to build wheel ... error
  error: subprocess-exited-with-error

  × Getting requirements to build wheel did not run successfully.
  │ exit code: 1
  ╰─> [17 lines of output]
      Traceback (most recent call last):
        File "/Users/jimmygunawan/Magic123/venv_magic123/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
          main()
        File "/Users/jimmygunawan/Magic123/venv_magic123/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
          json_out['return_val'] = hook(**hook_input['kwargs'])
        File "/Users/jimmygunawan/Magic123/venv_magic123/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 118, in get_requires_for_build_wheel
          return hook(config_settings)
        File "/private/var/folders/dd/6tfdfc6x5pz37mrm2msqyc9r0000gn/T/pip-build-env-0eb_k0w3/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 341, in get_requires_for_build_wheel
          return self._get_build_requires(config_settings, requirements=['wheel'])
        File "/private/var/folders/dd/6tfdfc6x5pz37mrm2msqyc9r0000gn/T/pip-build-env-0eb_k0w3/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 323, in _get_build_requires
          self.run_setup()
        File "/private/var/folders/dd/6tfdfc6x5pz37mrm2msqyc9r0000gn/T/pip-build-env-0eb_k0w3/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 487, in run_setup
          super(_BuildMetaLegacyBackend,
        File "/private/var/folders/dd/6tfdfc6x5pz37mrm2msqyc9r0000gn/T/pip-build-env-0eb_k0w3/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 338, in run_setup
          exec(code, locals())
        File "<string>", line 3, in <module>
      ModuleNotFoundError: No module named 'torch'
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.
Processing ./gridencoder
  Installing build dependencies ... done
  Getting requirements to build wheel ... error
  error: subprocess-exited-with-error

  × Getting requirements to build wheel did not run successfully.
  │ exit code: 1
  ╰─> [17 lines of output]
      Traceback (most recent call last):
        File "/Users/jimmygunawan/Magic123/venv_magic123/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
          main()
        File "/Users/jimmygunawan/Magic123/venv_magic123/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
          json_out['return_val'] = hook(**hook_input['kwargs'])
        File "/Users/jimmygunawan/Magic123/venv_magic123/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 118, in get_requires_for_build_wheel
          return hook(config_settings)
        File "/private/var/folders/dd/6tfdfc6x5pz37mrm2msqyc9r0000gn/T/pip-build-env-l43uv26q/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 341, in get_requires_for_build_wheel
          return self._get_build_requires(config_settings, requirements=['wheel'])
        File "/private/var/folders/dd/6tfdfc6x5pz37mrm2msqyc9r0000gn/T/pip-build-env-l43uv26q/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 323, in _get_build_requires
          self.run_setup()
        File "/private/var/folders/dd/6tfdfc6x5pz37mrm2msqyc9r0000gn/T/pip-build-env-l43uv26q/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 487, in run_setup
          super(_BuildMetaLegacyBackend,
        File "/private/var/folders/dd/6tfdfc6x5pz37mrm2msqyc9r0000gn/T/pip-build-env-l43uv26q/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 338, in run_setup
          exec(code, locals())
        File "<string>", line 3, in <module>
      ModuleNotFoundError: No module named 'torch'
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.

only support nvidia cuda


Dir arrows not functioning properly

Using any of these in .vimrc
let g:NERDTreeDirArrowExpandable = ' '
let g:NERDTreeDirArrowCollapsible = ' '

Or
let g:NERDTreeDirArrowExpandable = ''
let g:NERDTreeDirArrowCollapsible = ''

causes NERDTree not to expand after two levels.

On the other hand, using
let g:NERDTreeDirArrowExpandable = '+'
let g:NERDTreeDirArrowCollapsible = '-'

causes
E16: Invalid range
E16: Invalid range
E475: Invalid argument: NERDTreeFile  #^[^"\.-+] *[^-+]*# contains=NERDTreeLink,NERDTreeRO,
NERDTreeBookmark,NERDTreeExecFile

I had the same issue. As a temporary solution, I've been using "X" for Exapandable and "O" for Collapsible.
Looking at the way the regular expression (#^[^"\.-+] *[^-+]*#) is being generated here, it would break the generation to use the - character.
Within [ ]'s, the - is a protected character meaning "a range of characters" (like 0-9, a-z, etc). Since, the expansion doesn't worry about escaping (that is to inform the code that this letter is used as-is by prepending a \), using the - as either the expanding or collapsing character would be no good. In fact, any regex special character or term would be a bad choice.
I don't really know any vimscript, so I can't fix it, but that's the (or an) issue methinks.

Please bring back the option
let g:NERDTreeDirArrows=0
This used to work fine, now it's gone, not sure why it was removed.

on the latest version, same error. annoying
Error detected while processing dotfiles/vim/plugged/nerdtree/syntax/nerdtree.vim:
line   31:
E16: Invalid range
E475: Invalid argument: NERDTreeFile  #^[^".-+] [^-+]# contains=NERDTreeLink,NERDTreeRO,NERDTreeBookmark,NERDTr
eeExecFile

Namaste Folks,
Firstly, Congo on awesome work!!
I faced similar issues as elicited above but upon mapping to '>' and '<' things seem to be working fine.
Happy coding!

I'm really waiting this to be fixed.

+1

I created a PR to address this issue, it just never got a +1 or was merged in.
You can see it here: https://github.com/scrooloose/nerdtree/pull/548

I have the same issue and @adityanatraj's PR here solved my problem. All you have to do is find the following line
let s:dirArrows = escape(g:NERDTreeDirArrowCollapsible, '~').escape(g:NERDTreeDirArrowExpandable, '~')
in nerdtree/syntax.vim file and change it to
let s:dirArrows = escape(g:NERDTreeDirArrowCollapsible, '~]\-').escape(g:NERDTreeDirArrowExpandable, '~]\-')
This will fix the issue.


[View Info via MetaMask] Unable to Print Paper Wallet

Description of the Issue
When going to "View Info" and connecting via MetaMask, pressing the "Print Paper Wallet" button is unresponsive.
Steps to Reproduce

Go to https://mycrypto.com/#view-wallet-info
Click MetaMask/Mist (issue cannot be reproduced when viewing via Keystore or Private Key)
Connect to MetaMask, and go to your wallet info
Click "Print Paper Wallet."

Description of Your Machine
Google Chrome Version 65.0.3325.181 (Official Build) (64-bit)
MacOS High Sierra Version 10.13.3 (17D47)
Console Logs / Screenshots
n/a

Closing issue - I forgot that the private key isn't even exposed to us when using MetaMask so there's no way it can generate a paper wallet properly.


CNV-38819: Update CPU usage metric name

📝 Description
The kubevirt_vmi_cpu_usage_seconds metric was updated to kubevirt_vmi_cpu_usage_seconds_total in 4.14. This PR updates the UI to match.
jira: https://issues.redhat.com//browse/CNV-38819
🎥 Screenshots
Before
VM Overview

Top Consumers

After
VM Overview

Top Consumers

/lgtm


Configure session expiration?

The cookie created with setUserSession is configured to expire with the browser session.
How do I persist the cookie for a longer time?

Updated the readme to explain how to: https://github.com/Atinux/nuxt-auth-utils?tab=readme-ov-file#configuration
Basically like this:
export default defineNuxtConfig({
  modules: ['nuxt-auth-utils'],
  runtimeConfig: {
    session: {
      maxAge: 60 * 60 * 24 * 7 // 1 week
    }
  }
})


ci: introduce typo check

Since this has been merged, this ci should be ported to other client repos.
@zhiheng123 @Chenxulin97 @hiiiik


Getting error when changing parenthesis position

Description
I am getting an error if I change the line of parenthesis after the return statement
Steps to reproduce
Start a basic react app using typescript template
React Native Version
0.74.1
Affected Platforms
Runtime - Desktop
Output of npx react-native info
System:
  OS: Windows 10 10.0.19045
  CPU: (8) x64 11th Gen Intel(R) Core(TM) i5-1135G7 @ 2.40GHz
  Memory: 4.90 GB / 15.74 GB
Binaries:
  Node:
    version: 20.12.2
    path: C:\Program Files\nodejs\node.EXE
  Yarn: Not Found
  npm:
    version: 10.5.0
    path: C:\Program Files\nodejs\npm.CMD
  Watchman: Not Found
SDKs:
  Android SDK: Not Found
  Windows SDK: Not Found
IDEs:
  Android Studio: Not Found
  Visual Studio:
    - 17.9.34723.18 (Visual Studio Community 2022)
Languages:
  Java: 17.0.10
  Ruby: Not Found
npmPackages:
  "@react-native-community/cli": Not Found
  react:
    installed: 18.3.1
    wanted: ^18.3.1
  react-native: Not Found
  react-native-windows: Not Found
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: Not found
  newArchEnabled: Not found
iOS:
  hermesEnabled: Not found
  newArchEnabled: Not found

Stacktrace or Logs
N/A

Reproducer
https://github.com
Screenshots and Videos

'App' cannot be used as a JSX component.
Its type '() => void' is not a valid JSX element type.
Type '() => void' is not assignable to type '(props: any, deprecatedLegacyContext?: any) => ReactNode'.
Type 'void' is not assignable to type 'ReactNode'.


chore(deps): update module github.com/terraform-ibm-modules/ibmcloud-terratest-wrapper to v1.8.3

This PR contains the following updates:

Package
Type
Update
Change

github.com/terraform-ibm-modules/ibmcloud-terratest-wrapper
require
minor
v1.5.3 -> v1.8.3

Release Notes

terraform-ibm-modules/ibmcloud-terratest-wrapper
v1.8.3
Compare Source
Bug Fixes

deps: update gomod (#461) (9a64e39)

v1.8.2
Compare Source
Bug Fixes

deps: update module github.com/go-git/go-git/v5 to v5.6.1 (#458) (6155d22)

v1.8.1
Compare Source
Bug Fixes

bug when getting output and value is not a string  (#442) (ed64362)

v1.8.0
Compare Source
Features

add load from yaml (#441) (d0d6450)

v1.7.1
Compare Source
Bug Fixes

deps: update gomod (#440) (299c11a)

v1.7.0
Compare Source
Features

Validate terraform Outputs (#433) (2f21c4f)

v1.6.1
Compare Source
Bug Fixes

deps: update gomod (#432) (882761c)

v1.6.0
Compare Source
Features

add skip test setup and teardown (f06c28f)

v1.5.8
Compare Source
Bug Fixes

deps: update gomod (#425) (0984a7a)

v1.5.7
Compare Source
Bug Fixes

deps: update module github.com/stretchr/testify to v1.8.2 (#415) (36219f2)

v1.5.6
Compare Source
Bug Fixes

deps: update gomod (#414) (b333927)

v1.5.5
Compare Source
Bug Fixes

deps: update module github.com/ibm/go-sdk-core/v5 to v5.12.2 (#410) (36542ab)

v1.5.4
Compare Source
Bug Fixes

deps: update module github.com/gruntwork-io/terratest to v0.41.11 (#396) (eaffd6d)

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

:tada: This PR is included in version 3.1.0 :tada:
The release is available on:

GitHub release
v3.1.0

Your semantic-release bot :package::rocket:


Change marker position when markercluster layer is unmount from map overlay layers.

Hi, sometimes I need temporary unmount markercluster layer from overlay layers. When markercluster layer is unmount, asynchronous event change lat, lon for markers. Then, when I again mount markercluster layer to overlay layers, occurs exception: TypeError: Can not read property '_Zoom' of undefined.
I attach JSFiddle example:
https://jsfiddle.net/q9a6eaya/
Reproduce behavior:

Uncheck Group
Change Position
Check Group

How can I proceed, when markercluster layer is unmount and asynchoronous event changig markers position in markercluster layer?
Thaks

Ok taking a look, progress so far:
When the marker is moved we add it to our to remove list.
When we are added to the map again, we try remove the marker, but we fail to as it is in a different location (we fail in _removeFromGridUnclustered).
This leads to us trying to cluster the marker with itself.
We probably need to record the position the marker was moved from and remove it from that somehow.

Have pushed up a fix for this, please test it out in your app and report back.
There is a built version here:
https://gist.github.com/danzel/e3f170316fd8473f7b2188f85aa44357

danzel, thank you for your interest, but it does not work on multiple markers / groups.
jsfiddle example with many markers / groups:
https://jsfiddle.net/q9a6eaya/3/

Thanks! Changed the fix so that it properly handles this situation.
https://jsfiddle.net/q9a6eaya/6/ has the updated code.

It works, thanks to danzel. :-)

Awesome, released as 1.0.3

setLatLng is not working with CircleMarker, please any fix can be done for CircleMarker or canvas?


Gogs backup directory

Gogs version (or commit ref): <IP_ADDRESS>9
Git version: 2.11.0
Operating system: Debian 9.1
Database (use [x]):

[ ] PostgreSQL
[ x] MySQL (MariaDB)
[ ] MSSQL
[ ] SQLite

Can you reproduce the bug at https://try.gogs.io:

[ ] Yes (provide example URL)
[ ] No
[ x] Not relevant

Log gist (usually found in log/gogs.log):

Description
I can't find a way to change the backup directory, for example I want the .zip files to be backed up to /var/backups/gogs/ when I run ./gogs backup
Is this currently possible? I can't see any documentation/issues regarding this.
Thanks

this should help you: ./gogs backup -h

--target value             Target directory path to save backup archive (default: "./")

Thanks


python3Packages.django-apscheduler: init at 0.7.0

Things done
Hey @onny in the process of packaging khoj, it needs this django-apscheduler dependency. The tests keep on failing with apps are not ready. I've never used django in my life, but you seem to have packaged quite a few django related things. If you have a moment and understand what the error is with this package, I would appreciate a few pointers. No worries if you don't have time.

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] 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/)
25.05 Release Notes (or backporting 24.11 and 25.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

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

This works for me :)
diff --git a/pkgs/development/python-modules/django-apscheduler/default.nix b/pkgs/development/python-modules/django-apscheduler/default.nix
index 15d76b029473..246a620e7a12 100644
--- a/pkgs/development/python-modules/django-apscheduler/default.nix
+++ b/pkgs/development/python-modules/django-apscheduler/default.nix
@@ -9,6 +9,7 @@
   apscheduler,
   # tests
   pytestCheckHook,
+  pytest-django,
 }:

 buildPythonPackage rec {
@@ -35,6 +36,7 @@ buildPythonPackage rec {

   nativeCheckInputs = [
     pytestCheckHook
+    pytest-django
   ];

   env.DJANGO_SETTINGS_MODULE = "tests.settings";

@onny thank you!


Module build failed: SyntaxError: 'with' in strict mode

i use vue-multiselect v2.0.0-beta.9.
looks like it is no problem to usestrict.
{ [Error: ./~/vue-multiselect/lib/vue-multiselect.min.js
Module build failed: SyntaxError: 'with' in strict mode (1:29119)

This is a common problem, with no known solution yet.
A workaround this will be using import Multiselect from 'vue-multiselect/lib/Multiselect.vue'

thanks @shentao .


Google Maps API warning: NoApiKeys

Hello,
Warning since few days :
Google Maps API warning: NoApiKeys https://developers.google.com/maps/documentation/javascript/error-messages#no-api-keys

@tyrants Google's Place Autocomplete API documentation states that you need to include your API key in the script tag:
<script src="https://maps.googleapis.com/maps/api/js?key=YOUR_API_KEY&libraries=places">

Oh my bad, I thought it was a script call Included in the package -_-

Thanks for bringing this up as the example needs an update.  :)
Will reopen to have this as a todo.
And thanks for clarifying, @dyba.

@dyba Is there any option to do it in the npm way. We can't use script tag there

@balogic You have to pass it to your Google Maps instance when initializing. This component can get the Google Maps instance via a property googleMaps. How to pass it in depends on the component you’re using for the Google Map.


Auto-enable capabilities needed for eye tracking

Describe the problem
Work is being done in the MRTK to try and automatically enable the app capabilities (permissions) necessary for services to work. On HoloLens 2, a special capability called 'Gaze Input' is needed, but that capability is not currently being set when eye tracking is enabled.
This is mainly due to #4193 which is currently out of our control, but it could be possible to work around this issue with a post-build step.
Describe the solution you'd like
Ideally we should work with Unity to address the missing capability from the interface and then turn that capability on as we do with all other services. If that is not possible, we should implement it as a post-build step.

Assigning this to @wiwei based on #4193

See https://github.com/microsoft/MixedRealityToolkit-Unity/pull/4234 - I opted to make this a help text around the setting, rather than additional magic. I'm concerned that we already have a large amount of automagic in the toolkit, and additional stuff increases this automatic complexity.

Thanks for the work @wiwei. However, just adding help text isn't sufficient. We're in Berlin right now and partners are already struggling with this. In fact, one user created a PowerShell script that he could use as part of his automated build just to make sure this capability gets set. I don't feel that help text is enough. We either need to do something to modify the manifest or we need to push to get this surfaced in Unity so we can enable it as we do for all other capabilities.
I'm going to open this issue again. We can discuss in next weeks MRTK shiproom (I won't be able to make it this week due to the hacks).
Thanks!

We have precedent elsewhere in MRTK, Kurtis pointed me here: https://github.com/microsoft/MixedRealityToolkit-Unity/blob/895c408b9c58703ebd7b2748191678f574aaa877/Assets/MixedRealityToolkit.Providers/WindowsVoiceInput/WindowsSpeechInputProvider.cs#L68
We should resolve this one way or the other for all capabilities.

A friend at Unity just informed me that they were able to get the GazeInput capability surfaced in Unity 2019.3.

It would be great to finally update the eye tracking service to automatically turn on the capability if running on 2019.3+

Let me check if we are also getting this fix into Unity 2018.4

@Yoyozilla any new info on ingestion into Unity 2018.4. If Unity doesn't surface the API, that will make it trickier.
FYI @jbienzms and all, the MRTK build window can auto-add the Gaze Input capability since it builds the manifest itself:

Thanks @Troy-Ferrell. The stated goal was that whenever any core MRTK service was "enabled" it should also enable any UWP capabilities that are dependencies for it to function. Eye Gaze was the only service that was not able to follow this rule because it was the only one that didn't have its related capability surfaced through the Unity editor. While I appreciate the check in the build window, I don't believe that helps enforce the goal of having each service ensure its related capabilities are enabled.


🐛 Expansive Embed not Splitting Pages Correctly

Describe the bug
A clear and concise description of what the bug is.
Expansive Embed does not take into account the title, or other static attributes of the menu, so it will always cross the threshold.
To Reproduce
Steps to reproduce the behavior:

Submit template file causing the behavior
Submit the code that you are using to run it

<discord>
    <expansive key="test">
        <title>Test Title</title>
        <colour>magenta</colour>
        <expansive_field>
            <name>Page</name>
            <value>{% for c in range(1024) %}c{% endfor %}</value>
        </expansive_field>
    </expansive>
</discord>

Expected behavior
A clear and concise description of what you expected to happen.
For the character count to be subtracted by static elements
Screenshots
If applicable, add screenshots to help explain your problem.
Server Platform (if relevant)

[x] Windows
[x] MacOS
[x] Linux

Viewing Platform

[x] Windows
[x] MacOS
[x] Linux
[x] iOS
[x] Android

Additional context
Add any other context about the problem here.

To remedy this issue, we will change it become Expansive Embed rather than just the field, so that the entire embed can get access to the Page number key, as well

Fixed in #162


Combine functional and sequential

Hi,
I have two sequential models, pretrained, and I want to combine them. I think that the most intuitive way would be with the functional API. So, I tried the following:
with open(model_1_name) as f:     model_1 = model_from_json(f.read())
with open(model_2_name) as f: model_2 = model_from_json(f.read())

model_1_layers = model_1.layers
overall_input = Input(shape=(None, 40), name='overall_input')

lstm = model_1_layers[0](overall_input)

for layer_index in range(1, len(model_1_layers)): lstm = model_1_layers[layer_index](lstm)

on_top = LSTM(61, return_sequences=True, name='on_top')(lstm)

model_2_layers = model_2.layers
model_2_layer_0 = model_2_layers[0]
on_top = model_2_layer_0(on_top)
model = Model(input=nn_input, output=on_top)
First of all I do not know if this is the correct programmatical way to combine two, pre-trained, sequential models into one.
If the above way is a, or the, correct one, then keras assigns the overall_input as input to the model_2_layer_0 layer.
Any ideas and/or solutions?
Thnx!

Not sure if this would work for you, but here it explains how to convert from one type to the other. I couldn't do it tho, because get_config returns a json, and from_config seems to expect a list...


Update sql-database-get-started-sql-data-sync.md

Corrected a rendering issue with a sub-header

Hi @deneha, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!

This seems like a small (but important) contribution, so no contribution license agreement is required at this point. Real humans will now evaluate your PR.

TTYL, AZPRBOT;

The pull request shows more diffs than I actually did.  I just changed an issue with how Step 4c was rendering.


[Enhancement] Mobile Responsiveness of Home Page

Description:
Line is overflowing on some mobile screen sizes and also may we can center the personalized style components

can I work on these?


quiet ignore files in eslint

https://github.com/eslint/eslint/issues/5623

https://github.com/Canner/eslint-gitstatus/commit/17604c3d70b1d27059726363134b6d14f7c9f829

So what was done here and how to use it? A description would be very helpful...

@lukas-gitl create a .eslintignore file, eslint-gitstaged will ignore the files and folders.   https://eslint.org/docs/user-guide/configuring#ignoring-files-and-directories.


Looks cool. What license is it under?

I assume you've got this under the Apache 2, following what CO.js does
https://github.com/thegreenwebfoundation/co2.js
They provide a pretty good example to follow.

thanks @mgifford! didnt even consider adding a license for this since it was a web project. i typiecally use MIT for my projects. ill go ahead and add one :) thanks for asking!


Gradient as Primary

Feature request type
Enhance component
Component name
No response
Is your feature request related to a problem?
You can't currently set a gradient to be used as a primary colour.
Describe the solution you'd like
Add properties under Palette to support PrimaryGradient (for all the colours), then at a component level let us set ColorType="ColorType.Gradient" to switch to using the gradient.
Have you seen this feature anywhere else?
Not in this exact way but Blazorise supports gradients.
Describe alternatives you've considered
There isn't really an elegant way to modify all of the elements using the primary colour and converting to a gradient based approach, be it for text or background.
Pull Request

[ ] I would like to do a Pull Request

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Gradient is on my list for the new themeprovider / theme overhaul i will try put togheter a list later on.

Awesome thank you


Switch to container-based Travis CI infrastructure

This gets us off the legacy build system, which means
that the builds will start more quickly and also likely
run more quickly (and with more consistent build times).
See https://docs.travis-ci.com/user/migrating-from-legacy.

I'm going to go ahead and merge this since there have been no strident disagreements in the past—ahem—year and a half :)


Add ollama support

I wanted to add local GPU LLM to zsh-llm-suggestions.  Here is an attempt.
After installing https://github.com/ollama/ollama, and starting it...
$ ./zsh-llm-suggestions-ollama.py setup
Successfully generated zsh-llm-suggesions-generate ollma profile.
Successfully generated zsh-llm-suggesions-explain ollma profile.

$ ./zsh-llm-suggestions-ollama.py generate <<<'rotate my mp4 video by 90 degrees using ffmpeg'
ffmpeg -i input.mp4 -vf "hflip" output.mp4

Hi please look at #5 where I implemented this

Would really like if you tack your piping of file to mine as so far I've only done it with text prompts, I've never used file inputs


Omitting "number-part" of signatures leads to collisions

I've just ran into a problem with a signature collision in pathfinder's sig tracker caused by the omission of the "number-part" of sig IDs.

As you can see on the screenshot above, there is currently two signatures with the same "letter-part" of the sig ID, but different "number-parts". Since pathfinder completely ignores the numbers in a sig ID, this leads to a collision in the signature table and thus doesn't allow for tracking of both signatures simultaneously.
I'm actually quite surprised to see this as I've never encountered this before. I do prefer the shorter version of sig IDs being displayed, but having all sigs on the tracker is even more useful.
I guess you could just track the "number-part" internally (for differentiation) and only display the letters in the list? Or add a toggle for showing both if needed...

I found that it omits the number part when you are copy&pasting it through a "signature reader" window but - as a workaround - you can still add such signatures manually, with a number part and they are distinguished.

I found that it omits the number part when you are copy&pasting it through a "signature reader" window but - as a workaround - you can still add such signatures manually, with a number part and they are distinguished.

@WildStrawberryEVE Oh, great idea for a workaround, didn't even think about that.
On the long run, having pathfinder either include the numbers for every signature or just for the ones that create collisions would probably be a good solution.

I removed the "number stripping" from the name. -> Sig names are now stored with full name in DB.
Clients will still see the "minified" name on the table (as now)
I added a new tooltip to the colum, which will show you the full name of a signature:

Signatures with same letters will no longer be overwritten when using the sig-reader.

Seems like a very nice and clean solution to me, thanks for the quick fix 😄


SPFx Extension not loading at all

I ported this code over, but modified it so that it works (https://github.com/bcameron1231/SharePoint-Framework/tree/master/react-hubsite-securitytrim-navbar)
I added the "includeClientSideAssets: true" so that I do not have to deploy to CDN, renamed the CDN path to the default <! CDN PATH HERE/> and have got it working perfectly fine on localhost using gulp serve
I have uploaded Web parts perfectly fine to the AppCat, I uploaded the extension and then added as an App to the Hub site I am working on.
I console log inside my onInit() method to check if the Extension has been loaded. Dev tools show that no errors (from my Ext) are present.
How can I get this working? It is my first extension but I have got web parts loaded fine

Here are my suggestions for troubleshooting.
Try to use developer  toll(F12) to check the error information, for example:  "includeClientSideAssets": true will load the js from your local, will get error if 'gulp server' not run similar as below.

If 'gulp server' is running and you had added the extension app to your hub site, try to debug the extension follow official guideline Here

Lee
Microsoft SharePoint Community Support

Thanks for getting back to me @OS-Lee
I have includeClientSideAssets on all of my webparts, which run without gulp-server and load the files locally from AppCat? We do not want to expose our CDN of this tenant.
I also have a lot of errors stemming from sp-pages but none of them say localhost. It says the navbar extension has been added to the AppCat ("GOod news you already have this").
I have the sample debug serve config.. should I change this?
The github repo I forked said to use this ?loadSPFX=true&debugManifestsFile=https://localhost:4321/temp/manifests.js&customActions={"1859a5f8-d2fc-4c55-91ba-a097edf6da00":{"location":"ClientSideExtension.ApplicationCustomizer","properties":{"NavHeading":"Sites"}}} when running on localhost but does not mention it when deploying live.

When you packaged your solution, you must include the --ship or -p flag when running gulp bundle & gulp package-solution. Otherwise, you will package in debug mode which will then deploy components that are expected to be loaded from localhost.

When you packaged your solution, you must include the --ship or -p flag when running gulp bundle & gulp package-solution. Otherwise, you will package in debug mode which will then deploy components that are expected to be loaded from localhost.

Good check, but the first thing I do in all new projects is replace the build script in package.json
     "build": "gulp clean && gulp bundle --ship && gulp package-solution --ship",
This is the standard I used for all my web parts.

First step: try following the tutorial in the docs and get a brand new extension working rather than porting an existing solution.
https://docs.microsoft.com/en-us/sharepoint/dev/spfx/extensions/get-started/build-a-hello-world-extension
If that works, then there's an issue with the project you're trying to port.


Fix drag and drop when board has a column with a gadget and one without.

The column place holder that include an add gadget button impacts the drop event for a gadget. You will notice the gadget drops to the bottom of the placeholder area prior to being added.

This issue has been resolved by taking a different approach to the dropzone placeholders. Buttons are no longer being used.


Clean up project

Switch to support librairies.
Improve gradle files.
Remove IDE files.

I just created a new branch called snapshot. Could you redo the pull request for that branch so I can test it without messing with the master? Thanks for your help!


Fix #3 issue unable to open globalgamemanagers. Change assets open option to contain no extension files

no extension files : glomalgamemanagers, unity_builtin_extra, unity default resources)

You can, just change the filter to all file types. I could add those filenames as a type of file I just never got to it