Can this work on cloudflare D1?

Cloudflare d1 is based on sqlite.
Would it be possible to install this the same way as better-sqlite3 using<EMAIL_ADDRESS>

Unfortunately not, Cloudflare would need to integrate sqlite-vec on their side, there's no way to add loadable SQLite extensions in Cloudflare D1. If you ask them they might include it in the future, but afaik there's no immediate plans for it.

Shame, thanks for the quick answer!


Update tests and description for step 8 of music player

Describe the Issue
I think the description and tests could be clearer.
Here is the updated description:
Your music player should keep track of the songs, the current song playing, and the time of the current song. To do this, you will need to create an object to store this information.

Start by using the `let` keyword to declare a new variable called `userData`. Assign an empty object to your `userData` variable.

Also, the current tests use a singular regex.
In this case, there are other assert methods that we could use here that also help make the tests more granular.
Here are my proposed updates the tests.
You should have a variable called `userData`.

```js
assert.isDefined(userData);
```

You should use the `let` keyword to create the `userData` variable.

```js
assert.match(code, /let\s+userData\s*=/)
```

You should assign an empty object to your `userData` variable.

```js
assert.deepEqual(userData, {});
```

Double check on your own to make sure the tests work
If you want to use other assert methods that is fine too. 👍
Just make sure we are not using just one regex solution.
Affected Page
https://www.freecodecamp.org/learn/javascript-algorithms-and-data-structures-v8/learn-basic-string-and-array-methods-by-building-a-music-player/step-8
Your code
see explanation above
Expected behavior
see explanation above
Screenshots
No response
System

Device: [e.g. iPhone 6, Laptop]
OS: [e.g. iOS 14, Windows 10, Ubuntu 20.04]
Browser: [e.g. Chrome, Safari]
Version: [e.g. 22]

Additional context
No response

Also, the current tests use a singular regex.
In this case, there are other assert methods that we could use here that also help make the tests more granular.
Here are my proposed updates the tests.
Double check on your own to make sure the tests work If you want to use other assert methods that is fine too. 👍
Just make sure we are not using just one regex solution.

Hello @jdwilkin4, do you mean to completely replace the current tests with proposed tests or to append proposed tests to existing ones?

@srikanth-kandi
I want the old tests completely replaced with new ones.
We shouldn't have just one test for this.
We should have tests for the following:

check to make sure the camper has created the variable
check to make sure the camper is using let to create the new variable
check to make sure the camper is assigning an empty object to that new variable

These changes will make the tests more granular and help campers understand where they went wrong.
Plus using other built in assert methods in this case is better then just one singular regex test that tests for everything 👍


Allow all example workflows to be triggered manually

This PR implements the suggestion from issue https://github.com/cypress-io/github-action/issues/678 "Add workflow_dispatch to examples".
It adds workflow_dispatch to each of the workflow examples in .github/workflows.
This enables any of the example workflows to be run manually, which is very helpful to test an individual workflow, especially after changes have been made.

@jaffrepaul
It would be great to have this suggestion merged, since currently I jump through hoops to manually test changes. It should also benefit other users who would like to try out any of the examples for learning or testing purposes.


Optimize CLI workflows for initial project creation (init and status)

added handling for update / create in init and messaging for user
added status function to show the user the status of the project
added further dal testing for range queries (despite this, the function is unreliable at the higher level, potentially due to anomalous file locking)

Pull Request Test Coverage Report for Build 368

90 of 103 (87.38%) changed or added relevant lines in 5 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage increased (+0.4%) to 83.922%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

datmo/cli/driver/helper.py
21
22
95.45%

datmo/core/controller/project.py
17
20
85.0%

datmo/cli/main.py
0
3
0.0%

datmo/cli/command/project.py
51
57
89.47%

Files with Coverage Reduction
New Missed Lines
%

datmo/cli/main.py
1
0.0%

Totals

Change from base Build 362:
0.4%

Covered Lines:
2375

Relevant Lines:
2830

💛  - Coveralls


Upload image with responsive property

Hello, is there any way i can configure how the image uploaded? i think i read it somewhere that this package use image intervention package for handling upload and crop, so where can i configure that? i want to make all image that uploaded from this file manager is by default to be responsive.

@t0n1zz what did you mean "responsive images"? Could you describe further?

something like this

That is an interesting article! To accomplish this, you can listen to ImageWasUploaded event (events list here), and create multiple thumbnails in different sizes of the newly uploaded image.


Show first argument of connector actions when generating api docs

Fixes https://github.com/ballerinalang/docerina/issues/108

No the first argument is not the connector.
Check : delete action in HTTP Connector : (https://ballerinalang.org/docs/api/0.95.5/ballerina.net.http.html#deleteHttpClient)
The first argument is a string "path" and in the navigation bar on the left we are not showing it

@NatashaWso2 Ah I see.. Didn't see it was for the side bar at first glance :)


chore(master): release 1.0.0

:robot: I have created a release beep boop
1.0.0 (2022-11-07)
Features

initial repository commit (ff862e6)

Documentation

no need for docker pulls label (1955f2e)
updating readme (b9745d4)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/wayofdev/docker-shared-services/releases/tag/v1.0.0 :sunflower:


gurnav:fix/easy-html-issue

Kindly review and address the concerns raised in ticket/issue #160. Your attention and resolution are greatly appreciated.

Kindly review and address the concerns raised in ticket/issue #160. Your attention and resolution are greatly appreciated.

Looks good, well done!

Merged

This is an automated message from Fork, Commit, Merge [BOT].

Thank you for your contribution! Your pull request has been merged. The files have been reset for the next contributor.
What's next?
If you're looking for more ways to contribute, I invite you to check out my other projects. Just click here to find more. These projects contain real issues that you can help resolve.
Also please leave a star to this project if you feel it helped you, i would really appreciate it.
I look forward to seeing your contributions!


[1][Medium][LandingPage+Server] Top up quota feature

Currently

When users reaches their maximum PearAI Credits, they cannot send requests anymore and must wait till the next month

Expected

When user reaches their limit, if they want to use more, they can go on the landing page, their dashboard, to purchase more credits to be used
These extra credits remain on the user's account forever. Meaning, even if the month is over, the extra credits can be used by the user next month. We will likely need an extra field in redis as "extra credits", and when the user runs out of their regular monthly credits, only then it reaches into their Extra Credits for usage.

Will work on this


Numeric slider component enhancement

Pull Request Description
This is an enhancement of the Slider component implemented in #3852. It adds the following features:

Tooltips and precision change hints
Selectable slider limit behaviors
Textual slider value editing
Vertical slider layout

Tooltips
An information tooltip can now be added to a slider, it is shown when the mouse hovers over the component. Additionally, a pop-up indicating the slider's precision appears when the slider's precision has been adjusted.
https://user-images.githubusercontent.com/117099775/203566542-4df5722b-c0d8-4b0d-b6f6-934c0b4c5953.mp4
Slider limits
The previous slider implementation clamped the adjusted value to the slider's minimum/maximum limits. Now the following behaviors are available:

Hard limits: Clamp the value to a range within the slider's limits.
Soft limits: The value can extend beyond the slider's limits. When this occurs, an overflow indicator will be displayed on the side of the limit that is exceeded.
Adaptive limits: The value can extend beyond the slider's limits. When this occurs, the exceeded limit will temporarily be adjusted to double the slider's range. This will be performed iteratively until the value falls within the extended limits. When a limit is extended and the value is adjusted to fit a smaller range, the extended limit will be iteratively halved until only the necessary range is covered. The slider's extended limits will never shrink to a range smaller than the original range.

These behaviors can be set to the lower and upper limits of a slider independently.
https://user-images.githubusercontent.com/117099775/203567603-5f81d91f-831d-4951-abba-23a040f16bcc.mp4
Textual editing
The slider's value can now be entered through a text input field. Double-click to edit the slider's current value. To confirm the edit press enter, or press escape to cancel the edit. If an invalid value is entered on confirmation the slider will revert to its value before the edit. The slider's precision will be adjusted based on the number of decimal places of the value entered.
https://user-images.githubusercontent.com/117099775/203568335-757a9a94-153c-47f7-9c87-91f808319c41.mp4
Vertical layout
The slider component now supports a vertical layout. In this case value adjustment is performed by a vertical mouse movement, and a horizontal movement adjusts the slider's precision. The slider's track now fills the component in a vertical direction, and the slider's label is displayed near the top end of the component.
https://user-images.githubusercontent.com/117099775/203568662-4011b68f-fa96-4862-8271-3e31ac174106.mp4
Important Notes
Checklist
Please include the following checklist in your PR:

[x] The documentation has been updated if necessary.
[x] All code conforms to the
Scala,
Java,
and
Rust
style guides.
All code has been tested:

[x] Unit tests have been written where possible.
[x] If GUI codebase was changed: Enso GUI was tested when built using BOTH
./run ide build and ./run ide watch.

Looks absolutely amazing. Really good job:

It behaves very smooth, I love it.
The code is of a very nice quality.
The PR description is top-notch

👏 ❤
However, I can't review this PR as GitHub shows changes from all the commits, including the ones already merged. Could you please rebase it on top of develop and ping me then, please?
Also, there are a few additional things to be improved:

When editing the text and putting there custom value, like 5, it should be then displayed as 5.0 in order to keep consistency with other values.
The triangles on the sides are too big - make them smaller and also round their corners with 1- 2px roundness.
Please add a possibility to use a custom track model to the slider - we will be using it also as a scroll bar (next to e.g. a long text). Then you don't want to see the value and you want to have a track that is just a "pill"-shape draggable inside of the slider. Could you also add such a use case to the demo scene, please?
The fonts used in the slider are not MPlus1, right? Please chat with @vitvakatu about using the new fonts (Ilya is addign them to the whole GUI now, they should be used by default, so Ilya is probably changing the default font setting). However, you need to check if the new fonts render correctly and look nice.
In the demo scene, there is no demo of the slider caption inside of a horizontal slider, please add it there.


cat + CTRL C

we are currently showing a double prompt
tycho: "I can't remember but we did some tricky stuff with signals"

minishell:~$cat
^C
minishell:~$minishell:~$

fixed in 16c0981

cat
CTRL + C

after changes in pipe branch has no new line

fix again in 88fc5072b87e7a76d44c7075a4bd7e7025a937bf


TaCZ's ammo bug

Automatic loading into the storage distributes 1 round per slot, although there can be 60 rounds in one slot

Oh... and version Minecraft 1.20.1 Fabric


API Handler Operations are unuseable

In the function returned by createApiHandler any operations passed in are overridden by the original handlers defined for that api route. This makes it impossible to override behaviour cleanly.

Example:
Set up the following for /api/bigcommerce/cart
import cart from "@bigcommerce/storefront-data-hooks/api/cart/index";

export default cart({
  operations: {
    getCart: () => {
      console.log("This code is never run");
      throw new Error();
    },
  },
});

Expected Outcome: Any requests for current cart state (GET /api/bigcommerce/cart) return a 500 with no data, or other failure state.
Actual Outcome: Requests continue to succeed as though no changes have been made.

I believe the solution is to swap the merging order here: https://github.com/bigcommerce/storefront-data-hooks/blob/136a7e3e10502296cd8d90ff419fcc3b020eb5af/src/api/utils/create-api-handler.ts#L51

Hey @brendan-hall, thanks for creating the ticket and sorry for the delay.
Do you use this package with NextJS or with another framework?
We plan to make this package more agnostic in the near future, making it more extensible.
Any particular recommendation?

Solved in #67


Add docker implementation

It's already a work in progress.

Add the docker file
Push the docker file to the github ( honosoft/badgeit )
Make the docker file use a mounted volume for appsettings override
Instead of appsettings override, use environment variable (one SonarQube configuration)
Show an example with dockercompose (SonarQube + Shields.io)

Done


Documentation for process wildcard filtering might be incorrect.

Hi,
I am trying to configure the WMI exporter to collect data from processes which have a certain prefix.  I am doing this on a Windows Server 2016 machine from the command line (i.e. cmd, not Powershell).
The only way I got it to work is by escaping the % character with another % like so:
wmi_exporter.exe --collectors.enabled "cpu,cs,logical_disk,net,os,system,process" --collector.process.processes-where "Name LIKE 'chrome%%'"
I suspect this is because % is a reserved character on the Windows command line.
If the % is not escaped, the WMI exporter runs a WMI query to only looks for processes with the name chrome and returns a single set of results.

Hi @kafecho,
Yes, you are right. If your shell treats % as a special symbol, it needs to be escaped.
Seeing as cmd might be a quite common choice there, this should probably be documented better. Thanks for noticing!

Sure no problem, I can do a pull request for this if you want.

That would be very appreciated :)


null safety support

dependencies update

@johnpryan

@johnpryan Thanks for the great project 😀, it would be appreciated if you can accept this PR, as flutter_clean_calendar depends on it and can't migrate until this PR is accepted.
Also would close #19 #20


Add SAT 3.18.0 image to CSM

Summary and Scope

Add SAT image to CSM
When installing SAT, use skopeo-copy function to tag it as csm-latest.
Update vendor library to include skopeo-copy function.

Issues and Related PRs
List and characterize relationship to Jira/Github issues and other pull requests. Be sure to list dependencies.

Resolves CRAYSAT-1509
Resolves CRAYSAT-1508
Relates to https://github.com/Cray-HPE/csm-rpms/pull/542

Testing
Testing currently in progress
Risks and Mitigations
This change should pose little risk as it is simply adding a container image to the install.
Pull Request Checklist

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

Here is a link to the output from my testing: https://gist.github.hpe.com/eli-kamin/a55af7d3ff7878941d8c880e48faefd1


Fix a ST LSM6DSO IMU driver bug and add support for LSM6DSO32

This adds support for the ST LSM6DSO32 IMU to the existing driver.  It's identical to the LSM6DSO other than an accelerometer with twice the range.
I also noticed that the driver was double endian converting the data, likely unnoticed since most systems are little-endian, and fixed that.

@avisconti could you please take a look?

I'm new to zephyr, but I tried giving this a shot (I am using this sensor) but ran into some issues.
I cherry-picked the three commits, and changed my dts overlay spi sensor to compatible = "st,lsm6dso32";.
However, I then get the warning  warning: #warning "LSM6DSO driver enabled without any devices" and the driver does not start.
I don't think this PR enables some Kconfig CONFIG_LSM6DSO, so I'm confused if I did anything wrong.

There is just the one driver, CONFIG_LSM6DSO.
The issue is because of this (in the commit message):

The difference is detected by using "st,lsm6dso32" as the first compatible entry, followed by "st,lsm6dso".

The dts standard for handling a device which is a backward compatible version of another device, is to list multiple compatible entries.  The first is the most specific entry and the last is the most generic.  Examples:
dts/arm/st/l5/stm32l5.dtsi:                   compatible = "st,stm32-lpuart", "st,stm32-uart";
boards/shields/x_nucleo_eeprma2/x_nucleo_eeprma2.overlay:             compatible = "st,m95xxx", "atmel,at25";
dts/arm/nxp/nxp_imx7d_m4.dtsi:                        compatible = "fsl,imx7d-pwm", "fsl,imx27-pwm";


Please add Pressure support

Hello
I brew under pressure, will there be a pressure sensor added to Fermentrack like in brewpiless?
Keeping the fermentation vessel at a set pressure and operating a valve to stop it going over pressure.
Cheers and thanks for all your good work.

Funny that I thought I was onto something unique today. Guess not haha.
I am interested in this even though I only have a fermenter that can handle 3 PSI. The reason is I feel like it is extremely hard to add < 3 psi from a tank. At the very least, monitoring my PRV would be great. But the addition of a solenoid on both input/output would be even better!
https://www.amazon.com/Pressure-Transducer-Sender-Sensor-Stainless/dp/B0748BXFYQ/ref=sr_1_56_sspa?dchild=1&keywords=wireless+pressure+sensor+npt&qid=1595441056&sr=8-56-spons&psc=1&spLa=ZW5jcnlwdGVkUXVhbGlmaWVyPUEyTU1JVkZNMVRSNDNOJmVuY3J5cHRlZElkPUEwNDQxOTk4Q0xNQ09WWDBWQk9XJmVuY3J5cHRlZEFkSWQ9QTAwNjY5ODgxRkxaOFBOUThQOFI1JndpZGdldE5hbWU9c3BfYnRmJmFjdGlvbj1jbGlja1JlZGlyZWN0JmRvTm90TG9nQ2xpY2s9dHJ1ZQ==
https://www.instructables.com/id/MyBrewbot-Operating-Instructions/
http://www.lowoxygenbrewing.com/brewing-methods/spunding-automation-and-logic/

IANT (I am not @thorrak) but this seems like a solution in search of a problem.

Why would you want an electronic solenoid when the defacto standard/exemplar of a diaphragm pressure regulator works so well?  Why not just make the same spunding valve everyone else uses?
The ESP8266 is out of pins.  You won't be getting any additional I/O out of that platform.  Anything additional would need to wait for a port to the ESP32.

I could see monitoring pressure, but you would still be waiting for a port to the ESP32 in order to add the inputs.

I've started to do pressure fermentation myself and wanted to measure the pressure so I built a device around the esp8266.  This could be added to the brewpi controller once it's ported to ESP32. I just wanted to skip the step running down into the basement to figure out what the current pressure was.
I've got something up and running that I'm currently testing on my latest brew. If you want have a look and give me some new ideas the project can be found here; https://github.com/mp-se/pressuremon

IANT (I am not @thorrak) but this seems like a solution in search of a problem.

Why would you want an electronic solenoid when the defacto standard/exemplar of a diaphragm pressure regulator works so well?  Why not just make the same spunding valve everyone else uses?
The ESP8266 is out of pins.  You won't be getting any additional I/O out of that platform.  Anything additional would need to wait for a port to the ESP32.

I could see monitoring pressure, but you would still be waiting for a port to the ESP32 in order to add the inputs.

In answer to question #1:

I used to use brewpiless that had this functionality along with fermentation profiles triggered from SG from my iSpindel. I also used to work away for 2 weeks out of every 3. I could pitch my yeast before I left, let it ferment whilst I was away and come back to fermented, cold crashed and carbonated beer without me having to touch a thing. If it didn't lose wifi connectivity or whatever other instability the code had that week.

I'm a massive nerd and it's very cool.

People have lots of reasons to do/want things. You might not see the benefit, others very much do.

I've been brewing a couple of years, and I can come up with limited reasons to need to vary the pressure for spunding.  To each their own, I guess.
As I said, no pins, so this will have to be after the ESP32 port is done.

There is no support for handling pressure in fermentrack yet. I have bulilt a device that can measure the pressur and I currently send the data to fermentrack emulating an ispindle, so this way i can get a graph over how the pressure varies during fermentation. But i would agree with lbussy that seeing the pressure is of limited use since i have a spunding valve that releases the pressure over a certain level. It can probably be used for seeing how active the fermentation is for example.

I don't have a personal issue with it, but it feels like a failure point that doesn't have to be.  Monitoring a critical mechanical process seems safer than digital control.  A power outage would mean you have a mess (or worse) waiting to happen.

Yeah -- the biggest issue that I see is someone ignoring any advice to always have an automatic PRV that releases over a specific pressure limit in addition to a digitally-controlled PRV and accidentally blowing up their garage/closet/etc.
That said - no issues whatsoever with implementing pressure monitoring other than the concern you noted about a lack of pins (and, of course, getting the actual code written). It's not something I'm likely to personally implement absent acquiring a pressure sensor I wanted to play with, but it's one that I'd entertain merging if someone drafted a PR.

I was considering doing some work on that, but creating a new pressure data type in django is over my skill level at the moment. Getting the data in is probably a part i could cope with since i could use the ispindle as a template…


Implement deps=msvc for Windows

Necessary for Windows builds using cl or clang-cl.

The place to parse /showIncludes is around here:
https://github.com/evmar/n2/blob/d48749ef7729f80c5679b080344da9173c73038c/src/task.rs#L67


SphereBufferGeometry instead of SphereGeometry.

PR from Doob. We're big time now ;)
Are there any differences to texturing, animation and-or lighting behavior with buffer geometry versus standard geometries? IIRC you're fine with buffer so long as you're not manipulating vertices?

Thanks! Yeah we have an issue to switch to buffer geometries for the basic geometry component

I think tests need addressing. npm run test

Are there any differences to texturing, animation and-or lighting behavior with buffer geometry versus standard geometries? IIRC you're fine with buffer so long as we're not manipulating vertices?

Yeah. As far as I understand you're not modifying vertices?
Internally SphereGeometry creates a SphereBufferGeometry and converts to Geometry:
https://github.com/mrdoob/three.js/blob/dev/src/extras/geometries/SphereGeometry.js#L21

Thanks! Yeah we have an issue to switch to buffer geometries for the basic geometry component. Possibly for all the geometry primitives

Oh, I changed it because I noticed you're already using PlaneBufferGeometry.

thanks! i can get the tests up while we get travis hooked on


Enable depth of field on webgpu

Objective

Depth of field is currently disabled on any wasm targets, but the bug it's trying to avoid is only an issue in webgl.

Solution

Enable dof when compiling for webgpu
I also remove the msaa check because sampling a depth texture doesn't work with or without msaa in webgl
Unfortunately, Bokeh seems to be broken when using webgpu, so default to Gaussian instead to make sure the defaults have the broadest platform support

Testing

I added dof to the 3d_shapes example and compiled it to webgpu to confirm it works
I also tried compiling to webgl to confirm things still works and dof isn't rendered.

We could have a different default for wasm and for native, what do you think? Not sure it's a good idea

It's possible, but it doesn't seem worth the complexity to me. Gaussian is also cheaper in general so it probably make sense to default to it for low end machines too.


Model-view-matrix not set

camera.cpp:
The MVM is set only by set_modelview_matrix_from_orientation() which is only called in set_position(.), set_orientation(.),rotate(.), and translate(.). If a camera object has just been created and none of these methods have been called, the MVM is not yet set and querying the MVM will return invalid values.
Calling set_modelview_matrix_from_orientation() from the Camera constructor fixes this.

Thanks for pointing this out. The most recent version should fix this.


Adds unit test to check sparse with xgboost

Codecov Report
Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (2f13f2e) 82.64% compared to head (4c964aa) 82.65%.

Files
Patch %
Lines

onnx_extended/ext_test_case.py
90.00%
1 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #131      +/-   ##
==========================================
+ Coverage   82.64%   82.65%   +0.01%
==========================================
  Files          52       52
  Lines        6610     6620      +10
==========================================
+ Hits         5463     5472       +9
- Misses       1147     1148       +1

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


adding content for diff container runtime

Signed-off-by: Pravin Pushkar<EMAIL_ADDRESS>Thank you for helping make the Dapr documentation better!
Description

Changes to dapr init and dapr uninstall cli commands

Issue reference
https://github.com/dapr/docs/issues/2743

@msfussell @greenie-msft

@pravinpushkar we need to provide some more contextual information on how a podman environment gets created. Where does that binary get built today? Is it published somewhere? Can you please add some more background on how this scenario is achieved

@hhunter-ms Rebased with addressing the feedbacks.

@pravinpushkar - I think that we should make a bigger emphasis on this feature. It is pretty hidden otherwise to discover. I suggest

Updating this section of the docs https://docs.dapr.io/operations/hosting/self-hosted/self-hosted-overview/#initialization to say that other container runtimes are supported
Creating a "Run with podman"? (this is more of a question) like this https://docs.dapr.io/operations/hosting/self-hosted/self-hosted-with-docker/. In otherwords, provide a few more detailed steps on how to use podman, including setting this up. This would be so much more valuable.

@pravinpushkar - I think that we should make a bigger emphasis on this feature. It is pretty hidden otherwise to discover. I suggest

Updating this section of the docs https://docs.dapr.io/operations/hosting/self-hosted/self-hosted-overview/#initialization to say that other container runtimes are supported
Creating a "Run with podman"? (this is more of a question) like this https://docs.dapr.io/operations/hosting/self-hosted/self-hosted-with-docker/. In otherwords, provide a few more detailed steps on how to use podman, including setting this up. This would be so much more valuable.

Sounds good. Let me update the PR with new commit.


[CARBONDATA-1335] Remove duplicated time-consuming method call

Scenario
Currently we did a concurrent  14 queries on Carbondata. The queries are the same, but on different tables. We have noticed the following scene:

A single query took about 5s;
In concurrent scenario, each query took about 15s;

By adding checkpoint in the log, we found that there was great latency in starting query jobs in spark.
Analyze
When we fire a query, Carbondata firstly do some job in the client side, including parse/analyze plans and prepare filtered blocks and inputSplits. Then Carbondata start to submit query job to spark.
We found in the first step, Carbondata took about 7s in current scenario, but it only took about <1s in single scenario.
By studying the related code, we found the most time consuming method call was  CarbonSessionCatalog.lookupRelation. In side this method, it called super.lookupRelation twice, which consumed about 3s each time.
Solution
Carbondata only needs to call the super.lookupRelation only once, we need to remove the useless duplicated method call.
I've tested in my environment and it works well. In concurrent scenario, each query takes about 12s (3s saved for the improvement).

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Build Success with Spark 1.6, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/617/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/3212/

LGTM


Selecting multiple tags with the same className?

Using this syntax:
xray('http://reddit.com', '.theSpecialClass')(fn)
There are multiple items within the website with that specific classname, but it only returns the first one.  Is there a way to grab all of them and maybe I can do a .limit with that return?  I apologize if it's in the documentation, I've read through it twice and it looks like it's not explicitly said anywhere.
Thank you so much for this module, it's so awesome.
Austin

xray('http://reddit.com', ['.theSpecialClass'])(fn)
On Mon, Sep 26, 2016 at 12:32 AM, Austin Kim<EMAIL_ADDRESS>wrote:

Using this syntax:
xray('http://reddit.com', '.theSpecialClass')(fn)
There are multiple items within the website with that specific classname,
but it only returns the first one. Is there a way to grab all of them and
maybe I can do a .limit with that return? I apologize if it's in the
documentation, I've read through it twice and it looks like it's not
explicitly said anywhere.
Thank you so much for this module, it's so awesome.
Austin
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/lapwinglabs/x-ray/issues/215, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAYAK1EqCmD9Sam5I3pjLT97kH3X8z5tks5qtvaDgaJpZM4KGBiu
.

thank you!


apply() function using Numba JIT

Support for apply()'ing a function to each row of a GDF.  Will use Numba JIT to generate code.

https://github.com/gpuopenanalytics/pygdf/pull/55 implemented .applymap using numba.cuda.jit for map like operation on Series.
We still need a row-wise apply to satisfy this feature request.

This is implemented in apply_rows().


[Question][Android] Toolbar back arrow and title color

Hello, how can we be able to customize the title and back arrow color of the toolbar? I'm using this
       .withActivityStyle(Libs.ActivityStyle.LIGHT_DARK_TOOLBAR)
but the toolbar text is White. I want to change it to my apps' primary color
I'm using: implementation "com.mikepenz:aboutlibraries:6.2.3"
Fullcode:
                        new LibsBuilder()
                        //provide a style (optional) (LIGHT, DARK, LIGHT_DARK_TOOLBAR)
                        .withActivityStyle(Libs.ActivityStyle.LIGHT_DARK_TOOLBAR)
                        .withAboutIconShown(true)
                        //.withAboutAppName(activity.getString(R.string.app_name))
                        .withAboutDescription("Libraries Used")
                        .withActivityTitle("license title")
                        .withAboutVersionShownCode(true)
                        .withAboutVersionShownName(true)
                        .withLicenseDialog(true)
                        .withLicenseShown(true)
                        //start the activity
                        .start(activity);

Thanks!

You want to change only the color for AboutLibraries?
Beside changing the general theme you can also adjust more theme colors for the LibsActivity
https://github.com/mikepenz/AboutLibraries/blob/v6.2.3/app/src/main/res/values/styles.xml#L3
As you can see it uses genera theme attributes from your apps theme: https://github.com/mikepenz/AboutLibraries/blob/v6.2.3/library/src/main/res/layout/activity_opensource.xml#L7
So if you adjust those the colors will also chagne

I want to change the text to another color (e.g yellow)

If you want full custom style I'd suggest to use the fragment API and embed it in an activity with your own custom toolbar :)

If you want full custom style I'd suggest to use the fragment API and embed it in an activity with your own custom toolbar :)

I just want to change the text color only. :D

usually this is done by themes. you define the theme which will then be used by the Toolbar component. this is nothing special to this library :)
you can also copy paste the activity layout from above to your project (keep the same name) and modify the colors

Thanks. It's working now using customized styles attribute. :D


Accidental extra code block

The code block example on the site is accidentally split up into two.

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

ID: 713fc9ca-506f-f1af-b79b-85833d892454
Version Independent ID: 34871a66-3028-4913-755e-ab90eb9e2b89
Content: How to: Set Up Notification of Binding Updates - WPF .NET Framework
Content Source: dotnet-desktop-guide/framework/wpf/data/how-to-set-up-notification-of-binding-updates.md
Product: dotnet-framework
Technology: dotnet-wpf
GitHub Login: @adegeo
Microsoft Alias: adegeo

Duplicate of #53


save() method missing from Collection

From the documentation it is possible to insert or update using the save() method that misses from the actual Collection

The library implements our CRUD specification, which doesn't include the save() method found in our older APIs. save() is more sensible for interactive environments such as the shell (AFAIK there are no plans to remove it), but the target audience for the spec is our language drivers, where we felt users were better off explicitly calling insert or upsert. Much like the decision to split update() into updateOne(), updateMany(), and upsertOne(), this leads to more self-documenting code and less overloaded methods.

That's too bad. The save() method is really useful.
Regards;

Has someone thought backward compatibility?
Not only with 'save' method. Also with 'sort', 'count', 'limit', ... methods in cursors ?.

Same.
Plus «MongoDB\Database::getDBRef()».

Has someone thought backward compatibility?

@alcaeus (one of the Doctrine developers) is actually working on such a project: https://github.com/alcaeus/mongo-php-adapter

Not only with 'save' method. Also with 'sort', 'count', 'limit', ... methods in cursors ?

count(), sort(), and limit() cursor methods are an entirely different can of worms. See https://github.com/mongodb/mongo-php-driver/issues/195#issuecomment-169405194 for some background on why the new driver/library no longer has these. In short, cursors in the new driver are no longer dual-nature (pre- and post-executed states); rather, they always represent an execute query/command. This means we had to remove the query-builder-like methods from them, along with count(), which actually invokes a count command (making it possible to return a different count than the number of results you might find by iterating through the Cursor object).

MongoDB\Database::getDBRef() and MongoDate

UTCDateTime is MongoDate for the new driver (we're using a more descriptive name for it).
There are plans to add some utility functions to work with DBRef (PHPLIB-24). I hope to get those into 1.1.0 along with GridFS.

Collection.php add:
public function save(&$data, $options)
{
	$result = $this->insertOne($data, $options);
	$data['_id'] = $result->getInsertedId();

	return $result;
}

public function update($query, $data, $options)
{
	return $this->updateOne($query, $data, $options);
}

Database.php add:
public function getDBRef($ref)
{
	return $this->selectCollection($ref->{'$ref'})->findOne(array('_id' => $ref->{'$id'}));
}

Note that the save method in the example above doesn't do what it did in the legacy driver. When an _id was present it sent an upsert to the database which is missing from your method.
Similar for the update method, this completely disregards the fact that update in the legacy driver was able to update multiple documents (using the multi option). With the code you provided one might as well just replace update with updateOne throughout the project and achieve the same effect.

@Gorbov: save(&$data, $options) is not sufficient for the method prototype, as the legacy driver never took the document argument (i.e. $data) by reference, despite the fact that it would modify the zval in memory to inject the _id field if necessary. Denoting a by-reference parameter would disallow the use of literals (e.g. save(['x' => 1])).
A more accurate definition of save() can be taken from the MongoDB JavaScript shell (I've removed some error-checking to keep the example consise):
function ( obj , opts ){
    if ( typeof( obj._id ) == "undefined" ){
        obj._id = new ObjectId();
        return this.insert( obj , opts );
    }
    else {
        return this.update( { _id : obj._id } , obj , Object.merge({ upsert:true }, opts));
    }
}

If the document doesn't have an _id field, we set one and do insertOne(). If the document does have an _id, we create query criteria from it and use the entire document in a replaceOne() with the upsert option. This is a replace operation instead of update, as we're using the full document as our update object and not atomic modifiers.
From an API standpoint, this is tricky because the new driver/library return very specific WriteResult classes depending on the type of operation performed (excluding BulkWriteResult). But beyond that, in what scenario are you writing code that wouldn't already know whether a document had an _id field so that you could explicitly call insertOne() or replaceOne() (and appropriately handle the result)?

I agree that the save method was useful.  It feels out of character for mongo to require that you explicitly define whether you wish to update or insert and that you cannot do both at once.  And your guys' decision to change costs me lots of dev time on a project that is not really being developed anymore.


Added Azure eventhub c2c migration

Purpose of this pull request
Updated a few links in azure-event-hubs-source.md
Added event-hub-cloud-to-cloud-source-migration.md
Issue number:

Select the type of change:

[ ] Minor Changes - Typos, formatting, slight revisions
[x] Update Content - Revisions and updating sections
[ ] New Content - New features, sections, pages, tutorials
[ ] Site and Tools - Updates, maintenance, and new packages for the site, Gatsby, React, etc

Thanks, @JainM6 ! It looks like the images are pixelated. Can you or your SME provide a high-res version?

Hi Megha, do you have more high-res screenshots? These are fuzzy and hard to read.

@kimsauce: Yes, this was already communicated to SME on Monday. I should get the images today.


Bug: Longhorn pod longhorn-admission-webhook stuck in Init state

The longhorn-admission-webhook pods get stuck in the Init state forever.

This issue arises occasionally in the CI and usually a retry of the failed run will resolve the issue.
However, while working on #575 I was changing around the test-sets and I've encountered this issues most of the time in the CI with a specific config. Instead of keeping ts3-c-1 in test-set3/2.yaml keep ts3-c-2 in test-set3/2.yml.
Steps To Reproduce

Change the test-set3/2.yaml so that the ts3-c-2 cluster will be left instead of ts3-c-1
i.e

kubernetes:
  clusters:
    - name: ts3-c-2
      version: v1.22.0
      network: <IP_ADDRESS>/24
      pools:
        control:
          - aws-control
          - gcp-control
          - oci-control
        compute:
          - aws-compute
          - gcp-compute
          - oci-compute

Run the CI with the changed manifests.
Building this config in the CI will work however the testing framework will error out on the longhorn timeout as the longhorn-admission-webhook will be stuck in the Init state

At the time of testing the issue was 100% persistent with the given config.

Encountered this bug in ts3-c1 cluster of the test set 3.
Here is some info from the cluster:
$ kc get nodes -o wide --kubeconfig c
NAME                STATUS   ROLES                  AGE   VERSION   INTERNAL-IP   EXTERNAL-IP   OS-IMAGE             KERNEL-VERSION       CONTAINER-RUNTIME
aws-compute-1       Ready    <none>                 63m   v1.22.0   <IP_ADDRESS>   <none>        Ubuntu 22.04.1 LTS   5.15.0-1026-aws      containerd://1.6.18
aws-control-1       Ready    control-plane,master   64m   v1.22.0   <IP_ADDRESS>   <none>        Ubuntu 22.04.1 LTS   5.15.0-1026-aws      containerd://1.6.18
hetzner-compute-1   Ready    <none>                 63m   v1.22.0   <IP_ADDRESS>   <none>        Ubuntu 22.04.1 LTS   5.15.0-56-generic    containerd://1.6.18
hetzner-control-1   Ready    control-plane,master   66m   v1.22.0   <IP_ADDRESS>   <none>        Ubuntu 22.04.1 LTS   5.15.0-56-generic    containerd://1.6.18
oci-compute-1       Ready    <none>                 63m   v1.22.0   <IP_ADDRESS>   <none>        Ubuntu 22.04.1 LTS   5.15.0-1021-oracle   containerd://1.6.18
oci-control-1       Ready    control-plane,master   65m   v1.22.0   <IP_ADDRESS>   <none>        Ubuntu 22.04.1 LTS   5.15.0-1021-oracle   containerd://1.6.18

$ kc --kubeconfig c get pods -n longhorn-system -o wide
NAME                                           READY   STATUS             RESTARTS        AGE     IP               NODE                NOMINATED NODE   READINESS GATES
csi-attacher-84b96d64c8-2dsrj                  1/1     Running            0               35m     <IP_ADDRESS>   hetzner-compute-1   <none>           <none>
csi-attacher-84b96d64c8-5vjj7                  1/1     Running            0               35m     <IP_ADDRESS>   hetzner-compute-1   <none>           <none>
csi-attacher-84b96d64c8-6qjgq                  1/1     Running            0               35m     <IP_ADDRESS>   hetzner-compute-1   <none>           <none>
csi-provisioner-6ccbfbf86f-9md7q               1/1     Running            0               35m     <IP_ADDRESS>   hetzner-compute-1   <none>           <none>
csi-provisioner-6ccbfbf86f-mtv79               1/1     Running            0               35m     <IP_ADDRESS>   hetzner-compute-1   <none>           <none>
csi-provisioner-6ccbfbf86f-wgzbr               1/1     Running            0               35m     <IP_ADDRESS>   hetzner-compute-1   <none>           <none>
csi-resizer-6dd8bd4c97-6nqcr                   1/1     Running            0               35m     <IP_ADDRESS>   hetzner-compute-1   <none>           <none>
csi-resizer-6dd8bd4c97-gnnbs                   1/1     Running            0               35m     <IP_ADDRESS>   hetzner-compute-1   <none>           <none>
csi-resizer-6dd8bd4c97-pxsw4                   1/1     Running            0               35m     <IP_ADDRESS>   hetzner-compute-1   <none>           <none>
csi-snapshotter-86f65d8bc-4qklp                1/1     Running            0               35m     <IP_ADDRESS>   hetzner-compute-1   <none>           <none>
csi-snapshotter-86f65d8bc-bxm7r                1/1     Running            0               35m     <IP_ADDRESS>   hetzner-compute-1   <none>           <none>
csi-snapshotter-86f65d8bc-xzwfj                1/1     Running            0               35m     <IP_ADDRESS>   hetzner-compute-1   <none>           <none>
engine-image-ei-766a591b-8kjbc                 1/1     Running            0               62m     <IP_ADDRESS>    oci-compute-1       <none>           <none>
engine-image-ei-766a591b-bqvpv                 1/1     Running            0               62m     <IP_ADDRESS>     aws-compute-1       <none>           <none>
engine-image-ei-766a591b-psp5d                 1/1     Running            0               62m     <IP_ADDRESS>   hetzner-compute-1   <none>           <none>
instance-manager-e-21e82048                    1/1     Running            0               30m     <IP_ADDRESS>   hetzner-compute-1   <none>           <none>
instance-manager-e-7b5850bf                    1/1     Running            0               31m     <IP_ADDRESS>    oci-compute-1       <none>           <none>
instance-manager-e-9399e183                    1/1     Running            0               31m     <IP_ADDRESS>    aws-compute-1       <none>           <none>
instance-manager-r-0a56cdfe                    1/1     Running            0               31m     <IP_ADDRESS>    oci-compute-1       <none>           <none>
instance-manager-r-31944f51                    1/1     Running            0               30m     <IP_ADDRESS>   hetzner-compute-1   <none>           <none>
instance-manager-r-4dbc45ad                    1/1     Running            0               31m     <IP_ADDRESS>    aws-compute-1       <none>           <none>
longhorn-admission-webhook-fcdb78d7c-fbpwc     0/1     Init:0/1           0               9m38s   <IP_ADDRESS>    oci-compute-1       <none>           <none>
longhorn-admission-webhook-fcdb78d7c-ss99j     0/1     Init:0/1           0               9m26s   <IP_ADDRESS>    aws-compute-1       <none>           <none>
longhorn-conversion-webhook-76c9cc7b6d-8w8gk   1/1     Running            0               35m     <IP_ADDRESS>   hetzner-compute-1   <none>           <none>
longhorn-conversion-webhook-76c9cc7b6d-rtnj6   1/1     Running            0               35m     <IP_ADDRESS>   hetzner-compute-1   <none>           <none>
longhorn-csi-plugin-bn27b                      2/2     Running            0               62m     <IP_ADDRESS>    oci-compute-1       <none>           <none>
longhorn-csi-plugin-k8cwh                      2/2     Running            0               62m     <IP_ADDRESS>   hetzner-compute-1   <none>           <none>
longhorn-csi-plugin-wqhwm                      2/2     Running            0               62m     <IP_ADDRESS>    aws-compute-1       <none>           <none>
longhorn-driver-deployer-74c5d667d7-vb8tv      0/1     Init:0/1           0               13m     <IP_ADDRESS>    oci-compute-1       <none>           <none>
longhorn-manager-fhll2                         1/1     Running            0               63m     <IP_ADDRESS>   hetzner-compute-1   <none>           <none>
longhorn-manager-kd4ks                         1/1     Running            0               63m     <IP_ADDRESS>     aws-compute-1       <none>           <none>
longhorn-manager-qdnp6                         1/1     Running            0               63m     <IP_ADDRESS>    oci-compute-1       <none>           <none>
longhorn-ui-85498cd6fb-sr2gf                   0/1     CrashLoopBackOff   10 (3m4s ago)   35m     <IP_ADDRESS>   hetzner-compute-1   <none>           <none>

$ kc --kubeconfig c get svc -n longhorn-system -o wide
NAME                          TYPE        CLUSTER-IP       EXTERNAL-IP   PORT(S)     AGE   SELECTOR
csi-attacher                  ClusterIP   <IP_ADDRESS>   <none>        12345/TCP   62m   app=csi-attacher
csi-provisioner               ClusterIP   <IP_ADDRESS>   <none>        12345/TCP   62m   app=csi-provisioner
csi-resizer                   ClusterIP   <IP_ADDRESS>     <none>        12345/TCP   62m   app=csi-resizer
csi-snapshotter               ClusterIP   <IP_ADDRESS>   <none>        12345/TCP   62m   app=csi-snapshotter
longhorn-admission-webhook    ClusterIP   <IP_ADDRESS>    <none>        9443/TCP    63m   app=longhorn-admission-webhook
longhorn-backend              ClusterIP   <IP_ADDRESS>   <none>        9500/TCP    63m   app=longhorn-manager
longhorn-conversion-webhook   ClusterIP   <IP_ADDRESS>    <none>        9443/TCP    63m   app=longhorn-conversion-webhook
longhorn-engine-manager       ClusterIP   None             <none>        <none>      63m   longhorn.io/component=instance-manager,longhorn.io/instance-manager-type=engine
longhorn-frontend             ClusterIP   <IP_ADDRESS>    <none>        80/TCP      63m   app=longhorn-ui
longhorn-replica-manager      ClusterIP   None             <none>        <none>      63m   longhorn.io/component=instance-manager,longhorn.io/instance-manager-type=replica

Checking the logs of containers in the init state was not helpful. The longhorn-ui was also crash looping, could not find out why (cluster got deleted)

From what I see the initContaienrs have a simple while loop where they are waiting for other services to get to the Ready state: https://github.com/longhorn/longhorn/blob/92fd5b54edda215b1d7b410d003c57a672a486bf/deploy/longhorn.yaml#LL4257C26-L4257C26
longhorn-admission-webhook is waiting for longhorn-conversion-webhook
I see that in both above cases, the longhorn-conversion-webhook was already in Running state, but I can also see that in @MiroslavRepka both of the conversion-webhooks where located on Hetzner nodes (I truly want to believe that this is not associated in any way)

I wasn't able to re-create the bug.
I tried going through the test-sets multiple times locally, and also in our GCP cluster.
I went over the issues in the longhorn repository and stumbled upon a very similar issue to ours https://github.com/longhorn/longhorn/issues/5645 where the issue was with the DNS

I've also noticed that sometimes when we delete a node from a cluster the deletion gets stuck forvever on deleting nodes.longhorn.io .... https://github.com/berops/claudie/blob/master/services/kuber/server/nodes/delete.go#L172
however, unsure if that's relevant to this isse.

resolved by #984

Why is this closed ? This issue is still persisting . It completely is out of any IPs in longhorn repository . The webhook fails due to this issue . I installed cilium even with version  v1.15.0-pre.1 instead of v1.14.2 hoping it's fixed .

Is there any resolution to this for cilium ebpf ? I do not see any traction so was wondering what might be the way to fix this .

Currently we don't have a solution for this issue. We know that using Cilium as a CNI without kube-proxy solves this problem (and introduces others though). Any inputs are welcome.

Hi @defyjoy , could you provide your InputManifest for which you encountered this issue?

This issue has not been seen since https://github.com/berops/claudie/pull/1366
It possible that other bug fixes might have also fixed it.
I'll close this as done for now, If it will resurface again will re-open it.


Update log4j to 2.17.1

2.17.0 has a vulnerability (CVE-2021-44832), that is resolved in 2.17.1, so let's use 2.17.1 instead.

Ghidra has been upgraded to log4j 2.17.1 by 2965c49d19f0ab821b400ae1110c3b898cf1a502.  The release documentation you are changing is something that is only done internally when we are ready to build a release.


I have no clue how to use -e based on this doc

File: engine/reference/commandline/exec.md, CC @mstanleyjones

I'll have a go at this.

https://github.com/moby/moby/pull/32739
Unable to submit PR to this repo. @JimGalasyn

Fix was merged upstream. Thanks!


MTC file reader header

Description
Removed unused file_reader.hpp file

Codecov Report

Merging #114 (309a537) into master (b4144b8) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #114   +/-   ##
=======================================
  Coverage   34.01%   34.01%
=======================================
  Files          67       67
  Lines        3545     3545
=======================================
  Hits         1206     1206
  Misses       2339     2339

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 b4144b8...309a537. Read the comment docs.


feat: metrics instrumentation

@jonathanj-square I wonder if we can make a simplified version of this that won't require init(), etc. I was thinking something like this:
Folder structure might be:
- backend/controller
  - observability
    - call.go
    - pubsub.go
    - fsm.go
    - etc....

Essentially, 1 file for each "signal" in the spreadsheet.
Then for each of these files we could define a meter and use it for all the metrics. This is a very basic not complete example based on the metric @deniseli recently added as a test.
var meter = otel.GetMeterProvider().Meter("ftl.call")

func RecordCallRequest(ctx context.Context, req *connect.Request[ftlv1.CallRequest]) {
	logger := log.FromContext(ctx)
	requestCounter, err := meter.Int64Counter(
		"ftl.call.requests",
		metric.WithDescription("Count of FTL verb calls via the controller"))

	if err != nil {
		logger.Errorf(err, "Failed to instrument otel metric `ftl.call.requests`")
		return
	}

	requestCounter.Add(ctx, 1, metric.WithAttributes(
		attribute.String("ftl.module.name", req.Msg.Verb.Module),
		attribute.String("ftl.verb.name", req.Msg.Verb.Name),
	))
}

This approach might help us easily add new metrics and scan through each "feature" to see what metrics are recorded and what attributes they have.

Related to @wesbillman 's comment above: here's what I put together real quick locally to play with using attrs for success/failure: https://github.com/TBD54566975/ftl/compare/dli/call-counts?expand=1
It's convenient being able to pass arrays of attributes around for logging the separate variant states of each metric. So it's beyond the scope of what you have now but we'll probably want to incorporate that before merging

@jonathanj-square do you still want this branch now that we have the other implementations?


Add a Dockerfile for stacker.

Add a Dockerfile to build docker image. This will help folks who want to develop on environments where they don't want to run vagrant. For instance, a developer on macOS can use xhyve/Docker instead of using VirtualBox, or VMWare Fusion.

Thanks!


Instructions not fully working

Hello, I've been unable to run the compose file.

netdisco-postgresql_1 seems to start fine, and own most of the log output, the problem seem to be on
netdisco-backend_1     | Attempting to create directory /home/netdisco/perl5
netdisco-web_1         | Attempting to create directory /home/netdisco/perl5
netdisco-backend_1     | error: cannot find Netdisco config at /home/netdisco/perl5/lib/perl5/auto/share/dist/App-Netdisco/environments/deployment.yml or /home/netdisco/environments/deployment.yml
netdisco-web_1         | error: cannot find Netdisco config at /home/netdisco/perl5/lib/perl5/auto/share/dist/App-Netdisco/environments/deployment.yml or /home/netdisco/environments/deployment.yml

Also, the mkdir shown has a relative path, is this supposed to be run in /home? and from which user do I need to call docker-compose?
thanks.

while i'm a docker noob, why do all your containers have a _1 suffix? are there multiple versions running or did some old config remain?

I did run compose more than once, while trying to understand the problem.
El jue., 23 may. 2019 18:01, nick n<EMAIL_ADDRESS>escribió:

while i'm a docker noob, why do all your containers have a _1 suffix? are
there multiple versions running or did some old config remain?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/netdisco/netdisco-docker/issues/17?email_source=notifications&email_token=AABUDCMUYKHF2P6QAQSVULDPW4A2XA5CNFSM4HPKBL6KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWDPIXI#issuecomment-495383645,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AABUDCKU3ZRIEBDFV75KTALPW4A2XANCNFSM4HPKBL6A
.

as i don't know enough about docker and i deleted my testsetup a few days ago i would suggest to try & clean out your config (volumes, containers & such) and give it another go.
the best i can do to get a new docker setup for testing will not be in the next few weeks...

Ok, thanks. I've removed al files from home/netdisco, then executed the commands inside the netdisco home.
It started all containers and loaded the admin. Thanks :)

coolness, we'll need to look into this at some later time but docker support ain't my main prio atm, perhaps you or others want to give it a go?

I'll look into it, I've too understand how docker works

Instructions still not updated :-(

mkdir -p netdisco/{logs,config,nd-site-local}
creates dirs relative to the current directory. But my current directory is /home/klaus ?!?

Hi @KDGundermann the instructions earlier say su - netdisco which would put you in the Netdisco user home.

@ollyg: sorry but I can't see this line in README.md

Hi @KDGundermann the instructions earlier say su - netdisco which would put you in the Netdisco user home.

can't say i can find that line in the readme file or any other file after searching the netdisco-docker repo.
no docker user but perhaps changing:
mkdir -p netdisco/{logs,config,nd-site-local}
sudo chown -R netdisco:netdisco netdisco

to
mkdir -p ~netdisco/{logs,config,nd-site-local}
sudo chown -R netdisco:netdisco ~netdisco

~ followed by a username is a reference to that user's homedir. dunno if it works in all shells, but i think it's posix mandated.

apologies @KDGundermann I was looking a different file! we can update the README

it is still WRONG.....
here:
https://hub.docker.com/r/netdisco/netdisco
Only if you are on Linux:
sudo groupadd netdisco -g 901
sudo useradd -u 901 -p x -g netdisco netdisco
mkdir -p netdisco/{logs,config,nd-site-local}
sudo chown -R netdisco:netdisco netdisco
And then (for everyone):
curl -Ls -o docker-compose.yml https://tinyurl.com/nd2-dockercompose
docker-compose up

Did you know you can easily do a pull request inside the GitHub web interface to offer a patch to fix this? Click the edit icon on the file. Good for instructions if needed.
It would help us greatly, we are all volunteers.

Did you know you can search the whole repository for  duplicate items in all instruction sources, instead of just fixing one location.
or free up your obviously very valuable time, by  implementing Tim Berners-Lee's gift to humanity...
and having ONE definitive copy....

Hi @luismanson and @KDGundermann I believe I edited the README.md file correctly:
https://github.com/netdisco/netdisco-docker/blob/master/README.md
Please would you confirm this is what you wanted (I am not sure if there is another location to update)?

Please would you confirm this is what you wanted (I am not sure if there is another location to update)?

Yes, thanks!!! Just check the line 25, as i think it has to be split in two lines.

seems fine to me as well


Is there chat room for payu where we can discuss issues?

Is there a live demo for django-payu?

@dbads you can talk to us on<EMAIL_ADDRESS>


Fix sample count limits in deferredmultisampling

The sample count was previously fixed at 8, which is not supported on some platforms. The code now checks for the maximum supported sample count and uses that instead.
If you would prefer the upper limit to be fixed at 8, that is obviously trivial to change.

I'm not sure why the appveyor test is failing. I don't think it's related to my change.

Thx for your PR, will take a look at it and merge later this week.
And don't worry about the appveyor failure, this has stopped working for me some time ago and haven't had the time to check why.

Thx for your PR. Very much appreciated.


Trapezoid is not a constructor

Hello,
i tried to istantiate the shape importing like this (found in issues):
const {Trapezoid} = logic.c;
it seems to work like this:
const Trapezoid =  require('es6-fuzz/lib/curve/trapezoid');
Ideas on why?
Thanks

I guess the lower version is just the valid one now.


Align signature for PG datetime and timestamp methods with docs

fixes #2916
Also I've noticed that PG also supports precision, and there was no good reason not to add it :)

@elhigu API is messier than it could be to avoid excessive breaking changes, but ideally I would like to swap precision and useTz arguments for consistency and cleaner documentation. Do you think we should do that within 0.16.0 timeline or is the way it is in PR now ok?

Sure! Can we also add deprecation warning for non-object params?

I don't have strong opinion about if it should be added or not... However I don't want ever really drop the support for those old parameters (except when the whole migration API is changed).

@elhigu What's the advantage of supporting both convenient options-object based syntax and cumbersome fixed-order-arguments API at the same time?

Backwards compatibility. Fact is that current migration API is beyond repairing and all backwards incompatible changes will break existing migration scripts in a way which might be hard to notice specially in case where migrations has already been applied to DB and later on new DB is made from same migrations and new DB will be different.
I have already couple of years been thinking that current migration API is beyond repairing. That is why I have been designing / implementing new migration API which will address all those problems and will also support API version choosing, so that people will be able to fix to certain migration API in each migration file. That way it will be easier to keep on making API better without having to force people to use always the latest API version (of course we will probably have to deprecate some old versions at some point, but at least it will be easier to control)

@ttencate @elhigu Please check now! (will update documentation after this is final and approved)

@elhigu Did last-minute change and swapped public param withoutTz with useTz - do you think it makes sense?


[Feature]: The Alphabet Page (Letters), with sound

Description
We want someone to work on the alphabet page or it's called "Letters". Basically, display each English alphabet in a grid like the design below, when someone clicks, it should have a sound. Check our google drive for those sounds. Also add numbers at the end.

Suggested Solution
Thanks
Alternatives
No response
Code of Conduct

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

Contribution Guidelines

[X] I agree to follow this project's Contribution Guidelines.

[x] single Character with progressbar


Application started with exec-once in special workspace will exit when make it pseudo

Hyprland Version
 System/Version info
Hyprland, built from branch  at commit v0.36.0  ().
Date: 2024-02-05
Tag:

flags: (if any)

System Information:
System name: Linux
Node name: aspulse-nixos
Release: 6.6.17-xanmod1
Version: #1-NixOS SMP PREEMPT_DYNAMIC Tue Jan  1 00:00:00 UTC 1980

GPU information:
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation TU104 [GeForce RTX 2070 SUPER] [10de:1e84] (rev a1) (prog-if 00 [VGA controller])

os-release: ANSI_COLOR="1;34"
BUG_REPORT_URL="https://github.com/NixOS/nixpkgs/issues"
BUILD_ID="24.05.20240224.9840d42"
DOCUMENTATION_URL="https://nixos.org/learn.html"
HOME_URL="https://nixos.org/"
ID=nixos
IMAGE_ID=""
IMAGE_VERSION=""
LOGO="nix-snowflake"
NAME=NixOS
PRETTY_NAME="NixOS 24.05 (Uakari)"
SUPPORT_URL="https://nixos.org/community.html"
VERSION="24.05 (Uakari)"
VERSION_CODENAME=uakari
VERSION_ID="24.05"

Bug or Regression?
Bug
Description
The problem occurs when I try to pseudo a window that was automatically launched in a special workspace by exec-once.
There are two patterns: one in which Hyprland crashes and the other in which the application exits as is.

chromium --enable-features=UseOzonePlatform --ozone-platform=wayland ... Hyprland Crash -> exited
vivaldi --enable-features=UseOzonePlatform --ozone-platform=wayland ... Hyprland Crash -> exited
chromium ... exited
obs ... exited
keepassxc ... exited
mongodb-compass ... exited

As far as we can tell from our current research, the crash involving Hyprland is with Chromium-based browsers + Wayland.
This is fixed at v0.36.0.The application that was crashing now exitting.

In addition, the problem did not occur in the following cases

When an application was manually launched, manually moved to a special workspace, and then set to pseudo.
When an application was launched automatically, but the window was once set to floating, then set back to floating, then set to pseudo
When an application was launched automatically, but was not specified as a special workspace, and was launched in the normal workspace, and then set to pseudo.

(I will add more information as I found. I am a student studying English, so sorry if there are any unnatural parts in my English!!!)
How to reproduce

Install chromium in advance.
Configure your hyprland.conf like below:

exec-once = [workspace special:chromium silent] chromium --enable-features=UseOzonePlatform --ozone-platform=wayland
bind = ALT, 1, togglespecialworkspace, chromium
bind = SUPER, P, pseudo
general {
  layout = dwindle
}
dwindle {
  pseudotile = yes
  preserve_split = yes
}

Launch hyprland,  ALT-1 to switch special:chromiumworkspace and see chromium window.
SUPER-P to make it pseudo.
Hyprland will crash...

Crash reports, logs, images, videos
~/.hyprland/hyprlandCrashReport56725.txt

I believe this is fixed in 0.36.0 / git.

I believe this is fixed in 0.36.0 / git.

Thank you! I tried 0.36.0.
The problem of crashing involving Hyprland has been resolved, but the application is still terminating as before.
I have made some changes to the systeminfo and description in the original issue to accommodate this.


Implement TransactionReceiptQuery.validateStatus and TransactionRecordQuery.validateReceiptStatus

https://github.com/hashgraph/hedera-sdk-js/issues/1270

This should actually be on TransactionResponse, not on TransactionReceiptQuery or TransactionRecordQuery

Resolved: https://github.com/hashgraph/hedera-sdk-js/commit/65d98dd73ab3f691caefa5f6d99977ca27dfa62b


New version: Nushell.Nushell version 0.77.0

Pull request has been created with WinGet Releaser v2 :pineapple:
Microsoft Reviewers: Open in CodeFlow

With our last release, winget-validation failed because our software (nu.exe) prompts the user on first launch. Can someone please check to see if that's what is failing again? I've personally tested the msi and had no issues installing this new version. Also, going forward, how do we make this happen automatically, so winget-validation doesn't fail every-single-time?

Hi @stephengillie,
Thanks for looking into this.  Strange I don't get that dialog when I run the msi. Maybe it's a UAC setting? Either way, I'm guessing this means we need to sign our msi somehow. We've never needed to sign it in the past. Is this a new requirement of winget that we missed?

/AzurePipelines run

Hi @stephengillie, Thanks for looking into this. Strange I don't get that dialog when I run the msi. Maybe it's a UAC setting? Either way, I'm guessing this means we need to sign our msi somehow. We've never needed to sign it in the past. Is this a new requirement of winget that we missed?

Retrying this on a Windows 11 VM, I'm not seeing the warning and it installs normally.


O2auth issues

When ever i try to use the dashboard it just redirects me to the login page again - what do i do?

Fixed
for anyone else wondering join there suport server and check this message out
https://discordapp.com/channels/587842272167723028/1081227043448045639/1081228573555302541


EIP-712 wallet linking changes to the web3 package

branched off G's wallet-link changes for the smart contract. https://github.com/river-build/river/pull/189

merged this change into G's branch to get CI to pass. Not needed anymore. Close.


Or drop items that can be sold to merchant?


After value change -> execute once

After getting a specfic value from an Observable, I would like to execute a method only once. -> on Completed()
How could this be possible?

You can use one of the doOnX methods :
doOnNext()
doOnCompleted()
doOnError()
doOnEach()
In your case it's doOnCompleted() :

@WassimBenltaief So I should complete/end the stream and make within doOnCompleted my method call?

If you want to execute the methode once the stream ends succesfully, so doOnCompleted is the right place. If your expected value is in the middle of the stream so doOnNext with a check inside is the appropriate.
examples :

@Rainer-Lang @WassimBenltaief is 💯 right.
executing a single method can be done in many ways. it depends at which point you want the single method to be executed. in all likelihood you would use a variant of the doOnX as suggested.
Have a look at the repository to see the different ways doOnNext is used  or doOnSubscribe etc.
I'm closing this issue as it has nothing to do with the examples in this repo.

@kaushikgopal It wasn't executing a method. It was about executing a method after a change of an Observable to a specific value and THAN execute a method only once and finish.
But you're right, @WassimBenltaief gave me a hint.
BUT, maybe this could be also something for your repo. ;)


Add (reference to) guidance on building/getting storage container resource IDs

When trying to use fine-grained RBAC permissions based on blob containers it looks like there is no easy/graceful way to get a containers' resource id. We currently Get-AzResource for blob storage account and concatenate /containers/....
Is there any better/recommended way of doing this?

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

ID: acf84bf3-dbf7-bb9c-0002-8f0692e218d3
Version Independent ID: fc3f3dc3-27ac-6d31-1aea-5ec0f9d868d4
Content: Use Azure PowerShell to manage Azure AD access rights to blob and queue data with RBAC - Azure Storage
Content Source: articles/storage/common/storage-auth-aad-rbac-powershell.md
Service: storage
Sub-service: common
GitHub Login: @tamram
Microsoft Alias: tamram

@sopelt AFAIK, Containers inside a storage account are treated differently from ARM resources. So, there is no other way ob obtaining the scope. You have to follow the syntax and add it to the resource ID of the storage account.
I will confirm this after verifying this internally.

@sopelt I can confirm that there is no other approach to get the resource ID's for the containers specifically.
Let me know if you have any further questions.


Fix incorrect command in readme

The command of turning off debugging in readme is wrong.
The CLI shows command usage option as --no-debug, not --no-debugger.
apistar run --help
Usage: apistar run [OPTIONS]

  Run the development server.

Options:
  --help          Show this message and exit.
  --host TEXT     The host of the server.
  --port INTEGER  The port of the server.
  --no-debug      Turn the debugger [on|off].
  --no-reloader   Turn the reloader [on|off].

And command line options are based on __doc__ of run_wsgi as below. The argument is debug, not debugger.
def run_wsgi(app: App,
             host: str='<IP_ADDRESS>',
             port: int=8080,
             debug: bool=True,
             reloader: bool=True) -> None:  # pragma: nocover
    """
    Run the development server.

    Args:
      app: The application instance, which should be a WSGI callable.
      host: The host of the server.
      port: The port of the server.
      debug: Turn the debugger [on|off].
      reloader: Turn the reloader [on|off].
    """

Obsolete against #400.


[docs] Create more examples for Base UI and Joy UI

Problem
The MUI docs currently contain many scaffold examples and template projects for Material UI, but we're lacking in comparable examples for Base UI and Joy UI. Developers shouldn't have to deal with any initial setup steps to start building with each of our libraries using any framework.
Solution
This is an umbrella issue to keep track of the progress in expanding our collection of Base and Joy examples.
As a first step, I've created #36112 to establish naming conventions in the examples folder to keep things organized.
From there, I'd like to reach parity with the Material UI examples, so we should plug Joy and Base into Create React App, Next.js, Vite, etc., both in JS and TS.
Scope
The scope of this issue is limited to bare-bones scaffold projects. I also want to build more templates and fully functional starter apps, but that will be for a separate issue.
I think it makes sense to add JS and TS examples together in one PR for each framework.
Are there any other examples we should add that Material UI doesn't have? Maybe some examples that include combinations of all three?
Tasks

[ ] Create Example Projects doc for Joy UI
[ ] Create Example Projects doc for Base UI

Joy UI

[x] Next.js (App Router) - #37656
[ ] Vite
[ ] Tailwind
[ ] Remix
[ ] Gatsby
[ ] Express
[ ] Preact
[ ] Create React App (TS is done, still need JS)
[ ] styled-components

Base UI

[x] Next.js (App Router, with Tailwind) - #37656
[ ] Vite (with Tailwind, JS done; still need TS, and without Tailwind)
[ ] MUI System
[ ] Tailwind
[ ] Remix
[ ] Gatsby
[ ] Express
[ ] Preact
[x] Create React App - #36825
[ ] styled-components
other style libs?

Naming conventions
library-framework(-ts)
Library prefixes:

base-ui
joy-ui
material-ui

TypeScript examples get a -ts suffix.
✅ joy-ui-nextjs-ts
❌ joy-ui-nextjs-js // omit the "-js" flag since this is the default
✅ base-ui-remix
❌ mui-base-remix // needs to start with lib prefix "base"

I think there are actually more combinations between the CSS framework (e.g. Tailwind) + base + the "application" framework (e.g. Vite) like this:

base-vite-sass
base-vite-tailwind
base-vite-system

I think that we could remove all the Gatsby examples, not worth the opportunity cost: https://npm-stat.com/charts.html?package=gatsby&from=2021-08-03&to=2023-08-03. It will be more time we can use to polish the other examples
Examples for Base UI don't make a lot of sense for me. I think having one for developers to provide bug reproduction would be fair, one for us internally to test different styling solutions would also be fair. But beyond, no. For the Joy Design version of Base UI, installation steps could be enough, https://ui.shadcn.com/docs/installation/remix. I'm afraid of how much time it could take to maintaine the tuple of (TypeScript/JavaScript, Framework, Styling library).

@oliviertassinari all of that makes sense. I do think we should provide examples for Base + Tailwind + major frameworks, because there's enough of a demand for "MUI + Tailwind" that it's worth maintaining those. I'll pare down the lists here, and we can keep an eye on the Material UI analytics to see what else to prioritize (if anything).


Added Search Bar Component

Currently working with an example dataset, will need to be hooked up to the backend later.

Thanks for the changes!
Please merge after resolving merge conflicts


RFC: drivers: serial: Use microseconds to represent timeout

Updated uart_rx_enable() and uart_tx() to use timeout given
in microseconds. Previously argument was given in milliseconds.
However, there are cases when milliseconds granularity is not
enough and can significantly reduce a throughput, e.g. 1ms is
100 bytes at 1Mb.
Updated 4 drivers which implement asynchronous API. Updated
places where API was used.
Additionally, added SYS_FOREVER_US to represent inifinity in microseconds (similar to SYS_FOREVER_MS).
Fixes #30861.
Signed-off-by: Krzysztof Chruscinski<EMAIL_ADDRESS>

Looks good, just wondering if we should switch to int64_t in tx/rx_timeout

@dcpleung According to this table https://docs.zephyrproject.org/latest/reference/api/overview.html it is still unstable.
@carlescufi Can you add this to API meeting agenda?

wondering if we should switch to int64_t in tx/rx_timeout

It's >4200 seconds. To me it sounds enough but can be changed to 64 bits if there are any concerns.

Ah... the UART async API is still unstable, but the UART API is. So not an issue then.

@nordic-krch Can this be merged or is it still an RFC?

@cfriedt let's discuss it on api meeting today.


As a user, when I input text into the search bar I want to see a list of business types and permits related to my search

This is a simple tag/word based search, such that a single word/tag match from the search text field will display a business type or permit related to that word/tag.

Should search all available fields (title, categories, description, etc).
Results should show the name and link to any permit that include a search match.

Search is half-functional right now thanks to #117, however, we still need to implement permit search.

@hollymariegibbs perhaps during the next meeting we can talk about this issue and how permit search will work?

We're only going to support "search by business" for the initial release. 🔨


Create AtCoderTools Intellij plugin

This patch creates a new IntelliJ plugin for atcoder-tools integration.
The plugin is compatible with CLion and IntelliJ and it supports C++ and Java languages.

Sorry for leaving this review for these two weeks.
LGTM although I'm not familiar with IntelliJ plugin development because the plugin is kind of isolated from the main repository.
However, allow me to have one discussion before merging this.
One concern is the future support of this plugin, considering we don't have any integration test for this plugin and I'm not familiar with plugin development, it will be hard to maintain this tool without you.  I believe integration tests somewhat mitigate the problem.  I would like to ask your opinion on how difficult making integration tests for this plugin is & how much making them makes sense.

Codecov Report

Merging #155 into master will increase coverage by 2.07%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #155      +/-   ##
==========================================
+ Coverage   87.77%   89.85%   +2.07%
==========================================
  Files          56       53       -3
  Lines        3117     2582     -535
==========================================
- Hits         2736     2320     -416
+ Misses        381      262     -119

Impacted Files
Coverage Δ

atcodertools/client/atcoder.py
90.37% <0%> (-1.49%)
:arrow_down:

atcodertools/tools/envgen.py
81.48% <0%> (-0.46%)
:arrow_down:

atcodertools/config/etc_config.py
100% <0%> (ø)
:arrow_up:

...ols/constprediction/models/problem_constant_set.py
100% <0%> (ø)
:arrow_up:

atcodertools/atcoder_tools.py
0% <0%> (ø)
:arrow_up:

atcodertools/tools/templates/__init__.py
100% <0%> (ø)
:arrow_up:

atcodertools/executils/run_command.py
100% <0%> (ø)
:arrow_up:

atcodertools/tools/codegen.py
77.31% <0%> (ø)
:arrow_up:

atcodertools/common/judgetype.py

atcodertools/tools/compiler.py

... and 10 more

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 8b6ef3d...9b9efc8. Read the comment docs.

@yuuki3655
Sorry for leaving this review for these two weeks.
LGTM although I'm not familiar with IntelliJ plugin development because the plugin is kind of isolated from the main source codes.
However, allow me to have one discussion before merging this.
One concern is the future support of this plugin, considering we don't have any integration test for this plugin and I'm not familiar with plugin development, it will be hard to maintain this tool without you. I believe integration tests somewhat mitigate this problem. I would like to ask your opinion on how difficult making integration tests for this plugin is & how much making them makes sense.

Sorry for leaving it for a long time. It's completely valid concern and I definitely need to write tests for this new component. Integration tests sound good approach. I think we need a fake implementation of atcoder tools to avoid sending real requests to the server. We can also add unit tests.

Added some integration tests for core workflow for java and updated travis.yaml. Supporting for code coverage needs more work (I tried a bit but it seems we need some special handling for GuiTest). CLion plugin doesn't have integration test due to insufficient testing framework support. However, large portion of code are shared between CLion plugin and IntelliJ IDEA plugin and those are tested so I didn't worry about it too much now.

これいつかマージしたくて、reopenしてもいいですか...

@yuuki3655 ごめん!結局諦めました　5年放置してすみませんでした


Pip: Normalize package name

In Python package names are case-insensitive, and uses of hyphens and underscores are considered to be equivalent.
This may lead to cases where the same dependency appears twice in ORT scan results with different cased ids.
For example, this happens if say in transitive dependency on https://pypi.org/project/Flask has been declared as either
Flask or flask.
This PR is a breaking change for all ORT users analyzing Python projects
After this PR is merged Python packages may get a different package id assigned by ORT in the scan results. If you have Python packages defined in your curations.yml or package configuration then you will need to update all Python package ids to be lowercase and replace any . or _ with a -.

This is still a draft. Is it ready for review yet?


Add voices from Microsoft Edge

Microsoft Edge has a feature called Immersive Reader that can read web pages to the user. Before you ask, yes it does have the same voices as the Bing Translator has, except the Edge API has even more voices (such as en-US-AndrewNeural and en-US-AvaNeural, although it is important to note that the API might not have all the voices, such as fi-FI-SelmaNeural), and the audio quality is better compared to the Bing Translator API.
This has already been reversed in https://github.com/rany2/edge-tts so if you plan on implementing it to the website, this can give you a head start.

Microsoft Clipchamp also has a wider range of Azure TTS voices (even multilingual AI ones!) which work even with a free subscription, but they require an authorization token and an account to use. :(

Of all the requests I get to add voices this looks like the most reasonable and realistic one to look into next. I appreciate the link to rany2's edge-tts project as I suspect we can borrow some stuff from that, namely the client token it seems to require and the URLs it sends requests to.
As for Clipchamp, I'm unfamiliar with this but if it's like you say and requires an account and auth token that could potentially make things more difficult.
Can't promise a timeframe for when this gets done but I will see what I can do.

Just as a side note, there are other implementations of the edge-tts/readaloud interface in languages (like JS) possibly more suitable to you in case you don't like Python. In any case, be aware that the implementation cannot be done using simple internet requests alone like for all the other sites, but you will need to implement a streaming interface using websockets. It can (and has been) done, but is a bit more tricky. :)

Of all the requests I get to add voices this looks like the most reasonable and realistic one to look into next. I appreciate the link to rany2's edge-tts project as I suspect we can borrow some stuff from that, namely the client token it seems to require and the URLs it sends requests to.
As for Clipchamp, I'm unfamiliar with this but if it's like you say and requires an account and auth token that could potentially make things more difficult.
Can't promise a timeframe for when this gets done but I will see what I can do.

Well for Clipchamp it requires an auth token. But if I had a guess, it requires an auth token from an account, but I wasn't able to find out where the auth token is fetched.
Also, in the voice list I did find 4 multilingual voices (fr-FR-VivienneMultilingualNeural, fr-FR-RemyMultilingualNeural, de-DE-FlorianMultilingualNeural and de-DE-SeraphinaMultilingualNeural) that do work, but there is a caveat: I tried English text on de-DE-FlorianMultilingualNeural, it did synthesize correctly in English, but when I tried in Hungarian through edge-tts, it did not say the text properly, but in Clipchamp it did read the text correctly in Hungarian. I think it must be some sort of limitation imposed in the Edge TTS servers.

Just as a side note, there are other implementations of the edge-tts/readaloud interface in languages (like JS) possibly more suitable to you in case you don't like Python. In any case, be aware that the implementation cannot be done using simple internet requests alone like for all the other sites, but you will need to implement a streaming interface using websockets. It can (and has been) done, but is a bit more tricky. :)

I assume you are referring to https://github.com/Migushthe2nd/MsEdgeTTS but I am not aware of other similar projects that use Javascript.

There are some JS-based Greasemonkey/Tampermonkey browser plugins if I remember correctly. Also several Chinese sites have sources for the communication to the MS servers using JS. Best ist probably to search for the websocket URL endpoint as seen in the python project (or the token) to find similar projects.
I player with several of these a month ago, but abandoned them for easier interfaces.

Here are some links I used for information in my integration:
https://github.com/LokerL/tts-vue/blob/main/electron/utils/edge-api.ts
https://www.52pojie.cn/thread-1711887-1-1.html
https://gist.github.com/wilinz/13f4bc343754f01c06a90aa9c12e449a
https://greasyfork.org/en/scripts/471039-gpt语音助手/code
https://blog.soarli.top/archives/709.html

Microsoft Clipchamp also has a wider range of Azure TTS voices (even multilingual AI ones!) which work even with a free subscription, but they require an authorization token and an account to use. :(

Copilot's voice is another Microsoft TTS voice that (I think) cannot be implemented to this website due to the fact that it sends a message ID to the server, not plain text. It is actually multilingual though.

I am writing this here because it is a bit related to the MS Edge TTS API.
I dug deeper into the Clipchamp TTS API, and here is what I found:
The API first requests a "token" from https://app.clipchamp.com/v2/azure-cognitive/auth-token with my accounts auth token required in the headers. If successful, a JWT client token is handed out in a JSON format, with the token needed for TTS and a region, in my case "eastus", although I live in Hungary. (there might be other regions too)
So we have two tokens now, an account token, and a TTS token.
The voice list is in https://eastus.tts.speech.microsoft.com/cognitiveservices/voices/list but that also requires the account auth token.
A voice request is made as a websocket request, kind of similar to the MS Edge one. The URL is wss://eastus.tts.speech.microsoft.com/cognitiveservices/websocket/v1?Authorization=ttstokengoeshere&X-ConnectionId=connectionidgoeshere
SSML is supported when requesting, the rate and the pitch may be modified.
Also, I did see similarities in the request form (metadata and audio output):
Clipchamp requests:
{"synthesis":{"audio":{"metadataOptions":{"bookmarkEnabled":false,"punctuationBoundaryEnabled":"false","sentenceBoundaryEnabled":"false","sessionEndEnabled":true,"visemeEnabled":false,"wordBoundaryEnabled":"false"},"outputFormat":"audio-24khz-48kbitrate-mono-mp3"},"language":{"autoDetection":false}}}
MS Edge requests:
{"context":{"synthesis":{"audio":{"metadataoptions":{"sentenceBoundaryEnabled":false,"wordBoundaryEnabled":true},"outputFormat":"audio-24khz-48kbitrate-mono-mp3"}}}}
Notice that the audio output it requests is same on both services.
I am not familiar with how websockets work, I do know quite a few things about JWT, notably the fact that Apple's server which hosts software updates for their products uses JWTs as a response with update URLs which are also included in the JWT, I did mess with it quite a few times especially decoding the base64 payload.
So overall, it is heavily similar to the MS Edge API, but because it requires authorization, I most likely think that the Clipchamp TTS API is difficult to implement. As I mentioned in my second post, Clipchamp TTS is free, so it does not require a subscription at all to use, only a Clipchamp account (can be from a Microsoft Account, a Google Account, or from an e-mail address).


Fixing alphabetical order of cities in chapter view

Opted for ordering the chapters by name in the controller. Pulls them in alphabetical order for looping on the chapter page.

hah don't mind the 2nd commit. I always leave print/debug code in there.

Donez! :ship:


IMPORTANT!!!!!!!!!!

 It started with getting trolled online and I got super pissed and told them to f*** themselves.
I never got a phone number. This is exactly why I wanted us to know each other. I was looking around at DefCon cuz I said I wanted to do the security here and now Im being made fun of.
 I'm getting clowned really bad.
Keith, Chris tell Dr. McGibbney at Nutch its been real.  This isnt even the first time either. I pissed off @BadassBowden and she said I have terrible OPSEC. Shes right, she has my real address and I payed for her stuff after I royally pissed her off. Her husband is in DefCon.
This is why they say dont screw with hackers :(
https://twitter.com/fs0c131y
https://twitter.com/fs0c131y

Holy sh*t Kenny sent me an email. Best quotes:- « getting my account suspended like a female »- « I needed to reinvent my brand anyways »- « I held you to the rules of any experienced developer »My god what is wrong with this guy 🤦♂ pic.twitter.com/kI2vzjjFNy— Elliot Alderson (@fs0c131y) March 9, 2020

That was my birthday. Thats when my account magically got suspended. He laughed.
 Please see if Apache can turn up all the hits on my compromised email. I used that for all my banking because it was a forwarding address. Not smart. I have to cancel all my cards and everything.
Heres the best part too. I had this chick over, and I woke up she was gone. So was my phone and wallet.

 This time, no phone.


Error on building library from source code

cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DENABLE_SSL=OFF ..
-- The C compiler identification is GNU 9.4.0
-- The CXX compiler identification is GNU 9.4.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
Detected version: 0.8.1
Downloading dependency 'hiredis'..
Scanning dependencies of target hiredis-populate
[ 11%] Creating directories for 'hiredis-populate'
[ 22%] Performing download step (git clone) for 'hiredis-populate'
Cloning into 'hiredis'...
Note: switching to 'v1.1.0'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:
git switch -c
Or undo this operation with:
git switch -
Turn off this advice by setting config variable advice.detachedHead to false
HEAD is now at c14775b Prepare for v1.1.0 GA
[ 33%] No patch step for 'hiredis-populate'
[ 44%] Performing update step for 'hiredis-populate'
fatal: invalid upstream 'origin/v1.1.0'
fatal: No rebase in progress?
CMake Error at /root/hiredis-cluster/build/_deps/hiredis-subbuild/hiredis-populate-prefix/tmp/hiredis-populate-gitupdate.cmake:102 (message):
Failed to rebase in: '/root/hiredis-cluster/build/_deps/hiredis/'.
You will have to resolve the conflicts manually
make[2]: *** [CMakeFiles/hiredis-populate.dir/build.make:97: hiredis-populate-prefix/src/hiredis-populate-stamp/hiredis-populate-update] Error 1
make[1]: *** [CMakeFiles/Makefile2:76: CMakeFiles/hiredis-populate.dir/all] Error 2
make: *** [Makefile:84: all] Error 2
CMake Error at /usr/share/cmake-3.16/Modules/FetchContent.cmake:915 (message):
Build step for hiredis failed: 2
Call Stack (most recent call first):
/usr/share/cmake-3.16/Modules/FetchContent.cmake:1006 (__FetchContent_directPopulate)
CMakeLists.txt:91 (FetchContent_Populate)
-- Configuring incomplete, errors occurred!
See also "/root/hiredis-cluster/build/CMakeFiles/CMakeOutput.log".
Does anybody know, why I'm having this dependancy problem while trying to compile library from a source?

This is probably an issue with the version of CMake.
CMake < v1.20 seems to have problems with its FetchContent functionality and how hiredis config is setup.
The advice is to upgrade CMake or install hiredis manually, and we will add some block/warning text to our CMakeLists.txt

This is probably an issue with the version of CMake. CMake < v1.20 seems to have problems with its FetchContent functionality and how hiredis config is setup. The advice is to upgrade CMake or install hiredis manually, and we will add some block/warning text to our CMakeLists.txt

I've Ubuntu 20.04.5 with latest cmake installed
dpkg -l | grep cmake
ii  cmake                         3.16.3-1ubuntu<IP_ADDRESS>           amd64        cross-platform, open-source make system
ii  cmake-data                    3.16.3-1ubuntu<IP_ADDRESS>           all          CMake data files (modules, templates and documentation)
Hiredis is also installed manually
dpkg -l | grep hiredis
ii  libhiredis-dev:amd64          0.14.0-6                          amd64        minimalistic C client library for Redis (development files)
ii  libhiredis0.14:amd64          0.14.0-6                          amd64        minimalistic C client library for Redis
But hiredis-cluster does fetch it's source code automatically and tries to compile it.

Sorry, I gave the wrong version. A fix for this came into CMake v3.20.

You can skip the automatically download with cmake -DDOWNLOAD_HIREDIS=OFF ..
but then a recent hiredis needs to be found.

Sorry, I gave the wrong version. A fix for this came into CMake v3.20.

Thank you! It works now!
One more question:
How to compile library without debug information, what should I put instead: -DCMAKE_BUILD_TYPE=RelWithDebInfo ?


Feature/swipe ui

As described in this comment

Thanks @jkettmann!
I've been away on holidays, but will work on getting this into master now


Errors are not being displayed.

urql is discarding the "errors" if a "data" is being returned.  My GraphQL backend is returning {"errors":[{"message":"Please, enter valid credentials","locations":[{"line":2,"column":3}],"path":["tokenAuth"]}],"data":{"tokenAuth":null}} when attempting to get a JWT while logging in with invalid credentials.  It appears that in this is in http-exchange.ts.https://github.com/FormidableLabs/urql/blob/5e113c45f730223cc2d11125aa968ebc4eb260fd/src/modules/http-exchange.ts#L66-L76 .
It seems this issue of both data and errors was faced before in https://github.com/graphql-go/graphql/issues/103

This will be fixed in urql v0.3 ✨ You can check its branch/PR out here: https://github.com/FormidableLabs/urql/pull/72
And you can try it already. It's released as v0.3.0-next1 under the true tag, so yarn add urql@true should do it (Sorry about the weird tag)
The version currently does not have any breaking changes, so everything else should work exactly the same :+1:

I ran into a few issues trying to use this branch in some production code. I needed to also have errors returned alongside data nodes. I wanted to report those here and I am open to submit a PR if you feel these would be useful.

Returning the errors only returns an array of messages. We create errors in our resolvers that basically correspond to validation errors on the object being mutated. These errors contain some extra data in the extensions key on the object. (mentioned in forthcoming GraphQL spec). This means that our front-end cannot render the errors appropriately. Is there a way we can allow for additional fields on the Error interface.

I wrapped the executeQuery function to check for the existence of errors in the response and reject the promise instead of calling the resolve callback. Is this something the executeQuery function should do by default? I have found it easier to handle and use less diverging of code.

@jwright We could add support for more fields via extensions. Let's track this using this issue :+1:
Regarding 2), no, this is not something we'll do by default. There's a strict logic to when we can consider a request as "failed", but like in Apollo a successful query can still imply an error on the backend, so we have to consider more of our queries as succeeded rather than failed. This is just a conceptual issue as we don't actually call these results "successful" but instead "loaded".
In summary of how it works in 0.3 now that we support errors properly: https://github.com/FormidableLabs/urql/blob/next/src/modules/http-exchange.ts#L66-L76

If we have some data but also some errors, it resolves normally
If we only have errors we emit them, wrapped in a CombinedError
Otherwise we throw a "fatal" error

@jwright Addressed in PR #95 against next. Mind taking a quick look? :)


Add the "Open in Terminal" context menu to the right-click menu of the root directory of the disk.

What feature or improvement do you think would benefit Files?
The "Open in Terminal" context menu didn't show up in the right-click menu at the root of the disk, which was confusing since it would show up in any other directory.
Requirements

Add the "Open in Terminal" context menu to the right-click menu of the root directory of the disk.

Files Version
<IP_ADDRESS>
Windows Version
Windows 11 Insider Preview 22H2 25309.1000
Comments
No response

This behavior is controlled by Windows Terminal, I recommend requesting this on the Terminal repo.

I found it odd because the context menu can be correctly shown in Windows Explorer. (Figure 1)
Also, not only the "Open in terminal" context menu, but many other context menus are also not displayed at the root of the disk. (Comparing Figure 2 and Figure 3)

We're tracking this in another issue, it's possible that it's a permissions issue but it's on our todo list to fix.