[JDBC] Change default Precison and DisplaySize for TIME and DATE types.

Signed-off-by: Yury-Fridlyand<EMAIL_ADDRESS>Description
The proposed fix changes default Precision and DisplaySize configured for TIME and DATE types.
https://github.com/Bit-Quill/opensearch-project-sql/blob/522901d0ce18ff36c54eb1acf10e3d2a0b9381e4/sql-jdbc/src/main/java/org/opensearch/jdbc/types/OpenSearchType.java#L146-L147
Precision is the third arg and DisplaySize is the fourth arg.

https://github.com/Bit-Quill/opensearch-project-sql/blob/522901d0ce18ff36c54eb1acf10e3d2a0b9381e4/sql-jdbc/src/main/java/org/opensearch/jdbc/types/OpenSearchType.java#L65-L66
Please, note, classes referenced here ^ are java.sql.* classes, not java.time.* ones. Time has no fraction seconds part.
Test
Before

After

Issues Resolved
#923
Check List

[ ] New functionality includes testing.

[ ] All tests pass, including unit test, integration test and doctest

[ ] New functionality has been documented.

[ ] New functionality has javadoc added
[ ] New functionality has user manual doc added

[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

I just had a general question. What unit of measurement are precision and size (i.e., is it the number of bits, bytes, digits, etc... )?

I just had a general question. What unit of measurement are precision and size (i.e., is it the number of bits, bytes, digits, etc... )?

According to docs:

For datetime datatypes, this is the length in characters of the String representation (assuming the maximum allowed precision of the fractional seconds component)


Add finalizers to resources created by controllers

VSB finalizers: https://github.com/migtools/volume-snapshot-mover/pull/180


Small changes to Find a Bedspace

This PR makes small change to text around the Find a Bedspace feature, based on Selina's feedback.

 Text changes to Find a Bedspace


Pipeline bug fixes

Remove the recompile logic from the forward that's not working properly
Add default truncation to the text-gen pipelines

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.


Ping test s5

Add test for scenario 5 (S5, L3_after_router)
Rename test_case1 and test_case2 as L3_before_router and make other
changes triggered by this new naming convention.
ping_test help usage/help message shows the test case numbers and the
corresponding tests.
Add a new section, gateways, which lists the IP attached to each
gateway, and a helper method to get the gateway IP given container IP.

Codecov Report

Merging #634 (1400b18) into master (e81aba7) will decrease coverage by 0.00%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master     #634      +/-   ##
============================================
- Coverage     31.96%   31.95%   -0.01%
  Complexity     1256     1256
============================================
  Files           525      525
  Lines         13491    13491
  Branches       1669     1669
============================================
- Hits           4312     4311       -1
- Misses         8595     8596       +1
  Partials        584      584

Impacted Files
Coverage Δ

...alcor/elasticipmanager/dao/ElasticIpAllocator.java
63.53% <0.00%> (-0.28%)
:arrow_down:

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 e81aba7...1400b18. Read the comment docs.


How to check if ObjectId exist in collection

Hi,
Could you please help, how to check if ObjectId exist in collection?
From mongo console I do it:
> db.collection.find({_id: ObjectId("5bb216a8475fe42644993a40")}, {_id: 1}).limit(1);
How to do the same using MongoKitten?

In MongoKitten 4:
let document = try collection.findOne("_id" == <my-objectId>)

In MongoKitten 5:
collection.findOne("_id" == <my-objectId>).then { document in
    ...
}

let mongoClient = try MongoKitten.Database("mongodb://\(username):\(password)@\(ipAddress)/\(database)")
let myCollection = mongoClient[collection]
let oid = try ObjectId("5bb216a8475fe42644993a41")
let document = try myCollection.findOne("_id" ==  oid)

document is nil in any case (ObjectId exist and not exist)

Are you reading through the right collection/database? Try creating a server instance first using the string and then explicitly selecting the database using the subscript.
let client = try MongoKitten.Server("mongodb://\(username):\(password)@\(ipAddress)")
let myCollection = client[database][collection]

It was error on my side. Thank you. Everything works perfect :)

Also, how to get the same result using find method, because findOne takes much more resources than  find method?

It does not, findOne does not take any more resources since they're the same command.
for document in collection.find("_id" == oid, limitedTo: 1) {
  print(document) // only executes once
}

The above will be the same performance and everything, but will have more (complex) code.

When I mean findOne is the same thing as find, I really mean the same thing

Thank you :)


2.1.5 to be released WHEN?

2.1.500 sdk is out, coreclr, aspnetmvc are released. EfCore is missing and 2.1.5 has a significant number of significant bugs. What is the release plan? Wait until everyone has left to 2.2 once that is released?

@NetTecture The fixes for issues in the 2.1.5 milestone were released as part of .NET Core 2.1.5 on October 2. See announcement here: https://blogs.msdn.microsoft.com/dotnet/2018/10/02/net-core-october-2018-update/
The version on NuGet is 2.1.4 because EF did not ship any updates in one of the 2.1.x releases. Going forward, we will instead leave wholes in the version number history so that for a given release the NuGet package version and the .NET Core runtime version will match.


fix: docs/best-practices/api-design.md

Header link was using different value than text

Docs Build status updates of commit 41659cc:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/best-practices/api-design.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Add OpenGraph Headers

Signed-off-by: hossainemruz<EMAIL_ADDRESS>Issue

Fixes #81 , #327

Test Evidence

To use this, do you just set the parameters mentioned in opengraph (site.title, author.image) in their respective yaml files?

Yes


Typeahead queries

This adds support on the back end to do left anchored name filtering by gene, category, and drug name, and then adds three new queries to the frontend to take advantage of it.
Now it should just be a matter of picking which of the three we want to use in the logic here and then hooking that up to the Autocomplete component.
I'm happy to take this the rest of the way, but didn't want to stomp on any changes @katiestahl was already making in her search bar fixes branch.

👍 queries look good, could you add some basic test coverage?

Tests added as requested. Will merge after they pass on GitHub


Is EntraExporter compatible with Azure Automation+Managed Identity+Storage Account?

Hi, I saw that this PowerShell module can be integrated with an Azure DevOps pipeline and repository, but is this module also compatible with Azure Automation+Managed Identity+Storage Account? What I am trying to achieve as a goal is to create a scheduled runbook within Azure Automation than can dump the JSON files of the Entra settings inside a file share of a storage account.
So far, I have created these resources, configured the authentication and combined the scripts of Connect-EntraExporter and Export-Entra into a runbook of the AA account. When I test it, it seems to connect via MS Graph towards the subscription, but it does not export or transfer the JSON files to the file share within the storage account then.
Is what I am doing here, supported with EntraExporter? If yes, can anyone help me out further?
I have added the code as an attachment.
I have also added the test result of the runbook, at the very end of if, there is one error message popping up: "No active connection. Run Connect-EntraExporter or Connect-MgGraph to sign in and then retry."
Connect-EntraExporter.txt
RunbookTestresult.txt

Have you tried to run locally and view the export of json files?


drop buildpro sub branch, use externpro/externpro

there was an enhancement https://github.com/smanders/buildpro/issues/59 "buildpro sub branch for submodule support" which was an attempt at building projects/repos standalone...
but I found that I needed more than just the .devcontainer/ directory... I needed externpro's modules/ directory, too -- now https://github.com/externpro/externpro houses both

completed with commits

https://github.com/smanders/buildpro/commit/546655bc99c4f1b61c4cdfe3eee131d67f5b9a93 remove .devcontainer files, moved to externpro
https://github.com/smanders/buildpro/commit/44b6b85e1762d837b3dd6b707f639f86cb72b7b4 git submodule add https://github.com/externpro/externpro .devcontainer
https://github.com/smanders/buildpro/commit/3e6574b9923db77f08ab5cb03e026300d9e45a2f move private/ to externpro (aka .devcontainer) dockergen/

deleted sub branch and v23.04.3 tag
git push cm :sub
git push --delete cm v23.04.3

completed with commits referenced above


feat: allow pytorch weight loaded as tf weights for bert models

Proposed changes:

...

Status (please check what you already did):

[ ] added some tests for the functionality
[ ] updated the documentation
[ ] updated the changelog (please check changelog for instructions)
[ ] reformat files using black (please check Readme for instructions)

[!NOTE]
I'm currently writing a description for your pull request. I should be done shortly (<1 minute). Please don't edit the description field until I'm finished, or we may overwrite each other. If I find nothing to write about, I'll delete this message.

Summary by Sourcery
New Features:

Enable loading of PyTorch weights as TensorFlow weights for BERT models by introducing a new model type 'other'.

Hello @2lambda123! Thanks for opening this PR. We checked the lines you've touched for PEP 8 issues, and found:

In the file rasa/nlu/featurizers/dense_featurizer/lm_featurizer.py:

Line 157:13: E265 block comment should start with '# '
Line 159:71: E251 unexpected spaces around keyword / parameter equals


I have priblem in downloading ray wenderlich videos

Please follow the guide below

You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your issue (like this: [x])
Use the Preview tab to see what your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2018.03.03. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.

[x] I've verified and I assure that I'm running youtube-dl 2018.03.03

Before submitting an issue make sure you have:

[ ] At least skimmed through the README, most notably the FAQ and BUGS sections
[ ] Searched the bugtracker for similar issues including closed ones
[ ] Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser

What is the purpose of your issue?

[ ] Bug report (encountered problems with youtube-dl)
[ ] Site support request (request for adding support for a new site)
[ ] Feature request (request for a new functionality)
[ ] Question
[ ] Other

The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue

If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
Add the -v flag to your command line you run youtube-dl with (youtube-dl -v <your command line>), copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-v', u'http://www.youtube.com/watch?v=BaW_jenozKcj']
[debug] Encodings: locale cp1251, fs mbcs, out cp866, pref cp1251
[debug] youtube-dl version 2018.03.03
[debug] Python version 2.7.11 - Windows-2003Server-5.2.3790-SP2
[debug] exe versions: ffmpeg N-75573-g1d0487f, ffprobe N-75573-g1d0487f, rtmpdump 2.4
[debug] Proxy map: {}
...
<end of log>

If the purpose of this issue is a site support request please provide all kinds of example URLs support for which should be included (replace following example URLs by yours):

Single video: https://www.youtube.com/watch?v=BaW_jenozKc
Single video: https://youtu.be/BaW_jenozKc
Playlist: https://www.youtube.com/playlist?list=PL4lCao7KL_QFVb7Iudeipvc2BCavECqzc

Note that youtube-dl does not support sites dedicated to copyright infringement. In order for site support request to be accepted all provided example URLs should not violate any copyrights.

Description of your issue, suggested solution and other information
Explanation of your issue in arbitrary form goes here. Please make sure the description is worded well enough to be understood. Provide as much context and examples as possible.
If work on your issue requires account credentials please provide them or explain how one can obtain them.

Muhammet-MacBook-Pro:~ ali$ youtube-dl https://videos.raywenderlich.com/courses/server-side-swift-with-perfect/lessons/5
[generic] 5: Requesting header
WARNING: Could not send HEAD request to https://videos.raywenderlich.com/courses/server-side-swift-with-perfect/lessons/5: HTTP Error 404: Not Found
[generic] 5: Downloading webpage
ERROR: Unable to download webpage: HTTP Error 404: Not Found (caused by HTTPError()); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Muhammet-MacBook-Pro:~ ali$

Not supported.


Multiple DropTargets in a PageView get their onDrag callbacks triggered instead of just one

When you have multiple DropTargets across different pages of a PageView with AutomaticKeepAliveClientMixin and you drop a file onto one of them, all the targets that are "alive" (due to the KeepAlive) fire the onDrag callbacks.
Reproduce Steps
Steps to reproduce the behavior:

Create a PageView with two pages
Make sure those pages use AutomaticKeepAliveClientMixin
Place a DropTarget in each page
Navigate to the second page
Drop a file onto the DropTarget
Both DropTargets fire the onDrag callbacks

Expected behavior
Only the DropTarget on the second page should fire the onDrag callbacks.
Version:

Flutter Version: 3.7.12
OS: Windows
plugin: 0.4.1

Same problem here

Same problem too. Do we have any solution for this? @boyan01 @Sockitos @bellaminemo81172 ??


Implement find_first/last, position_first/last

Fixes #151
This is my first PR to Rayon, so any and all feedback is welcome.

It looks like you're missing some imports for the stable compilers, possibly related to ordering like #173.
(IOW, try adding use super::internal::*; before use super::*;)

This is nice =)

Just pushed with updates to address all feedback.

Actually, I just found a bug in the range calculation. Stand by for a fix.

Fixed. Turned out to be a problem with the test itself, not the code.

So one question is whether we should rename split_off() in this PR to reflect its new role. We can probably do it in a later PR.

A later PR makes sense to me, too - it's a logically separate change. I could submit that PR as soon as this one goes through.

Looks great thanks @schuster !


fix(contrib): Zone argument not supported for aws

Thanks for the contribution! Please ensure your commits follow our style guide. This code will be tested once a Deis maintainer reviews it.
Your Pull Request can earn you credit at DigitalOcean! See http://docs.deis.io/en/latest/contributing/hacking/#digitalocean-credit for details.

Jenkins, add to whitelist.

Congratulations @sstarcher! You've earned $75 of DigitalOcean credit, enough to run a Deis cluster for over a month.
Please email<EMAIL_ADDRESS>to confirm, and we will reply with your DigitalOcean voucher codes.
Thanks again for contributing to Deis!


Use MutationObserver to unbind events

Use MutationObserver to unbind events

Closed. This maybe not the correct way. I'll reject that to the next release if needed


Is there a quick way to configure logs to view  the database selects that are generated by serenity in the logs?

In Ruby on Rails this is already native to the Development environment.

In web.config there is a "Logging" setting, set its Level to Debug, see logs under App_Data/log

@rcoproc if u're using a MS SQL instance, why don't you use the SQL Server Profiler that tells you everything you want and more.

@wldkrd1 The performance impact would be minimal, also you can filter for an huge amount of parameters to match only your criteria.
Nevertheless you're right sometimes there are better alternatives according to your needs.

In Ruby on Rails, we can see the selects logs in the Development environment in a very quick and practical way.


[MB-12816] Update PPM create payload to add secondary nullable string values

Jira ticket for this change
Summary
We forgot to go back and add secondary postal code fields during PPM shipment creation after adding the nullable strings to our PPM shipment updater.
I cleaned up the create PPM shipment payload to model method to add these fields and some convenience methods.  Then added to the handler integration tests when the optional postal codes are included.
I added request params and response payload validate calls to make sure our ppm shipment swagger models are also valid to catch bad testing params and to make sure load testing is getting a valid payload.
Setup to Run Your Code

💻 You will need to use three separate terminals to test this locally.
Terminal 1
Start the UI locally.
make client_run

Terminal 2
Start the Go server locally.
make db_dev_e2e_populate && make server_run

Additional steps

Login as a customer such as<EMAIL_ADDRESS>Add a new PPM shipment from the home screen
Select Yes for secondary pickup and destination postal code questions and enter values for those fields
Fill out the rest of the form and click the Save & Continue button.
Click the back button to return to the Date & Location page and you should see the secondary postal code values are filled in when going back to edit the form.
You could also continue on to the final review form to verify that the PPM shipment card shows the secondary postal code values as well and doesn't get cleared for instance.

Verification Steps for Author
These are to be checked by the author.

[ ] Tested in the Experimental environment (for changes to containers, app startup, or connection to data stores)
[ ] Request review from a member of a different team.
[ ] Have the Jira acceptance criteria been met for this change?

Verification Steps for Reviewers
These are to be checked by a reviewer.

Frontend

[ ] User facing changes have been reviewed by design.
[ ] There are no aXe warnings for UI.
[ ] This works in Supported Browsers and their phone views (Chrome, Firefox, IE, Edge).
[ ] There are no new console errors in the browser devtools
[ ] There are no new console errors in the test output
[ ] If this PR adds a new component to Storybook, it ensures the component is fully responsive, OR if it is intentionally not, a wrapping div using the officeApp class or custom min-width styling is used to hide any states the would not be visible to the user.

Backend

[ ] Code follows the guidelines for Logging
[ ] The requirements listed in Querying the Database Safely have been satisfied.

Database
Any new migrations/schema changes:

[ ] Follows our guidelines for Zero-Downtime Deploys
[ ] Have been communicated to #g-database
[ ] Secure migrations have been tested following the instructions in our docs

Screenshots
Request:

Response:

Messages

:book:
:link: MB-12816

  Generated by :no_entry_sign: dangerJS against 9bbfa92d343ff68a03669e94215c0126ffba4db3


Add example for MySQL Flexible Server Database

This PR is to add an example for MySQL Flexible Server Database with MySQL Flexible Server.

@neil-yechenwei please see my feedback on this PR.

@grayzu , thanks for the comments. I've updated code. Please take another look. Thanks.

Thanks @neil-yechenwei . I apologize for my delay in getting to this, btw.
This looks good.
Can we update the example to use 3.0? If it is any trouble at all, I am good with merging it as is.

@grayzu , sure. Updated

LGTM


cigien: Watch irenderfarm.net

cigien requests the watch of the watch_keyword irenderfarm\.net. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

irenderfarm\.net has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by tripleee in Charcoal HQ


Aqualab: PlayLocations

This should be a feature that has the AvailableModes function overridden so that it only runs for the PLAYER mode.
It should accept all events, and for each event, check if it has seen the given session ID before.
If it has encountered this session before, it should ignore the event.
If it has not encountered this session before, it should add the session to a list of "previously seen sessions", and should append a True or False to a parallel list of "in school" sessions.
The value should be True if the event's timestamp was on a weekday and between the hours of 9am and 3pm.
The value should be False otherwise.

Merged work on this into aqualab_new_features, and made a fix with commit ff8ec4b08abd74fe6d3f0a5aad2e5283cfc07088, I think this commit completed the functionality.


python3Packages.karton-dashboard: init at 1.1.0

Motivation for this change
Web application that allows for Karton task and queue introspection
https://github.com/CERT-Polska/karton-dashboard
Related to #81418
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

@chivay, perhaps you could give it a try please?

Result of nixpkgs-review pr 119214 run on x86_64-linux 1

2 packages built:

python38Packages.karton-dashboard
python39Packages.karton-dashboard

Result of nixpkgs-review pr 119214 at 05e607bd run on x86_64-linux 1

2 packages built successfully:

python38Packages.karton-dashboard
python39Packages.karton-dashboard

1 suggestion:

warning: python-include-tests
Consider adding a checkPhase for tests, or if not feasible, pythonImportsCheck.
Near pkgs/development/python-modules/karton-dashboard/default.nix:38:0:
   |
38 |     description = "Web application that allows for Karton task and queue introspection";
   | ^


[Android] Synchronize two clients to control one device

Hi all,
i have two clients (Phone App) using the same account.
with the first I carry out commissioning with a device, I would like to synchronize the second via cloud so that I can use the device without having to repeat the commissioning. I found a key (called operatingCredentialsIssuerKeypair in the CHIP Android Wrapper code) that shared with multiple controllers allows them to control the nodes of the commissioned fabric.
Is it ok to share this key with the cloud?
Is it ok to generate this key from the cloud instead of the controller?

anyone?


Use Cache-Control: no-transform to disable Cloudflare auto minify

Many users report that all the tab/space in code disappear. The code indent/indentation become messy.
The reason is that they put Gitea behind Cloudflare, and they enabled the auto minify feature on Cloudflare.
Cloudflare has an option to disable the auto minify: Cache-Control: no-transform
Ref:

https://community.cloudflare.com/t/disable-minification-with-header/15294
https://support.cloudflare.com/hc/en-us/articles/200168396-What-will-Cloudflare-compress-

Reading through the docs this will also disable gzip/brotli compression, which I don't think is necessarily what you would want to do?

Whitespace in HTML is often times significant, I think it's a bug on CF if they remove significant whitespace and break sites that way.
Anyways, I would not be opposed to adding no-transform to text/html responses only.

Reading through the docs this will also disable gzip/brotli compression, which I don't think is necessarily what you would want to do?

It won't be a problem. Gitea has builtin ENABLE_GZIP support.

Is it possible that if we use <pre> instead of just relying on CSS pre cloudfare would just do the correct thing?

I have no idea about whether Cloudflare affects the content inside <pre> or <textarea>. I didn't find related documents about this topic.

Is it possible that if we use  instead of just relying on CSS pre cloudfare would just do the correct thing?

Depends on which HTML minfier they are using, but I suspect it might help, but I'm not sure if the introduction of <pre> will break other things. I think we could do a common <pre> ancestor to code view, similar to how GitLab does it. GitHub itself has no <pre> ancestor to their code views so should be affected by this "bug" too.


Pm2 not functioning for client

Describe the bug
Trying to start reader.sh in pm2 does nothing, upon examination of the logs it appears that pm2 is reading from the wrong directory
To Reproduce
Steps to reproduce the behavior:

in console pm2 start ./pagermon/client/reader.sh
pm2 says it's started
check pm2 logs

Error: Cannot find module '/home/pi/reader.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:981:15)
    at Function.Module._load (internal/modules/cjs/loader.js:863:27)
    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:74:12)
    at internal/main/run_main_module.js:18:47 {
  code: 'MODULE_NOT_FOUND',
  requireStack: []
}

Environment information:

OS: Raspberrypi3b os
Other details: --

Following is after I changed reader.sh to include the filepath of reader.js, if you don't do that it also tries to find reader.js in the home directory
multimon-ng 1.1.8
  (C) 1996/1997 by Tom Sailer HB9JNX/AE4WA
  (C) 2012-2019 by Elias Oenal
Available demodulators: POCSAG512 POCSAG1200 POCSAG2400 FLEX EAS UFSK1200 CLIPFSK FMSFSK AFSK1200 AFSK2400 AFSK2400_2 AFSK2400_3 HAPN4800 FSK9600 DTMF ZVEI1 ZVEI2 ZVEI3 DZVEI PZVEI EEA EIA CCIR MORSE_CW DUMPCSV X10 SCOPE
Found 1 device(s):
  0:  Realtek, RTL2838UHIDIR, SN: 00000001

Using device 0: Generic RTL2832U OEM
Found Elonics E4000 tuner
Tuner gain set to automatic.
Tuned to 148927100 Hz.
Oversampling input by: 12x.
Oversampling output by: 4x.
Buffer size: 7.74ms
Exact sample rate is: 1058400.010094 Hz
internal/fs/utils.js:230
    throw err;
    ^

Error: ENOENT: no such file or directory, open './config/config.json'
    at Object.openSync (fs.js:457:3)
    at Object.writeFileSync (fs.js:1282:35)
    at Object.<anonymous> (/home/pi/pagermon/client/reader.js:20:8)
    at Module._compile (internal/modules/cjs/loader.js:1157:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1177:10)
    at Module.load (internal/modules/cjs/loader.js:1001:32)
    at Function.Module._load (internal/modules/cjs/loader.js:900:14)
    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:74:12)
    at internal/main/run_main_module.js:18:47 {
  errno: -2,
  syscall: 'open',
  code: 'ENOENT',
  path: './config/config.json'
}
Sampling at 1058400 S/s.
Output at 22050 Hz.
Signal caught, exiting!

User cancel, exiting...
Signal caught, exiting!

Reader.sh still works as a stand alone shell script

@Retartist is this this pagermonpi image or are you getting the repo using git clone?
Did you do a npm install in the client folder?
Did you change the file structure at all? as it needs to as per the repo..
Reader.sh needs other files to run and they need to be in the correct path

This is a git clone of the repo,
Npm install was done of the client folder, I haven't changed anything from the repo.
Reader.sh works as is if I launch it in shell, just not launching it with pm2
Starting it from inside the folder does work, it's odd that it didn't work the other way.
Maybe add this troubleshooting to the wiki?
Thanks for your help, solved

No worries..


Grammar mistake in the translating docs

The word Zulip's should be Zulip here https://github.com/zulip/zulip/blob/master/docs/translating/translating.md#L2. I would like to make a PR for this.

@zulipbot claim

@zulipbot claim

@zulipbot claim

@zulipbot claim

Closing this when merging the fix, but generally we don't open an issue for a typo, just submit a PR with the fix (as was already present).


spacevim: 1.5.0 -> 1.6.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/SpaceVim/SpaceVim/releases.
meta.description for spacevim is: "Modern Vim distribution"
meta.homepage for spacevim is: "https://spacevim.org/"
meta.changelog for spacevim is: ""
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 1.6.0 with grep in /nix/store/j1rxavhyvfc666c8mx3b04ai99hgp8fc-spacevim-1.6.0

directory tree listing: https://gist.github.com/139781cf4eeeef366aa8131b73bbf569

du listing: https://gist.github.com/4f4cb364c8992706b92667887a1c8a9c

Rebuild report (if merged into master) (click to expand)

4 total rebuild path(s)

1 package rebuild(s)

1 x86_64-linux rebuild(s)
1 i686-linux rebuild(s)
1 x86_64-darwin rebuild(s)
1 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
spacevim

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/j1rxavhyvfc666c8mx3b04ai99hgp8fc-spacevim-1.6.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A spacevim https://github.com/r-ryantm/nixpkgs/archive/3480585de22e243d99f9785c952baa0e751badc6.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/j1rxavhyvfc666c8mx3b04ai99hgp8fc-spacevim-1.6.0
ls -la /nix/store/j1rxavhyvfc666c8mx3b04ai99hgp8fc-spacevim-1.6.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

Maintainer pings
cc @fzakaria for testing.

This is completely redundant vis-à-vis #109983, merging would be no-op. (And the bot stole my commits too!)


[SPARK-22891][SQL] Make hive client creation thread safe

What changes were proposed in this pull request?
This is to walk around the hive issue: https://issues.apache.org/jira/browse/HIVE-11935
How was this patch tested?
(Please explain how this patch was tested. E.g. unit tests, integration tests, manual tests)
(If this patch involves UI changes, please attach a screenshot; otherwise, remove this)
Please review http://spark.apache.org/contributing.html before opening a pull request.

Test build #85490 has started for PR 20109 at commit 163d344.

Test build #85490 has finished for PR 20109 at commit 163d344.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/85490/
Test PASSed.

Thanks! Merged to master.


[Again] Feature Request: Support for Azure OpenAI API

This suggestion was marked as resolved in a previous issue(#31 ), but I still don't know how to use this.
Could you tell me the usage?
Thank you for your support.
Additional Information
AzureOpenAPI URL parameters

Base_URL
deployment_name
(optional?) api_version

URL structure
{Base_URL}/deployments/{deployment_name}/chat/completions?api-version={api_version}

Reference

https://learn.microsoft.com/ja-jp/azure/ai-services/openai/reference

Hey @chatblanc-ciel, it looks like more than just OPENAI_BASE is needed to use an Azure endpoint. Sorry, I thought just setting that would cover it, but it looks like more work is needed. Thanks for the issue.

It would be helpful for me if this promblem were solved.

@naninanya Sorry for the delay—many competing priorities but we will definitely get to it... hopefully in the next release. A PR would also be most welcome!!


Upgrade Epic-Stack to use Remix 2.7.0 with Vite Stable Support

Remix Vite is Now Stable
Since Remix Vite is not Stable from version 2.7.0
https://remix.run/blog/remix-vite-stable
Can we migrate Epicstack to use Vite ?

Yes, I definitely would like to do this. I've tried it on my own site and the Epic Web workshop app and it's awesome. I'm open to anyone making a pull request if anyone's up for it. I'm pretty busy preparing for this right now 😅

This is done 🎉


Calling client side code from server side

The detectLanguageFromHeaders is supposed to be a SERVER function, but it is calling the detectLanguage function which is supposed to be a CLIENT function
https://github.com/tolgee/tolgee-js/blob/358707421c721a0454f6be9d2963ccf27820ba76/packages/web/src/package/tools/detectLanguageFromHeaders.ts#L9
So this line makes the initialization to fail, because it is calling the window object from the server.
https://github.com/tolgee/tolgee-js/blob/358707421c721a0454f6be9d2963ccf27820ba76/packages/web/src/package/LanguageDetector.ts#L13

Mentioned in https://github.com/tolgee/tolgee-js/pull/3401

Possibly fixed in https://github.com/tolgee/tolgee-js/pull/3401

Fixed in #3401


Enhancement: Upcoming filters.

By company, launch location, etc.

Started working on this for v1.0-beta11


StudentT::inverse_cdf() ignores location and scale parameters

The current implementation hard-codes them as 0 and 1 respectively.  Obviously the right thing would be to use the actual parameters.  At minimum we should document the current behaviour.

Sorry for not noticing that this was still an issue in #106.


Multiple connection script

Hello all
I am trying to develop a script to support multiple connections with multiple BLE peripherals.  The samples I see stop scanning after they find a device and start connecting to it. What is needed is as follows:
While(BLE Controller can support additional connections)
{
scan for service(s) allowing duplicates
identify peripheral and start a connection and associate appropriate handlers for this peripheral
continue scanning
}
I know it is possible but my js/noble knowledge is not great.
Thanks in advance

Found the code in the link below to be a good start
https://labs.hybris.com/2014/10/06/connecting-to-multiple-ble-devices/


#149 Added builder option to build worker process source code and the…

…n deploy
Signed-off-by: ktenzer<EMAIL_ADDRESS>

Thanks @ktenzer ;)


create-cloudflare: replace create-svelte with sv

What this PR solves / how to test
create-svelte is soon to be deprecated
Fixes #[insert GH or internal issue number(s)].
Author has addressed the following

Tests

[ ] TODO (before merge)
[ ] Tests included
[x] Tests not necessary because: existing test is compatible

E2E Tests CI Job required? (Use "e2e" label or ask maintainer to run separately)

[ ] I don't know
[ ] Required
[x] Not required because: required, passing here: #7088

Changeset (Changeset guidelines)

[ ] TODO (before merge)
[x] Changeset included
[ ] Changeset not necessary because:

Public documentation

[ ] TODO (before merge)
[ ] Cloudflare docs PR(s):
[x] Documentation not necessary because: no related existing documentation on the replaced package

tested on my local, please review

hey thanks for opening this PR :)
I'm running our e2e's for you here, since they can't be run from a fork: https://github.com/cloudflare/workers-sdk/pull/7088
I think they're probably going to need updating - since running e2e's locally is a faff, I'm happy to make those changes and push to this branch if that's okay with you?
Once e2e's are sorted, this looks good to me - thanks again!

yes please @emily-shen

svelte e2e is now passed

For posterity, c3 e2e's were passing with the linked branch #7088, didn't realise closing that PR would remove the actions whoops 😅


Could i have a question?

Frist, I'm sorry that i'm not good english.
Anyway, I want to zoom-in when i other button.
Now, When i coded "zoom({on:'click'})",
When i click image, is started zoom.
But i have a other button.
I want to image is zoomed when i click other button.

When the zoom-in button,

image will be zoom-in 1 depth.
When i mouseover on image, possible to move.

I'm so sorry.. I hope to you understand my english..
Have a good day!

I think you would have to fork the script and make modifications to it to support the behavior you are asking for.  Or find a different script that meets your specific requirements.  Sorry, best of luck.


feat: async build word index map when init lsp state

1. Does this PR affect any open issues?(Y/N) and add issue references (e.g. "fix #123", "re #123".):

[x] N
[ ] Y

2. What is the scope of this PR (e.g. component or file name):
lsp/state.rs

3. Provide a description of the PR(e.g. more details, effects, motivations or doc link):
async build word index map when init lsp state， Konfig startup time reduced to 1/3 (27s -> 9s). There may still be some read-write locks

[ ] Affects user behaviors
[ ] Contains syntax changes
[ ] Contains variable changes
[ ] Contains experimental features
[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[x] Other

4. Are there any breaking changes?(Y/N) and describe the breaking changes(e.g. more details, motivations or doc link):

[x] N
[ ] Y

5. Are there test cases for these changes?(Y/N) select and add more details, references or doc links:
Konfig startup time reduced to 1/3 (27s -> 9s).

[ ] Unit test
[ ] Integration test
[ ] Benchmark (add benchmark stats below)
[x] Manual test (add detailed scripts or steps below)
[ ] Other

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 87.82%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
2300

Relevant Lines:
2619

💛  - Coveralls


Review Text Format Spec

The original implementation of the grammar in this repo predates any known specification and in 2022 a Protocol Buffer Text Format Spec was published.
Review the specification and the grammar to ensure proper handling of all syntax highlighting cases.

Additionally while searching for example textproto files, I ran accross this repo, that contains an example grammer https://github.com/PorterAtGoogle/tree-sitter-textproto

Note: Comments can appear between syntax tokens:
value: -
  # comment
  2.0         # Valid: whitespace and comments between '-' and '2.0'.

https://protobuf.dev/reference/protobuf/textformat-spec/#parsing


Fix Callable import

Checklist

[x] The code has 100% test coverage.
[x] The documentation was properly created or updated (if applicable) following the correct guidelines and appropriate language.
[x] I branched out from the latest main or is a sub-branch.

Summary or description
The new location of Callable is collections.abc.
WARNING: this is a  follow up PR to #100. #100 must be merged first.

@devkral you need to rebase this


Possibility to use Parquet for easy S3 backup?

👋
This is just a question, not a feature request or issue or anything of the sort :)
I'm just starting to learn DuckDB and I wonder if it's a lot of work to make PhoenixAnalytics work with Parquet files? The upside is that they can be easily backed up to S3 (immutable), are quite storage-efficient (40% smaller according to https://benchmark.clickhouse.com/) and almost as fast (60% slower according to https://benchmark.clickhouse.com/) as DuckDB's custom storage format, and have zero load time. The downside is that they might require compaction, but at the same time that enables TTL.

Or maybe there are other ways to stream / backup DuckDB to S3, like in https://motherduck.com/blog/differential-storage-building-block-for-data-warehouse/ or https://litestream.io?

Hi @ruslandoga, yes, I have this in plans and I already made proof of concept which worked quite well, but for a lot of writes I'm not sure yet how to make it efficient.
As for backups simplest would be to setup a cron job which would dump duckdb file and upload parquet file to s3.

👋 @lalabuy948

but for a lot of writes I'm not sure yet how to make it efficient.

Which is the problem exactly?
I don't know if DuckDB supports streaming writes like
COPY (stdin) TO 'phoenix_analytics_part_N.parquet.lz4' (FORMAT PARQUET, COMPRESSION LZ4_RAW)

but technically, it should be possible as Parquet can be written in row groups which can be accumulated in memory, which would make it similar to how ClickHouse processes INSERTs. Maybe writers can be something other than DuckDB, e.g. https://docs.rs/parquet/latest/parquet/ or https://github.com/jorgecarleitao/parquet2.
Alternatively, a CSV buffer can be written instead, and then DuckDB's COPY can be used to rewrite it as a Parquet.

🙌🏻 @ruslandoga, there is duckdb support of httpfs, you can take a look, some sketches saved there: priv/repo/duck_s3.exs
More you can research here.
Let me know which ideas you going to try and we can work together on solution! Feel free to reach me over email or on X / Telegram.

Let me know which ideas you going to try and we can work together on solution!

I think I'd like more control over catalogs and uploads. I think DuckDB tries to do a ListObjectsV2 on each read_parquet from S3 if it any wildcards, which can get expensive. And Hive-style partitioning might be suboptimal. So I would probably try writing Parquet to disk (possibly not through DuckDB) and uploading it to S3 from Elixir. It can be done by a single process. Since it would have the full view of which files are available and where (S3 or disk), it can also act as a table catalog with some support for predicate pushdowns (e.g. the user wants to see analytics for the last month, so the catalog only gives the last month worth of Parquet files to DuckDB). That process could also perform compaction (e.g. compact the previous day's Parquets into a single one) since it could hide incomplete parts from DuckDB.


RuntimeError: The size of tensor a must match the size of tensor b

Hello,
I'm trying to use shap with a pytorch model but I'm coming to a runtime error with those line.
The code :
 import shap background =  X_train[np.random.choice(X_train.shape[0], 100, replace=False)]   e = shap.DeepExplainer(model, torch.from_numpy(background)) shap_values = e.shap_values(torch.from_numpy(X_test[0:5]))
The error :

RuntimeError: The size of tensor a (57) must match the size of tensor b (28) at non-singleton dimension 1

And it seems that the issue comes from the line 357 in deep_torch.py.
Thanks.

I'm having the same problem. I'm using a simple custom neural network in pytorch. Forward pass and training were completed with no issue. But I still get this size mismatch error.

I'm getting this same error with ResNet152

I am having the same error. Is this issue resolved?

The same for me. Any news about this issue?

I think my solution may help you, this it the link


Does Kubernetes Go Client allow for client side disk caching of resources?

Someone correct me where I'm wrong here, but it seems like kubectl allows for caching of resources on disk.
My specific problem is regarding repeated requests to clusters returning the same resources regardless of if they've changed. This is something that is an issue whether you're constantly refreshing your local cache (which should be done using a watch) or making adhoc requests.
This issue is to address the following

Does the Kubernetes API use some ETag to validate if a resource has changed?
If so, does the Go Client make use of this?

Thank you.

It does not. Yet.


Add support for pre-transforming datasets within specifications

Overview
In some situations, it may not be desirable (or even possible) to run vegafusion-wasm/vegafusion-embed in the web browser context. And, it may not be possible to send messages from the client back to the server.  This fundamentally limits the possibility of supporting selection/crossfiltering scenarios on the server, but there are still many cases that could benefit from serverside computation.
The motivating example is a static histogram. In this cases, it would be possible to perform binning and aggregation on the server, and then generate a new Vega specification that includes a small inline dataset that simply contain the histogram bar heights.
Proposal
We could add a new method to the VegaFusionRuntime (and correspondingly a new gRPC service) named something like pre_transform_spec.  This method would accept:

A valid Vega specification
The named timezome to consider "local"
(optional)  A row limit. Datasets with more than this number of rows are truncated. If not provided, then no limit is imposed.

The method would return:

A new Vega specification with supported data transforms already applied.
Zero or more WARNINGS. To start, warnings for:

Row limit exceeded for one or more datasets in the resulting spec
Broken interactivity.  If transforms were applied that are parameterized by signals/datasets that may change in response to user interaction, then this warning is included.  In the future we may want to add a specialized spec planning algorithm that specifically avoids this situation, but to start we can reuse the existing planning algorithm and raise this warning if the communication plan includes any client-to-server values.
No transforms applied, so returned spec is identical to the input spec.

Demo
It would be good to add a simple motivating demo.  One possibility would be to add a variation of the current chart-editor demo that uses vega-embed rather than vegafusion-embed on the client.  The client would use gRPC-Web to communicate with a VegaFusion server instance to pretransform the user-provided spec. It would then display the result using vega embed and display any warnings.
Python story
This logic path could be useful from Python for situation where the VegaFusion rendering extension is not available.  The challenge for integrating it with Altair is that a JavaScript runtime is required in order to convert Vega-Lite specifications to Vega.  This could work if a custom Altair renderer was added that called out to nodejs (or maybe kaleido in the future) to perform the vega-lite to vega conversion.
We can expose the new entry point through the Python API without any issue, but useful Altair integration could come later.

For the Python integration, it looks like we could use altair-saver to compile vega-lite to vega (https://github.com/altair-viz/altair_saver). altair-saver already provides a renderer (https://github.com/altair-viz/altair_saver#renderer), and I think we could do something similar that pre-transforms the vega specification during rendering.

Closing as mostly done in #97. We can open new issues as we want to build more things on top of this core pre_transform_spec functionality


include: fix documentation for sqsh_inode_map_get()

The documentation for sqsh_inode_map_get() stated, that the function returns a negative error code on failure. The implementation however returns 0 on error. Inodes are always > 0, so using 0 as error code is safe.
fixes #106

Codecov Report
Patch and project coverage have no change.

Comparison is base (2854817) 59.17% compared to head (6a2e856) 59.17%.
Report is 2 commits behind head on main.

: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.
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #107   +/-   ##
=======================================
  Coverage   59.17%   59.17%
=======================================
  Files          58       58
  Lines        4728     4728
  Branches      707      707
=======================================
  Hits         2798     2798
  Misses       1522     1522
  Partials      408      408

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

Inode numbers are always non-zero, but inode references aren't, I believe? It appears that sqsh_inode_map_get(inode_map, 1) == 0, and so is sqsh_inode_map_get(inode_map, 9999999) == 0, but for different reasons


Add conformance report action

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Codecov Report
Base: 83.14% // Head: 83.14% // No change to project coverage :thumbsup:

Coverage data is based on head (0b04a03) compared to base (168cde8).
Patch has no changes to coverable lines.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@            Coverage Diff            @@
##               main       #5   +/-   ##
=========================================
  Coverage     83.14%   83.14%
  Complexity     1996     1996
=========================================
  Files           220      220
  Lines         15302    15302
  Branches       2735     2735
=========================================
  Hits          12723    12723
  Misses         1768     1768
  Partials        811      811

Flag
Coverage Δ

EXAMPLES
80.71% <ø> (ø)

EXTENSIONS
92.85% <ø> (ø)

LANG
83.21% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

Conformance report comparison fails due to main branch not yet having the report generation. Merging to fork's main branch to demonstrate with a new PR


Compile Insturction improvements

These instructions should make the manual compilation installation equal to the install script. Please check, I might have missed something.
I assumed that the current raspbian jessie was used, as this is the most likely you'd want to use for testing and recompiling.
If those instructions are correct I suggest to add them to a make install instead.
https://github.com/hyperion-project/hyperion/issues/640

Still necessary?
I would keep is as short as possible.

I will test https://github.com/hyperion-project/hyperion/pull/642 and update this pr. make install would then be required to add here. Let me test this first, I will report my results.


Redis Config Store: Adding redisDB in metadata

Describe the proposal
Redis Config Store currently uses a default database 0 for storing key-values: https://github.com/dapr/components-contrib/blob/5043b7cb4adebf658f7f7c4cfe4ac17a22d982d7/configuration/redis/redis.go#L164. It should be passed in metadata similar to redis State Store: https://docs.dapr.io/reference/components-reference/supported-state-stores/setup-redis/#component-format

Another similar issue opened some time back: https://github.com/dapr/components-contrib/issues/2000


Consider dropping ngDocs

Looks like this isn't used, and it's sort of broken. Doing grunt ngdocs creates a documentation page that doesn't seem to work properly. Not sure whether to remove it entirely or fix it later.

We should probably remove it completely if it is broken - the demo page serves as our documentation page currently, as the library generally is pretty simple to use.
I know the Angular team created dgeni, we can probably try migrating to that as a docs solution.

Yes, deleting it completely, then in a future consider other kind of doc.


chore: ci-lint for golang

link to #32

Codecov Report

Merging #33 (6ee9fbd) into main (b5592fa) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #33   +/-   ##
=======================================
  Coverage   47.78%   47.78%
=======================================
  Files           6        6
  Lines         203      203
=======================================
  Hits           97       97
  Misses         92       92
  Partials       14       14

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


AAS Registries for Submodel Templates and Instances

Q: Is there a way to determine submodel kind (i.e., Template or Instance) from a Registry without loading the actual submodel from via AAS-repository API?
A: Currently submodel kind can not be retrieved using Registry-API. We propose to maintain a dedicated registry for submodel Templates.

@BirgitBoss: can this discussion be checked within the UAG?

I will put it to the agenda next year. But I agree: you should not mix AAS instances (or Submodel instances) and Submodel Templates in a single registry/repository. The requirements are very different.

Cleaned up text proposal for now:
Q: Is it possible to determine submodel kind (i.e., Template or Instance) from a Registry without loading the actual submodel from via AAS-repository API?
A: Currently submodel kind can not be retrieved using Registry-API. This issue will be addressed by standardization working groups. In the meantime, we propose to maintain a dedicated registry for submodel templates within the AAS-infrastructure.


attachFile() is not working (wdio v4.6.2)

What are you trying to achieve?
Attach a file using WebdriverIO helper function attachFile() by clicking a button evoking a File dialog.
What do you get instead?
unknown error: cannot focus element
Details
Using invalid selector or file path properly throws the errors:
throw new Error(`File at ${file} can not be found on local system`);
throw new Error(`File field ${locator} not found by name|text|CSS|XPath`);

WebDriverIO version: v4.6.2
NodeJS Version: v6.11.0
Operating System: Win10, Chrome  59.0.3071.115 (Official Build) (64-bit)
Configuration file:
From WebDriverIO.js

attachFile(locator, pathToFile) {
    let file = path.join(global.codecept_dir, pathToFile);
    if (!fileExists(file)) {
      throw new Error(`File at ${file} can not be found on local system`);
    }
    return findFields(this.browser, locator).then((el) => {
      this.debug("Uploading " + file);
      return this.browser.uploadFile(file).then((res) => {
        if (!el.value || el.value.length === 0) {
          throw new Error(`File field ${locator} not found by name|text|CSS|XPath`);
        }
        return this.browser.elementIdValue(el.value[0].ELEMENT, res.value);
      });
    });
  }

My bad.
There is a hidden:
<input ngf-select="uploadImage($file)" ng-disabled="uploading" type="file">
that needs to be selected.


Add documentation on adding backends

There are examples in facedancer/backends/, but they all seem to be doing different things. Ideally the documentation mentions which classes to inherit, which methods to implement, etc.

Added in #78


page.title gives unexpected results on pages with multiple  tags

I want to pull the title of a user-provided URL. When I use page.title, on some pages that have multiple  tags (possible reasons: SVGs with  tags, other metadata inserted downpage) I get a concatenation of title strings that aren't the expected contents of the  tag inside .
I am currently using page.at('head title').text.strip to get the page's title consistently. Does it make sense to change the behavior of page.title to only take the title from the page's head? Or is there a reason page.title works the way it currently works?
Thanks for all the hard work. This gem is really great.

This has been fixed by #503.


Fix for issue #116

This PR address issue #116
This bug fix insert some checks to build the SAFE structure of reprocessed Sentinel-2 L2A products appropriately.

Thanks for the contribution. It will be included in today's release. :+1:


Preflightvalidation CRD refers to SpecialResource instead of Module

The CRD for PreflightValidation refers to SpecialResource instead of Module
https://github.com/kubernetes-sigs/kernel-module-management/search?q=SpecialResource

/assign

The issue was solved by @enriquebelarte's commit:
https://github.com/kubernetes-sigs/kernel-module-management/commit/bdd871f442347951bd487a53243d3d93b670ea86


compilation issue

when we compile it shows errors.Have you successfully compiled?Please can you tell me it's features

the project is not complete, it is under development and it won't compile

when it can be available?when it will complete ?please ..thamks for your effort

there's not any ETA, i'll just develop it when i have time


ARROW-6690: [Rust] [DataFusion] Optimize aggregates without GROUP BY to use SIMD

45% improvement of benchmark for aggregate operations that do not have a GROUP BY. This is an optimization that we already had in the original query execution logic and I have just ported that over to the new physical query plan.
aggregate_query_no_group_by
                        time:   [13.228 us 13.246 us 13.264 us]
                        change: [-45.563% -45.218% -44.879%] (p = 0.00 < 0.05)
                        Performance has improved.

@paddyhoran @sunchao @nevi-me This is ready for review. Thanks.

@sinistersnare @alippai @kyle-mccarthy If you have time to review this I'd appreciate it!


Stack Overflows in start-stop trace

@puneet-gupta  logged this.    File is
\CLRMAIN\public\writeable\users\puneetg\StackOverflow\RD0003FF74B047_w3wp_9480_20190129-122511.diagsession
Open there start-stop thread time view, and then remove the 'fold pat'  You should see a stack overflow because of recursion depths of > 8K.
The branch WorkOnThreadTimeSpeedup (only one commit), has code that tries to deal with this (by among other things limiting task dependency after a certain amount of recursion), however it seems to have changed behavior (it should not have), and thus needs debugging.
Related issue is #348 and #161


"Show Available Category Balance on Hover" Adds Multiple Instances of Balance

I noticed this morning that my category balances were appearing several times in the tooltip.
When I disabled TK, no balances appeared, confirming this is not YNAB.
When I enabled TK with the "Show Available Category Balance on Hover" feature disabled, no balances appeared, confirming no other feature was directly contributing to the issue.
When I re-enabled the "Show Available Category Balance on Hover" feature, I started getting the balances twice in each tooltip.
When I switch between accounts, it seems to fix itself.
When I switch between the budget and an account, it seems to add additional balances up to a total of three to four occurrences visible.

Also happening for me, confirmed.

Hey @nconantj  the fix for this should be in our current release! If you notice the issue still exists and you're definitely running the newest version of the toolkit, please reopen! Thanks!
Please note, all browser can take up to an hour to provide updates to all users. You can force an update if it's available for you by going to chrome://extensions and clicking the "Update" button. Firefox users can go to about:addons, click the setting cog, and click "Check for updates...".


Print a warning for Boot2Docker v1.9.1 (AUFS issue)

Print a warning for Boot2Docker v1.9.1, which is known to have an issue with AUFS (docker/docker#18180)

Hm, it seems reasonable to do in the interim (until Docker >1.9.1 is release and hopefully a corresponding fixed patch with boot2docker).

@nathanleclaire
Thanks, updated PR.
I use AUFSBugB2DVersions map for future extensibility.

LGTM thanks
cc @dgageot

LGTM


How to use websocket to open multichannel video transmission

I have multiple live videos. How can I make users watch different videos?
In demo, how can multiple videos be pushed at the same time when there is only one video push?
Scene Description:
User A opens live video A, and gets the live streaming video A data stream from ws://localhost:8081 service.
User A opens live video B, and gets the live streaming video B video stream from ws://localhost:8081 service.
How can I do this?

It's not possible to have a websocket emit two different video stream data off the same port.
You want to create two websocket server instances with their own respective port

It seems to be the only way to do it, thanks a lot.


Add ocaml-language-server for OCaml and ReasonML

ocaml-language-server provides editor support for OCaml and Reason using the Language Server Protocol.
I had to remove the id field on the request object, because technically a notification must not have an id, which is different from id: null (present, but null).
From JSON-RPC 2.0 Specification - Notification

4.1 Notification
A Notification is a Request object without an "id" member. [...]

And JSON-RPC 2.0 Specification - Request object:

id
An identifier established by the Client that MUST contain a String, Number, or NULL value if included. If it is not included it is assumed to be a notification. The value SHOULD normally not be Null [1] and Numbers SHOULD NOT contain fractional parts [2]
[...]
[1] The use of Null as a value for the id member in a Request object is discouraged, because this specification uses a value of Null for Responses with an unknown id. Also, because JSON-RPC 1.0 uses an id value of Null for Notifications this could cause confusion in handling.

ocaml-language-server is built with vscode-languageserver, which is very strict about this and does not accept notifications with an id, even if it's null.
After removing 'id': v:null, Vim reorders the fields to {"method": "someMethod", "jsonrpc": "2.0"} for whatever reason, so I swapped them in the source to avoid confusion. The order only affects the tests.
For the record:
echo {'id': v:null, 'jsonrpc': '2.0', 'method': 'someMethod'}
" => {'id': v:null, 'jsonrpc': '2.0', 'method': 'someMethod'}

echo {'jsonrpc': '2.0', 'method': 'someMethod'}
" => {'method': 'someMethod', 'jsonrpc': '2.0'}

echo {'jsonrpc': '2.0', 'method': 'someMethod', 'id': v:null}
" => {'method': 'someMethod', 'jsonrpc': '2.0', 'id': v:null}

Cheers! :beers:


Chrome extension version 1

[x] Inject JS & CSS into visited page
[x] Connection to the feedex API
[x] Getting the text from the context menu
[x] Sending the text from background.js to content.js
[x] Auto paste into reply section
[x] Added animation while loading
[x] Sending the request to the Google Chrome store

Right now we get the selection text by chrome context menu and we can log it to console but we still dont use it to get the response and  inject it into visited page

Version #1 is finished


[WIP] Lazy vs modules

Short description and why it's useful
This is a PoC of lazy loaded VS module. Some of non-critical modules will be written following the same pattern. It allows us to lazily load whole VS module and component for a given module (in this case wishlist)
Avoiding global registration of VS modules and putting this registration into components themeselves will also allows us to properly split VS modules into route chunks.
How it works:

Module registration is removed
Module registers itself if any on it's components (except the ones responsible for opening it like WishlistButton) is visible on current view (it registers itself on created hook) so if we have Product page with AddToWishlist component (lazily loaded) it will be loaded with whole module and it's created hook will register it
If you want to use lazy vs modules store (like wishlist) without components you just need to register it before.

Example:
While we entering Home Page there are no components using Wishlist module therefore it's not downloaded:

When we click on WIshlistIcon the Wishlist component (along with module) will be lazily downloaded

I have plans to make most of VS modules work like this. This does not imply that all of them will be lazy loadable but moving registration to components ensures that if they are not lazy loaded directly - they'll be properly distributed into route chunks.

Wow, nice idea!

@filrak that's a really cool idea! :)
Have one question - is .register() a sync or async method? It downloads file from server, so maybe it could be better if it would return a promise? This way we won't block UI if there is problem (for example slow download)

@patzick register()r itself is not invoking any download process. The downloaded part (components + VS module) usually contains register function just to register downloaded vuex store and hooks.
In other words this function is used only to register module from already downloaded chunk. Sorry if my explanation was misleading ;)
This method main purpose is to allow route-level module splitting (or lazy loading components+modules for specific use cases like wishlist which is useful only when opened no matter of route) instead of global registration in one file (and therefore including all modules in main bundle)

To put more into context. This is modules javascript that we can split into route chunks


AssertionError encountered writing TF with Nan/Inf

This happened when processing the synthetic dataset using sandbox/bs_256.cfg as the bands setup file.  The very last band had this issue.
This will need to be handled in general - it maybe that we can deal with this in the underdetermined processing, or with a general nan / inf replacement from  a
debugging session on transfer_function_collection.py is pasted below
A code snippet from
                f.writelines("  Residual Covariance\n")
                #cov_nn_xr.fillna(-1.0)
                line = ""
                for i, out_ch1 in enumerate(tf.tf_header.output_channels):
                    for out_ch2 in tf.tf_header.output_channels[: i + 1]:
                        cond1 = cov_nn_xr.output_channel_1 == out_ch1
                        cond2 = cov_nn_xr.output_channel_2 == out_ch2
                        chchnn = cov_nn_xr.where(cond1 & cond2, drop=True)
                        chchnn = chchnn.data.squeeze()
                        real_part = np.real(chchnn[period_index])
                        imag_part = np.imag(chchnn[period_index])
                        try:
                            line += f"{data_format.write([real_part])}"
                        except AssertionError:
                            print("WWWW")
                        line += f"{data_format.write([imag_part])}"
                    line += "\n"
                f.writelines(line)

Fixing issue #103 (which was ultimately fixed with a processing summary table) fixes this issue.


REST authentication dropping Principal Attributes via Resolver

https://github.com/apereo/cas/blob/fefdfd647ed822de7a9e7c0ca0f92c5742e02761/core/cas-server-core-authentication/src/main/java/org/apereo/cas/authentication/AbstractAuthenticationManager.java#L222
This is causes Principal Attribute dropping on 5.0.x since the original REST result is not passed to the resolver, that in turn will have no access to the Attributes.
Did not test it - but looks to me, this has been addressed in master:
https://github.com/apereo/cas/commit/0b136a6f7dffc39bfe780d66af682cd465356b1c#diff-f92b26bc4f36cb1e871dc9cc8ba235b6
Shouldn't this be backported to 5.0.x ... as was #2362 ?

If it works on master, stay on master please. If you want it backported, by all means shoot over a pull request.


docker-compose.yml not found on psqlpy-stress folder

If you read the README.md on psqlpy-stess folder https://github.com/qaspen-python/psqlpy/blob/main/psqlpy-stress/README.md.  You found that you need to perform docker compose up but I don't find any docker-compose.yml file. on psqlpy-stress folder. Is It missing or typo on README.md?

Hello! We are changing our benchmarks at the moment. Previously we were using JMeter with influx and grafana for testing and now we've switched to bombardier, but didn't have time to change README.

Hi! We've just update our README on our driver's stress testing. You can check it out here


"failed retrieving Azure location for account" - error message is showing wrong (personal) Subscription ID instead of ID used for login (work)

Describe the bug:
Logged in with azd auth login - with work account
Executed azd up to deploy my Bicep script on the above account.
Got Below Error  problem is that the message is showing my personal subscription ID, not work ID with which I have logged in (redacted PII):

ERROR: listing locations: failed retrieving Azure location for account <displaying_personal_acct_id_INCORRECT_should_be_work_ID>: failed to resolve user <displaying_work_user_acct_CORRECT> access to subscription with ID <displaying_personal_acct_id_INCORRECT_should_be_work_ID> If you recently gained access to this subscription, run azd auth login again to reload subscriptions.
Otherwise, visit this subscription in Azure Portal using the browser, then run azd auth login

Used commands:
azd auth login - login process completed w/o issues
azd up - getting above error
Issue script & Debug output
executed with debugging on:
azd up --debug -> log_azd.txt
file content:

Initialize bicep provider
Retrieving locations...
ERROR: listing locations: failed retrieving Azure location for account <displaying_personal_acct_id_INCORRECT_should_be_work_ID>: failed to resolve user <displaying_work_user_acct_CORRECT> access to subscription with ID <displaying_personal_acct_id_INCORRECT_should_be_work_ID> If you recently gained access to this subscription, run azd auth login again to reload subscriptions.
Otherwise, visit this subscription in Azure Portal using the browser, then run azd auth login

Expected behavior:
after executing azd up I expect a location prompt to come up so that I can select a location: i.e. eastus, instead the above error is displaying.
Environment Summary:
azd version 1.10.1 (commit 31409a33266fb4a5fdbb644bc83988e725d6c7c9)
azure-cli 2.64.0
core 2.64.0
telemetry 1.1.0
Dependencies:
msal 1.30.0
azure-mgmt-resource 23.1.1
Python location '/opt/az/bin/python3'
Extensions directory '/home//.azure/cliextensions'
Python (Linux) 3.11.8 (main, Aug 28 2024, 05:45:18) [GCC 11.4.0]
Legal docs and information: aka.ms/AzureCliLegal
Your CLI is up-to-date.
Additional context:
I have two VMs running Ubuntu operating systems 22.04.4 LTS on top on VirtualBox.
I use both VMs for development, but each is using a different Azure account (personal, and work) nothing is shared between these VMs, other than they run on the same OS (Win11-23H2, 12th Gen i7-12700K 3.60 GHz, 128 GB Ram). Work VM is on a Bridged network and Personal VM is on NAT.
When executing 'azd up' on VM1 (personal Azure account), bicep script runs w/o issues and generates resources.
BUT
Wen executing 'azd up' on VM2 (work Azure account), bicep script does not work and I get an error (specified below) also even though the error message shows my correct (work) user id, it (somehow) is displaying my personal subscription id.
Also, when setting up 'azd init' it correctly shows my Work Azure Subscriptions at which point a correct subscription is selected.

@azaslawski thanks for reporting.
Can you check this issue - https://github.com/Azure/azure-dev/issues/2640#issuecomment-1684378415 if similar?
cc @weikanglim @vhvb1989

Yes the last comment in the issue: https://github.com/Azure/azure-dev/issues/2640#issuecomment-1684378415  aligns with the issue I have reported.
Ultimately I have taken a snapshot of my VM and deleted subscription.cache as well bin/msal/cache.json inside .azd directory (although looking at its content I didn't see any anomalies)
Also I have deleted my environment:  .azure/test/.env file content.
Re-run standard logon process and 'azd up' is working now, and ARM finished creating resources as per bicep script.


Uninstall/update requires "PowerToysBootstrapperInstaller-0.25.0.msi"

ℹ Computer information

PowerToys version: v0.25.0
PowerToy Utility: n/a
Running PowerToys as Admin: n/a
Windows build number: Version 20H2 (OS Build 19042.630)

📝 Provide detailed reproduction steps (if any)

PowerToys v0.25.0 notified me on a update, I started the update
While installation, the installer ask me to specify folder, where the setup can find "PowerToysBootstrapperInstaller-0.25.0.msi"

✔ Expected result
Uninstall PowerToys v0.25.0 (and update to v0.27.0).
❌ Actual result
Can't update PowerToys v0.25.0. And also can't manually uninstall v0.25.0 because I don't know where to find such file.
In the Assests of the PowerToys release I can't find such an .msi, there is only an .exe. (Also the extraction of the exe doesn't prove this .msi file.)
📷 Screenshots

@smokydragon
by default Windows keeps a copy of the msi of each application that has been installed, so when it needs to be uninstalled, it will know how to do it.
For some reason, on your machine the copy of the 0.25 msi installer has been deleted.
To solve this problem, download the 0.25 installer again https://github.com/microsoft/PowerToys/releases/download/v0.25.0/PowerToysSetup-0.25.0-x64.exe
then run it and select to uninstall PowerToys (you settings will not be removed).
After that install 0.27 from https://github.com/microsoft/PowerToys/releases/download/v0.27.0/PowerToysSetup-0.27.0-x64.exe

So this should be closed

Changed the resolution to external since there is nothing PowerToys can do about it. We use "won't-fix" for something that is actually possible to fix but we choose not to.

@enricogior
Thanks for quick reply. Unfortunately your workaround, to uninstall PowerToys with PowerToysSetup-0.25.0-x64.exe did not work. The setup can be started, displays some installer for a split second and after that nothing else happend. PowerToys was still installed.
But thanks for your hint that this .msi file will be created after installation, I've installed PowerToys v0.25 on another machine and copied the .msi from there to my computer. After that I was able to uninstall PowerToys.


CORS issue when trying to generate text

Using the OpenAI API, textgenerator has now resolved to fail in all text generations. The log says it all:
4 times this line:
Access to fetch at 'https://api.openai.com/chat/completions' from origin 'app://obsidian.md' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: It does not have HTTP ok status.
Then finally:
Error: Connection error.
at OpenAI.makeRequest (plugin:obsidian-text…tor-plugin:14963:17)
at async eval (plugin:obsidian-text…tor-plugin:21611:25)
at async RetryOperation.eval [as _fn] (plugin:obsidian-text…ator-plugin:1271:19)

clear the basePath field under the llm provider settings in the plugin settings

yeah, that would be nice — except that with the newest update it couldn't even install this morning - I even tried deleting the plugin and its settings file, and it still can't even install!

what platform are you running it on

Using the OpenAI API, textgenerator has now resolved to fail in all text generations. The log says it all:
4 times this line:
Access to fetch at 'https://api.openai.com/chat/completions' from origin 'app://obsidian.md' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: It does not have HTTP ok status.
Then finally:
Error: Connection error. at OpenAI.makeRequest (plugin:obsidian-text…tor-plugin:14963:17) at async eval (plugin:obsidian-text…tor-plugin:21611:25) at async RetryOperation.eval [as _fn] (plugin:obsidian-text…ator-plugin:1271:19)

try to do a reset


Add support for using NT service

I configured Tor expert bundle myself to run as NT service and have been using it for a while but this project doesn't seem to have a way to connect to it. Currently I'm using ipython console to control it but it'd be nice to be able to control it with GUI and this seems to be the only windows GUI project that I found.

The current model of tor interaction with the graphical interface does not allow you to fully manage tor, which is launched as an NT service.

The GUI is also a controller that monitors events through the control port. If you connect the controller some time after the launch of tor, you will not be able to get complete information about the current state of circuits, streams, traffic.
The data for the "Log" section comes directly from the tor process stdout. This allows you to unload the control port from a large amount of processed data. To do this, a system of Pipes is used, which are tied to the process at the stage of its creation and launch. When tor is launched as an NT service, this cannot be done.
Managing the tor service will require mandatory launch of the Tor Control Panel (TCP) on behalf of the Administrator.

The NT service is suitable for Tor to work as a server, when configured the torrc file once and forgot. But when you need to monitor circuits and streams in real time, change node lists and quickly synchronize all this with the GUI, the tor NT service will not be enough.
If you need TCP to start when Windows starts, then add the program shortcut to the Startup folder. It is not necessary to install tor as an NT service.


[FLINK-26805][table] Managed table breaks legacy connector without 'connector.type'

What is the purpose of the change
Fix the bug, Managed table breaks:
CREATE TABLE T (a INT) WITH ('type'='legacy');
INSERT INTO T VALUES (1);

This case can be misinterpreted as a managed table, which the user might expect to be resolved by the legacy table factory.
Brief change log

Move isLegacyConnectorOptions to TableFactoryUtil.
ManagedTableListener.isManagedTable should exclude legacy connector.

Verifying this change

LegacyTableFactoryTest.

Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (yes / no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (yes / no)
The serializers: (yes / no / don't know)
The runtime per-record code paths (performance sensitive): (yes / no / don't know)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: (yes / no / don't know)
The S3 file system connector: (yes / no / don't know)

Documentation

Does this pull request introduce a new feature? (yes / no)

@flinkbot run azure


⚠ Bofrost.at has degraded performance

In 495de06, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 2608 ms

Resolved: Bofrost.at performance has improved in 3839d1e.


CoreOS + Kubernetes Step By Step: DNS addon is broken

Step 5 of the CoreOS + Kubernetes Step By Step guide, is incomplete. The DNS addon created there cannot connect to the API server because it is missing TLS config. See [this] (https://github.com/kubernetes/kubernetes/issues/32480) Kubernetes issue. I was able to get DNS working by following this comment in the linked issue. It seems that the kubeDNS pod should be using a kubeconfig file.
API server log shows a lot of:

Unable to authenticate the request due to an error: crypto/rsa: verification error

While the kubeDNS log is filled with:

reflector.go:136] Failed to list *api.Service: the server has asked for the client to provide credentials (get services)
reflector.go:136] Failed to list *api.Endpoints: the server has asked for the client to provide credentials (get endpoints)

While this definitely should be fixed -- I strongly encourage people to avoid using the Step By Step guide except as a learning exercise. Otherwise it can be tedious, error prone, and tends to lack the validation that our setup scripts receive.
I encourage people instead to either try using the multi-node or single-node via vagrant, use kube-aws, or to use the multi-node/generic scripts.

Yeah we use k8s on production (on AWS) and followed the step-by-step guide because at that point I could find no clear way to deploy a whole cluster onto a private network, which is our company's requirement. I believe it's still the case as of today.
But for the sections of "Deploy Kubernetes Master Node(s)" and "Deploy Kubernetes Worker Node(s)", we utilize multi-node/generic scripts because it does every steps we need and it's maintained well (really appreciated it).
So far there is no problem about kubeDNS.

Good to know y'all. I was doing the step-by-step as a learning exercise. In that it served it's purpose. As for the issue, I probably messed something up. Should I close this?

@rdtr -- Glad that it is working well for you and thank you for explaining your use case. Don't hesitate to file an issue should you find anything wrong.
@stephen144 I think this is fine to leave open until it gets fixed. We do want to fix the guide, I just wanted people to know that if step-by-step is giving you trouble there are easier and less error prone routes to take.

@pbx0 I'd love to get this resolved (whatever 'resolved' looks like) in #722, What do you think would best achieve that? Adding a warning about doing a manual setup?  Config examples?  Point me in the right direction and I'll try to write it up.


[WARNING] [cpu_adam.py:84:init] FP16 params for CPUAdam may not work on AMD CPUs

Is deepspeed   compatible  with   AMD CPU ?
When  i  import  DeepSpeedCPUAdam  optimizer  on AMD CPU,  I got  following warning:
[WARNING] [cpu_adam.py:84:init] FP16 params for CPUAdam may not work on AMD CPUs
Can i  just  ingore  the warning? Or  it  is imcompatible  with AMD CPU ?

CC: @jithunnair-amd and @rraminen

Noting here for context: this comes from PR https://github.com/microsoft/DeepSpeed/pull/2047
Some relevant discussion on why this was added: https://github.com/microsoft/DeepSpeed/pull/2047#discussion_r1401157111
It looks like some CPU vectorized instructions are used in https://github.com/microsoft/DeepSpeed/blob/master/csrc/includes/simd.h#L19
AVX256 and AVX512 are supported in the new AMD Ryzen CPUs.
However, we need to check if all the vectorized instructions used in that file are supported on AMD CPUs.

Below are the only references to FP16 instructions in simd.h:
https://github.com/microsoft/DeepSpeed/blob/a8b821535aa0b254efa681d51b4951734ca021cc/csrc/includes/simd.h#L36
https://github.com/microsoft/DeepSpeed/blob/a8b821535aa0b254efa681d51b4951734ca021cc/csrc/includes/simd.h#L58
Those conversion instructions are part of AVX512F which is supported in Zen4 as it is very basic AVX512 feature. Do you want to qualify that this code works fine on newer than AMD Zen 4 CPUs?


Unable to connect to Docker TCP service

MacOSX 10.9.3
OpenSSH_6.2p2
Virtualbox 4.3.12
Vagrant 1.6.3
Coreos v343.0.0 and v349.0.0

Setting $expose_docker_tcp=2375 in config.rb and invoking export DOCKER_HOST='tcp://<IP_ADDRESS>:2375' does not give the expected results.
local shell:
$ docker images
2014/06/17 10:37:10 Get http://<IP_ADDRESS>:2375/v1.12/images/json: EOF

VM:
$ cat /etc/systemd/system/docker-tcp.socket
[Unit]
Description=Docker Socket for the API

[Socket]
ListenStream=<IP_ADDRESS>:2375
Service=docker.service
BindIPv6Only=both

[Install]
WantedBy=sockets.target

Set via project user-data:
$ cat /var/lib/coreos-vagrant/vagrantfile-user-data
#cloud-config

coreos:
  etcd:
      #generate a new token for each unique cluster from https://discovery.etcd.io/new
      #discovery: https://discovery.etcd.io/<token>
      addr: $public_ipv4:4001
      peer-addr: $public_ipv4:7001
  units:
    - name: etcd.service
      command: start
    - name: fleet.service
      command: start
      runtime: no
      content: |
        [Unit]
        Description=fleet

        [Service]
        Environment=FLEET_PUBLIC_IP=$public_ipv4
        ExecStart=/usr/bin/fleet
    - name: docker-tcp.socket
      command: start
      enable: true
      content: |
        [Unit]
        Description=Docker Socket for the API

        [Socket]
        ListenStream=<IP_ADDRESS>:2375
        Service=docker.service
        BindIPv6Only=both

        [Install]
        WantedBy=sockets.target
    - name: enable-docker-tcp.service
      command: start
      content: |
        [Unit]
        Description=Enable the Docker Socket for the API

        [Service]
        Type=oneshot
        ExecStart=/usr/bin/systemctl enable docker-tcp.socket

On the VM docker commands are working. But the docker commands in the local shell fail.
Probably unrelated but I'm also seeing a ssh connection error in vagrant up. See: #131

Thanks @BugRoger , +1 to your solution as the official copy/paste of cloud-config.yml does not appear to enable Dockersocket by itself.  The service you posted is required to actually restart docker with the API support on boot.

Moved to https://github.com/coreos/bugs/issues/1374


Usage at first not really clear.

I wasn't really sure whether i should write this issue or not. It might be possible that I'm the problem here. But still you have written this library and maybe you can help me and the next unlucky person.
First of all, thank you for this library. It is a nice idea for embedded rust and I wanted to use it for a small private project. I've learned using your demo application and also the readme you have provided.
Sadly there is a huge disconnect between real usage and the demo. Your work on sprocket-boot actually made it click for me. But before that I've spent 3 days of pure pain and even so it made click, I don't understand why and how.
Please let me elaborate:
This code is based on the demo. It doesn't do anything useful. The thing is that it does not compile and I don't understand why that is.
struct SlowPrinter {
    list: VecDeque<i32>,
}

impl Future for SlowPrinter {
    type Output = ();

    fn poll(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Self::Output> {
        if let Some(x) = self.list.pop_back() {
            println!("{}", x);
            Poll::Pending
        } else {
            Poll::Ready(())
        }
    }
}
async fn print_some(mut printer: SlowPrinter) {
    printer.await;
    printer.await; // !!! <-- This causes error !!!
}

VecDeque is something which doesn't implement the Copy trait. I'm fully aware why that is but I don't understand why await does require it. What is wrong with this example. Please teach me.
error[E0382]: use of moved value: `printer`
   --> tool/src/main.rs:160:5
    |
158 | async fn print_some(mut printer: SlowPrinter) {
    |                     ----------- move occurs because `printer` has type `SlowPrinter`, which does not implement the `Copy` trait
159 |     printer.await;
    |            ------ `printer` moved due to this method call
160 |     printer.await; // !!! Uncommenting causes error !!!
    |     ^^^^^^^ value used here after move
    |
note: this function takes ownership of the receiver `self`, which moves `printer`
   --> /home/andre/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/into_future.rs:128:20
    |
128 |     fn into_future(self) -> Self::IntoFuture;
    |                    ^^^^

Then again this here does compile. My problem here is that poll_fn was not mentioned in the demo, so I missed it.
Also I'm not able grasp what is different. I do realize that this is by far no issue of cassette. It is an issue with async. But I'm not even able to proper phrase the problem to get tutorials or manuals about this. Every async book or blog I've found so far doesn't provide infos about ownership in async.
struct SlowPrinter2 {
    list: VecDeque<i32>,
}
impl SlowPrinter2 {
    pub fn print(&mut self) -> impl Future<Output = ()> + '_ {
        poll_fn(move |_| {
            if let Some(x) = self.list.pop_front() {
                println!("{}", x);
                Poll::Pending
            } else {
                Poll::Ready(())
            }
        })
    }
}

async fn print_some2(mut printer: SlowPrinter2) {
    printer.print().await;
    printer.print().await;
}

I know this is old, but let me answer you anyway.
A future can only be awaited once, because a future produces a value. It cannot produce a value twice; a future always produces exactly one value. Hence calling await on it consumes it.
You can call printer.print().await many times because print() here produces a future. So every future still produces exactly one value, but you now have two futures.
Does that answer your question?

And while unrelated, be very careful with using Pending like this. It works with cassette, but if used with any other executer, it will deadlock. A cx.waker().wake_by_ref(); is required when Pending to notify the executor that we can be polled again.

I'll close this in a week or so unless you have additional questions.

Wow, this is like a long time ago. I've actually managed to use this crate in the meantime. I've written a floppy disk writing firmware for a STM32 (https://github.com/Slamy/STM32-USBFloppyTracer/tree/main) and some components use Cassette to bring some beauty into the state machines. I do realize that I maybe should have done it differently. There are now tools like embassy or rtic but ... it was my first embedded Rust project. I wanted to understand what was going on and Cassette brought Embedded Async to the minimum and there was no obfuscation on what happened.
So, thank you. I'm closing this now as my understanding of Rust is now much bigger. The learning curve of this language was a problem at first.


Wrong version of ExtJS being used

Well, I successfully modified the script and managed to let it install MySQL + Apache + FreeRadius without any error messages and thought that's it when I suddenly realized that the installed RadiusDesk application (http://localhost/rd) would not open and just hang at the RadiusDesk logo. After much debugging it turns out that the issue was due to the fact that the script installs the latest version of RadiusDesk from the trunk but uses ExtJS version 4.2.1. For the last few versions, RadiusDesk has been using ExtJS 6.0, and the old release which used ExtJS 4.2.1 was renamed as rd_legacy (see SVN branch http://svn.code.sf.net/p/radiusdesk/code/trunk/). Both ExtJS releases are also available on the RadiusDesk SVN for download (http://svn.code.sf.net/p/radiusdesk/code/extjs/). I fixed the issue by manually downloading the correct versions of ExtJS and put in /var/www/html after the install is completed.

Thanks again for the updates, could you be so kind to submit a pull request
with your changes to help those still using this version of the script.
Regards!
On Tue, Dec 15, 2015 at 1:33 AM, mdanh2002<EMAIL_ADDRESS>wrote:

Well, I successfully modified the script and managed to let it install
MySQL + Apache + FreeRadius without any issues and thought that's it when I
suddenly realized that the installed RadiusDesk application (
http://localhost/rd) would not open and just hang at the RadiusDesk logo
After much debugging it turns out that the issue was due to the fact that
the script installs the latest version of RadiusDesk from the trunk as well
as ExtJS 421 However, for the last few versions, RadiusDesk has been using
ExtJS 60, and the old release which used ExtJS 421 was renamed as rd_legacy
(see SVN branch http://svncodesfnet/p/radiusdesk/code/trunk/) Both ExtJS
releases are also available on the RadiusDesj SVN for download (
http://svncodesfnet/p/radiusdesk/code/extjs/) I fixed the issue by
manually downloading the files and put in /var/www/html after the install
is completed
—
Reply to this email directly or view it on GitHub
https://github.com/muffycompo/radiusdesk-installer/issues/14.

--
Mfawa Alfred Onen
System Administrator / GDG Lead, Bingham University
Department of Computer Science,
Bingham University.
E-Mail<EMAIL_ADDRESS>Phone1: +234<PHONE_NUMBER>
Phone2: +234<PHONE_NUMBER>
Twitter: @muffycompo https://twitter.com/muffycompo
Google+: https://plus.google.com/+MfawaAlfredOnen


async pool  process update

how about this?

It may make sense in some complicated cases with tons of incoming requests. However, would be interesting to check out the benchmarks to see the difference.


fix: sync metric naming and tagging with datadog conventions

Fix metric naming convention with datadog.

Codecov Report

Merging #347 (d8136d7) into main (03358f1) will increase coverage by 0.03%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #347      +/-   ##
==========================================
+ Coverage   29.42%   29.46%   +0.03%
==========================================
  Files          62       62
  Lines        6609     6612       +3
==========================================
+ Hits         1945     1948       +3
  Misses       4446     4446
  Partials      218      218

Impacted Files
Coverage Δ

server/metrics/fdb.go
100.00% <100.00%> (ø)

server/metrics/metrics.go
100.00% <100.00%> (ø)

server/metrics/requests.go
88.57% <100.00%> (ø)

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 03358f1...d8136d7. Read the comment docs.


Auto-update API documentation based on released versions

Today, updating API documentation requires checking out each released version, generating API docs, and then pushing a pull request.
This entire process is tedious, error prone, and easy to forget to do.
We should make the following improvements:

[ ] API documentation should be generated per build in every repository, so it can be published later. This will prevent someone from having to check out every repository at specific commits when we want to update documentation.
[ ] When a new build is tagged with latest automation should update the documentation for the released packages to the latest version (ideally by directly submitting to master and then opening a PR to production
[ ] The latest-version file should be updated in the same manner, as well as the table of released CLIs and the CLI documentation based on when a new version of the CLI is released.

There is probably more we can do, but this will be a substantial improvement over our current process.

@lukehoban I think the above covers some the improvements we discussed two nights ago.  Please let me know if you think there is more low hanging fruit here.


Need REST API to Cancel an Order

Hey team! Please add your planning poker estimate with Zenhub @even1111112 @PepperandSummer @un-poco @yjhsieh2022