Assignments with operators duplicate code/calls

Godot version:
3.0.6
OS/device including version:
Windows 10, should have no impact
Issue description:
Assignments with operators duplicate code (or at least calls). For example, arr[randi() % n] += 1 calls randi() twice (you can use a custom function to test this), presumably from doing arr[randi() % n] = arr[randi() % n] + 1.
Basic example:
extends Node

func _ready():
	var arr = [0, 1]
	arr[get_num()] += 2

	print(arr)
	# Expected: [2, 1]
	# Actual:   [3, 1]

var index_to_return = 0
func get_num():
	index_to_return += 1
	return index_to_return - 1

Alright, I may be wrong here, but from what I can tell, we parse the destination address here:
https://github.com/godotengine/godot/blob/f06b7d40c87e6a2435cdfcad6bb620184f16ea42/modules/gdscript/gdscript_compiler.cpp#L1139
Then a few lines down call _parse_assign_right_expression() which calls _parse_expression() which will again parse the expression:
https://github.com/godotengine/godot/blob/f06b7d40c87e6a2435cdfcad6bb620184f16ea42/modules/gdscript/gdscript_compiler.cpp#L97

The source and desetination being the same should only the case for thing += x operators but I assume it functions as a literal shorthand for thing = thing + x. Something like this would be good maybe:
int src_address_a = dst_address_a;
if (!is_assignment) {
    int src_address_a = _parse_expression(codegen, on->arguments[0], p_stack_level, false, p_initializer);
}

@demipixel Can you (or anyone else) still reproduce this bug in Godot 3.2.3 or any later release?
If yes, please ensure that an up-to-date Minimal Reproduction Project (MRP) is included in this report (a MRP is a zipped Godot project with the minimal elements necessary to reliably trigger the bug). You can upload ZIP files in an issue comment with a drag and drop.

I think I fixed something like this already.

Yes this is fixed in 3.2.3.


onReady: Cannot read property 'webContents' of null

I'm getting this error when setting the onReady callback

app.on('ready', function(){
  windowManager.init();
  // Create Main Window Instance
  var mainWindow = windowManager.createNew('main', 'Main Window', app.getAppPath() + '\\out\\main-window.html', false, {
    width: 800,
    height: 600
  }, true);
  // Register on ready callback
  mainWindow.onReady(true, window => {
    console.log('main ready!');
  });
  // Open Main Window
  mainWindow.open();
});

The createWindow method returns a Window instance with no methods

@L3V147H4N Is this still an issue?

Hi, I hit this same problem. I left a comment how to fix it for someone who hits the same issue. You should remove mainWindow.onReady from your code. After removes it, the window works fine.
Presumably, the cause of this problem is here. I assume this.object returns null. It's used by a definition of onReady.


all-auth-support

Hi, was just wondering if you plan to merge the all-auth-support branch to master? It would be nice to have this feature in the master branch. Thanks

Hello @patagu , in short - no, we will also remove the branch.


Source control displays files with no actual changes

Does this issue occur when all extensions are disabled?: Yes/

VS Code Version: 1.87.2
OS Version: Ubuntu 22.04

Full VScode spec:
Version: 1.87.2
Commit: 863d2581ecda6849923a2118d93a088b0745d9d6
Date: 2024-03-08T15:14:59.643Z
Electron: 27.3.2
ElectronBuildId: 26836302
Chromium: 118.0.5993.159
Node.js: 18.17.1
V8: <IP_ADDRESS>-electron.0
OS: Linux x64 6.5.0-21-generic

On the first screenshot, there is a git tree of "current" changes, containing three files with no actual changes as shown by comparing the "changed" files on the second screenshot.
First screenshot:

Second screenshot:

Steps to Reproduce: the buggy behavior is hardly reproducible and appears spontaneously, also persisting across window reloads and open/closing the VScode.

Are you able to reproduce this when you disable the git.optimisticUpdate setting? Thanks!

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


Dealing with changing baseUrls

Hi guys,
first of all, thanks for marked, it's awesome.
I'm in the process of upgrading a personal app from "marked": "^1.2.8",, and it's easy sailing, except for the thing where the baseUrl option was removed from the main parsing function (https://github.com/markedjs/marked/pull/2936).
My app has changing baseUrls depending on the document I'm trying to parse. With the previous atomic formulation marked(doc, {baseUrl: theBaseUrlOfDoc}), this was no problem, but I have some issues incorporating the new way of doing things, which I guess amounts to marked.use(baseUrl(theBaseUrlOfDoc)) followed by marked.parse(doc). It's like the new baseUrl is not applied properly and multiple (updating) calls marked.use are not supported.
Can you point me in the right direction with regards to upgrading this usecase to your changed plugin-based API? Any hints greatly appreciated. For now, I'm stuck upgrading to ^7 which doesn't have this breaking change.
Cheers, Georg

You can create a Marked instance when you create a new baseUrl
import { Marked } from 'marked';
import {baseUrl} from "marked-base-url";

for (const doc of docs) {
  const marked = new Marked(baseUrl(doc.baseUrl));
  const html = marked.parse(doc.markdown);
}

Welp, that solves it of course!
Thanks a lot, @UziTech !


Update SymEngine and fix build issues

This should hopefully work.

Looks like Travis passes. Now we just need to convince Appveyor to find GMP.

Ok, so now it fails with a legitimate error in MSVC:
"C:\projects\symengine-py-l1jmr\ALL_BUILD.vcxproj" (default target) (1) ->
"C:\projects\symengine-py-l1jmr\symengine\lib\symengine_wrapper.vcxproj" (default target) (3) ->
(ClCompile target) ->
  C:\projects\symengine-py-l1jmr\symengine\lib\symengine_wrapper.cpp(16370): error C2679: binary '=': no operator found which takes a right-hand operand of type 'SymEngine::RCP<const SymEngine::SeriesCoeffInterface>' (or there is no acceptable conversion) [C:\projects\symengine-py-l1jmr\symengine\lib\symengine_wrapper.vcxproj]

Ah ok, the Travis doesn't even test the Python wrappers....

I pushed in a temporary workaround.

Hopefully this will install it and test it on Travis. There are some test failures, which I will tackle once it installs.

@certik, you can use @rwst's patch in #44

I will. I first want to make sure that all tests pass.

I am testing @rwst's patch in #45.

Closing in favor of #45.


Reset Grafana password

Hello everyone,
Is there a way to reset the password for the admin account on Grafana?  Ideally without the loss of the existing data.
Whilst I'm reasonably confident that I haven't changed the password, I am no longer able to login in with the initial credentials.
Using the ansible playbook, I've attempted a fresh rebuild with a new password set for monitoring_grafana_admin_password in the config.yml file.  However, if I understand correctly this only create the password for the initial login.  I've also updated the file GF_SECURITY_ADMIN_PASSWORD within the file /home/pi/internet-monitoring/grafana/config.monitoring but I'm still unable to login.
I've also removed the container grafana/grafana prior to running the ansible scripts above steps.
There is also an error within the log file for Grafana, but this maybe a red herring:
"lvl=eror msg="Failed to look up user based on cookie" logger=context error="user token not found"
Alternatively, if there is a way to add another user without access to the Grafana UI as a workaround?
Any pointers to a resolution greatly appreciated.

I found this on how to reset the Grafana admin password:
https://codesposts.com/Wg04jK59
You will need to connect to the Grafana container's shell via the following:
docker ps
<find the ID of the Grafana container>
docker exec -it <Grafana container ID> sh
Then run the required commands in the Grafana container:
'pa aux | grep grafana'
grafana-cli admin reset-admin-password --homepath "/usr/share/grafana" --config "/etc/grafana/grafana.ini" admin
This should reset the Admin credentials to default, and after log-in, you can set the password to something more secure

Thank you for the quick response @802compute that sorted it out.
Just an FYI if anyone else has the same problem, on my install the grafana-cli command didn't like the --homepath or --config parameters, but just issuing the command as follow resulted in a successful reset:
grafana-cli admin reset-admin-password admin


How can I install utils_misc package?

Thanks for your work, it's great! But I have some trouble running the example code provided in the README.md.
When I ran the code, the package utils_misc is missing and I cannot find the right package used in model_summac.py.
I tried pip install utils_misc but obviously that's not the package required.
How can I install utils_misc ? Or could you provide a requirements.txt file ?

Hey @hedonihilist ! Thanks for pointing that out... A few utils files were indeed missing and have been now.
Let me know if it still doesn't work!

Thanks, it works fine now. :+1:


Extensions list should ignore openMode and enablePreview settings

Currently if you set "workbench.list.openMode": "doubleClick" or "workbench.editor.enablePreview": false it also affects the extensions list, making it more inconvenient to browse extensions. I think it would be better if extensions were still previewed on a single click, with the preview "editor" reused.

Its a design decision to respect these settings in all list-like views and editors.

For what it's worth, this was a feature request, not a bug report. There never was a claim of it not working "as designed", just that the current design is lacking.
The design decision to respect these settings in all list-like views and editors should perhaps be reconsidered for editors that aren't actually allowing editing but are just a html page and for list views where you aren't expected to want to work with multiple items at once. Or specifically for this case. I don't think going for some perceived consistency here warrants the decreased convenience.

@georgir I can open it as a feature request but I am sorry to say that we do not have plans to consider this and will be tagged as out of scope. In order to consider we might wait until it is highly requested by other users.


signing data with private key generated by new openssh 8.0 not working.

Trying to sign some data with private key which is generated by new openssh 8.0, signature output is always random, Output is always different, when passing same data. I have checked and think that problem comes from var "crt" func related to browserify-rsa. for older keys it works as expected, problem occurs only in case of using new private key. Can someone help me with this ? Thanks in advance.

Trying to sign some data with private key which is generated by new openssh 8.0, signature output is always random, Output is always different, when passing same data. I have checked and think that problem comes from var "crt" func related to browserify-rsa. for older keys it works as expected, problem occurs only in case of using new private key. Can someone help me with this ? Thanks in advance.

The same here.
Test code:
var keyPriv = `-----BEGIN OPENSSH PRIVATE KEY-----
b3BlbnNzaC1rZXktdjEAAAAABG5vbmUAAAAEbm9uZQAAAAAAAAABAAAAlwAAAAdzc2gtcn
NhAAAAAwEAAQAAAIEAvzqy5E3zSn2TG3QRvOmXyfU7UAJDBLEQ9/ocKTFLGPKbF506xGfK
fbksNFg/rbMvVbTSNlouQTTdu7jNiQBwBaHvuJz/PwvY5iz7mVoNue/7g+Ndn09TVWM+yi
sQtNUbpX6UqPV0pLp9er5QG1V6YsJouh5A3nFWR0LJ+HQmj8UAAAIQ3RIN190SDdcAAAAH
c3NoLXJzYQAAAIEAvzqy5E3zSn2TG3QRvOmXyfU7UAJDBLEQ9/ocKTFLGPKbF506xGfKfb
ksNFg/rbMvVbTSNlouQTTdu7jNiQBwBaHvuJz/PwvY5iz7mVoNue/7g+Ndn09TVWM+yisQ
tNUbpX6UqPV0pLp9er5QG1V6YsJouh5A3nFWR0LJ+HQmj8UAAAADAQABAAAAgFSAe8ynJX
slQnw/LhdsocZ8t1kDptnL5NOvkgIh5i2AB0jIEc/4jWJBEWeQF5OKOsCExt99ujLWSaVK
ZIjFyLnwmPL6tN6Zm/yTiWZxs5VE6S4eRW6V2TXqx6FvFsMn5w0zol8E/HDtoEwtC4tSZo
g3cTwdj5QEwgomIYNoITwBAAAAQDHxgSxkJuuciPYULz65l53ABEOGL4cQzSwx6yZ1jxhY
87W2Si0c2+ZWhtw6P5vfiQ5BsG1UArWVCaS+2FRgEhoAAABBAOovulyHjVohZtpwJurCMK
sByIkQFy97Td297PLkjW0cb4s3xoXDcSbLId41iCbUsuvffMWIElcZOMWVFlmVfQkAAABB
ANEKo9dzywZX+Rp7qMomaxGBoCGOMiw4qvydU4rXIXpLHfQS48kewy/5HsS9Au9ookctan
m28dPkGkwqnZAzZ90AAAAUZ3VzdGF2b0BkcmVyYS1tb2JpbGUBAgMEBQYH
-----END OPENSSH PRIVATE KEY-----`
var key = sshpk.parsePrivateKey(keyPriv);

var data = 'some data';

/* Sign some data with the key */
var s = key.createSign('sha1');
s.update(data);
var signature = s.sign();

console.log(signature.toBuffer().toString('base64'));

/* Now load the public key (could also use just key.toPublic()) */
var keyPub = `ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAAgQC/OrLkTfNKfZMbdBG86ZfJ9TtQAkMEsRD3+hwpMUsY8psXnTrEZ8p9uSw0WD+tsy9VtNI2Wi5BNN27uM2JAHAFoe+4nP8/C9jmLPuZWg257/uD412fT1NVYz7KKxC01RulfpSo9XSkun16vlAbVXpiwmi6HkDecVZHQsn4dCaPxQ== gustavo@drera-mobile`;

key = sshpk.parseKey(keyPub);

/* Make a crypto.Verifier with this key */
var v = key.createVerify('sha1');
v.update(data);
var valid = v.verify(signature);
console.log(valid);

The signature output is always random

@dartedfa Did you found solution for this?

Maybe someone could implement support for OpenSSH key format based on this:
https://github.com/rzcoder/node-rsa/pull/181/files


Prevent out of bound date picker selections

Show out of bound dates as disabled
Prevent navigation into out of bound months by swipe or chevrons
Some small renames for readability

Soliciting some feedback before I write the tests

Addresses #6501. Will generalize into a generic predicate mechanism #637 and fix the year selector on a different PR.

Definitely looks in the right track.

Regarding onFoo/didFoo/handleFoo, there's a discussion in the style guide.

Ok, adding tests

Thanks!

Thanks for the reviews!


Prevent multiple transitions

OverVIew
I thought it would be good if it could be prevented because tapping the transitionable buttons at the same time causes a transition to each screen.
https://github.com/user-attachments/assets/dc5cbc8e-b9b0-4d1c-892c-5bbd9338f492
Ref

I think that this can be somewhat easily prevented by using dropUnlessResumed in androidx.lifecycle:lifecycle-runtime-compose.

https://developer.android.com/reference/kotlin/androidx/lifecycle/compose/package-summary#dropUnlessResumed(androidx.lifecycle.LifecycleOwner,kotlin.Function0)

I didn't know that looks great!

We might have to think about where to call the dropUnlessResumed. Could we wrap by dropUnlessResumed and pass the labmda?

It was a recognition that can be made…!

I'm looking for a person who want to do this!

I'd like to try this issue 🙋

Thanks! Assigned 👍

@takahirom
I think the assignment will be @nashcft 🙇

My bad! Reassigned!🙏


Unbreak Debian support with custom encoding

On Debian, version 10.0.0+ of the module cause a broken catalog due to dependecy cycles:
Anchor[postgresql::server::service::begin::main] =>
Postgresql_psql[Set template1 encoding to UTF8] =>
Postgresql::Server::Instance::Late_initdb[main] =>
Postgresql::Server::Instance::Initdb[main] =>
Class[Postgresql::Server::Initdb] =>
Postgresql_conf[port_for_instance_main] =>
Class[Postgresql::Server::Service] =>
Postgresql::Server::Instance::Service[main] =>
Anchor[postgresql::server::service::begin::main]

Reenable the test that trigger this issue (taken from #1547) and try to fix it.

We are successfully running this branch and it works as advertised. No more dependency cycles. :+1:

@antaflos Beware that this is unfortunately still WIP because it breaks EL for reasons I had not time to discover yet.  I have been busy the last week with other $WORK related things, and am about to go on vacation for a week, so will not be able to have a look before I am back.
But thank your for your feedback :+1: : for now I only tested it with the CI and as you can see with 919fc9b there is some nasty bug because A -> B + A -> B -> C and A -> B + B -> C should not change much regarding dependencies.

I've tested this PR as suggested by @bastelfreak and indeed it seems to solve the dependency issue for our environment as seen in #1541 👍 Would be great if this gets released soon!

Is there someting missing for this PR to get merged? Would be nice to have it in the next relase.

@ShadNex yes, passing tests :)
@smortex can you rebase again please?

Thank you for your patience.
Rebasing done, I pushed each commit individually to have a step by step view of what works or not.  I obviously lost track since January, and was (and still am) out of ideas so if you want to try something you are very welcome to do so.  It seems that failures are test-order dependent…


Unwanted PATCH request is sending when updating OIDC protocols in the CONSOLE app

Describe the issue:
Unwanted PATCH request is sending to the application endpoint when we update the oidc information of an application.
How to reproduce:

Create OIDC app in the console (SPA, OIDC tradtional web app, OIDC Standard based application)
Once app got created, navigate to the protocol tab
Click Update

Once you click update, you will be able to see the following two requests,

The first request is an unwanted request that is sent from the CONSOLE app.
Sample request
curl 'https://localhost:9443/api/server/v1/applications/e444584e-f19b-4d60-b9c1-b13b2da73969' -X PATCH -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/119.0' -H 'Accept: application/json' -H 'Accept-Language: en-US,en;q=0.5' -H 'Accept-Encoding: gzip, deflate, br' -H 'Content-Type: application/json' -H 'Access-Control-Allow-Origin: https://localhost:9443' -H 'Authorization: Bearer ade5f4e4-2759-376d-8388-45c90c2b1939' -H 'Origin: https://localhost:9443' -H 'Connection: keep-alive' -H 'Cookie: atbv=3deb71e4-a91d-42ed-b08b-b656a63380ba; JSESSIONID=65366E3D9B6885C38DCFF5BCD81BCA08; commonAuthId=308f9dd5-a801-4a09-a843-e18803ee89bf; opbs=279f3889-39ce-4238-b3bb-eb60de2f3d7a' -H 'Sec-Fetch-Dest: empty' -H 'Sec-Fetch-Mode: cors' -H 'Sec-Fetch-Site: same-origin' --data-raw '{}'

Due to this issue, unwanted AUDIT logs get published.
Expected behavior:
We don't need to send an PATCH request to the application endpoint when updating the protocol details. We just need to PUT request that is being send to the the OIDC endpoint

Currently, when updating the protocol section, two endpoints are being called:

The application endpoint with certificate details
The inbound protocol endpoint with protocol details.
Clicking the 'update' button triggers both of these requests since they are relevant to the same form and share a single update button.

Another issue (https://github.com/wso2/product-is/issues/17713) has been identified to introduce the update of protocol details from the application endpoint. Once this capability is implemented, a single request to the application endpoint from the frontend can be sent. This modification will prevent the generation of two separate Audit logs. Therefore, this issue will be closed.

Currently, when updating the protocol section, two endpoints are being called:

The application endpoint with certificate details
The inbound protocol endpoint with protocol details.

Clicking the update button triggers both of these requests since they are relevant to the same form and share a single update button.
Another issue (https://github.com/wso2/product-is/issues/17713) has been identified to introduce the update of protocol details from the application endpoint. Once this capability is implemented, a single request to the application endpoint from the frontend can be sent. This modification will prevent the generation of two separate Audit logs. Therefore, this issue will be closed.


No community guidelines in documentation

This issue is part of my JOSS review: https://github.com/openjournals/joss-reviews/issues/7375
The reviewer guidelines specify that the documentation should contain community/contributor guidelines:
Community guidelines: Are there clear guidelines for third parties wishing to 1. Contribute to the software 2. Report issues or problems with the software 3. Seek support
Currently, and to the best of my knwoledge, there is a small paragraph at the end of the Building the polarimetric data reduction from Q Tutorial where some mention is made of contributing.
The community/contributor guidelines need to have a separate page in the docs, so that new users can easliy find them. Also, the guidelines need to be more extensive than what is written on the above-mentioned page. On the README of the repo I see that some guidelines have been written. These would serve as a good starting point for the guidelines page in the actual documentation.

I added a Contribution section, including the contributing section from the README and a Code of Conduct adapted from The Contributor Covenant. Does this address community/contributor guidelines?

Thank you for adding the community guidelines to the documentation. This makes it a lot clearer for people who wish to contribute! I think this is now taken care of so I will close this issue now.


Yatin: Watch macrocalculator.org

Yatin requests the watch of the watch_keyword macrocalculator\.org. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

macrocalculator\.org has been seen in 1 true positive, 0 false positives, and 0 NAAs.

macrocalculator\.org has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by Cody Gray in Charcoal HQ

Approved by Cody Gray in Charcoal HQ


[Mem] add exception check when evaluate conjuncts

What type of PR is this：

[x] bug
[ ] feature
[ ] enhancement
[ ] others

Which issues of this PR fixes ：
Fixes #5177 #5175
Problem Summary(Required) ：

@Mergifyio backport branch-2.2


Expose scroll

To get scroll in a panel object you currently have to use css classes. This looks like:
import panel as pn

css = """
.widget-box {
  overflow: scroll;
}
"""

pn.extension(raw_css=[css])

pn.Column(
    pn.widgets.FloatSlider(name='Number', width=200, ),
    pn.widgets.Select(name='Fruit', options=['Apple', 'Orange', 'Pear']),
    pn.widgets.Button(name='Run'),
css_classes=['widget-box'], width=100, height=50, background='#f0f0f0')

I propose we add overflow as a kwarg in all panel objects or possibly just all pane and layout options.

I'm +1 on this, I think there are generally useful options which could be implemented in CSS and exposed as parameters on the Layoutable baseclass.


feat: added missing methods

closes : https://github.com/customerio/customerio-flutter/issues/20, https://github.com/customerio/issues/issues/8960
and https://github.com/customerio/customerio-flutter/issues/13

:tada: This PR is included in version 1.0.0-alpha.8 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.0.0-beta.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


PATH not loading when running tasks

Issue Type: Bug
Just follow these steps:
https://docs.microsoft.com/en-us/dotnet/core/tutorials/using-on-macos
Unable to run tasks. The integrated terminal is able to run the commands but the tasks do not execute. This has to do with $PATH variable not set correctly when running task.
I have added the "dummy" task below to check PATH: it returns
/usr/gnu/bin:/usr/local/bin:/bin:/usr/bin:.
$PATH in integrated terminal is correct (includes path to dotnet)
my tasks.json:
{
"version": "2.0.0",
"tasks": [
{
"label": "build",
"command": "dotnet",
"type": "process",
"args": [
"build",
"${workspaceFolder}/app/app.csproj",
"/property:GenerateFullPaths=true",
"/consoleloggerparameters:NoSummary"
],
"problemMatcher": "$msCompile"
},
{
"label": "publish",
"command": "dotnet",
"type": "process",
"args": [
"publish",
"${workspaceFolder}/app/app.csproj",
"/property:GenerateFullPaths=true",
"/consoleloggerparameters:NoSummary"
],
"problemMatcher": "$msCompile"
},
{
"label": "watch",
"command": "dotnet",
"type": "process",
"args": [
"watch",
"run",
"${workspaceFolder}/app/app.csproj",
"/property:GenerateFullPaths=true",
"/consoleloggerparameters:NoSummary"
],
"problemMatcher": "$msCompile"
},
{
"label": "dummy",
"command": "echo",
"type": "shell",
"args": [
"$PATH",
]
}
]
}
VS Code version: Code 1.39.2 (6ab598523be7a800d7f3eb4d92d7ab9a66069390, 2019-10-15T15:33:00.827Z)
OS version: Darwin x64 18.7.0

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-5287U CPU @ 2.90GHz (4 x 2900)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: enabledoop_rasterization: disabled_offprotected_video_decode: unavailable_offrasterization: enabledskia_deferred_display_list: disabled_offskia_renderer: disabled_offsurface_synchronization: enabled_onvideo_decode: enabledviz_display_compositor: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
4, 4, 3

Memory (System)
8.00GB (0.11GB free)

Process Argv

Screen Reader
no

VM
0%

Extensions (22)

Extension
Author (truncated)
Version

html-snippets
abu
0.2.1

vscode-eslint
dba
1.9.1

githistory
don
0.4.6

gitlens
eam
10.1.1

Python-autopep8
him
1.0.2

openapi-lint
mer
1.0.4

vscode-docker
ms-
0.8.1

python
ms-
2019.10.41019

cpptools
ms-
0.26.0

csharp
ms-
1.21.5

azurerm-vscode-tools
msa
0.7.0

autodocstring
njp
0.3.0

vetur
oct
0.22.4

platformio-ide
pla
1.9.2

vscode-css-peek
pra
3.0.2

java
red
0.51.0

vscode-yaml
red
0.5.3

LiveServer
rit
5.6.1

language-stylus
sys
1.11.0

open-in-browser
tec
2.0.0

bootstrap4-vscode
the
6.1.0

vuetify-vscode
vue
0.2.0

this is not a dup. It's not the command (as in build, restore, etc...) that is not found but dotnet itself

This is most likely an issue with the code that adds your environment to VS Code on launch (related: https://github.com/microsoft/vscode/issues/21655). Terminal is unaffected because it runs an interactive login shell.
Can you open the dev tools (Toggle Dev Tools) and try running process.env in the console? If your path is also wrong there then the issue is with that environment copying code.

Thanks,
Just tried but  I get the correct path in the console :

PATH: "/usr/local/mysql/bin:/Users/urbanmac/miniconda3/bin:/Users/urbanmac/miniconda3/condabin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/share/dotnet:/opt/X11/bin:~/.dotnet/tools:/Library/Frameworks/Mono.framework/Versions/Current/Commands:/Applications/Xamarin Workbooks.app/Contents/SharedSupport/path-bin"
PWD: "/"

From: Alex Ross<EMAIL_ADDRESS>Reply to: microsoft/vscode<EMAIL_ADDRESS>Date: Tuesday, 22 October 2019 at 15:50
To: microsoft/vscode<EMAIL_ADDRESS>Cc: Benoit Pinguet<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [microsoft/vscode] PATH not loading when running tasks (#82925)
This is most likely an issue with the code that adds your environment to VS Code on launch (related: #21655https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fvscode%2Fissues%2F21655&data=02|01||b39c58d375a748bd279708d756ff3a30|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637073526497433688&sdata=RXu6ceT7LCjgKSb%2F2Xdr85Dn00jtKPhXhf%2F828PVySE%3D&reserved=0). Terminal is unaffected because it runs an interactive login shell.
Can you open the dev tools (Toggle Dev Tools) and try running process.env in the console? If your path is also wrong there then the issue is with that environment copying code.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fvscode%2Fissues%2F82925%3Femail_source%3Dnotifications%26email_token%3DAG74RLL7OPV5P2LJZCLL2VTQP4HMRA5CNFSM4JCUMAW2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEB6AQJI%23issuecomment-544999461&data=02|01||b39c58d375a748bd279708d756ff3a30|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637073526497433688&sdata=N4IDK25khzZnwifG8%2FYpTM0XSChmNPWcLBKxcA4pfas%3D&reserved=0, or unsubscribehttps://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAG74RLP3Y3T4M4SD2M2YJB3QP4HMRANCNFSM4JCUMAWQ&data=02|01||b39c58d375a748bd279708d756ff3a30|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637073526497443693&sdata=E2ZwvO%2Fn%2BLefgtFJbtGdSSO65YGejPpQh3YmPgVDrYw%3D&reserved=0.

What is the exact error you get when you try to run your task?

Can you also try disabling all extensions and running the task?


Deployment Issues on Existing Kubernetes cluster

Theoretically if we can deploy on Minikube for testing, we should be able to deploy to an existing Kubernetes cluster as well.
https://docs.qhub.dev/en/latest/source/06_developers_contrib_guide/04_tests.html#local-testing
@djhoese raised some issues he had trying to do the same, here are his comments:

@aktech do you want me to just tell you about issues here? I decided to ignore "actual" work and play with qhub. Here's what I'm doing:

git clone of main qhub. Running on conda-forge based python 3.8 environment.
Ran the "qhub init" command with my own project name (does this reflect a project on the cluster) and a made up domain > as my work's cluster is behind a proxy at the moment (no public IP addresses).
I have my KUBECONFIG setup with a context that has the proper tokens to talk directly to the cluster via kubectl. I did some grepping and thought I could add kube_context: mycontext in my qhub-config.yaml but then got an error about an extra key in the YAML when I tried to deploy.
I commented out the kube_context key and then got an error when deploying because the namespace terraform wants to create already exists. I don't think I have permission to create a namespace outside of the administration webUI for my cluster (I'll try in a bit).

Looks like some of the terraform stuff could be helped if I used: https://registry.terraform.io/providers/rancher/rke/latest but I have very very very little terraform experience

Complications faced by him
Some complicates with me trying to do this:

I do not have full permissions on this cluster. We are experimenting with giving people a decent level of permissions in their own namespace(s), but beyond that it won't be allowed.

I'll have to check with the sys admin, but this particular cluster may not have an ingress controller installed. I ran terraform planand got some errors that seem a little ingress related:

(qhub) davidh@janet:~/repos/git/qhub/infrastructure$ /tmp/terraform/0.14.9/terraform plan

Error: Failed to determine GroupVersionResource for manifest

  on .terraform/modules/qhub/modules/kubernetes/services/dask-gateway/middleware.tf line 1, in resource "kubernetes_manifest" "gateway-middleware":
   1: resource "kubernetes_manifest" "gateway-middleware" {

no matches for kind "Middleware" in group "traefik.containo.us"

Error: Failed to determine GroupVersionResource for manifest

  on .terraform/modules/qhub/modules/kubernetes/services/dask-gateway/middleware.tf line 22, in resource "kubernetes_manifest" "cluster-middleware":
  22: resource "kubernetes_manifest" "cluster-middleware" {

no matches for kind "Middleware" in group "traefik.containo.us"

Pasting my response from gitter here:

Hey David, that's excellent feedback. I have created an issue for tracking this: Quansight/qhub#518 we can discuss the next steps there.

I would love to make this happen, from the first glance the error you're seeing seems to be related with Kubernetes version and probably some permission issues. I will raise this in our next dev meeting next week and will get back to you in the issue mentioned above.

Regarding the namespace stuff, this is likely a permissions issue but also seems like something that can be worked around depending on how terraform does things. In my case I had a davidh-qhub namespace I created through Rancher's web UI (this assigns it to my rancher project "davidh-project"). I then ran qhub deploy and got the error about the namespace already existing (see log below). Based on the permissions I have on this cluster, I can create a namespace but not list or delete them. So:

kubectl create namespace <my ns>: Works, but does not assign the namespace to any rancher project so I can't manage it normally. The namespace must be created before hand. See https://github.com/rancher/rancher/issues/16493.
kubectl get namespaces: Fails, no permission
kubectl get namespace <my ns>: Works.
kubectl get namespace <some other ns>: Fails, no permission.

So depending on how qhub/terraform check for the existence of a namespace on this cluster, they might get a permission error.

QHub Deploy Error
(qhub) davidh@janet:~/repos/git/qhub$ python -m qhub deploy --config qhub-config.yaml --disable-prompt
INFO:qhub.deploy:All qhub endpoints will be under https://www.ssec.wisc.edu
INFO:qhub.provider.terraform:terraform init directory=infrastructure
INFO:qhub.provider.terraform:downloading and extracting terraform binary from url=https://releases.hashicorp.com/terraform/0.14.9/terraform_0.14.9_linux_amd64.zip to path=/tmp/terraform/0.14.9/terraform
INFO:qhub.provider.terraform: terraform at /tmp/terraform/0.14.9/terraform
[terraform]: Initializing modules...
[terraform]: Downloading github.com/quansight/qhub-terraform-modules?ref=main for kubernetes-conda-store-mount...
[terraform]: - kubernetes-conda-store-mount in .terraform/modules/kubernetes-conda-store-mount/modules/kubernetes/nfs-mount
[terraform]: Downloading github.com/quansight/qhub-terraform-modules?ref=main for kubernetes-conda-store-server...
[terraform]: - kubernetes-conda-store-server in .terraform/modules/kubernetes-conda-store-server/modules/kubernetes/services/conda-store
[terraform]: Downloading github.com/quansight/qhub-terraform-modules?ref=main for kubernetes-ingress...
[terraform]: - kubernetes-ingress in .terraform/modules/kubernetes-ingress/modules/kubernetes/ingress
[terraform]: Downloading github.com/quansight/qhub-terraform-modules?ref=main for kubernetes-initialization...
[terraform]: - kubernetes-initialization in .terraform/modules/kubernetes-initialization/modules/kubernetes/initialization
[terraform]: Downloading github.com/quansight/qhub-terraform-modules?ref=main for kubernetes-nfs-mount...
[terraform]: - kubernetes-nfs-mount in .terraform/modules/kubernetes-nfs-mount/modules/kubernetes/nfs-mount
[terraform]: Downloading github.com/quansight/qhub-terraform-modules?ref=main for kubernetes-nfs-server...
[terraform]: - kubernetes-nfs-server in .terraform/modules/kubernetes-nfs-server/modules/kubernetes/nfs-server
[terraform]: Downloading github.com/quansight/qhub-terraform-modules?ref=main for qhub...
[terraform]: - qhub in .terraform/modules/qhub/modules/kubernetes/services/meta/qhub
[terraform]: - qhub.kubernetes-dask-gateway in .terraform/modules/qhub/modules/kubernetes/services/dask-gateway
[terraform]: - qhub.kubernetes-jupyterhub in .terraform/modules/qhub/modules/kubernetes/services/jupyterhub
[terraform]: - qhub.kubernetes-jupyterhub-ssh in .terraform/modules/qhub/modules/kubernetes/services/jupyterhub-ssh
[terraform]:
[terraform]: Initializing the backend...
[terraform]:
[terraform]: Initializing provider plugins...
[terraform]: - Finding hashicorp/kubernetes-alpha versions matching "0.3.2"...
[terraform]: - Finding latest version of hashicorp/random...
[terraform]: - Finding latest version of hashicorp/tls...
[terraform]: - Finding hashicorp/helm versions matching "1.0.0"...
[terraform]: - Finding hashicorp/kubernetes versions matching "2.0.2"...
[terraform]: - Installing hashicorp/kubernetes-alpha v0.3.2...
[terraform]: - Installed hashicorp/kubernetes-alpha v0.3.2 (signed by HashiCorp)
[terraform]: - Installing hashicorp/random v3.1.0...
[terraform]: - Installed hashicorp/random v3.1.0 (signed by HashiCorp)
[terraform]: - Installing hashicorp/tls v3.1.0...
[terraform]: - Installed hashicorp/tls v3.1.0 (signed by HashiCorp)
[terraform]: - Installing hashicorp/helm v1.0.0...
[terraform]: - Installed hashicorp/helm v1.0.0 (signed by HashiCorp)
[terraform]: - Installing hashicorp/kubernetes v2.0.2...
[terraform]: - Installed hashicorp/kubernetes v2.0.2 (signed by HashiCorp)
[terraform]:
[terraform]: Terraform has created a lock file .terraform.lock.hcl to record the provider
[terraform]: selections it made above. Include this file in your version control repository
[terraform]: so that Terraform can guarantee to make the same selections by default when
[terraform]: you run "terraform init" in the future.
[terraform]:
[terraform]:
[terraform]: Warning: Additional provider information from registry
[terraform]:
[terraform]: The remote registry returned warnings for
[terraform]: registry.terraform.io/hashicorp/kubernetes-alpha:
[terraform]: - Please do not rely on this provider for production use while we strive
[terraform]: towards project maturity.
[terraform]: https://github.com/hashicorp/terraform-provider-kubernetes-alpha#experimental-status
[terraform]:
[terraform]: Terraform has been successfully initialized!
[terraform]:
[terraform]: You may now begin working with Terraform. Try running "terraform plan" to see
[terraform]: any changes that are required for your infrastructure. All Terraform commands
[terraform]: should now work.
[terraform]:
[terraform]: If you ever set or change modules or backend configuration for Terraform,
[terraform]: rerun this command to reinitialize your working directory. If you forget, other
[terraform]: commands will detect it and remind you to do so if necessary.
INFO:qhub.provider.terraform:terraform init took 15.102 [s]
INFO:qhub.provider.terraform:terraform= apply directory=infrastructure targets=['module.kubernetes', 'module.kubernetes-initialization']
INFO:qhub.provider.terraform: terraform at /tmp/terraform/0.14.9/terraform
[terraform]: module.kubernetes-initialization.kubernetes_namespace.main: Creating...
[terraform]:
[terraform]: Warning: Resource targeting is in effect
[terraform]:
[terraform]: You are creating a plan with the -target option, which means that the result
[terraform]: of this plan may not represent all of the changes requested by the current
[terraform]: configuration.
[terraform]:
[terraform]: The -target option is not for routine use, and is provided only for
[terraform]: exceptional situations such as recovering from errors or mistakes, or when
[terraform]: Terraform specifically suggests to use it as part of an error message.
[terraform]:
[terraform]:
[terraform]: Warning: Applied changes may be incomplete
[terraform]:
[terraform]: The plan was created with the -target option in effect, so some changes
[terraform]: requested in the configuration may have been ignored and the output values may
[terraform]: not be fully updated. Run the following command to verify that no other
[terraform]: changes are pending:
[terraform]:     terraform plan
[terraform]:
[terraform]: Note that the -target option is not suitable for routine use, and is provided
[terraform]: only for exceptional situations such as recovering from errors or mistakes, or
[terraform]: when Terraform specifically suggests to use it as part of an error message.
[terraform]:

Error: namespaces "davidh-qhub" already exists

  on .terraform/modules/kubernetes-initialization/modules/kubernetes/initialization/main.tf line 1, in resource "kubernetes_namespace" "main":
   1: resource "kubernetes_namespace" "main" {

Problem encountered: Terraform error

@djhoese we are a bit swamped right now tracking down a few bugs in the 0.3 release and on internal work. Once we get through that, we'll see how we can help you on this issue.

Small update on this: I was given more permissions on our test cluster where I'm playing with this. I pulled the current main branch and followed the updated local-testing instructions. Unfortunately, terraform is still made that my namespace already exists:
[terraform]:
[terraform]: Error: namespaces "davidh-qhub" already exists
[terraform]:
[terraform]:   on .terraform/modules/kubernetes-initialization/modules/kubernetes/initialization/main.tf line 1, in resource "kubernetes_namespace" "main":
[terraform]:    1: resource "kubernetes_namespace" "main" {
[terraform]:
[terraform]:

Does anyone more familiar with terraform know of a way I can workaround this by letting know terraform that yes the namespace exists, but don't worry about it.

Ok, so I got a little further on this. I let QHub/terraform create the namespace and it got into actually creating resources. The problem I ran into then is that QHub assumes use of MetalLB (or some other external load balancer) to give it external IP addresses. My cluster is using haproxy externally and does load balancing by passing traffic to different nodes (again, this is a test cluster). Our other cluster where we're experimenting with MetalLB uses it in Level 2 Mode and MetalLB is only giving one IP address out to ingress-nginx and passing all traffic to that. This MLB instance is not configured with any additional IP addresses so even if I was to deploy QHub on this second cluster there wouldn't be any IP addresses for it to request.
I could modify all the terraform modules to do ClusterIPs, but given the work in #577 I'm not sure that is worth the time right now. Is there anything that requires the various QHub services to have different IP addresses?
Regarding the above namespace issue: https://github.com/hashicorp/terraform-provider-kubernetes/issues/613#issuecomment-559504177

@aktech @costrouc Any thoughts on this?


practical example of

Would it be possible to improve the demo with a more practical example of <ng-analytics-report>? Currently the demo includes the following usages (which I think are both equivalent)
<ng-analytics-report queries="queries" auth-container="embed-api-auth-container"></ng-analytics-report>
<ng-analytics-report queries="queries" auth-container="embed-api-auth-container" view-selector-container="view-selector-container"></ng-analytics-report>

The problem with this is that the report doesn't actually render anything to the page, so I don't think it's a particularly good example of what reports are for. I've modified the demo locally, so that the results of the report are logged instead, e.g.
$scope.$on('$gaReportSuccess', function (e, report, element) {
    angular.forEach(report[0].rows, function(value, key) {
      console.debug("City sessions:", value[0], value[1]);
    });
});

I think it would be even better if a (Google) chart could be constructed from the results of the query, but I'm not sure if it's possible to do that with the existing directives?

sry but i have no time for that... feel free to extend it and send me a pull request ;)
if not please close the issue.
For other purposes there is the readme and the google analytics api documentation.

We couldn't see any UI render on page, how the reports look like? and We tried to find the response by using above code by "donalmurtagh" but no logs also.
Please advise to generate reports. Thanks


Outdated information about Service Connection Point

This page contains pretty old information about Service Connection Point (SCP).
It should be updated with e.g. following topics:

Hybrid mobile device management will be retired on Sept 1, 2019
SCP is also responsible to configure/monitor CMG
SCP does Azure AD discovery
Integration with Microsoft Store for Business is done by SCP

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

ID: 26fc3067-8a85-2455-8b71-69cf46cbb7e0
Version Independent ID: a90ca598-c5fa-f245-eafc-0fd95f9eaca9
Content: Service connection point - Configuration Manager
Content Source: sccm/core/servers/deploy/configure/about-the-service-connection-point.md
Product: configuration-manager
Technology: configmgr-other
GitHub Login: @mestew
Microsoft Alias: mstewart

I made updates to this article with broader hybrid deprecation work that will publish soon. I'm closing this issue.


fix: temporarily limit dex values to 60 bits

Closes #2560, the diff is large because we're regenerating testnet allocations but each individual commit should consist of a relevant subtask.

Could we leave the existing check as-is, and have a dedicated code path for the temporary restrictions? Then when it's time to remove, we can just delete the temporary check in isolation — in the course of fixing the underlying issue we might determine, for instance, that we needed some restriction on the bitsize, and it'd be cleaner if we could write it separately from the checks we intend to remove.


Update Aeotec Nano Dimmer firmware not working

I've downloaded the EU version of the latest Aeotec Nano Dimmer (v2.03) from aeotecs support site. Changed the name of the .ex_ file to .exe.
When I try to update the old device (v1.2?) I get the message: Error while calling api beginFirmwareUpdate: Unable to extract firmware from file: This does not appear to be a valid Aeotec updater (invalid firmware length)!
What am I doing wrong?

@AlCalzone Sugestions here?

@atterdal send me the file please

OTA of Nano Dimmer_EU_C_V2_03.zip

The .exe file's in that zip. Thank you!

I believe that EXE is the standalone firmware update w/ an EXE designed to be used as an executable whilst the Aeotec stick is plugged into your PC. Ie, it is not the raw hex version you would need for a firmware update through a controller like ZWaveJS2MQTT.
Not for this particular one, but I have found there are people on various forums that have extracted the hex firmware out of the exe and posted the file for download to use.
Example:
https://forums.homeseer.com/forum/homeseer-products-services/system-software-controllers/z-flash-software/105783-hex-file-for-aeotec-multisensor-6

@scott7685 zwave-js supports extracting the raw firmware from Aeotec updater exes.

MIND = BLOWN @AlCalzone
That is phenomenal. I have used it to upload the extracted hex but have never tried a full exe

@atterdal seems like that file had another variation that I haven't encountered yet. The linked PR should fix this.

There's a standard for everything I guess. Thank you so much!

There's a standard for everything I guess

Not when it comes to reverse-engineering 😅

@AlCalzone Faced the same with TriSensor, I will try to test with your PR

It seems that it's the same issue with v3.02 EU firmware of Aeotec ZW132. Please see the firmware below:
https://aeotec.freshdesk.com/helpdesk/attachments/6120512641

Found it - just a matter of allowing spaces in the embedded firmware name. Fix is on the way.

I've pulled the latest Docker image (master, updated 8 hours ago) but I still get the same error message.
Is the Docker not in sync with this repo?

@atterdal Docker image is sync with zwavejs2mqtt master branch, and latest zwave-js release

Too be safe I waited for new release and updated to latest master on docker. Still get this message when trying to update:
zwavejs2mqtt     | 2021-02-17 13:42:47.495 INFO ZWAVE: Failed to start the update: Invalid manufacturer or firmware id! beginFirmwareUpdate {
zwavejs2mqtt     |   success: false,
zwavejs2mqtt     |   message: 'Failed to start the update: Invalid manufacturer or firmware id!'
zwavejs2mqtt     | }

Is it related to the node I'm trying to update register as "Unkown product 111" from "Unkown Manufacturer 134"?

Hmm, my test case with current node-zwave-js master still works. So there's probably some version mismatch.

It says "App version: 1.1.1" "Zwavejs Version: 6.4.0"

You did load the exe from the zip file above?
@robertsLando maybe another artefact of the duplicate dependencies due to zwave-js-server?

Yes, same .exe as I sent before. Is it expected that the node shows up as "Unkown product 111" and "Unkown manufacturer 134"?

@robertsLando maybe another artefact of the duplicate dependencies due to zwave-js-server?

I'm waiting for the new beta 7 release, that should be fixed then

@atterdal just to be sure, are you using master or dev tag ?

@robertsLando master

Ok that should have the latest things so. Sincerly I dunno what's wrong here :(

Hi!
@robertsLando - I have a bunch of Heltun Devices that i need to firmware update, and was hoping that
ZWaveJSMQTT would help me to do. I can use my firmware update files in the ZWave.me application, but am unable to update through ZwaveJSmqtt. No issues adding them to my controller, but when i try a OTA update it gives me
"Error when calling API befinFirmwareUpdate: Unable to extract firmware from file: Could not parse HEX firmware file!"

Attached the .ota file zipped if you can see anything that makes the update crash?
TPS03_EU_v2_3_3.zip

Hi!
@robertsLando - I have a bunch of Heltun Devices that i need to firmware update, and was hoping that
ZWaveJSMQTT would help me to do. I can use my firmware update files in the ZWave.me application, but am unable to update through ZwaveJSmqtt. No issues adding them to my controller, but when i try a OTA update it gives me
"Error when calling API befinFirmwareUpdate: Unable to extract firmware from file: Could not parse HEX firmware file!"

Attached the .ota file zipped if you can see anything that makes the update crash?
TPS03_EU_v2_3_3.zip

And - as @atterdal above, my device is also "unknown" manufacturer by zwavejsmqtt.

Is there a way to make zwavejs read the manufacturer xml from the device? Zwave.me can read this. :)

@johanschelin can you open a new issue for this in https://github.com/zwave-js/node-zwave-js please?

For the record, using zwjs2mqtt 5.2 zwjs 7.10, was successful in updating .exe firmware to Aeotec HEM-G5.


Allow CTK PythonQt python module to be imported outside of a Qt applicat...

...io,
On Linux, I was able to import the ctk module doing the following:
$ cd /path/to/CTK-build/CTK-build/bin
$ PYTHONPATH=./Python/ python

import ctk
import pprint as pp
pp.pprint(dir(ctk))
['QAbstractButton',
'QAbstractItemModel',
[...]
'builtins',
'doc',
'file',
'name',
'package',
'path',
'ctkActionsWidget',
'ctkAddRemoveComboBox',
'ctkAxesWidget',
'ctkBasePopupWidget',
'ctkButtonGroup',
'ctkCallback',
'ctkCheckBox',
'ctkCheckBoxPixmaps',
'ctkCheckableComboBox',
'ctkCheckablePushButton',
'ctkCollapsibleButton',
'ctkCollapsibleGroupBox',
'ctkColorDialog',
'ctkColorPickerButton',
'ctkComboBox',
'ctkCommandLineParser',
'ctkCompleter',
'ctkConsole',
[...]

is this still relevant?  It was started 6 years ago.

Re: da08630
This modification does not seem to work, an attempt to import any of the following:
CTKCommandLineModulesBackendFunctionPointerPythonQt CTKCommandLineModulesBackendLocalProcessPythonQt CTKCommandLineModulesBackendXMLCheckerPythonQt CTKCommandLineModulesCorePythonQt CTKCommandLineModulesFrontendQtGuiPythonQt CTKCommandLineModulesFrontendQtWebKitPythonQt
Causes Segfault. (Should it show an import error instead?)
Perhaps compiling them as private might do the trick, since allowing them seems to be risky?


fix ADV_SCAN_IND considered connectable

ADV_SCAN_IND is not connectable.
Created named constants to and eventType evaluation functions to clarify the meaning of the eventTypes.
See Bluetooth Core Spec, section <IP_ADDRESS>

Please can you update status of this issue on this latest release:
<EMAIL_ADDRESS>

Please also check with:
<EMAIL_ADDRESS>Relate-to: https://github.com/noble/noble/pull/926


feature/SKOOP-159

The subordinate - manager relationship is implemented.
Active Directory registry is simulated with the mock service.
User managers are fetched every two hours for the test environment.
User managers are determined at random.
Tests.
@svetivanova could you review the changes please?

Codecov Report

Merging #87 into master will decrease coverage by 0.33%.
The diff coverage is 61.7%.

@@             Coverage Diff              @@
##             master      #87      +/-   ##
============================================
- Coverage     80.67%   80.34%   -0.34%
- Complexity      604      615      +11
============================================
  Files           162      164       +2
  Lines          2655     2702      +47
  Branches         89       89
============================================
+ Hits           2142     2171      +29
- Misses          451      467      +16
- Partials         62       64       +2

Impacted Files
Coverage Δ
Complexity Δ

...n/java/com/tsmms/skoop/SkoopServerApplication.java
33.33% <ø> (ø)
1 <0> (ø)
:arrow_down:

...c/main/java/com/tsmms/skoop/user/UserResponse.java
87.5% <0%> (-12.5%)
1 <1> (ø)

...s/skoop/scheduling/ActiveDirectoryServiceMock.java
100% <100%> (ø)
5 <5> (?)

...m/tsmms/skoop/user/command/UserCommandService.java
60.34% <28.57%> (-10.11%)
5 <1> (+1)

...om/tsmms/skoop/user/query/UserQueryController.java
75.55% <44.44%> (-7.78%)
8 <1> (+1)

.../tsmms/skoop/scheduling/UserReconciliationJob.java
90.9% <90.9%> (ø)
4 <4> (?)

Continue to review full report at Codecov.

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


[DOCFIX] Update Running Alluxio on HA cluster docs

alluxio-bot, merge this please

alluxio-bot, cherry-pick this to branch-2.4 please


fix:  Parse string without specify time zone to local time stamp

Which issue does this PR close?
Closes #
Rationale for this change
I found the following query response nothing :
curl -H POST 'http://<IP_ADDRESS>:5440/sql' -H 'Content-Type: application/json' -d '{
    "query": "INSERT INTO demo(`t`, name,value, dat,`time`) VALUES(1667374200022, '\''ceresdb05'\'', 1.0, '\''9999-10-13'\'','\''-23:59:59.999'\'')"
}'

curl -H POST 'http://<IP_ADDRESS>:5000/sql' -H 'Content-Type: application/json' -d '{
    "query": "select * from demo where t > '\''2023-03-02 15:40:00'\''"
}'

Actually it should response:
{"rows":[{"tsid":7907694565448534541,"t":1677743400000,"name":"ceresdb01","value":1.0}]}

And I found the reason is , according to  https://github.com/apache/arrow-rs/pull/2814, function string_to_timestamp_nanos returns a UTC timestamp instant of  local timestamp;
What changes are included in this PR?
fix this problem
Are there any user-facing changes?

How does this change test
By unit test

Codecov Report

Merging #692 (ea33823) into main (f0b687b) will increase coverage by 0.01%.
The diff coverage is 58.02%.

:exclamation: Current head ea33823 differs from pull request most recent head 4238941. Consider uploading reports for the commit 4238941 to get more accurate results

@@            Coverage Diff             @@
##             main     #692      +/-   ##
==========================================
+ Coverage   67.54%   67.56%   +0.01%
==========================================
  Files         281      281
  Lines       44302    44356      +54
==========================================
+ Hits        29925    29967      +42
- Misses      14377    14389      +12

Impacted Files
Coverage Δ

cluster/src/config.rs
75.00% <ø> (-2.78%)
:arrow_down:

components/logger/src/lib.rs
27.98% <0.00%> (ø)

server/src/config.rs
38.09% <ø> (+0.88%)
:arrow_up:

server/src/grpc/storage_service/mod.rs
45.11% <0.00%> (-0.02%)
:arrow_down:

server/src/grpc/storage_service/write.rs
39.42% <0.00%> (+0.21%)
:arrow_up:

server/src/http.rs
0.00% <ø> (ø)

analytic_engine/src/manifest/details.rs
95.47% <28.57%> (-0.47%)
:arrow_down:

...ry_engine/src/logical_optimizer/type_conversion.rs
88.16% <76.27%> (-2.09%)
:arrow_down:

analytic_engine/src/row_iter/merge.rs
89.18% <0.00%> (+0.17%)
:arrow_up:

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


Desktop range input

Touch devices have nice styles for the range input that allow more nuanced selection of font size with more slider. Little CSS to extend the same control to desktop users.

Nifty -- we'll take a look some time next week!
On Wed, Feb 17, 2016 at 11:53 PM, David Ryan<EMAIL_ADDRESS>wrote:

Touch devices have nice styles for the range input that allow more nuanced
selection of font size with more slider. Little CSS to extend the same
control to desktop users.
You can view, comment on, or merge this pull request online at:
https://github.com/nprapps/lunchbox/pull/72
Commit Summary

Merge pull request #1 from nprapps/master
Merge pull request #2 from nprapps/master
more finite control of font sizing

File Changes

M less/app.less
https://github.com/nprapps/lunchbox/pull/72/files#diff-0 (4)

Patch Links:

https://github.com/nprapps/lunchbox/pull/72.patch
https://github.com/nprapps/lunchbox/pull/72.diff

—
Reply to this email directly or view it on GitHub
https://github.com/nprapps/lunchbox/pull/72.

--
David Eads | http://recoveredfactory.net
"Medical statistics will be our standard of measurement: we will weigh life
for life and see where the dead lie thicker, among the workers or among the
privileged." -- Rudolf Virchow

Nice! I dig it. Merging in.


neovim: fix ruby provider warning

Fixing this warning from checkhealth
provider.ruby: require("provider.ruby.health").check()

Ruby provider (optional) ~
- Ruby: ruby 3.3.5 (2024-09-03 revision ef084cc8f4) [x86_64-linux]
- Host: /nix/store/l354hgiahcjd81qazlc870104i26lm9b-neovim-0.10.2birdeevim/bin/birdeeVim-ruby
- OK Latest "neovim" gem is installed: /home/birdee/.local/share/gem/ruby/3.3.0/gems/neovim-0.10.0/lib/neovim/connection.rb:1: warning: logger was loaded from the standard library, but will no longer be part of the default gems starting from Ruby 3.5.0. You can add logger to your Gemfile or gemspec to silence this warning. 0.10.0

steps taken:
added gem 'logger' to Gemfile
ran the following on the directory
nix run --no-write-lock-file github:BirdeeHub/neovim_ruby_updater
Things done

Built on platform(s)

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

Also currently using the same thing in my personal configuration seen here and it works

nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review pr 357902

x86_64-linux

:white_check_mark: 9 packages built:

gnvim
lunarvim
neovide
neovim
neovim-qt
neovim-remote
neovim-remote.dist
nvimpager
vim-startuptime

aarch64-linux

:white_check_mark: 9 packages built:

gnvim
lunarvim
neovide
neovim
neovim-qt
neovim-remote
neovim-remote.dist
nvimpager
vim-startuptime

x86_64-darwin

:white_check_mark: 7 packages built:

gnvim
lunarvim
neovide
neovim
neovim-qt
nvimpager
vim-startuptime

aarch64-darwin

:white_check_mark: 7 packages built:

gnvim
lunarvim
neovide
neovim
neovim-qt
nvimpager
vim-startuptime


MNHN

Hey i'm a master degree student at Natural French History Museum in Paris and for our bioinformatics projects we are interest to use your software ^^.

@TanguyDufourt Thank you for your patience while waiting for a review and processing your request. Pull request merged. Thank you!


LibWeb: Partial implementation of CSS @property parsing and IDL

The spec I followed is here.
Effort mainly driven by the wish to improve test counts in the css/css-properties-values-api category, although it might end up as a net-negative in the count, as we were getting a lot of "invalid" tests for free.

This has conflicts, I made some changes to the dump code. Sorry!
Please rebase and fix those up. And you can apply those fixup! commits at the same time. If you pass -i --autosquash to your git rebase command, it'll automatically put those where they should be.

When fixing things that happened earlier in a PR, please make the changes to the original commits instead of adding new ones. It makes the git history easier to follow later. I've pointed out a couple of places.

I agree. Will rebase/fixup

Commit messages should be wrapped at 72 characters, it looks like you're wrapping at 50-something?

I was wrapping them manually on what made sense as good new line places in the sentence. I'll find a tool to wrap them at 72.

Anything else needed to get this merged?

Anything else needed to get this merged?

Nope, I was just waiting for CI to run. Let's go!


Maximum number of Microsoft Teams Exploratory licenses

I have used one single unlicensed user to sign in to teams.microsoft.com.
Once this first user signed successfully there, the Microsoft Teams Exploratory license appeared in the M365 Admin Center. No other user signed in afterwards to teams.microsoft.com.
I have noticed that after this one-time signin to teams.microsoft.com my tenant received 100 Microsoft Teams Exploratory licenses.
Is this the maximum number of licenses? Or does it "inflate" automatically once additional unlicensed users sign in to teams.microsoft.com ?

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

ID: f897ae9b-852a-b617-7de0-d76dbd9f1820
Version Independent ID: 161b1845-53fd-8912-a5f9-737d3bcdaadc
Content: Manage the Microsoft Teams Exploratory experience - Microsoft Teams
Content Source: Teams/teams-exploratory.md
Service: msteams
GitHub Login: @LolaJacobsen
Microsoft Alias: lolaj

Espero respuesta que tengo la misma pregunta. que determina la asignación de las 100 licencias disponibles?
Saludos.

@mipopa  Thank you for submitting feedback and contributing to the docs. We are currently investigating this.

I have same issue. After activating Microsoft Teams Exploratory licenses - i have got only 100 licenses, instead unlimited amount. How can i convert this to unlimited amount?

@mipopa thank you for reaching out and helping to improve MS Docs. I'll check with the team and revert soonest.

Hi there.
I also have the same issue.
On my tenant, I see 100 Microsoft Teams Exploratory licenses but 500000 Microsoft Teams Commercial Cloud licenses (the latter expires in May 2020).
As per the documentation, the commercial cloud licenses should be converted to exploratory licenses before they expire.
But how many will be converted and is 100 the limit for exploratory licenses?
This is a big issue for me. My company is interested in getting our people to use Teams but there will be a lot more than 100...

is this the same as the 6 month E1 teams trial https://docs.microsoft.com/en-us/MicrosoftTeams/e1-trial-license with only 100 licences instead of 1000 or is it a cut down version? the 6 month team trial has been a total pain to get setup, nothing after 6 days that works. this was just there in the account

@mipopa thank you for reaching out and helping improve MS Docs. As far as I understand the limit is 100. If you do not currently have a Teams license assigned to you, you are able to access this for six months. See here - https://docs.microsoft.com/MicrosoftTeams/e1-trial-license you can only. See also https://answers.microsoft.com/msoffice/forum/all/microsoft-teams-exploratory-sharepoint-and/560b3de7-83e6-43d3-9f99-95ea4795c8b9

@mipopa Thank you for submitting feedback. We understand that this issue has been resolved.
Please feel free to re-open this issue if there is a specific area of the docs that we can improve or make better. Thank you.


Allow consumption of Change Feed as a in-memory push model

Is your feature request related to a problem? Please describe.
We're using ChangeFeedProcessor to update in-memory caches. When an instance of the application dies, a new one takes its place (either via rolling upgrade or failures) and the CFP lease is orphaned (requiring cleanup, sooner or later).
Describe the solution you'd like
Allow us to bypass the need for a lease container to read from the change feed. One solution might be to make ChangeFeedProcessorBuilder.WithInMemoryLeaseContainer() public with a way of specifying whether to start from the beginning or end of the change feed. We are able to take snapshots and would just read from the end when starting the application.
Describe alternatives you've considered
Keep using the existing model and clean up CFP lease containers that haven't moved (cont. token not brought up to level within n time) - this is less than ideal when the in-memory lease container seems to do exactly what we need, without requiring any cleanup in Cosmos.
Request sprung from discussions in #831.

Exactly same issue here - we don't need to have our leases, because we use the changefeed only to update an internal in-memory cache.
Right now, we stick with v2 of the SDK for the ChangefeedProcessor just because of this issue.

Hello @ealsur, how comes that PR closed this ticket? Isn't that just for the pull model? Or you've decided against working on an in-memory push model? I've got here because I have have a similar scenario as above for using the change-feed. I can work around using the pull model which is nice, but I think push would be cleaner.

@liquidsnk In-memory push scenarios are better served by the Change Feed pull model. Because In-memory has really no benefits (no load balancing nor distribution) over the Pull model. Pull gives more control on the frequency and even lets you store the state if you desire so (also in a controlled fashion, since you can store the continuation token anywhere you want). It is also easier if you are using it in a background process (for example, a Background Host in an ASP.NET app).

Thanks for your answer!, my scenario is as above, updating an in-memory cache for a service with changes coming trough the change-feed. My plan is to do that from a hosted service as you mention. I can manage just fine with the pull model and as you say it does give me more control. My thinking was that using the push model would allow me to make the initial implementation/prototype much easier by basically providing just a handler instead of having to worry about the details of polling the feed myself.

The problem is that CFP adds a lot of threads/Tasks in the background for this simple scenario. It would start one parallel set of Tasks for each partition, where each set contains a Task to renew the in-memory leases, a Task to read the changes, and a Task to do cross partition synchronization. It's just a lot of things that won't yield any benefit and will potentially add overhead.
With the pull model you can have your Background host periodically just call ReadNextAsync on the FeedIterator. From the lines of code perspective I believe they are pretty similar, both would need a setup (configuring and starting the CFP vs creating the FeedIterator), and consuming it (create a handler or call ReadNextAsync and handle the changes). So you end up coding more or less the same amount and one does not generate the Task overhead.


Update in BMI Calculator Project

Found a slight error in the JS of the BMI calculator project. Would like to update the same.

Please explain the error in detail

The default script displays "obese" even as the app is loaded, without any input. Its a bug in the conditionals. It's supposed to display a neutral message, something along the lines of "please enter height and weight/ no values have been entered".

@vanya31 Assigned to you!

@vanya31 Are you still working on this issue?

Yes, I'm sorry got caught up in a college project. Will resolve by evening.


Add OAuth connection method

Hello,
The intent of this pull request is to enable usage of OAuth token in addition to PAT.
See #101

@goflores please have a look at https://github.com/microsoft/terraform-provider-azuredevops/issues/419 before you merge this PR. Merci ❤ 👍🏼

@nechvatalp - Could this be merged?

I believe this issue has been solved elsewhere.


Repeat Burst before it finished

Hello,
is there a way to repeat a burst animation (which takes 3 seconds) every second that a kind of ripple effect is created.
Thanks a lot!

Hi @dipiana!
You can use the repeat option of the Burst children to repeat it, like this:
new mojs.Burst({
  radius: { 0 : 100 },
  count: 10,
  children: {
    shape: 'circle',
    fill: 'blue',
    duration: 3000,
    repeat: 100
  }
}).play();

As the Burst doesn't have an "infinite" value for the repeat option, you can use the onComplete hook to repeat it by yourself, like this:
const round = new mojs.Burst({
  radius: { 1 : 100 },
  count: 20,
  children: {
    shape: 'circle',
    fill: 'blue',
    duration: 3000
  },
  onComplete: function() {
    this.replay();
  }
}).play();

This two examples will produce the same result:

Hope this help!

Note that you can produce a "ripple" effect by just using a circle Shape :wink:

@dipiana You can also use the timeline function and pass in multiple burst animations, like in this example: https://codepen.io/sandstedt/pen/ExjvLrr?editors=0010, if that is more the effect you want.
Else if you have a Dribbble animation or something as a reference we could help you recreating it 🙂

Hey! Thanks for your help.
I am actually looking for a different effect.
Let's say one burst animation takes 2 seconds (from where the points are created until they traveled away from the center and dissolve). Now I would like to have a new burst created every 0.5 seconds, so before the first burst even finished.
My desired end result should look like this one here:

Would appreciate your help a lot!
Thanks :)

Hi @dipiana,
Thanks for the gif. sounds a little complex to build, but have started something and will share when the result will be as close as possible to yours :wink:

Hi @dipiana,
Here is a good starting point: adapt it to your needs of course :wink:
Your animation is made, for me, of two things:

A ripple effect: points placed on circles that grow up from the center, and finally disappear when reaching the maximum radius. My solution is to only use 5 Burst of 30 points that will repeat infinitely, this way you won't have a lot of browser memory consumption.

for (let r = 0; r < 5; r++) {
  new mojs.Burst({
    radius: { 20 : 300 },
    count: 30,
    angle: 'rand(0, 360)',
    isForce3d: true,
    children: {
      shape: 'circle',
      fill: 'black',
      scale: 1,
      opacity: { 1 : 0, easing: mojs.easing.quint.in },
      radius: 'rand(2, 3)',
      duration: 5000,
      delay: 1000 * r + 120
    },
    onComplete: function() {
      this.tune({
        children: {
          delay: 120
        }
      }).generate().replay();
    }
  }).play();
}

Note that the ripple effect is triggered every second on this example, but you can reduce this time to fit your needs: be sure to adjust the 120ms delay to keep the "synchronization" between the ripple and the pulse effect.

A pulse effect: points placed randomly in space, like molecules, that need to bounce accordingly to the ripple effect. The solution is to create multiple Burst with random count/angle/radius/opacity.

for (let p = 1; p <= 30; p++) {
  new mojs.Burst({
    count: 'rand(3, 10)',
    angle: 'rand(0, 360)',
    radius: { [`rand(${8 * p}, ${10 * p})`] : `rand(${10 * p}, ${12 * p})` },
    isShowStart: true,
    isForce3d: true,
    children: {
      shape: 'circle',
      fill: 'black',
      opacity: 'rand(0, 1)',
      scale: 1,
      radius: 2,
      duration: 500,
      isShowStart: true
    },
    timeline: {
      repeat: 1,
      isYoyo: true,
      onComplete: function() {
        this.replay();
      }
    }
  }).play();
}

Be aware that running too many Burst at the same time can add browser lag issues.

Finally, here is the browser rendering (size smaller that the real output):

Enjoy the power of mojs :sunglasses: :tada:
Hope this help!
Feel free to close the issue when it's good for you :+1:

Really cool! Thanks for the input! :)


added clear shopcart API and corresponding tests

I'll resolve the linter errors, just wanted to create a PR to test my permissions and ability to link to Zenhub.

Got it!

The PR looks good to me now, however, I just noticed that we also need to add API doc to README lol


How to expose kube-dns in k8s

Hello,
I am implemeting ISTIO-mesh expansion in kubernetes (AWS)
as part of this I need to expose Kube-dns service.
so I tried to created a kube-dns service with type: LoadBalancer but an unable to get external IP its in pending state.
apiVersion: v1
kind: Service
metadata:
name: dns-ilb
namespace: kube-system
labels:
k8s-app: kube-dns
spec:
type: LoadBalancer
ports:
port: 53
protocol: UDP
selector:
k8s-app: kube-dns
kubectl get svc -n kube-system
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
dns-ilb LoadBalancer xx.xx.xx.xx pending 53:30749/UDP 28m
so why dont we expose kube-dns with type: LoadBalancer????

Your cluster don't support LoadBalancer type service.
Maybe you can try metalLB if you're in test env.

@morvencao , I am using AWS servers with loadbalancer enabled. for other services like istio-ingressgateway i have got loadbalancer for kube-dns only i am not able to get external IP.

@morvencao LoadBalancer annotation depends on your cloud provider. Not very clear with AWS.

@morvencao , Protocol UDP not supporting for Loadbalancer in AWS.


Feat/typescript and module fix

Issues
fix for partial matches #22
use typescript for validation in development #17
changes
I've adjusted the project setup to use typescript and transpile to cjs. This should make it the most compatible possible and improve development experience.
I've also added a fix for the partial matches bug by always adding node_modules/ before the module name given by the user

📦 Published PR as canary version: 0.0.13-canary.23.e150058.0

:sparkles: Test out this PR locally via:
npm install<EMAIL_ADDRESS># or
yarn add<EMAIL_ADDRESS>

@axeldelafosse could you try this canary version and see if it resolves your issue with moti without needing to add node_modules in front of the path?

Yes it's working perfectly 🔥 Thanks !

LGTM. One general q unrelated to this PR is why do we need both babel and webpackFinal in the preset? They seem redundant?

Yeah actually will look into removing that babel part since it does actually seem like its not 100% necessary.

I've now removed the babel config. it seems that now that the webpack loader now includes the project root the babel config no longer does anything that the loader doesn't do.


New issue SRS librtmp raw audio push support #212

https://github.com/winlinvip/simple-rtmp-server/issues/212

"sudo yum install -y patch" require sudoer failed. ret=1
错误：编译SRS失败
when i make，it show the error!
how to solve the problem? I need your help!


This project dead?

Hello,
I'm working on a spacemacs layer for gerbil and was looking at integrating treadmill into it. Is this under active development or should I treat it as deprecated?

Guess you have your answer, currently it just hangs my emacs session...

You may be interested in this discussion over on the geiser repo if you're looking for a more fully formed gerbil-mode.

I am interested, thank you
On Sun, Feb 14, 2021 at 4:39 PM doyougnu<EMAIL_ADDRESS>wrote:

You may be interested in this
https://gitlab.com/jaor/geiser/-/issues/56#note_356636081 discussion
over on the geiser repo if you're looking for a more fully formed
gerbil-mode.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/thunknyc/emacs-treadmill/issues/18#issuecomment-778861733,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAGEMKROXGHQQT7DBYDL6KDS7BNLTANCNFSM4NPGL24Q
.


cToken bidder changes

Pull Request Test Coverage Report for Build 8259

5 of 5 (100.0%)  changed or added relevant lines in 1 file are covered.
1166 unchanged lines in 60 files lost coverage.
Overall coverage decreased (-70.0%) to 30.043%

Files with Coverage Reduction
New Missed Lines
%

contracts/core/lib/SetMath.sol
1
50.0%

contracts/core/liquidators/impl/Auction.sol
1
92.31%

contracts/core/liquidators/twap-impl/TWAPAuction.sol
1
85.19%

contracts/core/tokens/SetToken.sol
1
80.43%

contracts/core/liquidators/impl/TwoAssetPriceBoundedLinearAuction.sol
2
88.68%

contracts/core/extensions/CoreOperationState.sol
3
33.33%

contracts/core/fee-calculators/FixedFeeCalculator.sol
3
73.33%

contracts/core/lib/SetTokenLibrary.sol
3
46.67%

contracts/core/liquidators/impl/AuctionGetters.sol
3
50.0%

contracts/core/modules/lib/ModuleCoreStateV2.sol
3
0%

Totals

Change from base Build 8243:
-70.0%

Covered Lines:
582

Relevant Lines:
1748

💛  - Coveralls

LGTM


Unwrap ValueTask return types

Unwrap ValueTask return types, same as Task
Unwrap (Value)Task<ActionResult>
Unify unwrapping for consistency
Tests included
See #4373

I believe the failing checks are failing away from my changes - I think master I based on at 3ee148af had the same failing tests.

Yes I think we need to wait for some PRs to land into master before many of the builds succeed...


Added breadcrumb with schema

The below function can be used to place the breadcrumb anywhere you like such as in the header or footer.
do_action('FoundationPress_do_bredcrum');
You can use this tools to test the results http://www.google.com/webmasters/tools/richsnippets

Hello. Thank you for your proposed functionality. It think it's a good idea that FoundationPress can support simple implementation of breadcrumbs, like the one you suggest with action hooks in the header, footer or elsewhere. But in my opinion the actual hook in the footer should be left out of the pull request, and rather add a comment on the function of how and where it can be used.
I also see that you have some typos like
add_action( 'FoundationPress_do_bredcrum', array( $this, 'FoundationPress_bredcrum_make' ) );
If you could clean up your pull request, I'll check it out.
Cheers.

Corrected spelling @olefredrik
This is why you should read a book in bed rather than doing public code
Also I was thinking should this be in its own ./library/ file?

I appreciate your contribution, but obviously can not take the code in the project that do not work.


The requested module 'node:fs/promises' does not provide an export named 'exists'

Environment
v20.16.0
Reproduction

Describe the bug
When start app after build
The requested module 'node:fs/promises' does not provide an export named 'exists'
The requested module 'fs/promises' does not provide an export named 'exists'
In dev mode all work.
What is this?
Additional context
No response
Logs

Is that [Stability: 0](https://nodejs.org/api/documentation.html#stability-index) - Deprecated: Use [fs.stat()](https://nodejs.org/api/fs.html#fsstatpath-options-callback) or [fs.access()](https://nodejs.org/api/fs.html#fsaccesspath-mode-callback) instead.?


Swift and Xcode 7 beta 3 compatibility fix

:warning: DO NOT MERGE :warning:
need to merge this PR first: https://github.com/thoughtbot/Runes/pull/38

Thanks! this looks good. Once Runes has been merged we'll have to change the submodule references back to thoughtbot/Runes. Then this will be good to go.

runes, go merged, updated commit, all good to go

Thanks! merged here: 6d697919f5421af07312ffb1e23d99023d29f77e
Also, Runes was updated this morning so had to amend the commit to the latest hash.


Python3

This pull request is linked to #2 and is part of the migration to python3 effort.
@robmarkcole, we tested samples on python 3.7 on Windows. Could you check that it solves your issue running the Evo 64px sample?

Will do tomorrow, am on Mac OSX

@pl-kabaradjian ok Evo_64px_sample_py3.py runs fine on Mac.
However Evo_64px_visualization_py3.py appears to run with a significant delay on the displayed data, around 7 seconds. Also it would be nice to display values in RGB or redhot rather than greyscale? I also logged an error:
(base) Robins-MBP:sample_codes robincole$ python3 Python/Evo_64px_visualization_py3.py
Evo 64px found on port /dev/cu.usbmodem00000000001A1
Sensor started successfully
Traceback (most recent call last):
  File "Python/Evo_64px_visualization_py3.py", line 187, in <module>
    evo_64px.run()
  File "Python/Evo_64px_visualization_py3.py", line 179, in run
    self.sample()
  File "Python/Evo_64px_visualization_py3.py", line 87, in sample
    self.photo = ImageTk.PhotoImage(self.array_2_image())
  File "/usr/local/lib/python3.7/site-packages/PIL/ImageTk.py", line 118, in __init__
    self.__photo = tkinter.PhotoImage(**kw)
  File "/usr/local/Cellar/python/3.7.4/Frameworks/Python.framework/Versions/3.7/lib/python3.7/tkinter/__init__.py", line 3545, in __init__
    Image.__init__(self, 'photo', name, cnf, master, **kw)
  File "/usr/local/Cellar/python/3.7.4/Frameworks/Python.framework/Versions/3.7/lib/python3.7/tkinter/__init__.py", line 3489, in __init__
    raise RuntimeError('Too early to create image')
RuntimeError: Too early to create image
Exception ignored in: <function PhotoImage.__del__ at 0x109a007a0>
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/PIL/ImageTk.py", line 124, in __del__
    name = self.__photo.name
AttributeError: 'PhotoImage' object has no attribute '_PhotoImage__photo'

The thermal camera scripts run OK on Mac also.

@pl-kabaradjian ok Evo_64px_sample_py3.py runs fine on Mac.
However Evo_64px_visualization_py3.py appears to run with a significant delay on the displayed data, around 7 seconds. Also it would be nice to display values in RGB or redhot rather than greyscale? I also logged an error:
(base) Robins-MBP:sample_codes robincole$ python3 Python/Evo_64px_visualization_py3.py
Evo 64px found on port /dev/cu.usbmodem00000000001A1
Sensor started successfully
Traceback (most recent call last):
  File "Python/Evo_64px_visualization_py3.py", line 187, in <module>
    evo_64px.run()
  File "Python/Evo_64px_visualization_py3.py", line 179, in run
    self.sample()
  File "Python/Evo_64px_visualization_py3.py", line 87, in sample
    self.photo = ImageTk.PhotoImage(self.array_2_image())
  File "/usr/local/lib/python3.7/site-packages/PIL/ImageTk.py", line 118, in __init__
    self.__photo = tkinter.PhotoImage(**kw)
  File "/usr/local/Cellar/python/3.7.4/Frameworks/Python.framework/Versions/3.7/lib/python3.7/tkinter/__init__.py", line 3545, in __init__
    Image.__init__(self, 'photo', name, cnf, master, **kw)
  File "/usr/local/Cellar/python/3.7.4/Frameworks/Python.framework/Versions/3.7/lib/python3.7/tkinter/__init__.py", line 3489, in __init__
    raise RuntimeError('Too early to create image')
RuntimeError: Too early to create image
Exception ignored in: <function PhotoImage.__del__ at 0x109a007a0>
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/PIL/ImageTk.py", line 124, in __del__
    name = self.__photo.name
AttributeError: 'PhotoImage' object has no attribute '_PhotoImage__photo'

The thermal camera scripts run OK on Mac also.

Thanks @robmarkcole for the testing, I am happy to hear that those samples work as well on Mac.
However, I don't notice a delay on Windows or Ubuntu (or way below a second). There might be some implementation difference of Tkinter depending on the platform that would explain those quirks. If you find a patch that prevents those issues, and that is portable across platforms, I will be happy ton include it.
Concerning the colormap, it would definitely be a nice feature but I am often reluctant to include OpenCV as it is a rather cumbersome dependency to manage/install compared to tkinter which is included in recent python versions. But there might be an option for this in tkinter that I am not aware of.

Yes I agree avoid openCV. Better is https://pypi.org/project/opencv-python/
Anyways this is not essential for this PR, we have another technique for visualising the data on mac using MQTT.
Cheers


buffer protocol

I wonder if it would make sense to add the Python3 C-API functions related to the Python buffer protocol. This might make it easier to share bytes between Go and Python? (i.e. io.Reader/io.Writer stuff).
https://docs.python.org/3/c-api/buffer.html

@christian-korneck your dream is complete
Let's try it, python bindings cgo-less
https://github.com/aadog/py3-go

@aadog do you have a buffer protocol example?

What is he

go to python or python to go,They are done automatically
string->str
intT ->intT
If it is not supported, please return * pyobject to convert manually, or modify pyconvert
https://github.com/aadog/py3-go/blob/master/PyConvert.go

All this should be simple, but I don't know what type of byte should be converted to Python


High Z score and its intrepretation

data-0.txt
I am new to Benford law.
I tested whether the third column of data-0.txt obeys the benford law and i got very big like  Z score like 26, 86,  226.
Is it normal to get? or am i doing anything wrong?
If it is normal, does it mean the column does not obey benford law?
Any help would be very great.

Dear Vishnuu,
thanks for using Benford_py. In examining your issue, I even discovered a Bug in the code, but maybe not in the way you expected. Let me explain:
The series of records you are evaluating is made of integers, so in the function call you must set the decimals parameter to 0. But when I did this, the internal check for numerical data says it is not int nor float, because it is checking for the name "int", while the dtype in pandas is "int64". I shall fix it, then.
Now to your problem, I could run it by converting it to floats, and setting decimals to 0, as shown in the image below.

There is no use applying other tests, such as the first two digits, because the sample is too small, or the second digit, since there is a lot of single-digit entries.
Give it a try this way and let me know if it still doesn't work.
Best wishes,
Milcent

Dear  Milcent,
Thank you very much for your help.
But i get error with the line of code
f1d = bf.first_digits(data.iloc[:,2].astype(float), digs=1, decimals=0, confidence=99, high_Z='all' )
I tried the following
`
data = pd.read_csv("C:/Users/data-01",
sep="\s+", #separator whitespace
header=None)
data=pd.DataFrame(data)
data[2]= np.log(data[2]/data[2].shift())
for this line of code i got the following result,
f1d = bf.first_digits(data[2], digs=1, decimals=8, confidence=95)
         Expected     Found    Z_score

First_1_Dig
5            0.079181  0.320175  26.891600
6            0.066947  0.245614  21.522345
2            0.176091  0.217105   3.208312
But for this line of code i got the error
f1d = bf.first_digits(data.iloc[:,2].astype(float), digs=1, decimals=0, confidence=99, high_Z='all' )`
,
Initialized sequence with 912 registries.
Traceback (most recent call last):
File "benford_gas.py", line 66, in
f1d = bf.first_digits(data.iloc[:,2].astype(float), digs=1, decimals=0, confidence=99, high_Z='all' )
File "C:\Users\benford.py", line 1141, in first_digits
ret_df=True)
File "C:\Users\benford.py", line 311, in first_digits
confidence=confidence)
File "C:\Users\benford.py", line 1069, in prep
dd['Z_score'] = _Z_score(dd, N)
File "C:\Users\benford.py", line 761, in _Z_score
return (frame.AbsDif - (1 / (2 * N))) / np.sqrt(
ZeroDivisionError: division by zero
I also tried with another dataset from the link, where the columns are decimals. But still i got a very high Z score. I tried the first sample in the zip file, checked the fifth column and the following result.
https://archive.ics.uci.edu/ml/machine-learning-databases/00487/
         Expected     Found     Z_score

First_1_Dig
4            0.096910  0.190353  118.309580
9            0.045757  0.059377   24.406925
1            0.301030  0.307908    5.613896
3            0.124939  0.128909    4.493977
Can you please have a look at this?
Many Thanks,
Vishnu

I got the same results as yours in the log-transformed df[2] column, and much worse (high Z) results in the gas dataset. I didn't have the divide by zero error, though.
I think the problem with both datasets is that the values don't span through many orders of magnitude, as confirmed by their ranges (df.describe()).
And the gas dataset is also pretty large, so the Z-test gets very sensitive (power problem). Very high Z-scores in very large samples may be counterbalanced by setting the limit_N parameter to a smaller number, like 2,500, and/or settign the MAD parameter to True, which will cause it to compute de Mean Absolute Deviation, a measure more robust to large samples. I tried that, but it still showed no conformity.
I also tried the First Two Digits test (digs=2), since the sample was large, also to no avail.
The Mean Absolute Deviation is 0.1613549019904375 For the First Digit:             - 0.0000 to 0.006: Close Conformity             - 0.006 to 0.012: Acceptable Conformity             - 0.012 to 0.015: Marginally Acceptable Conformity             - Above 0.015: Nonconformity
Maybe these datasets are not Benford-compliant after all.
In order for you to get more confident in the testing side, I suggest you get some well-known-to-be-complinat datasets, like some here link. The countries' cities populations are usually very adherent, as well as the spending data.

I  tested again with another different dataset (Intel Sensor dataset).  http://db.csail.mit.edu/labdata/labdata.html
But it showed no conformity.  In general i want to know, whether Sensor measurement data conforms with Benford law.  That's why trying with sensor data.
Now i have a doubt,  only population, transactions data obey Benford?
Sensor data comes under the category of non-obeying data?

I'm sorry, I can't tell you for sure that the data of your interest conforms to Benford or not.
When there is no certainty about it, we just have to test with several samples and find out.
What I can say, though, is it is not about the sensor, but about what the sensor is measuring.
If it is temperature, or humidity, their small span will probably cause them not to conform.
The measurements of light and voltage, however, could be good candidates, since they might be as low as zero and as high as hundreds of thousands. And this is not the only feature of Benford-compliant datasets. Check this reference for more.
I wish I could have been more helpful...

Thank you so much for the explanation. I will read further about the law.

OK.
I'll close here then, but fell free to jump in should you need more help.
Cheers

Dear @vishnuu,
I was thinking about your problem the other day when releasing the latest version of the package and updating the Demo notebook.
Maybe your sensor data is not Benford-compliant (like the SPY closing prices on the notebook), but their variations may be (like the SPY returns).
So, if you have lots of sensor readings, you could test the variations (percentage or log) across time.
Let me know if it helps.
Cheers,
Milcent


Add sample tests for LUIS runtime package

Configuration changes: https://github.com/Azure/azure-rest-api-specs/pull/6166


Running on Ubuntu 14 ?

Does anyone got this running on ubuntu 14? I get an error while running:

./licode/scripts/installNuve.sh

Ubunut 12 is not supported anymore.
Thanks :)

It should work on Ubuntu 14.04 LTS.
Can you copy the error here?

Hey, it was my fault. I had not enough space left on my hd.... now it runs! thanks for your nice work!


feat: panel for packagemanagement

[ ] use no confirm options for removing packages when available
[ ] make reactive on backend — mark cells using removed module as stale


CRAYSAT-1193:Improve create and delete fas snapshot

IM: CRAYSAT-1193
Reviewer: Ryan
Improved snapshot creation by removing expiration time
Add delete option to prompt user to delete the snapshot if it is no longer needed.
Summary and Scope

Polling the snapshot in sat firmware resulted in HTTP errors in large clusters.
Hence, adding the retry option when it consecutively fails for up to 5 times.
Remove expiration time and add --delete-snapshot option to prompt the user to delete the snapshot
if it is no longer needed. By default, log a message referring the user how to delete the snapshot.

Issues and Related PRs
Resolves CRAYSAT-1193.
Testing
List the environments in which these changes were tested.
Tested on:
Baldar
Test description:
Test by creating a new snapshot using sat firmware command
_Test by deleting the snapshot using sat firmware --delete-snapshot <snapshote-name>
Risks and Mitigations
Minimal
Pull Request Checklist

[x] Version number(s) incremented, if applicable
[x] Copyrights updated
[x] License file intact
[x] Target branch correct
[x] CHANGELOG.md updated
[ ] Testing is appropriate and complete, if applicable
[ ] HPC Product Announcement prepared, if applicable

Please find the detailed output here:
CRAYSAT-1193.txt

One thing you could try to do to test the resiliency behavior you added would be to start a sat firmware command on a decently large system and then between when sat firmware issues the POST request to create the snapshot and when it starts polling, perhaps you could force FAS into a bad state, possibly with a rollout restart or something in Kubernetes. The HMS folks could probably help you find a way to test that behavior.

Tested on Odin.
Please find the attached output after addressing the comments.
CRAYSAT-1193-final.txt

Tested on Odin.
Please find the attached output after adding the additional feature to delete more than one snapshot
CRAYSAT-1193-firmware.txt


[Event Request] Codeunit 442 "Sales-Post Prepayments" - OnBeforePrepmtAmount

Describe the request
Can you please introduce the new Event Publisher with a handling Pattern in the Codeunit 442 "Sales-Post Prepayments" in the procedure PrepmtAmount:
procedure PrepmtAmount(SalesLine: Record "Sales Line"; DocumentType: Option Invoice,"Credit Memo",Statistic): Decimal
var
  IsHandled : Boolean;
  ReturnValue: Decimal;
begin
    IsHandled := false;
    OnBeforePrepmtAmount(SalesLine, DocumentType, ReturnValue, IsHandled);              <===================
    if IsHandled then
      exit(ReturnValue);

    with SalesLine do
        case DocumentType of
            DocumentType::Statistic:
                exit("Prepmt. Line Amount");
            DocumentType::Invoice:
                exit("Prepmt. Line Amount" - "Prepmt. Amt. Inv.");
            else
                exit("Prepmt. Amt. Inv." - "Prepmt Amt Deducted");
        end;
end;

New Event Publisher:
[IntegrationEvent(false, false)]
local procedure OnBeforePrepmtAmount(SalesLine: Record "Sales Line"; DocumentType: Option Invoice,"Credit Memo",Statistic; var ReturnValue: Decimal; var IsHandled : Boolean);
begin
end;

Additional context
We would need a place for connection, to assign value for exit in the procedure PrepmtAmount in the Else branch per the custom logic.
Internal work item: AB#506314

Hello Jasper, If I understand you right, the Update for the current version would cover BC23 and the next Major Release is BC24. Is there a way to have this publisher in BC22?

Creating a new issue as you did is the best way to ask the team, if they want to backport the event to version 22 for you 😊 It's not something we usually do, but if you've got good reasons for the request, the team might make an exception!


Fixes memory leak in HazelcastAsyncMultiMap

Calling ClusterManager.getAsyncMultiMap multiple times can leak memory as the map listener is still registered.
See vert-x3/issues#316

vert-x3/issues#316 closed (won't fix)


Fix padding

Depending on what the size of the certificate was, could run into issues with some parts not being aligned.  Should be good now!


implement breaks in histogram's ggplot

once we close #711
we can implement breaks: https://github.com/ploomber/jupysql/pull/711#issuecomment-1626033214

Acceptance Criteria

Implement breaks like in ggplot in R (Default should be None. Thus, bins should be used by default and use breaks only if a user specifies one.)
Add documentation to explain how to use breaks
Add test functions

I have one question about the implementation. In R, when both bins and breaks are provided, breaks takes precedence over bins, so breaks argument is used. Do we want to replicate this or do you think raising an error is more appropriate?

I have one question about the implementation. In R, when both bins and breaks are provided, breaks takes precedence over bins, so breaks argument is used. Do we want to replicate this or do you think raising an error is more appropriate?

An error when both bins and breaks are passed is better.

okay I will raise an error


Error while fetchig extensions. server retutned 500

Does this issue occur when all extensions are disabled?: Yes/No

VS Code Version: 1.71.2
OS Version: Arch linux

Steps to Reproduce:
I just installed vscode via package manager "pacman", it started without any issues but when i serch for extensions it give me this error: "Error while fetchig extensions. server retutned 500"
I couldn't find any solution to this.
Thanks

Can you please share following logs?

F1 > Toggle Developer Tools > Console
F1 > Toggle Developer Tools > Network

Hi, I have the same issue.  Please file an issue against the source from where you downloaded the application


[hax editor] Math configure settings text invisible, not expandable

Description
The configure settings for the math element in the Hax editor appear with bright text on a bright background.  Furthermore, they cannot be expanded.
I was hoping to be able to write out a LaTeX expression and center it, but this could not be achieved using just the math element on its own.  As a workaround, I simply created a new paragraph element, aligned its text to the center, and then created a math element inside the paragraph element.  This successfully centered the LaTeX rendering.
Expected Behavior

The configure settings text for the math element should be more visible
The math element should be "centerable" (or if it's just intended to serve as an inline element, that's fine, it can be centered via its parent block element)

Is your expectation that this is a centered block level element with text formatting options for sizing?

https://github.com/haxtheweb/issues/issues/2146 will resolve this by adding legit latex support as a block level element


Enforce line rule for expression bodied members

Different projects may have different rules for writing an expression-bodied method, lambda, property, etc. Whatever, I believe that a rule should enforce a unique style.
Some of the variants that are possible:
void MyMethod() => DoX();

void MyMethod() =>
    DoX();

void MyMethod()
    => DoX();

void MyMethod()
    =>
    DoX();

The rule can also accept two states of all in one line or multiline.

Our project has a bespoke Analyzer which comprehensively detects these—feel free to use it as a basis for StyleCop.