build: upgrade

rewrite source by ts.
compatible with mobx v6.
use rollup for module and cmd output.
add module output.
change declaration file path to module/index.d.ts.
change type,module,browser,unpkg section in package.json.
upgrade eslint and babel dependencies.
update test case.

may be it mobx-react-router should upgrade to v5.

It looks like this library isn't maintained anymore. Would you like to create a separate NPM package?

@kubk already published
https://www.npmjs.com/package/@superwf/mobx-react-router

I have tried to use this patch with Mobx6, but the UMD build in IE11 gives syntax errors.   You can find the similar error in
https://github.com/react-dnd/react-dnd/issues/1557
The bundle should be transpiled to IE11 compatible using babel pre-set
See the change in  rollup.config.js
https://github.com/react-dnd/react-dnd/pull/1621/commits/242a6e177405ed046ce77575921bbc001825156a

@jimbofreedman @eduardofcgo @alisd23 can you guys check this / merge so we have MobX v6 support?

@eek You can use the aforementioned fork for now. The original author of this library doesn't respond to emails.

@kubk I am using the other repo at the moment, but in the other issue - https://github.com/alisd23/mobx-react-router/issues/74 @alisd23 gave full access to @jimbofreedman and @eduardofcgo to keep the repo updated. Maybe he should have also given permissions to @superwf

@superwf you did such great work with typescript and rollback. Are you still interested in merging some of your changes?


fix typo

(trivial drive-by fix)

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Can one of the admins verify this patch?

@jenkins-droid test this please

@dlwh thanks for your help!
DocCheck is complaining because the documentation for ONNX Dialect located here (https://github.com/onnx/onnx-mlir/blob/master/docs/Dialects/onnx.md) is out-of-date due to this patch. You can use the following sequence of commands to sync the doc:
cd onnx-mlir/build
# Generates the onnx dialect documentation.
cmake --build . --target onnx-mlir-doc
# Move the generated documentation to the correct place.
mv docs/Dialects/onnx.md ../docs/Dialects/onnx.md

Happy to help out if this doesn't work out.

@jenkins-droid test this please

@dlwh can you fix the DCO check failure please?


Do not use deprecated OpenFF Toolkit iterator

PR Summary:
Topology.topology_atoms was deprecated in 0.11.0 and will be removed in the forthcoming 0.14.0 release.
PR Checklist

[ ] Includes appropriate unit test(s)
[ ] Appropriate docstring(s) are added/updated
[ ] Code is (approximately) PEP8 compliant
[ ] Issue(s) raised/addressed?

Failing test is due to the new pydantic release which impact gmso (https://github.com/mosdef-hub/gmso/issues/742). I have made a new gmso built on its feedstock with pydantic pinned. Rerunning failed tests now and hopefully they will grab the correct build.

Thanks @daico007!


Screenshots

Hi, i'm trying to implement screenshots on motion detection using ffmpeg.
I tried several solutions but i'm running into a stumbling block with the right video source. i can't use '/dev/video0' because 'resource is in use (by edi-cam)' and a direct http output isn't working (using http://<IP_ADDRESS>:8082). Any ideas ?
Also as this isn't really an "issue" i tried to avoid starting one up, but couldn't find a reliable way to contact you. Thanks

Unfortunately, I don't have any experience doing this with ffmpeg. However, I have used the motion package before on a Raspberry Pi to see the live video stream, as well as save images / video when motion is detected. Take a look at this project that uses motion on Intel Edison. Hope this still at least addresses your question! Wish I could help more directly with ffmpeg.

Hi. So i did take a look at that project (although i had seen it before, i actually was able to grasp everything that was going on this time). I found motion to be the solution to my problem! which makes me wonder why this wasn't the first approach for 'edi'cam'? They both have their pro's and cons namely edi-cam/ffmpeg is faster(lag-wise) but slower when the resolution is ramped up. edi-cam's output format is hard to work with & i had trouble getting it to port forward correctly. motion does use 2x the cpu (IMExperience) and has a much worse image quality. Sorry for going on about their differences, and THANKS! a lot for doing this and making this open source!

The image quality and video rate of motion are precisely the reasons why I wanted to try out ffmpeg. As you pointed out, they have their pros and cons, but I really wanted a solution that could stream video at a faster rate. I also wanted to create a Node.js example to illustrate how it can be used on Edison. In any case, glad motion has worked out for you!


Implementing an Image Classification App in One Minute for TinyMs 0.3.1

What type of PR is this?

/kind enhancement

What does this PR do / why do we need it:
This PR updates tinyms0 3.1 realize the document of "realizing one graphic classification application in one minute" and publish it (Chinese version and English version) on the official document website.
Which issue(s) this PR fixes:
Special notes for your reviewers:

Sorry, it needs to be closed due to a push error


Crash on scss error when using source maps

When I use gulp-sass with sourcemaps the errors don't get logged to the console anymore and gulp just crashes.
My config:
var options = {};

options.sass = {
    errLogToConsole: true,
    sourceComments: 'map',
    sourceMap: 'scss'
}

// Styles for development
// libSASS & Autoprefixer
// [gulp-sass](https://www.npmjs.org/package/gulp-sass)
// [gulp-autoprefixer](https://www.npmjs.org/package/gulp-autoprefixer)
gulp.task('styles-dev', function() {
  return gulp.src(scss_src_dir + '/style.scss')
    .pipe(plugins.sass(options.sass))
    .pipe(plugins.autoprefixer('last 2 versions', 'ie 9', 'ios 6', 'android 4'))
    .pipe(gulp.dest(scss_dst_dir))
    .pipe(browserSync.reload({stream:true}));
});

The error returned:
60543 segmentation fault  gulp

This has been resolved in 2.x. We have moved to using gulp-sourcemaps like suggested earlier in this thread. Please try it and report back. If we don't hear back, we'll assume it's been resolved and close this issue.
npm install dlmanning/gulp-sass#2.x

As it's been a month, I'm closing this.


Header

: Call to a member function count() on a non-object in /var/www/vhosts/mywebsite.com/httpdocs/app/design/frontend/frontlinedev/gumby/template/page/html/header.phtml on line 31. It breaks the whole site.

Hello @mismouss I ran through disabling categories and sub-categories thinking possibly the error was caused by having no categories or by having a category with no subcategories but so far I cannot reproduce this error.  Can you tell me how to reproduce this? If you have any categories created? have there been any changes made to the file? thank you

Hello,
No, I have categories and a lot of subcategories. The file has not been changed. For now , I'm trying a menu extension but I prefer using your header. I'm looking at the problem.

The site test is http://www.vitalstore.fr/

The site is looking great!  If you'll email me<EMAIL_ADDRESS>with a way to access the site (like FTP) I'll log in an take a look to find out what's going on.


ImportError: cannot import name 'soft_unicode' from 'markupsafe' (/usr/local/lib/python3.8/site-packages/markupsafe/init.py)

With the new release getting the below error. It is working fine with version= 2.0.1
ImportError: cannot import name 'soft_unicode' from 'markupsafe' (/usr/local/lib/python3.8/site-packages/markupsafe/init.py)

From the changelog https://markupsafe.palletsprojects.com/en/2.1.x/changes/#version-2-1-0
Remove soft_unicode, which was previously deprecated. Use soft_str instead. [#261](https://github.com/pallets/markupsafe/pull/261)

But why the doing a breaking change in a minor version?!

I am using python:3.7 image and experiencing the same error, can someone suggest  a work around for now, that would be much appreciated!

I'm using conan in python 3.7 up to 3.10 and this issue breaks conan. Please stick to semantic versioning and don't make breaking changes in minor version updates!

2.0.1

I am using python:3.7 and flask 1.1.3 and experiencing the same error, can someone suggest a work around for now, that would be much appreciated!

Set the version to 2.0.1 in your requirements.txt or install it with python -m pip install markupsafe==2.0.1

worked for me after markupsafe==2.0.1 in  requirements.txt

You are using an unsupported version of the project, please update to the latest version. Additionally, please read https://hynek.me/articles/semver-will-not-save-you/, then use a tool like pip-tools to pin your dependencies and control when you get updates. Be sure to run your tests with deprecation warnings treated as errors so that you get notified of these types of changes early.

Removing deprecated functions nevertheless requires a major release. Semantic versioning won't save us, but we don't have to artificially worsen the situation by not following the basic rules.

This error surfaces on Python 3.7.12, Flask 1.1.4 and MarkupSafe 2.0.1. So it is not resolved.

Did you read the comments? You need to pin your dependencies or update to the latest Jinja version.

I am getting the same error even though I have the latest Jinja2 and MarkUpSafe==2.0.1:
ImportError: cannot import name 'soft_unicode' from 'markupsafe' (/usr/local/lib/python3.7/site-packages/markupsafe/init.py)
What can I do to fix this. I am trying to run an airflow pipeline. Full error log below:
Traceback (most recent call last):
File "/usr/local/bin/airflow", line 25, in
from airflow.configuration import conf
File "/usr/local/lib/python3.7/site-packages/airflow/init.py", line 42, in
from airflow.models import DAG
File "/usr/local/lib/python3.7/site-packages/airflow/models/init.py", line 21, in
from airflow.models.baseoperator import BaseOperator, BaseOperatorLink  # noqa: F401
File "/usr/local/lib/python3.7/site-packages/airflow/models/baseoperator.py", line 36, in
import jinja2
File "/usr/local/lib/python3.7/site-packages/jinja2/init.py", line 33, in
from jinja2.environment import Environment, Template
File "/usr/local/lib/python3.7/site-packages/jinja2/environment.py", line 15, in
from jinja2 import nodes
File "/usr/local/lib/python3.7/site-packages/jinja2/nodes.py", line 19, in
from jinja2.utils import Markup
File "/usr/local/lib/python3.7/site-packages/jinja2/utils.py", line 642, in
from markupsafe import Markup, escape, soft_unicode
ImportError: cannot import name 'soft_unicode' from 'markupsafe' (/usr/local/lib/python3.7/site-packages/markupsafe/init.py)


Resolve ADC3004 Issue

[x] ADC Test
[x] Python Tests
[x] AD2 Tests

ADC3004 Test: Channel 0 Tied to GND

Expected Result: 0 0 0
0
Actual Result: 0 2 255
767

ADC MCP3004 Test Channel 0 Tied to 3.3VDC

Expected Result: 0 3 255
1023
Actual Result: 0 3 255
1023
Conclusion: ADC test passed.

Please note that the results show the "X X X" individual bytes values and the decimal ADC value.

AD2 Scope Image of ADC Output with ambient noise

Expected Result: Flat Line sitting around 1.65V
Actual Result: Flat Line sitting around 1.75V

A2C Scope Image of ADC Output with loud noise

Expect Result: PkPk > 2.0V
Actual Result PkPk < 1.0V
Conclusion: Microphone is much less sensitive to noise than previous anticipated.
Options:
- We can use the remaining open channel as a reference to improve resolution.
- We can could analyze frequency baby cries at (fft) instead of PkPk value
- Differentiate in software
With only a week until the deadline, these options 1 and 2 are quite time consuming. Therefore, I am going to go with option 3. We will do our best to account for this issue in software.

Python Output with Loud Noise:

Expected Result: Avg Voltage > 2.0 V
Actual Result: Avg Voltage < 1.0V

ADC MCP3004 Test Channel 0 to to output of OPA344:

Expected Result: 0 1 255
512
Actual Result: 0 3 255
1023

Python Output with Ambient Sound:

Expect Result: Avg Voltage < 1.0V
Actual Result Avg Voltage = 0.0V

Python Testing with Intervals of Baby Crying:

When playing...
Expected Result: PkPk Difference = 500-750
Actual Result: PkPk Difference = 10-15
When paused...
Expected Result: PkPk Difference = 0-100
Actual Result: PkPk Difference ~= 6

Testing New Code:

Based on results above I changed what the threshold value should be and was able to detect when the baby was crying most of the time. However, with poor resolution there are times when the baby is crying and the microphone does not detect it.

This voltage divider solution could improve the resolution but would need to change gain value on amplifier.

The problems were analyzed. A solution was proposed but will not be implemented. I am closing this issue.


docs(redux): reference redux components in /lib/

fixes #43

Coverage remained the same at 97.414% when pulling 89ce308b678f5456ef94f2547b4bc20edd6424b8 on docs/lib-in-path into 93daae69e4ada835ab052e17d285251e85d53b52 on master.

hmmm... The docs don't seem to actually build the lib/ directory...


Added auto generated configs for nGraph

Add cmake config files

@aslepko @silee2 Guys, please look at this MR.

@silee2 Please look at this PR.


Matrix.makeRotate is wrong

Just for information Matrix.makeRotate rotates in the wrong direction (Quat.makeRotate is correct).
(@jtorresfabra)
osg.Matrix.makeRotateFromQuat(osg.Quat.makeRotate(Math.PI/2,1,0,0,[]),[])
>[1, 0, 0, 0, 0, 0, 1, 0, 0, -1, 0, 0, 0, 0, 0, 1]
osg.Matrix.makeRotate(Math.PI/2,1,0,0,[])
>[1, 0, 0, 0, 0, 0, -1, 0, 0, 1, 0, 0, 0, 0, 0, 1]

@stephomi I am not the author of these methods. Or at least I don't recall implementing or modifiying any of them. I've just looked at the history and it seems that methods are there from at least Dec 2013.
If it was just for info thanks, good to know.

Yep I know it's not you (it's a very old function) it was just for info. : )
Since it's the kind of function that is used a lot, if we fix it it might break a thing or two obviously.

PR at https://github.com/cedricpinson/osgjs/pull/285


Invalidate the decoration manager at the start of ADCE.

If the decoration manager is kept live the the contex will try to keep
it up to date.  ADCE deals with group decorations by changing the
operands in |OpGroupDecorate| instructions directly without informing
the decoration manager.  This puts it in an invalid state, which will
cause an error when the context tries to update it.  To Avoid this
problem, we will invalidate the decoration manager upfront.
At the same time, the decoration manager is now considered when checking
the consistency of the decoration manager.

I just saw the failures.  Are they related to the change, or are they due to the shaderc issues we've been having?

No, the only one that should be failing is the shaderc-smoketest.


How to test the model?

Can you provide the test code? Is the pre-trained model provided for training only?

Can you provide the test code? Is the pre-trained model provided for training only?

I also want to know how to test the model and get the depth map? @zhijieshen-bjtu


Yelp dataset is missing

Hi everyone, the yelp dataset url: https://www.yelp.com/dataset/challenge is broken, and I cannot find the yelp challenge 2018 dataset from Internect.
Could someone kindly give me a link to let me download this dataset? Thanks very much!!!

Hello, I have been looking for this recently, do you have the answer? If so,could you give me a link or dataset? Thanks very much~~


Fix homepage to use SSL in Harvest Cask

The HTTP URL is already getting redirected to HTTPS. Using the HTTPS URL directly
makes it more secure and saves a HTTP round-trip.

Looks good, thanks! :+1:


NIFI-3132 - Using cygpath and quoting paths correctly in sh scripts w…

Thank you for submitting a contribution to Apache NiFi.
In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:
For all changes:

[x] Is there a JIRA ticket associated with this PR? Is it referenced
in the commit message?

[x] Does your PR title start with NIFI-XXXX where XXXX is the JIRA number you are trying to resolve? Pay particular attention to the hyphen "-" character.

[x] Has your PR been rebased against the latest commit within the target branch (typically master)?

[x] Is your initial contribution a single, squashed commit?

For code changes:

[x] Have you ensured that the full suite of tests is executed via mvn -Pcontrib-check clean install at the root nifi folder?
[x] - N/A - Have you written or updated unit tests to verify your changes?
[x] - N/A - If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
[x] - N/A - If applicable, have you updated the LICENSE file, including the main LICENSE file under nifi-assembly?
[x] - N/A - If applicable, have you updated the NOTICE file, including the main NOTICE file found under nifi-assembly?
[x] - N/A - If adding new Properties, have you added .displayName in addition to .name (programmatic access) for each of the new properties?

For documentation related changes:

[x] - N/A - Have you ensured that format looks appropriate for the output in which it is rendered?

Note:
Please ensure that once the PR is submitted, you check travis-ci for build issues and submit an update to your PR as soon as possible.
…hen run in cygwin

+1
Built under Windows 7, and with a base Cygwin install, was able to run NiFi from outside of the bin dir:
/cygdrive/c/Users/Jeff/nifi-dev/nifi/nifi-assembly/target/nifi-1.2.0-SNAPSHOT-bin/nifi-1.2.0-SNAPSHOT $ bin/nifi.sh run
Verified that the log directory location was correct:
-Dorg.apache.nifi.bootstrap.config.log.dir=C:\Users\Jeff\nifi-dev\nifi\nifi-assembly\target\nifi-1.2.0-SNAPSHOT-bin\nifi-1.2.0-SNAPSHOT\logs

Merging after review by @jtstorck


feat: add hasVerifiedAttestations and getVerifiedAttestations

What changed? Why?
Introduce new functionalities that make easier verify addresses in the Ethereum Attestation Service (EAS).
hasVerifiedAttestations
getAttestation
Notes to reviewers
How has it been tested?
Local build and consuming in a playground

Missing tests

closing as going to break down in smaller PRs.


Add a missing import for b32decode

This commit fixes a NameError that was introduced in 132f54ade.

Whoops! Good catch, thanks!


Website Guide: How to link a Flutter module to an existing iOS project

Website Guide: How to link a Flutter module to an existing iOS project.
This refers to the creation of a Flutter module project and then linking that module project to an existing XCode project via project configuration.
This guide should demonstrate a CLI-only approach.  I don't believe we will have any IDE support for this by delivery time.

this would probably help our company decide if Flutter is usable.  Even a case study with groupon if they did it..

@neiljaywarner I responded to your comment on a related issue, but I'll repeat here that we'd like to hear how you intend to use Add2App behavior.  We're taking a 2nd look at specific use-cases for Add2App to ensure that we're covering the necessary bases.

Is this issue about https://github.com/flutter/flutter/wiki/Add-Flutter-to-existing-apps but more elaborate and for https://flutter.io/ ?
Should this be moved to flutter/website?

I think it's fine to leave it here if it is to track your own work.
If you want the website team to take over the task, then I think it should be moved to flutter/website.

For now it's for me, so we can leave it.

The website now has a Flutter module into your iOS project page.  Closing.
Feel free to re-open if there was more you wanted to include that isn't covered with https://github.com/flutter/flutter/issues/45224.


Lag/Rubberbanding

Hello!
I am hosting this server for 3 players, all on the same LAN, on dedicated hardware I have in my server rack. 90% of the time we don't have issues but there are times when there is lag or rubberbanding going on. I've restarted the docker container and even restarted the host but it comes and goes. I haven't found a good way to reproduce nor resolve it. In my CoreKeeperServerLogs, these lines tell me when it happens:
Internal: JobTempAlloc has allocations that are more than the maximum lifespan of 4 frames old - this is not allowed and likely a leak
To Debug, run app with -diag-job-temp-memory-leak-validation cmd line argument. This will output the callstacks of the leaked allocations.
Internal: deleting an allocation that is older than its permitted lifetime of 4 frames (age = 15)
Internal: deleting an allocation that is older than its permitted lifetime of 4 frames (age = 15)
Internal: JobTempAlloc has allocations that are more than the maximum lifespan of 4 frames old - this is not allowed and likely a leak
To Debug, run app with -diag-job-temp-memory-leak-validation cmd line argument. This will output the callstacks of the leaked allocations.

I did more testing. If a player is in the base where the core is (0,0) while a person makes it beyond the first wall (sunket sea, desert, etc). The error start rolling in and there is rubberbanding. If the players are all together, there is no lag.

Do you think it's related to the server being on a container or to the server itself?

I have the same experience.
The trigger for me is presumably also when one player is in the base at the core and another is porting outside the first wall.
Apart from that, everything runs smoothly.


Multiple thread

Current app service runs on single thread, how to enable multiple thread.

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

ID: 0077a811-b0b7-93b1-80b0-a4d45615ef4b
Version Independent ID: cc95198d-5560-2bf1-09ae-b8d210e45f2d
Content: Quickstart: Create a Linux Python app - Azure App Service
Content Source: articles/app-service/containers/quickstart-python.md
Service: app-service
GitHub Login: @cephalin
Microsoft Alias: cephalin

Thanks for the feedback @karthikeyanVK! Azure App Service doesn't restrict you from running multiple threads within your app. Something like https://www.tutorialspoint.com/python/python_multithreading.htm is completely valid. If you're running into a specific issue with your multi-threaded application, please provide a code snippet and any errors you've discovered.

Hi @karthikeyanVK, wanted to follow up to see if you were still running into any issues.

Since we have not heard back from you @karthikeyanVK we will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly reopen the issue and continue the discussion.

@RyanHill-MSFT , Thanks for your reply. I did add the below command in the startup command in general settings area and also added gevent in requirement.txt
 gunicorn --worker-class=gevent --workers=4 --timeout=600 wsgi:app

@RyanHill-MSFT I'm having same issue, please help!!

@RyanHill-MSFT I'm having same issue, please help!!

Code snippet? Have you tried the startup command listed above?

hey @RyanHill-MSFT here's my code snippet, what I'm trying to achieve here is first the app responds with "started" and then querying and send_message runs in background which takes around 10s to process and send a message to user. Currently in localhost it is working fine but when deployed on azure, I'm received "started" but the send_message is not getting triggered.
from flask import Flask, request
from side import querying, send_message
import json
from threading import Thread

app = Flask(__name__)

@app.route('/chat', methods=['POST'])
def chat():
    body = json.loads(request.data.decode())['body']
    category = json.loads(request.data.decode())['category']
    phone = json.loads(request.data.decode())['phone']

    def do_work(body, category, phone):
        answer = querying(body, category)
        send_message(phone, answer)

    thread = Thread(target=do_work, kwargs={'body': body, "category":category, "phone":phone})
    thread.start()
    return 'started'

if __name__ == '__main__':
    app.run(host='<IP_ADDRESS>', debug=False, port=5000)

@karthikeyanVK for sanity sake, if you place a logging message in do_work, do you see it in log stream?


chore: Fix typo

https://github.com/tensorchord/llmspec/blob/84739605d1d2794a28b4d2e608a0a84b06ef1508/llmspec/model_info.py#L74-L77


PublishToAppsource doesn't work on github hosted runner.

Error: Deliver action failed. Error: The term 'New-AzStorageContext' is not recognized as the name of a cmdlet, function, script file, or operable program.

This is the error I got when running "Publish To AppSource" Action.
I've had the same issue in DevOps a few days ago.
The issue is, the correct module is not in the path.
This PR adds the path from the following documentation to the PSModulePath.
https://github.com/actions/runner-images/blob/main/images/win/Windows2022-Readme.md#azure-powershell-modules

This error is actually in ContainerHelper.
Everywhere else - I test whether New-AzContext is available and if it is, I set an alias:
    if (!(get-command New-AzureStorageContext -ErrorAction SilentlyContinue)) {
        Set-Alias -Name New-AzureStorageContext -Value New-AzStorageContext
        Set-Alias -Name Set-AzureStorageBlobContent -Value Set-AzStorageBlobContent
    }

And then I use New-AzureStorageContext.
The GitHub hosted runners have the AzureStorage module pre-loaded - most self-hosted runners have the newer AzStorage module.
The Next containerhelper will be out in an hour and will fix this issue.
(Hope that I can get to your PRs on containerhelper next week - sorry for the wait)

Fixed in the latest containerhelper

Thanks for the quick fix Freddy.
After I opened the PR I realized that there might be other situation where a fix might be nessary. And setting an alias is probably the best solution in this case.
Regarding my PR in navcontainerhelper. What settings do I have to set to run the Actions in my fork? Is there documention that I haven't found as well?


Get member who add bot discord

Description
Possibilité de detecter le membre qui a ajouté le bot ?
Aknowledgement

[x] I already searched for this feature on DiSky's Documentation/Wiki and I'm sure it's not there

No, discord does not send us this sort of thing. Maybe via OAuth it's possible, but not sure.


Restructure Cadence files

This PR restructures kitty-items-cadence to be more along the lines of @joshuahannan's proposal here: https://forum.onflow.org/t/typical-dapp-project-structure/814/4?u=pete
This restructure also switches to using filename imports for contracts (instead of placeholders) in preparation for us to integrate the new flow project commands (cc @sideninja).

Is there a plan to include the templates or contracts package? One of the big reasons for structuring it like this was so that we could have packages for different languages that allow people get automatically construct templates from the application code with the correct import addresses with a import and a single method call. Is that still possible here?

Is there a plan to include the templates or contracts package? One of the big reasons for structuring it like this was so that we could have packages for different languages that allow people get automatically construct templates from the application code with the correct import addresses with a import and a single method call. Is that still possible here?

Yep I think this is still possible. This repo didn't have those packages to begin with, but I hope to add them in.
The main change now is the fact that the placeholders (e.g. 0xFUNGIBLETOKEN) don't exist, making it a bit harder to do those address replacements. However, I was thinking we could generalize the code here to handle that.

Is there a plan to include the templates or contracts package? One of the big reasons for structuring it like this was so that we could have packages for different languages that allow people get automatically construct templates from the application code with the correct import addresses with a import and a single method call. Is that still possible here?

Yep I think this is still possible. This repo didn't have those packages to begin with, but I hope to add them in.
The main change now is the fact that the placeholders (e.g. 0xFUNGIBLETOKEN) don't exist, making it a bit harder to do those address replacements. However, I was thinking we could generalize the code here to handle that.

Ok, will merge this for now.
@sideninja Is there an issue in the CLI repo for Josh's suggestions?


⚠ Bofrost.at has degraded performance

In 5c6fc5c, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1179 ms

Resolved: Bofrost.at performance has improved in af830cd after 30 minutes.


Move LockableCurrency trait to fungible::Lockable and deprecate LockableCurrency

Priliminary efforts to introduce a Lockable trait based off LockableCurrency.
This moves us closer to the points in https://github.com/paritytech/substrate/issues/8453

The CI pipeline was cancelled due to failure one of the required jobs.
Job name: cargo-check-benches
Logs: https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/2140867

The CI pipeline was cancelled due to failure one of the required jobs.
Job name: cargo-check-benches
Logs: https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/2140928

How does this work link to https://github.com/paritytech/substrate/issues/12918? has it been discussed/coordinated?

How does this work link to https://github.com/paritytech/substrate/issues/12918? has it been discussed/coordinated?

It's intended to be a step in that direction moving LockableCurrency to fungibles::* but given the work in https://github.com/paritytech/substrate/pull/12951, simply renaming LockableCurrency is not a good enough solution. So i'll close this PR for now.


[BEAM-6327] move pipeline trimming logic from Flink runner to core co…

…nstruction
So I don't have to copy-paste it into the Spark portable runner.
R: @robertwb

Post-Commit Tests Status (on master branch)

Lang
SDK
Apex
Dataflow
Flink
Gearpump
Samza
Spark

Go

---
---
---
---
---
---

Java

Python

---

---
---
---

See .test-infra/jenkins/README for trigger phrase, status and link of all Jenkins jobs.

Run Java PreCommit

Run Java PreCommit

Run Java PreCommit

Run Java PreCommit

Run Java PreCommit


Why not CDN instead of WEBP?

You said you wanted to minimize bandwith, so wouldn't CDNs be a good idea?
SWRM labs is a decentralized CDN service https://swrmlabs.ioI
Statically is a free CDN https://statically.io/
I am not TOO familiar with CDNs, so I may be missing something here

Its low enough :flushed: also arent CDN's worse for privacy?

Your images aren't really private anyway if its on a website anyone can access
And luke wanted to reduce bandwidth in the future

I don't really want images of recipes on the mainpage yet. I'll think about how best to do it to minimize bandwidth if possible.

@Saurdeveloper that is not the problem, it is the tracker libraries the CDN's come with and also the centralization they come with. I would say a bigger problem is image compression (which I think is not happening) so it would be nice to see.


Added FAQ.

Docs Build status updates of commit 657e369:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/microsoft-365-developer-program-faq.yml
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 6d56d0c:
:bulb: Validation status: suggestions

File
Status
Preview URL
Details

docs/microsoft-365-developer-program-faq.yml
:bulb:Suggestion
View
Details

docs/microsoft-365-developer-program-faq.yml

Line 129, Column 253: [Suggestion: disallowed-html-tag - See documentation] HTML tag 'tenantID' isn't allowed.  Replace it with approved Markdown or escape the brackets if the content is a placeholder.

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 49fd54d:
:bulb: Validation status: suggestions

File
Status
Preview URL
Details

docs/microsoft-365-developer-program-faq.yml
:bulb:Suggestion
View
Details

docs/microsoft-365-developer-program-faq.yml

Line 129, Column 253: [Suggestion: disallowed-html-tag - See documentation] HTML tag 'tenantID' isn't allowed.  Replace it with approved Markdown or escape the brackets if the content is a placeholder.

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit e7113a1:
:bulb: Validation status: suggestions

File
Status
Preview URL
Details

docs/microsoft-365-developer-program-faq.yml
:bulb:Suggestion
View
Details

docs/microsoft-365-developer-program-faq.yml

Line 129, Column 253: [Suggestion: disallowed-html-tag - See documentation] HTML tag 'tenantID' isn't allowed.  Replace it with approved Markdown or escape the brackets if the content is a placeholder.

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 7a39986:
:bulb: Validation status: suggestions

File
Status
Preview URL
Details

docs/microsoft-365-developer-program-faq.yml
:bulb:Suggestion
View
Details

docs/microsoft-365-developer-program-faq.yml

Line 129, Column 277: [Suggestion: disallowed-html-tag - See documentation] HTML tag 'tenantID' isn't allowed.  Replace it with approved Markdown or escape the brackets if the content is a placeholder.

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Failing to acquire timezone information

so when I do UtcOffset::current_local_offset() it errors out with IndeterminateOffset
but yet if I look at timedatectl it looks llike it should work just fine
               Local time: Wed 2023-06-28 22:28:49 PDT
           Universal time: Thu 2023-06-29 05:28:49 UTC
                 RTC time: Wed 2023-06-28 22:28:49
                Time zone: America/Los_Angeles (PDT, -0700)
System clock synchronized: no
              NTP service: inactive
          RTC in local TZ: yes

Warning: The system is configured to read the RTC time in the local time zone.
         This mode cannot be fully supported. It will create various problems
         with time zone changes and daylight saving time adjustments. The RTC
         time is never updated, it relies on external facilities to maintain it.
         If at all possible, use RTC in UTC by calling
         'timedatectl set-local-rtc 0'.

using time 0.3.22 in my project

What is your operating system?

Is the process multi-threaded at the time of invocation?

it is within a async main from tokio so I would assume so (although it is only one thread since all futures are created then awaited)

If there are multiple threads running, which is more than likely when using tokio, then the call will fail on any Linux operating system (and most Unix-based operating systems). This is to guarantee that the program does not segfault.

is there any way to get the offset in a multi-threaded enviroment and then pass that into time for it to use

Any way to do that is unsound.


Obtaining the Azure automation reg key via ARM

Hi
Is there a way to obtain the registration key for AA via ARM to pass to the VM DSC Extension instead of running powershell to deploy AA and query for reg key and pass that in as a parameter?
Thanks,
Matt

Hi,
Have you tried https://azure.microsoft.com/en-us/documentation/articles/resource-group-template-functions/#listkeys?

Hi,
I saw this but the documentation said it was for storage accounts, so I didn't think it would work for pulling Azure Automation's keys. I will give it a shot though later and report back if I have any luck.
Matt

I just checked and looks like this isn't possible right now. Will open a bug internally to fix this, in the same way listKeys works for storage accounts.

Hi Joe
Is there any updates on obtaining this reg key via arm rgt functions?
Matt

Not yet. I just pinged our dev managers again to request we get this done.

+1

Is there somewhere else we should be tracking the status of this?

Yes, you can track the issue here: https://feedback.azure.com/forums/246290-automation/suggestions/12964470-provide-listkeys-functionality-through-the-api-si. Please upvote the request at that link if this is an important scenario for you so we can better prioritize it.

No progress on this yet?


Checked all code paths/options and fixed FPEs.

@zmoon Checked all code paths/options and fixed remaining FPEs.  Quick check?

Checked all code paths/options

Really all of them? 🤨

Well,  tested all NL options individually.  That should test most
possibilities
On Fri, Feb 2, 2024, 5:17 PM Zachary Moon @.***> wrote:

Checked all code paths/options
Really all of them? 🤨
—
Reply to this email directly, view it on GitHub
https://github.com/noaa-oar-arl/canopy-app/pull/108#issuecomment-1924782390,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGLFYNVD5GUP2DHOPJZPNMLYRVQYJAVCNFSM6AAAAABCXIFSHCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMRUG44DEMZZGA
.
You are receiving this because you authored the thread.Message ID:
@.***>


Reorganize S3KeySensor

Add the trigger's common method to hooks as the methods can be reused by other sensors and triggers.
Acceptance Criteria:

Test the example DAG
Unit Tests coverage in the PR (80% Code Coverage -- We will need to add CodeCov separately to measure code cov) with all of them passing
Example DAG using the async Operator that can be used to run Integration tests that are parametrized via Environment variables. Example - https://github.com/apache/airflow/blob/8a03a505e1df0f9de276038c5509135ac569a667/airflow/providers/google/cloud/example_dags/example_bigquery_to_gcs.py#L33-L35

PR for the change.
The CI is failing as coverage for snowflake and redshift cluster hooks is less than 80%.


kubernetes-dashboard - 'Unauthorized'

hey
next issue. trying to get to the dashboard for kubernetes i've deployed, i just get 'unauthorized'
i thought it might have been SSL non trusted cert related ; but no
so <IP_ADDRESS> is the IP of my master ; i have 4 nodes.
[root@docau023adh00 ~]# curl --insecure  https://<IP_ADDRESS> Unauthorized
[root@docau023adh00 ~]# kubectl logs kubernetes-dashboard-2315583659-5pzzv --namespace=kube-system Using HTTP port: 8443 Using in-cluster config to connect to apiserver Using service account token for csrf signing No request provided. Skipping authorization header Successful initial request to the apiserver, version: v1.6.5 No request provided. Skipping authorization header Creating in-cluster Heapster client Successful initial request to heapster
everything happily running ; although i do note that in this kubernetes-dashboard has no 'external' IP address ;
[root@docau023adh00 ~]# kubectl get services -a -o wide --all-namespaces NAMESPACE     NAME                   CLUSTER-IP     EXTERNAL-IP   PORT(S)         AGE       SELECTOR default       kubernetes             <IP_ADDRESS>       <none>        443/TCP         18h       <none> kube-system   heapster               <IP_ADDRESS>    <none>        80/TCP          18h       k8s-app=heapster kube-system   kube-dns               <IP_ADDRESS>      <none>        53/UDP,53/TCP   18h       k8s-app=kube-dns kube-system   kubernetes-dashboard   <IP_ADDRESS>   <none>        80/TCP          13m       k8s-app=kubernetes-dashboard
thoughts/comments welcome / appreciated heaps!

[root@docau023adh00 ~]# curl --insecure -v https://<IP_ADDRESS>

About to connect() to <IP_ADDRESS> port 443 (#0)
Trying <IP_ADDRESS>...
Connected to <IP_ADDRESS> (<IP_ADDRESS>) port 443 (#0)
Initializing NSS with certpath: sql:/etc/pki/nssdb
skipping SSL peer certificate verification
NSS: client certificate not found (nickname not specified)
SSL connection using TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
Server certificate:
subject: CN=kubernetes-master_certificate,OU=,O=kubernetes-anywhere,postalCode=,L=,ST=,C=
start date: Aug 12 07:38:35 2017 GMT
expire date: Aug 12 07:38:35 2018 GMT
common name: kubernetes-master_certificate
issuer: CN=kubernetes-root_certificate,OU=,O=kubernetes-anywhere,postalCode=,L=,ST=,C=

GET / HTTP/1.1
User-Agent: curl/7.29.0
Host: <IP_ADDRESS>
Accept: /

< HTTP/1.1 401 Unauthorized
< Content-Type: text/plain; charset=utf-8
< X-Content-Type-Options: nosniff
< Date: Sat, 12 Aug 2017 08:01:52 GMT
< Content-Length: 13
<
Unauthorized

Connection #0 to host <IP_ADDRESS> left intact

with the help of a fellow at work ; we sorted this today. you can't access the dashboard directly from the master. what you can do is proxy it.
so ; where you have exported kubeconfig ;
kubectl proxy --address= —port 443 --accept-hosts='.' --accept-paths='.' &
then hit the dashboard on http://yourIPgoeshere:443/ui
worked for me AOK.


[Epic] Disaster recovery & cluster migration between availability zones or regions in the same cloud

Meta tracking Epic for DR&CM between AZs and regions from a single Ark deployment.

Closing as duplicate of #103


David AI or David UI? Is this a typo?

Hi @notflip , thank you for your inquiry. The repository is named david-ai, with david-ui representing the initial phase of an AI-based project. This is just the beginning, and we have exciting AI-driven developments planned for this repo. Stay tuned for more updates!


Using dvf markers as Leaflet.markercluster's cluster icon.

I've been trying to use the new markers provided with dvf as the cluster group icon for the markercluster plugin but with no success thus far. Since markercluster is expecting a L.DivIcon, is there any work around that I can take to make this happen ? I've been trying to reach down into the core of dvf but I haven't found a way to do so yet, if it is possible.

Good question.  I'm not sure of a workaround offhand without delving into the MarkerCluster code, and the workaround might be somewhat involved.  I'll definitely look into it, though, and get back to you.

The same thing. marker cluster requires function to create icon, not marker.
Another issue probably - when I use DVF markers in marker cluster, click on cluster icon displays pie chart markers broken - i.e., segments of pie chart moved apart of each other. I'll try to attach screenshot later. This is probably an issue of marker cluster, but I can't understand, why cluster code could even split svg object to it parts? Shouldn't it be a group etc?


How to perform this auth with the new Azure DevOps Extension SDK (React)?

How to perform this auth with the new Azure DevOps Extension SDK (React)?

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

ID: add23736-f0a9-2cc7-8bd2-4b8720898552
Version Independent ID: 3f763c47-317d-a32a-37dd-6507d3f630b5
Content: Auth and Security - Azure DevOps
Content Source: docs/extend/develop/auth.md
Product: devops
Technology: devops-ecosystem
GitHub Login: @chcomley
Microsoft Alias: chcomley

@elbertchina -- Xuhao, please try looking here:  https://developer.microsoft.com/en-us/azure-devops/develop/extensions.
Also, here are a couple of options where you might consider asking your question:

Azure DevOps Support Bot
Azure DevOps on Stack Overflow

Any Option on SDK (azure-devops-extension-sdk) to authTokenManager.getAuthorizationHeader(sessionToken) from the old VSS


[MDEPLOY-314] Include artifactId in DeployMojo#processProject messages

The PR addresses MDEPLOY-314 by including the artifact ID of the currently processed project in MojoExecutionException and warning messages.

[x] Make sure there is a JIRA issue filed for the change (usually before you start working on it). Trivial changes like typos do not require a JIRA issue. Your pull request should address just this issue, without pulling in other changes.
[x] Each commit in the pull request should have a meaningful subject line and body.
[x] Format the pull request title like [MDEPLOY-XXX] - Fixes bug in ApproximateQuantiles, where you replace MDEPLOY-XXX with the appropriate JIRA issue. Best practice is to use the JIRA issue title in the pull request title and in the first line of the commit message.
[x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[x] Run mvn clean verify to make sure basic checks pass. A more thorough check will be performed on your pull request automatically.
[x] You have run the integration tests successfully (mvn -Prun-its clean verify).

To make clear that you license your contribution under the Apache License Version 2.0, January 2004 you have to acknowledge this by using the following check-box.

[x] I hereby declare this contribution to be licenced under the Apache License Version 2.0, January 2004
[ ] In any other case, please file an Apache Individual Contributor License Agreement.

merged w/ tweaks as b9c1c8bc486c7defb92171e1ea9169075b76695c


"Alexandru Odobescu" is listed in the drop-down menu

Description:
"Alexandru Odobescu" is listed in the drop-down menu alongside its corresponding county and commune, according to the law
Precondition:
The website is up an running.

Step 1
Type "Alexandru Odobescu" in the search bar.

Expected results
The location is listed in the drop-down menu as "Sat Alexandru Odobescu, CĂLĂRAȘI (Alexandru Odobescu)".


the prediction of scared dataset

Hello! when i use the STTR-light pretrain model, and  transformar disparity map to depth map and then to point cloud map, the  result  is bad in the scared dataset. However, in the other endoscapy dataset, the result is perfect.
So, for the scared dataset, it have some others set~~
scared dataset:

other endoscope:

Hi @xwx0924
I couldn’t clearly tell the quality of the depth map from the above images. It looks reasonable?

Have you rectified the images?
Even if you have rectified the images, I know there are calibration errors in scared dataset, which may lead to poor performance.
Even if everything is perfect, STTR also has failure cases especially in reflecting regions. Artifacts should be expected.

I hope these help!

Hi li~
I selected the video of dataset8-keyframe1 of the scared dataset, then took 20 pictures, cropped them to left and right, and  not rectified the images. Then， using inference_example.ipynb and sttr-light pre-trained model, each time, input a pair of image pairs.Then output disparity map and occlusion map.
I am particularly confused that the output disparity maplooks okay (the artifacts of the reflective part will also be shown in the output occlusion map), when transformed to a depth map (using the preprocessing parameters of the scared dataset, baseline = 4.14339, focal = 1035), Especially when converted into a 3D point cloud by a depth map (fourth image above), the results are completely inconsistent with the ground truth. However, when entering image pairs from other datasets, the transformed point cloud and the ground truth are similar (last image). So, for the scared dataset, I don't know whether to add set when predicting the disparity map(or Is there any error in my use process ), and what to pay attention to when converting to a depth map~~

I notic the color( left and right image ) is different, and you know how to rectify these images~~thakn you

Hello! when i use the STTR-light pretrain model, and transformar disparity map to depth map and then to point cloud map, the result is bad in the scared dataset. However, in the other endoscapy dataset, the result is perfect. So, for the scared dataset, it have some others set~~ scared dataset:     other endoscope:

Hi bro, can I ask you how did you get occ_left data from SCARED dataset? Thanks in advance~

您好！ 当我使用 STTR-light 预训练模型，并将变换视差映射用于深度映射，然后用于点云映射时，结果在 SCARED 数据集中很糟糕。 然而，在另一个内窥镜数据集中，结果是完美的。 所以，对于害怕的数据集，它设置了一些其他的~~害怕的数据集：       其他内窥镜：

嗨，兄弟，我能问你你是如何从SCARED数据集中获得occ_left数据的吗？提前致谢

哈喽，你知道如何从SCARED数据集中获得occ_left数据了吗？主要不知道这个数据是什么

您好！ 当我使用 STTR-light 预训练模型，并将变换视差映射用于深度映射，然后用于点云映射时，结果在 SCARED 数据集中很糟糕。 然而，在另一个内窥镜数据集中，结果是完美的。 所以，对于害怕的数据集，它设置了一些其他的~~害怕的数据集：       其他内窥镜：

嗨，兄弟，我能问你你是如何从SCARED数据集中获得occ_left数据的吗？提前致谢

哈喽，你知道如何从SCARED数据集中获得occ_left数据了吗？主要不知道这个数据是什么

Hi,是的，我获得了occ_left的数据，你可以参考https://github.com/mli0603/stereo-transformer/blob/main/utilities/misc.py#L69


remove remaining pieces of common_runtime_address_map

Once the profiler code is removed from the common_runtime_addressmap, the rest can be removed as well:

[x] DRAM* get a new entry and APIs in the HAL
[x] L1 alignment, noc alignment, etc go into the HAL https://github.com/tenstorrent/tt-metal/pull/12983
[x] ALLOCATOR_ALIGNMENT I think goes to the allocator but is based off of values in the HAL https://github.com/tenstorrent/tt-metal/pull/13459
[ ] HAL should export MEM_MAP_END
[ ] L1_KERNEL_CONFIG does not belong in the HAL, it is a host side concept.  It should be dynamically allocatable such that in the future different applications could make larger/smaller kernel_configs.  This is either a property of the allocator, or it is the device init that tells the allocator where the config base is and its size based on mem_map_end and size (I like the latter)
[x] L1_UNRESERVED_BASE and DRAM_UNRESERVED_BASE goes into the allocator https://github.com/tenstorrent/tt-metal/pull/13296
[ ] NOC_0* should go to the HAL since technically the implementations could vary across ARCHes (though it doesn't yet)

Marking P1 because with this done we have an easy path to larger buffers for eth dispatch

See #13785 for export of MEM_MAP_END

@pgkeller so the NOC_0* macros should become Hal class methods, correct?

@pgkeller so the NOC_0* macros should become Hal class methods, correct?

funny, those macros are misnamed (NOC_0 but take noc_index as a parameter).
yes, should be methods in the hal

@pgkeller so the NOC_0* macros should become Hal class methods, correct?

funny, those macros are misnamed (NOC_0 but take noc_index as a parameter). yes, should be methods in the hal

The two macros are also redundant. They execute the same compute.

@abhullar-tt sorry, I accidentally closed this.
It is not completely done, but there are no more components here that block ARCH_NAME removal.


mp3, flac, aac and ogg music slows down/speeds up after 20 seconds; wav seems ok

When loading and playing an mp3 file as follows:
import pyglet

source = pyglet.media.load('myfile.mp3')
source.play()

after about 20 seconds playback suddenly slows down resulting in a noticeably lower pitch. A little while later, the music speeds up again, faster than regular play speed and the pitch moves up.
This happens consistently with many mp3 files, also after converting them to flac, aac or ogg. It also happens when loading them as streaming sources or static sources, and it happens on two machines (both installations of Arch Linux). It also happens with OpenAL and with PulseAudio drivers. The problems always start after about 20 seconds of playtime and seem unrelated to system load.
The problem disappears when the files are converted to WAV. The original files play just fine on the same systems with mplayer or other tools.
I'm not sure this is a pyglet problem, but I thought to report it here nevertheless. Is this behaviour other people are experiencing too?

Aha! Interestingly that indeed solves the problem. Playback is smooth with the GStreamer decoder.
Now I just need to find a way to get the required packages installed inside a virtual environment...
Thank you so much for the quick help!
(Of course, it's still rather strange this problem occurs with the FFMpeg decoder, but I can definitely live with GStreamer one)

(just installing pygobject into the virtual environment does the trick)


异常退出

Issue Type: Feature Request
在终端执行npm start再次同步一下git后出现vs code异常退出
VS Code version: Code 1.35.1 (c7d83e57cd18f18026a8162d042843bda1bcf21f, 2019-06-12T14:30:02.622Z)
OS version: Windows_NT x64 6.3.9600

English please.
It is not a feature request.
Please provide specific steps to reproduce.

Need more info


[SDA-7593] Disabled Replicas question when autoscaling is enabled

SDA-7593 is a critical bug where ROSA incorrectly prompts users how many replicas they'd like to set when autoscaling is enabled.

LGTM

Solved here https://github.com/openshift/rosa/pull/990


Crash when I use the Insert Elements... on an already wired bundle node of an actor class.

These issues was reported for v 1.0 and have not been verified.
"Unfortunately I do get a reproducible LabVIEW crash when I use the Insert Elements... on an already wired bundle node of an actor class."
"When using Insert Elements... on an already wired bundle node of a simple class then nothing happens for a few times and then still a crash"

Turns out this was due to having dots in control names, which was corrected in v 1.1


Cannot set worker.SingleTestResult.passed to False (python3.10)

Issue Type
Bug
Source
source
Giskard Library Version
1.7.0
Giskard Server Version
1.3.2
OS Platform and Distribution
both mac and linux
Python version
3.10
Installed python packages
tensorlfow==2.9.2
Current Behaviour?
Traceback (most recent call last):
  File "/Users/rak/Documents/giskard-master/python-client/.venv/lib/python3.10/site-packages/google/protobuf/internal/python_message.py", line 702, in field_setter
    new_value = type_checker.CheckValue(new_value)
  File "/Users/rak/Documents/giskard-master/python-client/.venv/lib/python3.10/site-packages/google/protobuf/internal/type_checkers.py", line 126, in CheckValue
    raise TypeError(message)
TypeError: False has type <class 'numpy.bool_'>, but expected one of: (<class 'bool'>, <class 'numbers.Integral'>)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Users/rak/Documents/giskard-master/python-client/.venv/lib/python3.10/site-packages/google/protobuf/internal/python_message.py", line 558, in init
    setattr(self, field_name, field_value)
  File "/Users/rak/Documents/giskard-master/python-client/.venv/lib/python3.10/site-packages/google/protobuf/internal/python_message.py", line 704, in field_setter
    raise TypeError(
TypeError: Cannot set worker.SingleTestResult.passed to False: False has type <class 'numpy.bool_'>, but expected one of: (<class 'bool'>, <class 'numbers.Integral'>)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Users/rak/Documents/giskard-master/python-client/giskard/ml_worker/utils/error_interceptor.py", line 48, in wrapper
    res = await loop.run_in_executor(pool, behavior, request, context)
  File<EMAIL_ADDRESS>line 58, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/Users/rak/Documents/giskard-master/python-client/giskard/ml_worker/server/ml_worker_service.py", line 146, in runTest
    exec(request.code, _globals)
  File "<string>", line 26, in <module>
  File "/Users/rak/Documents/giskard-master/python-client/giskard/ml_worker/testing/performance_tests.py", line 428, in test_diff_precision
    return self._test_diff_prediction(
  File "/Users/rak/Documents/giskard-master/python-client/giskard/ml_worker/testing/performance_tests.py", line 301, in _test_diff_prediction
    metric_1 = test_fn(reference_slice, model).metric
  File "/Users/rak/Documents/giskard-master/python-client/giskard/ml_worker/testing/performance_tests.py", line 195, in test_precision
    return self._test_classification_score(precision_score, actual_slice, model, threshold)
  File "/Users/rak/Documents/giskard-master/python-client/giskard/ml_worker/testing/performance_tests.py", line 87, in _test_classification_score
    SingleTestResult(
  File "/Users/rak/Documents/giskard-master/python-client/.venv/lib/python3.10/site-packages/google/protobuf/internal/python_message.py", line 560, in init
    _ReraiseTypeErrorWithFieldName(message_descriptor.name, field_name)
  File "/Users/rak/Documents/giskard-master/python-client/.venv/lib/python3.10/site-packages/google/protobuf/internal/python_message.py", line 477, in _ReraiseTypeErrorWithFieldName
    raise exc.with_traceback(sys.exc_info()[2])
  File "/Users/rak/Documents/giskard-master/python-client/.venv/lib/python3.10/site-packages/google/protobuf/internal/python_message.py", line 558, in init
    setattr(self, field_name, field_value)
  File "/Users/rak/Documents/giskard-master/python-client/.venv/lib/python3.10/site-packages/google/protobuf/internal/python_message.py", line 704, in field_setter
    raise TypeError(
TypeError: Cannot set worker.SingleTestResult.passed to False: False has type <class 'numpy.bool_'>, but expected one of: (<class 'bool'>, <class 'numbers.Integral'>) for field SingleTestResult.passed
×

Standalone code OR list down the steps to reproduce the issue
- upload the Text_classification_Using_Tensorflow_Neural_Network.ipynb model
- run all the automatic test
- all will fail with the error above except:
  - Right label
  - Classification Probability in Range
  - Custom Test

Relevant log output
No response

@rabah-khalek which version of tensorflow were you using? I'm having issues serializing the TF model from this notebook

Yes, I left a note back then in the manual test plan: tensorflow == 2.9.2
tensorflow 2.11.0 won’t work.

On 9 Feb 2023, at 11:17, Andrey Avtomonov @.***> wrote:
@rabah-khalek https://github.com/rabah-khalek which version of tensorflow were you using? I'm having issues serializing the TF model from this notebook
—
Reply to this email directly, view it on GitHub https://github.com/Giskard-AI/giskard/issues/731#issuecomment-1423946047, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHZRUPIKATEXWIYHUZHZ4J3WWS73XANCNFSM6AAAAAAUVW43NA.
You are receiving this because you were mentioned.

Weird, I didn't manage to reproduce with the following python 3.10.8 conda environment:
env.txt

@rabah-khalek , could you maybe attach your pip freeze too?

this is the same test that you did. I will refresh my installation of my python3.10 env.

I tried installing these libraries one by one and reporfmed the test but I couldn't reproduce the issue:
pip install transformers==4.26.0
pip install tweepy
pip install responses==0.18.0
pip install torch==1.13.1

I suggest closing it for now, until we can reproduce it again.


Convert weather function to a model export

Low priority, but it could clean up our code-base a little if we move the weather function to its own model

Not relevent since weather functionality is on front end


Non jquery datepicker that works in the picnic modal?

Anyone know of a non-jquery date picker that works properly on form fields in the picnic modal?
I had a quick try with something I have used before (CibulCalendar), but if I attach to the date input field it is only part-shown and the modal contents needs to be scrolled up to see the full calendar. It isn't overlaying on top of the modal, but it is inside the modal window.
Anyone tried Pikaday? I couldn't get that to appear on top of the modal or in it's window at all, it's behind on the overlay wherever I try attaching it.

This is quite hard to make work, but I have adapted this: https://github.com/remi-grumeau/DatePicker by hacking the CSS and JS (mainly adding a callback called when the picker shows). This is a very simple picker, but it has the advantage that a parameter can be passed to force-override the left/top position that the canvas is drawn at rather than allowing the picker to calculate its own location (which comes out wrong due to the way the modal works).
I set the datepicker canvas to position:fixed with it attached to the <article> of the modal and then when the picker is visible the absolute offset is calculated to locate it next to the input field in the modal. (top left of the modal <article> is 0,0)
There have got to be cleaner ways of making datepickers function in the modal, but I suspect that the way that the modal works may need to be changed first?

Maybe you could try checking/changing the z-index of the modal and/or pikaday? I have never tried anything like this, the modal was originally thought as a really simple message but I can see how many people would want to build a full form in it with datepickers and others.

I've tried messing with the Z-index and it doesn't help with the location issues, it's the fixed position and transform+scaling that causes the problem I think. I'm not a CSS expert, so I can't exactly work out what is going wrong!
All these datepickers pop up a div with absolute positioning (by default) and then can't locate it correctly relative to an input in the modal.

Sorry but this is too specific to be a priority for me and will probably remain so, so I will just close this issue as it most likely won't be fixed.


creep.id() panics if the creep is still spawning

Getting the creep via it's name seems to work. I guess the id isn't assigned until it actually spawns.

Also creep.body() stack traces. There's probably a bunch of others too.
1:59:37 PM]
[shard3]
stack trace: Error: unknown resource type undefined
    at __resource_type_str_to_num (main:726:24)
    at main:931:144
    at __cargo_web_snippet_7d41940f01c2e2811bb41f235b8c9f344e6bb606 (main:931:196)
    at _ZN7screeps7objects5impls5creep41_$LT$impl$u20$screeps..objects..Creep$GT$4body17hf892634255804c33E (wasm-function[270]:1150)
    at _ZN20screeps_starter_rust7globals13DeathRegistry10sync_creep17h487e5b25c58c2b37E (wasm-function[662]:162)
    at _ZN20screeps_starter_rust9game_loop17h1748acc8336303a3E (wasm-function[697]:482)
    at _ZN188_$LT$stdweb..webcore..newtype..Newtype$LT$$LP$stdweb..webcore..serialization..FunctionTag$C$$u20$$LP$$RP$$RP$$C$F$GT$$u20$as$u20$stdweb..webcore..serialization..FuncallAdapter$LT$F$GT$$GT$15funcall_adapter17h824a2635e7a34c85E (wasm-function[720]:119)
    at Object.Module.STDWEB_PRIVATE.dyncall (main:458:40)
    at output (main:157:39)
    at Object.module.exports.loop (main:934:108)
[1:59:37 PM]
[shard3]
resetting VM next tick.

Second error seems to be #245! Should be fixed soon


Sideload installer does not work

Hi,
The sideload installer doesn't seem to be working because the CDN URLs don't seem to be accessible.
I've tried using the sideload, preview and winget to install it but I can't get the installer to work.
Am I missing something ?
Thanks

@ddattee can you post a screenshot of the issue?

I would but couldn't reproduce the error.
When it occured the URL in the XML were not accessible even by hand so the install launcher was failing. It just worked so this issue can be closed.
Thanks for the reply thought.


Soundcloud fix

I hope this fixes the soundcloud issues

I'm not entirely sure if just ignoring HLS streams can be called a fix. The whole world is moving to HLS streams and I can imagine Soundcloud is as well and at some point the HLS/MPD streams will be higher quality than legacy ones or HLS will be the only option left.
So I would propose that its better to fix the issues with HLS (make them actually work) rather than just filtering them out.
As a temporary measure you could buy some time by just changing the order for now and prefer legacy streams over HLS.

I just fixed the HLS streams for soundcloud in another PR so this PR is superseded


Adldap not authenticating with username and password password from form

Hello and Good  day,
Been trying to implement this, but I noticed that when i use
Auth::attempt(['username' => $username, 'password' => $password]) it will return true even if the password is not correct, but after much debugging i found out that it uses the 'admin_username' and 'admin_password' set in the adldap.php file in the config directory to authenticate and then search for the username passed from the form, when it sees the username it will return true but if i put a wrong username it will return false, my issue here is it is suppose to use both username and password fields to authenticate the user but now its just doing search with the username. Please is there something am doing wrong?

Hi @kelvinrolex, what version are you on? This is definitely not the case.
You have half the process right. Credentials are used before hand to authenticate to your AD server, a search is performed to find the user on your AD server that is trying to authenticate, then when a user is found, a new authentication request is sent to your AD server with the users credentials.
The result of the users binding is returned, and that determines if the user is authenticated or not.
I need more details, such as your config/adldap_auth.php file, your AuthController as well as your HTML form for further debugging.

config/adldap.php
 [

        'default' => [

            /*
            |--------------------------------------------------------------------------
            | Auto Connect
            |--------------------------------------------------------------------------
            |
            | If auto connect is true, anytime Adldap is instantiated it will automatically
            | connect to your AD server. If this is set to false, you must connect manually
            | using: Adldap::connect().
            |
            */

            'auto_connect' => true,

            /*
            |--------------------------------------------------------------------------
            | Connection
            |--------------------------------------------------------------------------
            |
            | The connection class to use to run operations on.
            |
            | You can also set this option to `null` to use the default connection class.
            |
            | Custom connection classes must implement \Adldap\Contracts\Connections\ConnectionInterface
            |
            */

            'connection' => Adldap\Connections\Ldap::class,

            /*
            |--------------------------------------------------------------------------
            | Schema
            |--------------------------------------------------------------------------
            |
            | The schema class to use for retrieving attributes and generating models.
            |
            | You can also set this option to `null` to use the default schema class.
            |
            | Custom schema classes must implement \Adldap\Contracts\Schemas\SchemaInterface
            |
            */

            'schema' => Adldap\Schemas\ActiveDirectory::class,

            /*
            |--------------------------------------------------------------------------
            | Connection Settings
            |--------------------------------------------------------------------------
            |
            | This connection settings array is directly passed into the Adldap constructor.
            |
            | Feel free to add or remove settings you don't need.
            |
            */

            'connection_settings' => [

                /*
                |--------------------------------------------------------------------------
                | Account Prefix
                |--------------------------------------------------------------------------
                |
                | The account prefix option is the prefix of your user accounts in AD.
                |
                | For example, if you'd prefer your users to use only their username instead
                | of specifying a domain ('ACME\jdoe'), enter your domain name.
                |
                */

                'account_prefix' => '',

                /*
                |--------------------------------------------------------------------------
                | Account Suffix
                |--------------------------------------------------------------------------
                |
                | The account suffix option is the suffix of your user accounts in AD.
                |
                | For example, if your domain DN is DC=corp,DC=acme,DC=org, then your
                | account suffix would be @corp.acme.org. This is then appended to
                | then end of your user accounts on authentication.
                |
                */

                'account_suffix' => env('ACCOUNT_SUFFIX'),

                /*
                |--------------------------------------------------------------------------
                | Domain Controllers
                |--------------------------------------------------------------------------
                |
                | The domain controllers option is an array of servers located on your
                | network that serve Active Directory. You can insert as many servers or
                | as little as you'd like depending on your forest (with the
                | minimum of one of course).
                |
                */

                'domain_controllers' => [env('DOMAIN_CONTROLLERS')],

                /*
                |--------------------------------------------------------------------------
                | Port
                |--------------------------------------------------------------------------
                |
                | The port option is used for authenticating and binding to your AD server.
                |
                */

                'port' => env('AD_PORT'),

                /*
                |--------------------------------------------------------------------------
                | Base Distinguished Name
                |--------------------------------------------------------------------------
                |
                | The base distinguished name is the base distinguished name you'd like
                | to perform operations on. An example base DN would be DC=corp,DC=acme,DC=org.
                |
                | If one is not defined, then Adldap will try to find it automatically
                | by querying your server. It's recommended to include it to
                | limit queries executed per request.
                |
                */

                'base_dn' => env('BASE_DN'),

                /*
                |--------------------------------------------------------------------------
                | Administrator Account Suffix
                |--------------------------------------------------------------------------
                |
                | This option allows you to set a different account suffix for your
                | configured administrator account upon binding.
                |
                | If left empty, your `account_suffix` option will be used.
                |
                */

                'admin_account_suffix' => env('ADMIN_ACCOUNT_SUFFIX'),

                /*
                |--------------------------------------------------------------------------
                | Administrator Username & Password
                |--------------------------------------------------------------------------
                |
                | When connecting to your AD server, an administrator username and
                | password is required to be able to query and run operations on
                | your server(s). You can use any user account that has
                | these permissions.
                |
                */

                'admin_username' => env('ADLDAP_ADMIN_USERNAME'),
                'admin_password' => env('ADLDAP_ADMIN_PASSWORD'),

                /*
                |--------------------------------------------------------------------------
                | Follow Referrals
                |--------------------------------------------------------------------------
                |
                | The follow referrals option is a boolean to tell active directory
                | to follow a referral to another server on your network if the
                | server queried knows the information your asking for exists,
                | but does not yet contain a copy of it locally.
                |
                | This option is defaulted to false.
                |
                */

                'follow_referrals' => false,

                /*
                |--------------------------------------------------------------------------
                | SSL & TLS
                |--------------------------------------------------------------------------
                |
                | If you need to be able to change user passwords on your server, then an
                | SSL or TLS connection is required. All other operations are allowed
                | on unsecured protocols. One of these options are definitely recommended
                | if you have the ability to connect to your server securely.
                |
                */

                'use_ssl' => false,
                'use_tls' => false,

            ],

        ],

    ],

];

AuthController

$username = $request->username;
$password = $request ->password;
if (Auth::attempt(['username' => $username, 'password' => $password])) {
           return $user = Auth::user();

            var_dump($user); // Returns instance of App\User;

            var_dump($user->adldapUser); // Returns instance of Adldap\Models\User;

            // Retrieving the authenticated LDAP users groups
          return  $groups = $user->adldapUser->getGroups();
        }else{
            return 'failed';
        }

HTML

Am using Laravel 5.2 and I ran composer update today, so am sure I have the latest version of Adldap.
Thanks

HTML
`

`

Ok great, can you also post your config/adldap_auth.php file?

Hmmm, everything looks fine. Strange.
So you can actually authenticate as any AD user using any password?
Can you also post your config/auth.php file as well?

config/auth.php
`<?php
return [
/*
|--------------------------------------------------------------------------
| Authentication Defaults
|--------------------------------------------------------------------------
|
| This option controls the default authentication "guard" and password
| reset options for your application. You may change these defaults
| as required, but they're a perfect start for most applications.
|
*/

'defaults' => [
    'guard' => 'web',
    'passwords' => 'users',
],

/*
|--------------------------------------------------------------------------
| Authentication Guards
|--------------------------------------------------------------------------
|
| Next, you may define every authentication guard for your application.
| Of course, a great default configuration has been defined for you
| here which uses session storage and the Eloquent user provider.
|
| All authentication drivers have a user provider. This defines how the
| users are actually retrieved out of your database or other storage
| mechanisms used by this application to persist your user's data.
|
| Supported: "session", "token"
|
*/

'guards' => [
    'web' => [
        'driver' => 'session',
        'provider' => 'adldap',
    ],

    'api' => [
        'driver' => 'token',
        'provider' => 'users',
    ],
],

/*
|--------------------------------------------------------------------------
| User Providers
|--------------------------------------------------------------------------
|
| All authentication drivers have a user provider. This defines how the
| users are actually retrieved out of your database or other storage
| mechanisms used by this application to persist your user's data.
|
| If you have multiple user tables or models you may configure multiple
| sources which represent each model / table. These sources may then
| be assigned to any extra authentication guards you have defined.
|
| Supported: "database", "eloquent"
|
*/

'providers' => [
    'users' => [
        'driver' => 'adldap',
        'model' => App\Models\User::class,
    ],

    'adldap' => [
        'driver' => 'adldap',
        'model'  => App\Models\User::class,
    ],

     'users' => [
         'driver' => 'eloquent',
         'model'  => App\Models\User::class,
    ],
],

/*
|--------------------------------------------------------------------------
| Resetting Passwords
|--------------------------------------------------------------------------
|
| Here you may set the options for resetting passwords including the view
| that is your password reset e-mail. You may also set the name of the
| table that maintains all of the reset tokens for your application.
|
| You may specify multiple password reset configurations if you have more
| than one user table or model in the application and you want to have
| separate password reset settings based on the specific user types.
|
| The expire time is the number of minutes that the reset token should be
| considered valid. This security feature keeps tokens short-lived so
| they have less time to be guessed. You may change this as needed.
|
*/

'passwords' => [
    'users' => [
        'provider' => 'users',
        'email' => 'auth.emails.password',
        'table' => 'password_resets',
        'expire' => 60,
    ],
],

];
`

Ok. So you can actually authenticate as any AD user using any password?

Ok lemme explain, the admin_username and admin_password in config/adldap.php file, if i change it to a wrong one, it will show me an error message saying adldap_search() error, but if i enter the correct username and password to an account in the LDAP Server it will work, then
if (Auth::attempt(['username' => $username, 'password' => $password])) {
return $user = Auth::user();
        var_dump($user); // Returns instance of App\User;

        var_dump($user->adldapUser); // Returns instance of Adldap\Models\User;

        // Retrieving the authenticated LDAP users groups
      return  $groups = $user->adldapUser->getGroups();
    }else{
        return 'failed';
    }

this line  return $user = Auth::user(); will display the user information that is passed from the form even though the password in the form is wrong, that means its not authenticating using this line
if (Auth::attempt(['username' => $username, 'password' => $password])) {
But if you see nothing wrong with it, that means i will have to remove the package and reinstall it again because I last worked on this project about 3 months, i just decided to continue today and i ran composer update to update all the dependencies.

That's strange? Have you tried clearing your config's cache using php artisan config:clear? It's possible that you're not actually using the adldap driver if the configuration is cached.

I have cleared config's cache more than 20 times today, but i think when i get to work tomorrow i will reinstall it again and let you know the outcome.

Hello and good day @stevebauman,
Just reinstalled the package in my project and i followed the setup instructions and everything is now working well, i think the problem was when i did composer update at first the update didn't download the new settings, so after removing the package and reinstalling, some of the settings that where missing from the the previous one i was using. So thanks for your help, everything is now working as expected.

@stevebauman, it was working fine after setup, now after like 3hours later i tried logging in and am getting UsernameRequiredException in Guard.php line 116:A username must be specified.
I ahve attached the image of the error am getting.
I have tried everything but can't resolve it, do you have any idea on what i can do?

There must be something wrong with your adldap_auth.php config. You're either specifying a username attribute that doesn't exist, or the attribute doesn't exist on the user you're authenticating.
See method getUsernameFromAdUser:
https://github.com/Adldap2/Adldap2-Laravel/blob/master/src/Traits/ImportsUsers.php#L247-L258
Called from AuthenticateWithCredentials:
https://github.com/Adldap2/Adldap2-Laravel/blob/master/src/AdldapAuthUserProvider.php#L195
Did you change anything in your configuration?

Also, does this user you're authenticating have a samaccountname?

Yes, the user has samaccountname, i just tried running php artisan adldap:import from the command line and it imported the user to my database that means it is working, its actually validating but not sending the username to the Guard.php file. Here is my Models/User.php file
`<?php
namespace App\Models;
use Adldap\Laravel\Traits\AdldapUserModelTrait;
use Illuminate\Foundation\Auth\User as Authenticatable;
class User extends Authenticatable
{
use AdldapUserModelTrait;
/**
* The attributes that are mass assignable.
*
* @var array
*/
protected $table = 'users';
protected $fillable = [
    'name', 'first_name', 'last_name', 'email', 'password',
];
public $timestamps = true;

/**
 * The attributes that should be hidden for arrays.
 *
 * @var array
 */
protected $hidden = [
    'password', 'remember_token',
];

}
`

Hello
Dunno if this is the problem, but i search for that vendor/adldap2/adldap2/src/Auth/Guard.php,  noticed that this line `public function attempt($username, $password, $bindAsUser = false)
{
$this->validateCredentials($username, $password);
    try {
        $this->bind($username, $password);
    } catch (BindException $e) {
        // We'll catch the BindException here to return false
        // to allow developers to use a simple if / else
        // using the authenticate method.
        return false;
    }

    // If we're not allowed to bind as the user,
    // we'll rebind as administrator.
    if ($bindAsUser === false) {
        // We won't catch any BindException here so
        // developers can catch rebind failures.
        $this->bindAsAdministrator();
    }

    // No bind exceptions, authentication passed.
    return true;
} ` does get the $username, even when i use `public function attempt($username = 'student', $password, $bindAsUser = false)
{
    $this->validateCredentials($username, $password);

    try {
        $this->bind($username, $password);
    } catch (BindException $e) {` i still get same error until i change it to `public function attempt($username, $password, $bindAsUser = false)
{
    $username = 'student';
    $this->validateCredentials($username, $password);

    try {
        $this->bind($username, $password);
    } catch (BindException $e) {` and it works. So pls do you have any idea what is causing the $username variable not to have the data passed to it?

Any update on this? I am having the exact same issue.

Hi @kelvinrolex,
After looking further, it looks like you have conflicting configurations here.
Your using a the HTML input name username which is mapped to the users samaccountname here:
'username_attribute' => ['username' => 'samaccountname'],

Though, you don't have a username column in your users database table (shown by your $fillable fields - as well as your sync_attributes option):
protected $fillable = [
    'name', 'first_name', 'last_name', 'email', 'password',
];

'sync_attributes' => [

    'name' => 'cn',
    'email' => 'mail',
    'first_name' => 'givenname',
    'last_name' => 'sn',
    'description' => 'description',
    'user_group' => 'distinguishedname',
    'department' => 'physicaldeliveryofficename',
    'member_of'  =>  'memberof',

],

Change your username_attribute option to:
'username_attribute' => ['email' => 'mail'],

And your username HTML input field on your login view to:
<input type="text" name="email" />

If you're trying to get users to login with their samaccountname, you'll have to create a username column in your users database table, as described in the documentation:
https://github.com/Adldap2/Adldap2-Laravel#username-attributes

@stevebauman thanks for the response but I actually got it to work today just by changing  'login_attribute' => env('ADLDAP_LOGIN_ATTRIBUTE', 'samaccountname'), to 'login_attribute' => env('ADLDAP_LOGIN_ATTRIBUTE', 'cn'), in adldap_auth.php.
Thanks once again...

Great to hear! Thanks for following up.


Add Windows implementation

Currently the cmake file doesn't support building on windows. Pull requests are welcome.

Implemnted by commit #1e637a4


feat: ankaa2 pulse

Issue #, if available:
Description of changes:
Example notebooks about pulse control and verbatim compilation now use Ankaa-2 instead of Aspen-M-3.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@peterkomar-aws I left comment in the ReviewNB. The comments does not appear in the PR. Let me know if you can see them. The notebook all look good! I propose to run the bring-up notebook with a different qubit. Also, there are two other notebooks that are affect by the pulse bug, so it would be good to rerun them after the bug fix.


KNL-1550 - SQLService puts strings into preparedstatements as bytes

I'd noticed the lack of String support before and assumed it was for Oracle CLOB cases.

Whatever you did to this does not compile

Can we not mix brace style in the same file please.

Sorry that was my IDE!


Add contrast set info.

I added info about the four contrast sets that I added, but there are more in the JSON file. @sebastianGehrmann could you comment on this?

Oh fantastic, thank you!
I think Simon did the rest, but we can add the descriptions in a followup PR.


update url for testnet release

I think we're good, since it automatically gets the latest version now (release verison isn't pinned) - correct me if Im wrong @yourbuddyconner
brew upgrade coda
...
sudo apt-get remove coda-testnet-postake-medium-curves
echo "deb [trusted=yes] http://packages.o1test.net release main" | sudo tee /etc/apt/sources.list.d/coda.list
sudo apt-get update
sudo apt-get install -t release coda-testnet-postake-medium-curves


chore(master): release 7.1.2

:robot: I have created a release beep boop
7.1.2 (2024-09-10)
Bug Fixes

fix tar padding (#943) (a40d5ec)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/ethersphere/bee-js/releases/tag/v7.1.2 :sunflower:

Release v7.1.2 addresses this.


Add test coverage

...publish the html cov report to circleci and upload data to codecov.io

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@5e9eba2). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master       #8   +/-   ##
=========================================
  Coverage          ?   99.48%
=========================================
  Files             ?        5
  Lines             ?      193
  Branches          ?        0
=========================================
  Hits              ?      192
  Misses            ?        1
  Partials          ?        0

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 5e9eba2...d84a53d. Read the comment docs.

coverage!!!

bors r+


Is finsql Command=generatesymbolreference still working?

I started the generation of symbols for a custom DB 22 hours ago this way:
.\finsql.exe Command=generatesymbolreference,Database=****, ServerName="NAVSERVER\SQLEXPRESS", logfile="C:\demo\log.txt"
The process is still running, a logfile has not been created, I still cannot download the symbols in VS Code.
It is mentioned (https://msdn.microsoft.com/en-us/dynamics-nav/developer/devenv-running-cside-and-al-side-by-side) that it is a lengthy operation, but I didn't expect it to last a day. My rough idea would have been a duration similar to a full compile.
How can I find out, if it is still actually doing something or is stuck? What is to be expected as a runtime for a lengthy operation?

Normally it takes a a compilation time.  I guess you won't get symbols from your objects unless you find which object ( I am guessing some .net object) is killing symbol generation.
Do you maybe have any information in the server event log? Or in the log file if you stop the process.

Unfortunately there is nothing in the Event Log. Also a Log file is not created, if i stop the process.
I'll pursue the hint with the .net objects. Hope I can find it

One more thing the command above accepts filters as for any other C/SIDE commands. Maybe that could help nailing down which is the object that causes it. Example try generating tables, pages, codeunits. etc separately. See where does it deadlock.

If nothing works and you still have not given up having symbols, here are the manual steps to get them.
There are some differences between the manual way and the C/SIDE way. Example: page controls symbols will have no associated type and query names might not resolve correctly. The reason being is that it is C/SIDE that owns the old compiler and have full knowledge of its internal AST's and symbol store. The SymbolReferenceGenerator works on the exported format which cannot provide the same support. Similar to just txt2Al versus exporttonewsyntax and then txt2al.
Manual symbol generation

Export all your objects in a dedicated folder with finsql.
finsql.exe command=ExportObjects,File=,ServerName=,Database=,Logfile=
Optionally you could split the files per application objects with Split-NAVApplicationObjectFile (https://msdn.microsoft.com/en-us/library/dn789718(v=nav.90).aspx).
Things below will be way faster.

Use the Microsoft.Dynamics.Nav.SymbolReferenceGenerator.exe found in the same folder as your finslq.exe.
Invoke the SymbolReferenceGenerator  Application.app Application
This should create an app package. The third parameter here is the package name and it is very important it is named Application.
The version should match the version for the application version in the app.json

Unpublish any Application symbols if you have any
Unpublish-NAVApp -ServerInstance  -Name Application -Version

Publish symbols
Publish-NAVApp -ServerInstance  -PackageType SymbolsOnly -Path  -SkipVerification
The last flag is used if you do not have signed packages.

Then download symbols.
Cumbersome but hope it can help as a last resource.

Thanks for the tips.
In the meantime I pulled a docker image, made it work and managed to use the generatesymbol reference command finsql.exe
It only works though, if I start it from the host system. If I start it from the container command prompt, a process is started, but it uses next to no CPU time and makes no progress. it seems like it will basically run forever. Anyway, I got my Application symbols now :)
Now the next question is: Where do I get System symbols from? and what is it/what's the difference to the Application symbols?
[2017-11-17 15:52:53.30] The request for path /nav/dev/packages?publisher=Microsoft&appName=System&versionText=<IP_ADDRESS> failed with code NotFound. Reason: No published package matches the provided arguments.
[2017-11-17 15:53:01.00] Could not download reference symbols. Please ensure that:

The correct server name and instance are specified in the launch.json file.
The correct application version is specified in the app.json file.

The System symbols should have been part of your Nav App table from the deployed database with docker. These are the symbols for the system/temporary tables used by the server. E.g. Object,
Application symbols are the symbols generated from your application objects. If you have used finsql to generate them you would see them in the  Object Metadata table's Symbol Reference field.
There is also an Application symbol in the NAv App table. That is used as a backing base application object reference if you do not generate your own symbols from C/SIDE.
My manual system generation hints above would generate symbols like that.
One important note.
Please defer using C/SIDE symbol generation until we release the December update. There were some quite serious bugs fixed lately, that have unfortunately only made it to the December release and Nav 2018.
You will see issues with resolving symbols that would come across symbol names that would need quoting, which is the majority of the cases.

That's correct. The System symbols are available on the Cronus DB of the docker image, I have converted a Custom Database from Nav2017, so wondering how to get them there.
For my current purpose it seems okay though. I am just using the System symbols downloaded from the CRONUS Db.

When you have issued the .\finsql.exe Command=generatesymbolreference than your converted application's symbols are stored. The system symbols are controlled by us. You cannot change them. They should download automatically when you issue a download symbols from vscode. The uri to download symbols looks correct. Can you double check that in the  Nav App table the System reference package has version 11?


[BUG] Unable to modify customTheme

I seem to be unable to modify certain variables (such as  '--ck-border-radius' or '--ck-connectbutton-border-radius').

I created a simple example repo here (I was unable to get Codesandbox properly working). Notice how I have the customTheme passed into the ConnectKitProvider.

Any updates?

Hey @brennanfife, from what I'm seeing this appears to be working if you use strings for each value. We're looking at making the custom theming more robust in the near future so it can handle things a bit smarter as right now it's implemented in a way we're not 100% settled just yet.
Sorry that this caused some confusion!


fix issue where autocomplete on peering list would fail

Codecov Report

Merging #82 (d2eae53) into prep-release (2670a0b) will decrease coverage by 3.95%.
The diff coverage is 12.33%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
 Learn more


Does it support Angular?

try to integrate it in a angular project and can't see the design tab at all, does this add-on support angular?

@daiyis
Yes, this addon should work with every framework except ReactNative.
Could you share a reproduction repo or storybook config and versions of both @storybook/angular and storybook-addon-designs?


Search files does not open files that are gitignored

Platform: MacOS Ventura 13.2.1 (Apple M1 Pro)
VSCode version: 1.78.1
find-it-faster configuration:
{
  "find-it-faster.general.additionalSearchLocations": ["some-ignored-dir"]
}

With the above configuration when I add an ignored directory in FiF's search locations the "search files" command is able to find the files just fine but hitting Enter when focused on a filename doesn't open that file in the editor if the file is in the ignored directory. The directory I am trying is ignored via .gitignore but I am assuming this is true for any file that's ignored by the VSCode search...?
I would be interested in fixing this bug if someone could point me in the right direction.

Hi @juzerzarif, thanks for reporting! This was a tricky one. I only managed to reproduce this for the case where "some-ignored-dir" is a relative path. When the path is absolute, I don't have problems. Is this the same for you?
I'm wondering if the right "fix" for this, is to warn users that additionalSearchLocations should be an absolute path. FiF works slightly differently when there are multiple roots in the workspace, and this is roughly similar.
Honestly I'm having a hard time remembering why I even added to option to search additional locations, as opposed to just expecting users to add another folder to their workspace, so I'm also considering just ripping that option out at this point... Perhaps you could tell me for your case why using this option is preferable over adding a folder to the workspace? Thank you!
(And in the meantime, your problem can hopefully be solved by specifying the full path but I understand this is not as nice)

My use case (might not be that common) is that I have a directory that a build tool will output that's gitignored but sometimes when I need to troubleshoot failures for that build tool I need to look through files in that directory so I've added it as an additional search location for FIF

One suggestion that I had was maybe registering a key binding with fzf to toggle including ignored files in the search results but I'm not sure how FIF determines which files to include/exclude as search options or if FIF even has a concept of ignored files via stuff like .gitignore internally


TileLayer feature: Add failover for subdomains

If one of the subdomains fails, currently the tiles for this will not be rendered. With this PR it now tries to get the tile from the next subdomain until all servers were tried.

I could not run the tests, because I could not get PhantomJS to work, so hopefully this is done in CI, or maybe a reviewer could help me out on this one :)

I am not quite sure I like the solution or if it should even be included in the source. It seems to me that TileLayer could be extended in a project or plugin to provide this functionality outside of core Leaflet.

Agree. Good idea for plugin.