SearchField component: Can't clear the search if the input is empty

If a user is to manually clear (backspace out) all of the text in the input field when a search has previously been completed, there is no way to clear the input.
Step 1: Have a search box

Step 2: Search for something

Step 3: Clear out the search content and notice that it is impossible to get the full set of data back without typing something into the input

Potential solutions:

Maintain the state of whether a search has happened without a clear event and maintain the little x clear button

Always allow users to submit a search even if the input is empty

@reillz10 I've opened a PR to fix this issue: #359

This issue is resolved in #359. Closing out this issue.


Fix parser tsconfig not map to correct property

To fix parsedTsConfig when update inline sources properties from wrong parsedTsConfig.sourcemap.
it should be parsedTsConfig.options.sourceMap.

@thomaschaaf also this, it includes pr #12 as well


The App don't find the adrenaline bubbles of Psp and psx

Hi team. This app is amazing and load very fast. Thanks so much. The app don't find the adrenaline bubbles created in my vita. This is the best way to get psx and Psp because there are game files in any directories like ux0 uma at the same time. Thanks very much

Hi, this is intentional, as otherwise the game would appear twice.
There's a legacy version available which uses bubbles for adrenaline.

Hi team
It's ok but how it can load psp cso in diferentes director ies like at the same time. Thanks very much

CSO files are supported, they should be in the same directory as iso files.


refactor(i18n): migrate from yaml language files to resource bundles

Migrate custom i18n implementation to JDK resource bundles
Also removes Gradle task that copies all keys to different modules, instead, every module has its own keys. This will also be beneficial for external plugins. For information on how to use see org.sorapointa.utils.MessageBundle.
Fixes #50

Thanks for your contribution. It's a very amazing implmentation.
The default properties encoding in IDEA is ISO-8859-1, so it will look like:

But it can be modified by setting:

Maybe we need to notice it in documentation later.

Yes, they should be UTF-8 in the repo but seems like IDEA automatically changes them to ISO-8859-1 by default. We can commit .idea/encodings.xml to prevent this from happening.


Add bindFirst and curried methods for Poly

I thought this PR should not break the backward-compatibility, however the build log error with the following error messages. Why?
[info] core: found 2 potential binary incompatibilities while checking against com.chuusai:shapeless_2.11:2.3.0  (filtered 7)
[error]  * method curried()shapeless.PolyDefns#Curried in trait shapeless.Poly is present only in current version
[error]    filter with: ProblemFilters.exclude[ReversedMissingMethodProblem]("shapeless.Poly.curried")
[error]  * method bindFirst(java.lang.Object)shapeless.PolyDefns#BindFirst in trait shapeless.Poly is present only in current version
[error]    filter with: ProblemFilters.exclude[ReversedMissingMethodProblem]("shapeless.Poly.bindFirst")
java.lang.RuntimeException: core: Binary compatibility check failed!
	at scala.sys.package$.error(package.scala:27)
	at com.typesafe.tools.mima.plugin.SbtMima$.reportModuleErrors(SbtMima.scala:110)
	at com.typesafe.tools.mima.plugin.MimaPlugin$$anonfun$mimaReportSettings$6$$anonfun$apply$4.apply(MimaPlugin.scala:57)
	at com.typesafe.tools.mima.plugin.MimaPlugin$$anonfun$mimaReportSettings$6$$anonfun$apply$4.apply(MimaPlugin.scala:48)
	at scala.collection.immutable.Map$Map1.foreach(Map.scala:109)
	at com.typesafe.tools.mima.plugin.MimaPlugin$$anonfun$mimaReportSettings$6.apply(MimaPlugin.scala:48)
	at com.typesafe.tools.mima.plugin.MimaPlugin$$anonfun$mimaReportSettings$6.apply(MimaPlugin.scala:42)
	at scala.Function1$$anonfun$compose$1.apply(Function1.scala:47)
	at sbt.$tilde$greater$$anonfun$$u2219$1.apply(TypeFunctions.scala:40)
	at sbt.std.Transform$$anon$4.work(System.scala:63)
	at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:228)
	at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:228)
	at sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:17)
	at sbt.Execute.work(Execute.scala:237)
	at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:228)
	at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:228)
	at sbt.ConcurrentRestrictions$$anon$4$$anonfun$1.apply(ConcurrentRestrictions.scala:159)
	at sbt.CompletionService$$anon$2.call(CompletionService.scala:28)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)
[error] (coreJVM/*:mimaReportBinaryIssues) core: Binary compatibility check failed!
[error] Total time: 3 s, completed Apr 21, 2017 12:27:45 PM
/home/travis/.travis/job_stages: line 153:  2259 Terminated              travis_jigger $! $timeout $cmd

Codecov Report

Merging #708 into master will decrease coverage by 21.98%.
The diff coverage is 52.63%.

@@             Coverage Diff             @@
##           master     #708       +/-   ##
===========================================
- Coverage   83.58%   61.59%   -21.99%
===========================================
  Files          66       94       +28
  Lines        2608     3552      +944
  Branches       90      114       +24
===========================================
+ Hits         2180     2188        +8
- Misses        428     1364      +936

Impacted Files
Coverage Δ

core/src/main/scala/shapeless/poly.scala
0% <0%> (-77.5%)
:arrow_down:

core/src/test/scala/shapeless/poly.scala
81.25% <90.9%> (ø)

core/src/main/scala/shapeless/nat.scala
0% <0%> (-100%)
:arrow_down:

core/src/main/scala_2.10/shapeless/lazyref.scala
0% <0%> (-100%)
:arrow_down:

core/src/main/scala/shapeless/unwrapped.scala
0% <0%> (-100%)
:arrow_down:

core/src/main/scala/shapeless/typeoperators.scala
0% <0%> (-100%)
:arrow_down:

core/src/main/scala/shapeless/fin.scala
0% <0%> (-100%)
:arrow_down:

core/src/main/scala/shapeless/lowpriority.scala
0% <0%> (-100%)
:arrow_down:

core/src/main/scala/shapeless/tuples.scala
0% <0%> (-100%)
:arrow_down:

core/src/main/scala/shapeless/records.scala
0% <0%> (-100%)
:arrow_down:

... and 48 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 745db7e...d316350. Read the comment docs.

@milessabin Why did the code coverage change?

This looks very useful ... thanks!
A few things before I merge. Do these work as expected as arguments to a Mapper? If not, then I suspect they would if the instances were moved to the corresponding CaseN companions. Either way, would you mind adding some tests of this case.
Also some stylistic things. shapeless intentionally doesn't use access modifiers (other than private[this] where it's interaction with variance can be useful). Also please could you adjust your use of whitespace to match the rest of the project (ie. two space indents with aggressive line breaking).

Yes, Mapper is my use case, too.
However, there is a limitation:
The newly created Poly from bindFirst or curried must be visible at the call site, which is impossible for some complicated case.

Still waiting on tests and the stylistic changes requested.

Rebased to remove whitespace from diff and some tests with map and foldLeft.
@milessabin regarding stylistic changes I think if we want a consistent style we should setup scalafmt.

Thank you for picking up this PR @joroKr21


⚠ Jenkins Plugins Artifactory has degraded performance

In 575864b, Jenkins Plugins Artifactory (https://get.jenkins.io/plugins/artifactory/) experienced degraded performance:

HTTP code: 200
Response time: 1148 ms

Resolved: Jenkins Plugins Artifactory performance has improved in 88f7616 after 32 minutes.


Change naming of the id field of namespace resource to make it more self-explanatory

Currently the field is called ID, based on the naming adopted in the Control API.
This name is not very self-explanatory, as according to the documentation it is

"The namespace or channel name that the channel rule will apply to. For example, if you specify namespace the namespace will be set to namespace and will match with channels namespace:* and namespace."

On the Namespaces endpoint, when we want to create a new namespace the field that contains the channel name or namespace filter is called id: https://ably.com/docs/api/control-api#tag/namespaces/paths/~1apps~1{app_id}~1namespaces/post. Similarly it is called id when we just get a list of namespaces.
This seems to be a very confusing name for what it is. This also additionally adds to the confusion that the same functionality in the dashboard is called “Channel Rules”, and corresponding field is called “Namespace or Channel ID” in the UI.

Related internal discussion: https://ably-real-time.slack.com/archives/C01B5JK1TB4/p1660918455458259


train the net

Hi！Thank you so much for sharing！
1:How many epochs has this been trained for? I didn't find any instructions on the source code，
for epoch in range(config.max_epoch):
print('=' * 20, epoch, '=' * 20)
train_step, val_step = 0, 0
for inputs in tqdm(train_dataloader):
for k, v in inputs.items():
if isinstance(v, list):
for i in range(len(v)):
inputs[k][i] = inputs[k][i].cuda()
else:
inputs[k] = inputs[k].cuda()
2: Why is training so slow? my graphics card is titan

Hi, thanks for your interest.

Different epochs are set for different datasets. The configuration can be seen in configs/*.yaml .
For 3DMatch/3DLoMatch, max_epoch is set 40, which can be seen in https://github.com/zhulf0804/NgeNet/blob/d4917f22e55195132ec6fc602554102d321ce4b5/configs/threedmatch.yaml#L46
The low training speed is due to the correspondences construction operation (shown below) during training. For example, we trained 3DMatch on one RTX 3090 card using about 40 hours.
https://github.com/zhulf0804/NgeNet/blob/d4917f22e55195132ec6fc602554102d321ce4b5/utils/o3d.py#L75-L88

Best regards.

Thanks for such a quick answer！

Hello, when I evaluate and visualize, the process is killed when it reaches 14%. It may be a memory overflow problem. Is there any good solution?my graphics card is titan

Hello,
What's your GPU memory size ? I didn't record the runtime memory size before, but GTX 1080Ti is enough for me.
One way your can try is to use torch.cuda.empty_cache() after each iteration.
Best.

    Hi, sorry to trouble you again! Because I just started learning this aspect, so I don't understand a lot of things. I still can't solve the problem of killing the process. I don't know how to add this code. torch.cuda.empty_cache() ;
    I executed this command. Is this not using CUDA?
    python eval_3dmatch.py --benchmark 3DMatch --data_root your_path/indoor --checkpoint your_path/3dmatch.pth --saved_path work_dirs/3dmatch [--vis] [--no_cuda]
    If I want to use CUDA for evaluation and visualization, how do I need to modify the code?
    Hope to get your help, thank you very much！！！
------------------ 原始邮件 ------------------
发件人:                                                                                "zhulf0804/NgeNet"                                                                                @.>;
发送时间: 2022年6月26日(星期天) 中午12:19
@.>;
抄送: "夜 s<EMAIL_ADDRESS>主题: Re: [zhulf0804/NgeNet] train the net (Issue #7)
Hello,
What's your GPU memory size ? I didn't record the runtime memory size before, but GTX 1080Ti is enough for me.
One way your can try is to use torch.cuda.empty_cache() after each iteration.
Best.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

Hi,

python eval_3dmatch.py --benchmark 3DMatch --data_root your_path/indoor --checkpoint your_path/3dmatch.pth --saved_path work_dirs/3dmatch menas using cuda for evaluation.
python eval_3dmatch.py --benchmark 3DMatch --data_root your_path/indoor --checkpoint your_path/3dmatch.pth --saved_path work_dirs/3dmatch --vis menas using cuda for visualization.
python eval_3dmatch.py --benchmark 3DMatch --data_root your_path/indoor --checkpoint your_path/3dmatch.pth --saved_path work_dirs/3dmatch --vis --no_cuda menas  visualizing on cpu.

Besides, you may add torch.cuda.empty_cache() in line 199 as following.
https://github.com/zhulf0804/NgeNet/blob/d4917f22e55195132ec6fc602554102d321ce4b5/eval_3dmatch.py#L194-L198
Best.


Hi, Are there any plans to release a python version of the occupancy analytics sample?

I also wish there was a python version.


Added open next section functionality

Opens the next available section
Usage
<Accordion ref={(c) => this.accordion = c} />
this.accordion.openNextSection()

Thank you for your PR. This functionality is now possible to do in your parent component instead via the activeSection prop.


Different Formatting Results Between Action and Locally

We are using clang-format 18 via LLVM 18.1.5 but after formatting locally the files that the CI complains about in its checks, no changes are applied. Is there something we're missing? Below is how we are using the action:
- name: Check clang-format
    uses<EMAIL_ADDRESS>    with:
      clang-format-version: 18
      exclude-regex: '(3rdparty|libs|scripts|test|tests)'

We have a .clang-format and .clang-format-ignore in the root of the project.

Interesting! Thanks for submitting this issue.
Have you noticed any overlap with the files it's complaining about in CI and your .clang-format-ignore file? Otherwise, my other suspicion would be that the exclude-regex is not correct.
Finally, is there a difference between the minor and/or patch versions of clang-format running in your CI as opposed to running locally? As of 0391c32fa54dcffc9d61e34f106433ab053c20fc (haven't included this in a release yet), I've added a clang-format --version output at the beginning of this action's execution. You can try this out by opening a PR in your repo with that workflow job step you included modified to:
- name: Check clang-format
    uses: jidicula/clang-format-action@0391c32fa54dcffc9d61e34f106433ab053c20fc
    with:
      clang-format-version: 18
      exclude-regex: '(3rdparty|libs|scripts|test|tests)'

just to see what's output. If you do notice a difference in versions and you see a difference in behaviour, please leave a comment (and vote) in https://github.com/jidicula/clang-format-action/discussions/192.

Interesting...
Just did a test with clang-format 18.1.3 (this was what was reported on the CI when I used the commit you mentioned in a new PR) and there are in fact differences with how formatting is handled between 18.1.3 and 18.1.5/18.1.6. I'll be sure to vote on the linked discussion as well.

That is very unfortunate and frustrating that LLVM included breaking changes in a patch version increment - I had been hoping there wouldn't be any impact for this shape of change.
I've opened https://github.com/jidicula/clang-format-action/issues/199 to look into a better solution for this.
In the meantime, I suppose your only mitigation is to upgrade your toolchain (probably annoying reactive work) to match what's in CI.
I'm also going to cut a new release right away so users have some more visibility into what specific clang-format version is executed by this action.

That is very unfortunate and frustrating that LLVM included breaking changes in a patch version increment - I had been hoping there wouldn't be any impact for this shape of change.

I agree but oh well. We'll figure out a workaround. Supporting system clang-format would definitely work for us. Thanks!


Bump carbon.business-process.version

Purpose

$subject

Related PR(s)

https://github.com/wso2/carbon-business-process/pull/668
https://github.com/wso2/wso2-ode/pull/44

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/2590728696

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/2590728696
Status: success


⚠ DesiTorrents has degraded performance

In a0e994f, DesiTorrents ($DST) experienced degraded performance:

HTTP code: 200
Response time: 5651 ms

Resolved: DesiTorrents performance has improved in aa5bc9b.


[fix] Fix an issue where tf_patch.py failed in TF >= 2.6.x.

Description
Fix an issue where tf_patch.py failed in TF >= 2.6.x. It cause by Keras detached from TF repo.
Type of change

[x] Bug fix
[ ] New Tutorial
[ ] Updated or additional documentation
[ ] Additional Testing
[ ] New Feature

Checklist:

[x] I've properly formatted my code according to the guidelines

[x] By running yapf
[x] By running clang-format

[ ] This PR addresses an already submitted issue for TensorFlow Recommenders-Addons
[x] I have made corresponding changes to the documentation
[x] I have added tests that prove my fix is effective or that my feature works

How Has This Been Tested?
try keras initializer in TF >= 2.6.x. And there is no full-size init warning.

LGTM


"Flip Phone Back and Forth" Camera Gesture has Issues with Lockscreen Shortcuts

Device Info
Android Version: 11
Device: Motorolla Moto g power
Note
Some Motorolla phones have a feature called Quick Capture. It functions identically to the Flip Phone Back and Forth Camera Gesture. Since turning on the Flip Phone gesture also turns on Quick Capture, I believe the feature is the same. For simplicity, I will refer to the feature as "Quick Capture". Please note that I don't think this feature has an effect on this issue, as the issue still occurs with the Moto-provided feature off.
The Problem
Typically, the Quick Capture feature works the same way when the phone is locked as it does when it is unlocked. When the user performs the gesture, the camera opens, regardless of whether or not the app is locked. However, when the camera app is added to a phone's lock screen via the Lockscreen Shortcuts feature (my phone uses Moto Camera 2), this changes. In order to access the camera via Quick Capture, you are now required to unlock your phone.
Screenshots
I have attached two sets of screenshots. One set is of the normal behavior, while the other shows what happens when the camera app is on the lock screen. Note that these screenshots were taken using the following steps:

Enter lockscreen
Screenshot
Perform Quick Capture gesture
Screenshot

I didn't do anything else (aside from covering the camera). Note that the two lock screen images have some text whited out, this is to protect my privacy.
Also, sorry about the image size. I don't know how to make them smaller without doing a lot of work, so I guess they are what they are.
Normal Behavior Screenshots:
Lock Screen:

After Gesture Performed:

Bugged Behavior Screenshots:
Lock Screen:

After Gesture Performed:

If you have any questions, please ask. I'll do my best to help :)

Update
I just did some more experimenting and found that this issue occurs when any app is on the right side of the lock screen. Quick Capture will attempt to launch this app instead of the camera app, and will require an unlock to access this app. This app could still potentially be the camera app, which is what I demonstrated above.
Interestingly, tapping (and not pulling) the set app on the right side will cause the lock screen to say (on the bottom), "Swipe from icon for camera"

This is probably a system issue, so I doubt there's anything SystemUI Tuner can do.


Update MD file on new branch 2017-32-09_11-11-10

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

split/updateTestCon.md
:white_check_mark:Succeeded

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


faster creation of PyList

This makes a big difference locally, but codspeed seems to disagree

???

Is "locally" arm or x86_64? Might differ greatly between the two platforms.
TBH I'm ok with this but I also just think that really PyO3 should be reworking its list constructor to allow this.

Locally was macos.

Not clear there's an improvement on x86, might even be worse (although I have no idea how it could be):

So I'll leave this, we can either reconsider or close.

I think better is that I aim to fix PyO3 to avoid needless reference count operations. Would be a modest speedup for quite a few operations / smaller binary size :)

PyO3 0.23 (#137) has a new IntoPyObject trait which optimises transfer of reference counts, will close this.


Short-circuit DynamicTraceEventParser::GetPayloadValueAt for arrays of bytes

For reasons I'm not going to get into, we are using the DynamicTraceEventParser class (as opposed to a strongly typed parser from traceparsergen) to retrieve a payload value of a byte array. Its very inefficient; there is already a TODO in the codebase to handle arrays of blittable types more efficiently. I did some brief testing where I emited a single event, captured and opened up that file using the DynamicTraceEventParser, cloned the event, then read a single 2000 byte payload value 10000 times from that clone. Using perfview against this simple harness show as 5x reduction in CPU.
My change looks a little hackish, but seems safe enough until that existing TODO is properly addressed. Existing tests pass.

Codecov Report

Merging #691 into master will increase coverage by <.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #691      +/-   ##
==========================================
+ Coverage   17.51%   17.52%   +<.01%
==========================================
  Files         221      221
  Lines      126154   126157       +3
  Branches    12169    12170       +1
==========================================
+ Hits        22099    22110      +11
+ Misses     103185   103177       -8
  Partials      870      870

Flag
Coverage Δ

#2017
17.52% <100%> (ø)
:arrow_up:

#Debug
17.52% <100%> (ø)
:arrow_up:

#Release
100% <ø> (?)

Impacted Files
Coverage Δ

src/TraceEvent/DynamicTraceEventParser.cs
67.78% <100%> (+0.07%)
:arrow_up:

src/TraceEvent/TraceEvent.cs
64.24% <0%> (+0.43%)
:arrow_up:

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 533d3ae...d1c2925. Read the comment docs.

I am OK with special casing byte arrays like this.
Note that if your are trying to simply get at the total payload (that is the payload is just one field that you want returned as a byte array), there is something even more efficient.
First you can call traceEvent.EventData() to return a byte[] for the whole payload area (must like your change will do).   This is about as efficient as what you have.
However there is another overload
 traceEvent.EventData(byte[] targetBuffer, int targetStartIndex, int sourceStartIndex, int length)

Which will copy the data into YOUR byte[].   (you can pass traceEvent.EventDataLenght for 'length') so you can reuse one byte[] for all your events.
This allows you to avoid allocating a byte[] for every object, which avoids the allocation/clearing/GC cost.
Vance


New SIL instructions to support tail-allocated arrays in SIL, second try.

Should now work with changes in lldb. Also fixed some coding style violations.

@swift-ci Please smoke test and merge


[MGDOBR-413] Configure keycloak authentication

https://issues.redhat.com/browse/MGDOBR-413
This PR adds keycloak authentication to the standalone UI app to allow local API integration.
The keyclock config will change after sso will be added (see 466).
After that it will be possible to test the authentication with the SE as federated module.
Steps to test it:

npm install
npm run start

Just FYI, I will review once comments above are addressed to not mix comments too much.


How pinpoint monitors netty programs？

How pinpoint monitors netty programs？ My netty project access request cannot be monitored。

Please search before question.

Please search before question.

Please give me a demo url.


Log file querying ignores multiple files

When querying log files, and logs are set to rotate after a specific size is reached, all files prior to the current file are ignored. The app should attempt to find prior log files and include their results.

The DailyRotateFile transport was moved to a separate module (winston-daily-rotate-file) as of<EMAIL_ADDRESS>As such we are closing issues here and tracking their status in a single tracking issue in the new repository.
Please open a new issue on winston-daily-rotate-file to continue the discussion.


Unable to recognize new apps

I recently installed a new application.
But when I used PowerToys Run, I found that it could not recognize the new application.
Only "XXX.lnk" and "Search: path" will be displayed instead of app name and "win32 app".
Hope this problem can be fixed.

@mai1202 Can you please try following and see if that solves your issues :
For v18.x

Clear cache at %userprofile%/appdata/local/microsoft/powertoys/powertoys run/Cache
Restart powertoys run

For v19.x

Restart powertoys run

I am not entirely sure how it works, im just stating my opinion on it. i think it is intended to work that way. what i mean is that, on application opening for the first time, it scans whole system and caches executeables, but once new app is installed, well cache is still there, and it is not doing another scan for performance purposes in my opinion. I guess it could be doable to clear cache and scan automatically, i just think it would not be a good idea.

@joffarex This is similar to #3553 and we are working on this.

Okay, thanks for heads up. I was just trying to look smart lol

closing as duplicate


Message "did not find the value of the request" addAttachmentToCard ".

TrelloAuthorization.Default.AppKey = appKey;
TrelloAuthorization.Default.UserToken = token;
TrelloFactory factory = new TrelloFactory();
try
{
var me = await factory.Me();
await me.Refresh();
}
catch (Exception ex)
{
MessageBox.Show(ex.Message);
}

Thanks for reporting.
Can you provide a few more details?  What kind of exception was caught?  Can you post the stack trace?  Were you able to capture the network traffic, by chance?
If you need to supply sensitive information, you can do so privately in Slack.  There's a link at the top of the README.

Sorry , My english is so bad!!!
This is Form1.cs,   Error at await me.Refresh();
using Manatee.Trello;
using System;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace LoadPoints
{
    public partial class Form1 : Form
    {
        private const string token = "";
        private const string AppKey = "";
        private TrelloFactory factory;

        public Form1()
        {
            InitializeComponent();
            TrelloAuthorization.Default.AppKey = AppKey;
            TrelloAuthorization.Default.UserToken = token;
            factory = new TrelloFactory();
            GetBoardsAsync();
        }

        private async Task GetBoardsAsync()
        {
            try
            {
                var me = await factory.Me();
                await me.Refresh();

            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.Message);
            }
        }
    }
}

-------stack trace??---

LoadPoints.exe!LoadPoints.Form1.GetBoardsAsync() 行 33	C#
[正在恢复异步方法]
[外部代码]
Manatee.Trello.dll!Manatee.Trello.Internal.Synchronization.SynchronizationContext.Synchronize(bool force, System.Threading.CancellationToken ct) 行 71	C#
[正在恢复异步方法]
[外部代码]
Manatee.Trello.dll!Manatee.Trello.Internal.Synchronization.SynchronizationContext<Manatee.Trello.Json.IJsonMember>.GetBasicData(System.Threading.CancellationToken ct) 行 201	C#
[正在恢复异步方法]
[外部代码]
Manatee.Trello.dll!Manatee.Trello.Internal.Synchronization.SynchronizationContext<Manatee.Trello.Json.IJsonMember>.GetData(System.Threading.CancellationToken ct) 行 182	C#
[正在恢复异步方法]
[外部代码]
Manatee.Trello.dll!Manatee.Trello.Internal.DataAccess.JsonRepository.Execute<Manatee.Trello.Json.IJsonMember>(Manatee.Trello.TrelloAuthorization auth, Manatee.Trello.Internal.DataAccess.Endpoint endpoint, System.Threading.CancellationToken ct, System.Collections.Generic.IDictionary<string, object> parameters) 行 22	C#
[正在恢复异步方法]
[外部代码]
Manatee.Trello.dll!Manatee.Trello.Internal.DataAccess.JsonRepository.ProcessRequest<Manatee.Trello.Json.IJsonMember>(Manatee.Trello.Rest.IRestRequest request, System.Threading.CancellationToken ct) 行 72	C#
[正在恢复异步方法]
[外部代码]
LoadPoints.exe!LoadPoints.Program.Main() 行 19	C#

I'm sorry, but I haven't been able to reproduce any kind of error.  Can you send me the exact text of the error?  I don't recognize the message in the issue title.
However, this line
GetBoardsAsync();
doesn't complete execution.  You need to call .Wait() on it, like this:
GetBoardsAsync().Wait();
Lastly, you don't need to refresh a Me object right away because getting it from the factory actually downloads all of the data a refresh would download.  The refresh is redundant for TrelloFactory.Me().

(via Google translate, 我希望这有效)
对不起，我无法重现任何错误。 你能把错误的确切文字发给我吗？ 我不承认问题标题中的消息。
但是，这行代码
GetBoardsAsync();
没有完成执行。 你需要在它上面调用.Wait()，如下所示：
GetBoardsAsync().Wait();
最后，您不需要立即刷新Me对象，因为从工厂获取它实际上会下载刷新下载的所有数据。 对于TrelloFactory.Me()，刷新是多余的。

Thank you very much for your answer. I want to get all the information in my card.
LoadPoints.zip

Thanks for that.  It seems you've discovered a new notification type.  I'll have to add it.  I'll scan the response I get from your sample for any other I may have missed.  I should have a fix out this weekend.
I've edited your comment to remove the sample.  You may want to go onto your Trello settings page and delete that token.

Please see v3.2.1.  It should be on Nuget soon.

thx


Ignore disabled tests.

Summary of the pull request
Ignore disabled tests as they do not actually evaluate the product at this time.
References and relevant issues
Closes #246
Detailed description of the pull request / Additional comments
Ignore disabled tests as they do not actually evaluate the product at this time.
Validation steps performed
Local testing.

@aaronstebner at his suggestion.

@EricJohnson327, please feel free to view this as a suggestion for now.


[WIP] Sticky Page Tabs

WIP sticky tab implementation of https://github.com/carbon-design-system/carbon-website/issues/578

old PR, closed in favor of https://github.com/carbon-design-system/carbon-website/pull/1453


Improve Accordion/readme.md

Need to improve this component on \<Component name>\src\<File Name.html>
Improvements required :
add components with images
Any reference image?

Any external reference?
You can checkout this one for better understanding.

The image and should be proper size and aspect ratio. @nik132-eng


Minor syntax typo

As title.

Coverage remained the same at 95.652% when pulling 0cf85f31788a10dd6ffbaa02ebe0b615c524e054 on jihchi:patch-1 into fa1c020a5a3b263e89bec8ca10e181dd205e4e3b on glennsl:master.

Thanks!


Let constructor accept constructed instance

Let it accept itself... :)
const cid1 = new CID(...)
const cid2 = new CID(cid1)
cid1.equals(cid2) // true
cid1 === cid2 // false

Coverage increased (+1.1%) to 88.406% when pulling 9c0bd18283c7d9a1ea371618161bea0c2b10f93e on enricomarino:patch-3 into 74ae6103e2aaee85f200818bbeedb886992236be on ipld:master.

Coverage increased (+1.1%) to 88.406% when pulling c007195e593dab604d5d4317b56c19c202c76c14 on enricomarino:patch-3 into 74ae6103e2aaee85f200818bbeedb886992236be on ipld:master.

Coverage increased (+1.1%) to 88.406% when pulling c007195e593dab604d5d4317b56c19c202c76c14 on enricomarino:patch-3 into 74ae6103e2aaee85f200818bbeedb886992236be on ipld:master.

Coverage increased (+1.1%) to 88.406% when pulling c007195e593dab604d5d4317b56c19c202c76c14 on enricomarino:patch-3 into 74ae6103e2aaee85f200818bbeedb886992236be on ipld:master.


revamp dev branch readme.md

The readme.md is only changed on master (at least for these changes). Here we just need to merge master into 1.9.x and dev.


Optional properties of resource types applies to differently named properties of resources

I'm sorry if it's duplicate of 43.
Currently if resource type contains a method and resource with this resource type has another method name, resource will contains not only "own" parameters (e.g. queryParameters), but parameters from this resource type (e.g. formParameters) too.
Part of raml-file (full:
resourceTypes:
  - collection:
      description: A description of the collection resource type
      post?:
        formParameters:
          ids:
            displayName: IDs
            description: A list of IDs
...
/me:
  /widgets:
    displayName: current-user-saved-widgets
    type: collection
    put:
      description: Save Widgets for Current User
      queryParameters:
        ids:
          displayName: Widget IDs
          type: string

And ramlfications code calls:
>>> api = ramlfications.parse("/tmp/optional-bug-example.raml")
>>> api.resources
[ResourceNode(method='get', path='/me'), ResourceNode(method='put', path='/me/widgets')]
>>> api.resources[1].resource_type
ResourceTypeNode(name='collection')
>>> api.resources[1].query_params
[QueryParameter(name='ids')]
>>> api.resources[1].form_params
[FormParameter(name='ids')]

But resource type collection has formParameters only for optional post method, not for put.
And, second bug(?)
>>> api.resources[1].protocols
['HTTP']
>>> api.resources[1].absolute_uri
'https://example.com/v1/me/widgets'

If I have correct understanding of the raml spec, in this case absolute_uri should starts with HTTP, not HTTPS.
Thanks!

Hey thank you! The first one is definitely a bug - certainly related to #43. Traits might also behave the same (improper) way. I am in the middle of working on a patch that will fix this, so expect it in the next release (about a week - would be sooner if there wasn't a long weekend in the U.S. :)). I'll update this issue when it is released.
Re: the second issue - I see in the full RAML file that protocols is specifically defined with HTTP in the put method of the resource, which is the behavior that I'd expect. I'm on mobile so I can't try it myself right now - but does it return HTTPS if that line is removed?

Thanks for the quick response!
After removing "protocols" from the put method I got results:
>>> api.resources[1].protocols
['HTTPS']
>>> api.resources[1].absolute_uri
'https://example.com/v1/me/widgets'

and after removing protocols from the root-level of raml I got the same result.

@xaratt ah great - so that seems okay then, right?

Ah I misread the first one - I read HTTP instead of HTTPS in the absolute uri.
So yes you're right - I agree that it's the desired behavior and yet another bug :) thanks!

@xaratt - I just merged a PR (#46) that (hopefully) addresses your first concern.  It'll be included in the next release on PyPI which may be in a week or so (want to fix some more bugs, including the other one you reported), but if you'd like to confirm that it works for you, I'd really appreciate it.
Thanks!

@xaratt  OK hopefully the protocols issue is successfully addressed - I just merged in a fix.  Let me know if it does/doesn't work for you.


chore: Updating dependabot to support Vue, Python and Docker

Thanks @WadeBarnes , rebasing looks good. Ready for review

No change here @rajpalc7, the diff still looks like this:

When it should look more like this:

See https://github.com/bcgov/vc-authn-oidc/pull/466/files

Should be fixed now.

Thank you Wade :)


Change to the scoring system!

why dont we take an average of all the scores of the tokens in the sentence as score? its currently calculated as the sum only! if we take average , it will fall between -1 to 1 right?

Yes, it will fall inside [-1, 1]. However, by summing the weights of each word, a sentence being longer (or shorter) will also influence how strong the sentiment can be.
There are several ways to utilize this information (a variable threshold, morphosyntactic analysis to increase the importance of nouns and adjectives, etc) but one of the key points of this gem is its simplicity, IMO. Not that your proposed change is complicated, but still. :P
Do you have a specific user case that would justify this change?

I am currently using this gem to analyse sentiment of few reviews given to flipkart.com on their FB page, I get a lot of negative posts marked as positive, where he used a negative words along with a few positive word to express his views.. those posts got marked as positive!
"""
Very much amazed to come across that "in a day guaranteed delivery doesn't work.. my order id is OD202226028103118000 it was given that today is the delivery day, but now its showing delivery will be 7th of march. it was a birthday gift now is going to compensate on this.
"""
this negative review gets  a score of 1.03125

I see. This is a bit harder. You can probably define a better threshold if the scores are bounded to [-1, 1] as you said, but maybe you should try building a problem-specific dictionary, i.e. given your list of reviews, adjusting the weight of each word in the dictionary to more closely resemble what you see?
Another option is to calculate the score for each of your current reviews and see if there is a clear threshold for negative reviews. For example, you might find that your specific set of texts should use a threshold of 2.5 (I'm guessing) to correctly separate negative and positive reviews.

oh that makes sense , thanks @agarie , I'll try to run this over a set of negative reviews and try to find a more suitable threshold to use! :+1: and I've already customised the slang dictionary a little to match to my test cases..


Consider adding proxy flag for scripts doing 1ml lookups

When querying the 1ml.com site, it would be nice to use Tor as a proxy for better privacy.
Perhaps a --tor or --proxy flag could be allowed for the improvecentrality.py script.

You should be able to set a proxy for the underlying library through the HTTPS_PROXY and HTTP_PROXY environment variables.
https://docs.python-requests.org/en/latest/user/advanced/?highlight=environment#proxies
The script does not query for your own node data, so I consider the privacy risk low.
Do let me know if explicit support is required.

I used HTTP_PROXY="http://localhost:9050" python improvecentrality.py and it worked well. I wasn't sure if don't something like this would cause the script to connect to my LND node through Tor as well, which I don't want.
Perhaps an explication in the --help and README would be enough for other users with my same concern.

Were you able to verify that it was routing the 1ml queries through your proxy?
LND is accessed over gRPC, not HTTP(S), there is no tor or proxy support for it.
Adding this tip to the README is a good idea, I will do so.

Thank you for asking me to double check. The HTTP_PROXY and HTTPS_PROXY don't work for Tor. I had to add socks support and use ANY_PROXY. I added my changes in #15.


Want to use cleanup after move, but run into error

Hi,
after moving to the SSD my containers start failing (some reason like here  so i wanted to use this script to cleanup.

You would get that error is the script is running sh instead of bash.
Are you CDing to the folder containing syno_docker_cleanup.sh and then running it as syno_docker_cleanup.sh?
You'd need to run it as ./syno_docker_cleanup.sh
Or bash syno_docker_cleanup.sh

Thank you! That was the trick :)
But i cant find those little dot with .syno.bak reference

I'm not sure what causes the .syno.bak containers but not everyone has them.
I should change the script to check if there are any .syno.bak containers and only show those instructions if there are.


WIP-3129 code cleanup for deprecated resource types

NOTE: This PR currently has cleanup code only for NetCDF resource type.  There are 10 deprecated resource types that need to deleted. This PR has been created to get early feedback as similar code cleanup strategy will be applied to other deprecated resource types. The goal is to completely remove code for deprecated resource types. As part of this PR, we won't be able to completely remove all code for a deprecated resource type as we need the resource type migrations to cleanup the database tables associated with the deprecated resource type. After the code for this PR is deployed and necessary migrations are applied, we will have another PR to completely remove the remaining code for the deprecated resource types.
Pull Request Checklist:

[ ] Positive Test Case Written by Dev

[ ] Automated Testing

[ ] Sufficient User and Developer Documentation

[ ] Passing Jenkins Build

[ ] Peer Code review and approval

Positive Test Case

[Enter positive test case here]

METRIC
VALUE

https://sonarqube.cuahsi-workstation.com:9000/dashboard?id=hydroshare-4528

@sblack-usu and @hyi I have created this PR to get early feedback. This PR has cleanup code only for the NetCDF resource type. If the strategy I am using to remove this deprecated resource type seems reasonable, then I can do the same for the rest of the deprecated resource types.


Limit access to /docs to authenticated user

I'm not sure how feasible this is since it just generates static HTML but does this package have the ability to only allow whitelisted users through to the docs or do is the recommended solution to either edit my NGINX config, write a custom gate or is this a feature that is not currently supported?
I browsed the docs and couldn't find anything on this so maybe im missing something
Cheers!

This is currently not supported.

Closing this since it's not a feature request.


Multi-machine setup

Multi-machine setup "fully" tested;
Added the low_level_interface executable, which can also be configured via YAML files;
Several minor improvements to the documentation;
Added tutorial to setup and test multi-machine setups (:warning: still missing details on how to locate the Raspberry on your network).

Issues should have been fixed, merging!


No such file or directory after installing

Hello,
I get this error after running
error while loading shared libraries: libxkbcommon.so.0: cannot open shared object file: No such file or directory

I've tried
- uses: browser-actions/setup-chrome@latest

And even tried with a couple different versions (dev, latest, etc) and still get the same error.
Any fix?

I also am running into this on a linux machine. I am suprised because I thought the purpose here was to have an action that would setup chrome completely. Can you share your solution @rxa313


Fix links typos warnings

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:
:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.


libical: 3.0.14 -> 3.0.15

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/libical/libical/releases.
meta.description for libical is: "An Open Source implementation of the iCalendar protocols"
meta.homepage for libical is: "https://github.com/libical/libical"
meta.changelog for libical is: ""
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 3.0.15 with grep in /nix/store/k8gxgcr2rnnl5mwcx96czl7g0ggv0x6b-libical-3.0.15
found 3.0.15 in filename of file in /nix/store/k8gxgcr2rnnl5mwcx96czl7g0ggv0x6b-libical-3.0.15

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

4546 total rebuild path(s)

4546 package rebuild(s)

First fifty rebuilds by attrpath
ChowKick
CuboCore.coreaction
CuboCore.corearchiver
CuboCore.corefm
CuboCore.coregarage
CuboCore.corehunt
CuboCore.coreimage
CuboCore.coreinfo
CuboCore.corekeyboard
CuboCore.corepad
CuboCore.corepaint
CuboCore.corepdf
CuboCore.corepins
CuboCore.corerenamer
CuboCore.coreshot
CuboCore.corestats
CuboCore.corestuff
CuboCore.coreterminal
CuboCore.coretime
CuboCore.coretoppings
CuboCore.coreuniverse
CuboCore.libcprime
DisnixWebService
EmptyEpsilon
HentaiAtHome
MIDIVisualizer
PageEdit
R
SDL2
SDL2_gfx
SDL2_image
SDL2_mixer
SDL2_net
SDL2_sound
SDL2_ttf
SDL2_ttf_2_0_15
SDL_audiolib
SDL_compat
SDL_gpu
Sylk
_1oom
_20kly
_7kaa
_90secondportraits
abbaye-des-morts
acoustidFingerprinter
adapta-gtk-theme
adl
aegisub
agi

Instructions to test this update (click to expand)

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

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

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

Pre-merge build results
NixPkgs review skipped

Maintainer pings

Notably, this prevents building wine.  Full log: https://hydra.nixos.org/log/c4ya8sgc0ynpr3wdrvgzvigl2j2p8b93-libical-3.0.15.drv

I spent some time debugging libical-3.0.15 and I think it's a regression from 3.0.14. Next libical release will fix it, but it has a bunch of fixes (all are related to 64-bit time_t on 32-bit systems). Rolling things back to 3.0.14 (at least for 32-bit targets) are probably the easiest.

https://github.com/NixOS/nixpkgs/pull/196229


[cli] Add print-steps option to CodeChecker cmd diff

Closes #1424

Without bug steps it is hard to understood the problem by a programmer.
With this commit we will introduce a new option for the diff command
which can be used to print bug steps similar what we are doing at the
CodeChecker parse command.
This patch also solve the problem to print bug steps in HTML files for
reports which comes from a CodeChecker server.

The patch seems to work fine for me. If there is only one step maybe the steps output should be omitted, since it repeats what it is shown, for example:
[LOW] src/widgets/widgets/qabstractscrollarea_p.h:66:25: class 'QAbstractScrollAreaPrivate' defines a non-default destructor but does not define a copy constructor, a copy assignment operator, a move constructor or a move assignment operator [cppcoreguidelines-special-member-functions]
class Q_AUTOTEST_EXPORT QAbstractScrollAreaPrivate: public QFramePrivate
                        ^
  Report hash:<PHONE_NUMBER>b19c81214e383a4a13cae9
  Steps:
    1, qabstractscrollarea_p.h:66:25: class 'QAbstractScrollAreaPrivate' defines a non-default destructor but does not define a copy constructor, a copy assignment operator, a move constructor or a move assignment operator

Found 1 defect(s) in qabstractscrollarea_p.h

There are some merge conflicts, but it looks good to me.
@jimis I think including one-step paths in this output may really seem weird, but can be useful in the future when computer-friendly output formats (e.g. JSON) will contain this bug path for further processing. JSON output doesn't contain bug paths even in CodeChecker parse output, so I think it is not a problem if it's missing, but could be a future feature some time.

@bruntib I resolved the conflicts.


added user id and verbose information to tmp module file name to avoid race condition issues

Parallel building may fail, because multiple build users try to write to the same file (/tmp/module_file.module).
In order to avoid that, I added the user id as well as some more verbose information to the file name.
Unfortunately user id (or something unique to the build user) is required, because some modules are referenced by multiple other modules. However, since Nix does always build in a *NIX-compatible environment, there should always be some user id available.

have you encountered this issue ?
because afaik the /tmp dir is empty for each sandbox, and since the derivations do not use any impurities (yet?) there should be no possibility for a collision.

I cannot rule out, that this is a special issue, I run into, because I develop on a macOS host, set up using determinate-systems installer and nix-darwin.
At least in my particular setup I had the described behavior. Maybe it's similar, when running Nix Builds on non-NixOS based Linux-Distributions. Did not test that in detail.

could you try it with just tmp/module_file.module, so that its still a generic file, but definitely in the build dir?

Can you post the output of the nix doctor  command?
Mine looks like this:
[PASS] PATH contains only one nix version.
[PASS] All profiles are gcroots.
[PASS] Client protocol matches store protocol.
[INFO] You are trusted by store uri: daemon

My intuition on this would be that at least for a multi-user (deamon) Install of Nix, builds should not share the same ´/tmp´ directory. I do not know in https://github.com/DeterminateSystems/nix-installer supports both single- and multi-user installs on macOS.

Looks like this might still be the state of things:
https://stackoverflow.com/a/67607698

Looks like this might still be the state of things: https://stackoverflow.com/a/67607698

I indeed can verify that behavior on my machine.

could you try it with just tmp/module_file.module, so that its still a generic file, but definitely in the build dir?

I adjusted my branch accordingly. That works beautifully and I think, that's a better approach than my initial proposal.


Do I need DCA1000 board to capture data?

Do I need DCA1000 board to capture data?

No need/DCA 1000 is not supported in this repository. DCA1000 is only necessary if you want to get the raw radar data cube, but for the point cloud or heatmaps, the board itself is enough.


I can't download any course using udeler version 1.8.2

After login with my credential not open download window it is open window contains the Udemy

site like using any browser
I attached screenshot of the problem

After login with my credential not open download window it is open window contains the Udemy  site like using any browser I attached screenshot of the problem

This project is currently maintained by @heliomarpm

After login with my credential not open download window it is open window contains the Udemy  site like using any browser I attached screenshot of the problem

This project is currently maintained by @heliomarpm


Fix typo and add .idea directory to gitignore

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

Coverage remained the same at 16.899% when pulling f3a75a8048f38a79c9785a752ed7fc12dc725132 on yelongyu:devel into 5e67002de62ae466bb9d15ba73090baf5e6526ca on aledbf:master.

@yelongyu thanks!


[BUG] loadignore should just load

godbolt: https://godbolt.org/z/cEETTe
See memmcpy on line 18
We have code for this: https://github.com/jfalcou/eve/blob/a8bdc6a9cab06d905e8749354cde63776ab76846/include/eve/module/real/core/function/regular/generic/load.hpp#L91
But smth clearly failed

https://github.com/jfalcou/eve/pull/619


fix: Select shows behind Antd popover

SUMMARY
The Antd Popover has a z-index at 1030. By adding the option menuPortalTarget as document.body to the Select, the dropdowns (both single-choice and multi-choice) show behind the Popover. One fix could have been to reduce the default z-index of the Antd Popover but we don't know what side effects this might cause. This PR instead raises the z-index of the outer div of the dropdowns to be the same as the Antd Popover. This should be a safer approach as dropdowns must usually appear over elements.
Closes #12309
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
After:

TEST PLAN

Create a new Scatterplot chart
Click to set latitude and longitude under "Query"
Click on "Latitude" and "Longitude" Select. The. dropdowns should be visible

ADDITIONAL INFORMATION

[x] Has associated issue: #12309
[ ] Changes UI
[ ] Requires DB Migration.
[ ] Confirm DB Migration upgrade and downgrade tested.
[ ] Introduces new feature or API
[ ] Removes existing feature or API

@junlincc @rusackas

@junlincc @rusackas


Add Getting Started section to README

README Update
Please add a getting started section to the README so folks know how to start with this project

Added Getting Started to README


Copy url params in format_parsed_parts

Similar to #95 I noticed that when creating sub-paths using / or __truediv__ we are not copying the url params.
Example,
>>> from upath import UPath
>>> base = UPath("s3://bucket/dir?param1=value1")
>>> base._url
SplitResult(scheme='s3', netloc='bucket', path='/dir', query='param1=value1', fragment='')
>>> file = base / "file1.txt"
>>> file._url
SplitResult(scheme='s3', netloc='bucket', path='/dir/file1.txt', query='', fragment='')

This PR attempts to resolve this by copying the query parameters when creating sub-paths using /.
Results with the fix,
>>> from upath import UPath
>>> base = UPath("s3://bucket/dir?param1=value1")
>>> base._url
SplitResult(scheme='s3', netloc='bucket', path='/dir', query='param1=value1', fragment='')
>>> file = base / "file1.txt"
>>> file._url
SplitResult(scheme='s3', netloc='bucket', path='/dir/file1.txt', query='param1=value1', fragment='')

Requesting Review: @brl0 @normanrz

Hi @rahuliyer95
Thank you for opening the PR! ❤
I think we'll have to check how this fits together with: #88 and #92
As it stands now, I believe the test assumption is wrong, because query parameters have to be provided on a per "file" basis and should not carry over.
I understand though, that this might be a common use case, so maybe we could provide some other way to globally set query parameters...
Cheers, Andreas 😃

Thanks for getting back on this, we are using upath to read data from different namespaces in our cloud backend and the credentials for these namespaces are different. We are trying to add an identifier for these namespaces via query params, example
from upath import UPath

dir1 = UPath("scheme://bucket/dir1?namespace=ns1")
dir2 = UPath("scheme://bucket/dir2?namespace=ns2")

now dir1 and dir2 will use proper credentials for ns1 and ns2 respectively because that's how we have written our custom fsspec.Filesystem implementation which uses the _get_kwargs_from_urls to parse the namespace parameter and set the appropriate credentials. This helps us a lot abstract away from some this internals of the filesystem and just pass around paths in our code which works seamlessly.

Thank you for the additional context!
Is there a reason why you chose to implement it via query parameters?
Will there ever be multiple namespaces for the same bucket/dir combination?
Or is a mapping from (bucket, dir) to namespace unique?
As I understand right now: you are basically looking for a way to encode which credentials to use into the string representation of the url.

Is there a reason why you chose to implement it via query parameters?

For our use-case this path parameter can be provided by the user and the API contract we set is that the user only needs to provide the right path with a namespace so that the right credentials can be automatically used and the user of the API need not worry about additional configuration.

Will there ever be multiple namespaces for the same bucket/dir combination?
Or is a mapping from (bucket, dir) to namespace unique?

There could be multiple namespace for the same bucket/dir combination. e.g: bucket/dir can exist in both ns1 and ns2 but at a given time the user would only accessing bucket/dir from either ns1 and ns2 and we would request the user to create two paths one for each namespace so that proper credentials are used for accessing them.

As I understand right now: you were basically looking for a way to encode which credentials to use into the string representation of the url.

Yes, without having to expose actual credentials in the URL itself.

FYI, I had a very similar situation.  We ultimately ended up requiring the user to specify the credentials via an environment variable, because there were too many places the URI could be logged, which would create a security vulnerability.

To clarify I am not proposing to share the actual credentials in the URL params, just an id or a reference to where the credentials are present; e.g: name of the environment variable to read for the credentials.

Managed to solve this using kwargs of the UPath by subclassing the S3Path
class MyS3PathWithNamespace(S3Path):
    @classmethod
    def _from_parts(
        cls,
        args: List[Union[str, os.PathLike]],
        url: Optional[SplitResult] = None,
        **kwargs: Any,
    ):
        if url:
            query = parse_qs(url.query)
            if namespace := next(iter(query.get("namespace", [])), ""):
                kwargs["namespace"] = namespace
        return super()._from_parts(args, url=url, **kwargs)


WindowManager BadTokenException when trying to show the dialog

Hi, i'm getting this error on crashlitycs logs
Caused by android.view.WindowManager$BadTokenException
Unable to add window -- window android.view.ViewRootImpl$W@38d65ca has already been added
com.marcoscg.dialogsheet.DialogSheet.show (DialogSheet.java:453)
Maybe you can check if the activity is finishing before showing the dialog?
fun Activity?.isAlive(): Boolean = this != null && !this.isFinishing

library version: 2.1.2
Device
Brand: samsung
Model: Galaxy J7 Prime
Vertical orientation
Available RAM: 309.83 MB
Available disk space: 14.47 GB
OS Version: 7.0
Root Access: No

An activity is not the only type of context that can be used. If you are using an activity as a context, you should perform the check you have mentioned:
fun Activity?.isAlive(): Boolean = this != null && !this.isFinishing

A priori, this error is not something that the library can manage.

An activity is not the only type of context that can be used. If you are using an activity as a context, you should perform the check you have mentioned:
fun Activity?.isAlive(): Boolean = this != null && !this.isFinishing

A priori, this error is not something that the library can manage.


[FEATURE] improve location tagging when creating a job

add a new field in the job table called "detected_location_ids" this must be an array of strings, each string must be the key to seo_locations table
the same way we have when we create a new developer profile, we should be able to select one or more locations from a list and being able to remove them as shown in the video below
update the post-a-job.html/edit.html/manage.html pages to reflect this change
update handlers so that they get detected_location_ids
the location instead of being a simple free text string will be generated from the detected location ids, just concatenate them with a ", " eg. detected_location_ids: [Remote, Spain, Portugal], location = "Remote, Spain, Portugal"

/bounty $50

I want to take this!!

@congthang12312 I have seen you commented on another issue also, please work on one item at a time, feel free to open a Draft PR for whichever issue you want to work on and I will assign to you

Sure!

Hi @dm161 I try to push the commit into repo. But I don't have permission. Can help me check this?

@dm161  why we need a new detected_location_ids in job table? I see in job table already have location field. What is the different?

Please create a fork

Detected location id is the primary key to the seo_locations table. Location is the “string” value. Have a look at the golang code

Was this ever resolved? Any chance that I can have a look at it?


doc & practice a release

I'd like to make sure we can still release this cookbook if we need to add a new maintainer. Could someone work to show me how to do a release?

I'm thinking of adding a standard release process doc to meta, it would be useful to know if you can release with this process: https://github.com/chef-brigade/nano-cookbook/blob/master/RELEASE.md


Prompts with video failing with error 500

Description of the bug:
Observing this for the past 30 hours or so. Uploading a video with a prompt is always resulting in error code 500. Image & document uploads seem to work fine. Size of the video file being 1.1 MB.
Request:
----- cURL command -----
curl -H 'x-goog-api-key: <KEY>' -H 'Content-Type: application/json' -H 'x-goog-api-client: genai-swift/0.5.4' 'https://generativelanguage.googleapis.com/v1beta/models/gemini-1.5-flash-latest:generateContent' -d '{"contents":[{"role":"user","parts":[{"text":"Analyze this video"},{"inline_data":{"data":"AAAAHGZ0eXBtcDQyAAAAAWlzb21tcDQxbXA0MgAAAAFtZGF0AAAAAAAGHigAACC2ZYiCAF9tD+CpeFgSic1MJlFb+kje1p6UbSkRhmtb....
Response:
[GoogleGenerativeAI] The server responded with an error: <NSHTTPURLResponse: 0x60000022ee80> { URL: https://generativelanguage.googleapis.com/v1beta/models/gemini-1.5-flash-latest:generateContent } { Status Code: 500, Headers {
    "Alt-Svc" =     (
        "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"
    );
    "Cache-Control" =     (
        private
    );
    "Content-Encoding" =     (
        gzip
    );
    "Content-Length" =     (
        173
    );
    "Content-Type" =     (
        "application/json; charset=UTF-8"
    );
    Date =     (
        "Fri, 16 Aug 2024 05:53:05 GMT"
    );
    Server =     (
        "scaffolding on HTTPServer2"
    );
    Vary =     (
        Origin,
        "X-Origin",
        Referer
    );
    "server-timing" =     (
        "gfet4t7; dur=7421"
    );
    "x-content-type-options" =     (
        nosniff
    );
    "x-frame-options" =     (
        SAMEORIGIN
    );
    "x-xss-protection" =     (
        0
    );
} }
[GoogleGenerativeAI] Response payload: {
  "error": {
    "code": 500,
    "message": "An internal error has occurred. Please retry or report in https://developers.generativeai.google/guide/troubleshooting",
    "status": "INTERNAL"
  }
}

Actual vs expected behavior:
Requests should not fail
Any other information you'd like to share?
No response

@anupdsouza
Thank you reporting this issue. This looks like an intermittent error and should work now.
This repository is for issues related to Swift SDK client bugs or improvements and the client doesn't control the service's responses. For issues related to Gemini API, we would suggest you to use "Send Feedback" option in Gemini docs. Ref: Screenshot below. You can also post this issue on Google AI forum.

@gmKeshari, thanks. I've reported the issue to the AI Forum. On a side note, would you know why the request has  x-goog-api-client: genai-swift/0.5.4 even when the SDK version being used is 0.5.5. Is there a relation between the two?

@gmKeshari it turns out that this is a known issue with the API. According to another post, sending video data inline causes the error. The suggested way is to use the file API. Any chance the Swift SDK could be updated to support this?

@gmKeshari it turns out that this is a known issue with the API. According to another post, sending video data inline causes the error. The suggested way is to use the file API. Any chance the Swift SDK could be updated to support this?

Hi @anupdsouza, unfortunately we don't have plans to add support for uploading files with the File API at this time. Please see https://github.com/google-gemini/generative-ai-swift/issues/201#issuecomment-2278827388 for a potential alternative with the Vertex AI in Firebase SDK.

Thanks @andrewheard. I eventually switched to Vertex as I needed video support, although it's a lot more dependencies compared to the Swift SDK. I hope video support comes around soon 🤞🏼


Qemu secure boot rebase pt1

SBO002.001 can succeed:
robot  -t "SBO002.001*" -L TRACE -v config:qemu -v rte_ip:<IP_ADDRESS> -v snipeit:no dasharo-security/secure-boot.robot
==============================================================================
Secure-Boot
==============================================================================
SBO002.001 UEFI Secure Boot (Ubuntu 22.04) :: This test verifies t... | PASS |
------------------------------------------------------------------------------
Secure-Boot                                                           | PASS |
1 test, 1 passed, 0 failed
==============================================================================
Output:  /home/macpijan/projects/github/dasharo/open-source-firmware-validation/output.xml
Log:     /home/macpijan/projects/github/dasharo/open-source-firmware-validation/log.html
Report:  /home/macpijan/projects/github/dasharo/open-source-firmware-validation/report.html

Together with:

https://github.com/Dasharo/open-source-firmware-validation/pull/116
https://github.com/Dasharo/edk2/pull/111

Requires OS installed first with serial enabled. Involves manual installation right now.

Switched to a single MR here: https://github.com/Dasharo/open-source-firmware-validation/pull/118


Make glCheckError take a std::string_view rather than constructing a std::filesystem::path on error checks

Description
Port of #3358 for master branch.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>8
Details

1 of 3 (33.33%)  changed or added relevant lines in 2 files are covered.
4 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.01%) to 56.989%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/SFML/Graphics/GLCheck.cpp
1
2
50.0%

src/SFML/Window/EGLCheck.cpp
0
1
0.0%

Files with Coverage Reduction
New Missed Lines
%

src/SFML/Window/Win32/WindowImplWin32.cpp
4
35.44%

Totals

Change from base Build<PHONE_NUMBER>7:
-0.01%

Covered Lines:
12048

Relevant Lines:
19986

💛  - Coveralls


App volume control

It would be very convenient to have a slider integrated in the app to control the app volume independently from the general volume (I often lower it to prevent missing out other desktop/apps sounds, but I have to go through the audio settings - using Linux Mint 20).
P.S. Love the project! Merci

Hi! Thank you for the kind words :)
It is not a top priority of mine at the moment (I tried implementing it in the past and got stuck) but I'll leave this issue open for later :)

I'd like this as well. Is there a way to control the volume of an application externally?

In GNOME Settings, in Sound panel. You must be playing some music while changing volume, otherwise "librespot" item is not visible.

Also found this handy extension to do it from the task bar: https://extensions.gnome.org/extension/3499/application-volume-mixer/

I implemented this via MPRIS in my branch today. @xou816 would you like me to open a PR?

Of course, if you feel like sharing it then a PR is welcome :)

Great! I'll clean some stuff and open it up soon

Any updates on this? was the only real "issue" that I found when I installed the app, great app otherwise.

Yes, let me give you a tldr: Spot supports song volume, but we don't have a slide for that yet. If you use MPRIS, you can change the volume from there.
Here's how I do it from gnome, using the mpris indicator extension:

Perfect!, thanks for the update.

I have been fiddling with adding a slider this morning but I have no idea where I should put it.

Some notes:

The volume icon is just a placeholder.
I looked into what Amberol does but it has a very different layout compared to Spot.
I'm trying to embed the slider in the controls, like Spotify does, to see if it looks better.

Cool, I think that it would be best located roughly the same as the default Spotify app. However I don't know how that would work with smaller layouts such as the mobile view.


Subscribing to ticker channel via gdax web socket feed 'wss://ws-feed.gdax.com'

I am attempting to subscribe to the gdax ticker channel via the websocket feed.  I specify 'ticker' as a channel name but can't seem to actually get the ticker data.  It seems to default to order book data feed ("full") instead.  I am using the following code below...
var info = {
channels : [{"name" : "ticker"}]
//channels : ["ticker"]
};
const websocket = new session.WebsocketClient(pairs,'wss://ws-feed.gdax.com',null, info);
Is there perhaps another way of specifying the channel name?  If been trying to get ticker data for hours with no success...

I was able to get this working today using the following object:
{
"type": "subscribe",
"product_ids": [
"ETH-USD",
"ETH-EUR"
],
"channels": [
"level2",
"heartbeat",
{
"name": "ticker",
"product_ids": [
"ETH-BTC",
"ETH-GBP"
]
},
]
}

Interesting...
I literally just copied your object verbatim and ran it in my code... No luck.  I get the following output:
{ type: 'received',
21:23:09 web.1   |    order_id: '34ccd747-a7a3-446c-937a-9c70b64502ff',
21:23:09 web.1   |    order_type: 'limit',
21:23:09 web.1   |    size: '11.00000000',
21:23:09 web.1   |    price: '0.00739000',
21:23:09 web.1   |    side: 'sell',
21:23:09 web.1   |    client_oid: 'b1b9aa70-318d-d784-43bb-ce288c1d2bb6',
21:23:09 web.1   |    product_id: 'LTC-BTC',
21:23:09 web.1   |    sequence: 292121285,
21:23:09 web.1   |    time: '2017-11-06T02:22:50.669000Z' }
Did you do anything else in particular prior to sending that subscribe request to the exchange?

I'll take a look this evening - what are you using client side? If you're using React there is a simple Websocket component that may help:  https://github.com/mehmetkose/react-websocket

Mmm. I did a clean install of gdax NPM package and it does not match the github one. Checked in my node_modules directory and the source code is older than the github.

@kartojal I'll have to try that.  Thanks guys!

@kartojal  doing a fresh of coinbase/gdax-node did the trick.  Thanks!


LED animations on start-up not working

Figure out a sane way to handle LED animations on start-up. Current code is commented out.

Should work again with https://github.com/paradajz/OpenDeck/commit/484c65e8dc2b42024847ded10bb51cfb5fad5418, although it could probably be improved at some point.


docs(api): update docs for complex liquid handling commands

overview
Some users have noticed inconsistencies in the Complex Liquid Handling commands doc. For example, it seems that some of the printouts were generated from OT-One API. @ethanfjones and I made these edits together
changelog
Update tip rack load name from tiprack-200ul to opentrons-tiprack-300ul
Change code and printouts:

Large Volumes

transfer volumes in the printout were inconsistent with our current API

Multiple Wells

old printouts reflects rows rather than cols as described in the command

One To Many

change code from rows('2') to cols('2')
update printout to reflect code

Few To Many

code previously reflected many to few (4 sources & 2 dests) rather than few to many
update to OT-2 printout

Consolidate

change code from rows('2') to cols('2')  and update printout

Distribute

introduce default disposal volume in description
change code from rows('2') to rows('B') and update printout

Update printouts ONLY:

List of Volumes
Volume Gradient
Disposal Volume
Always Get a New Tip
Never Get a New Tip
Trash or Return Tip
Touch Tip
Blow Out
Mix Before/After
Blow Out

review requests
Please check for correctness

I'm a little concerned that these examples are all about putting print statements in python protocols. That means you only see the output if you run the protocol directly, which is something we're trying to get away from since it won't work in API v2. Could we restructure the examples so that instead of having print statements, they look more like

Will have the steps
Transferring 100 from well A1 in "1" to well A2 in "1"
  Picking up tip well A1 in "2"
  Aspirating 100.0 uL from well A1 in "1" at 1 speed
  Air gap
  Aspirating 20 uL from well A1 in "1" at 1.0 speed
  Dispensing 20 uL into well A2 in "1"
  Dispensing 100.0 uL into well A2 in "1"
  Dropping tip well A1 in "12"

That way we don't incentivize directly running protocols.


the display option on CLI doesn't work

regression
mediaconch -d really_excited_to_test_my_custom_display.xsl -p policy.xml dramatic.mov

If a display is used, no other output format can be used

:-/

regression? What was the previous behavior?
From my point of view it is the expected behavior: display option is the output format config.

iirc before the user could create their own display and call it with -d. Now there is a warning, so only internal displays are possible to use.

workaround: add " -fx" to the command line.

updated the title.


Refactor rename workload schedule policy to workload policy

Rename workload schedule policy to workload policy,  main changes are in the following aspects:
1 rename metadata class, this may cause upgrade failed if user config policy.
2 rename thrift class.
3 rename schema table from workload_schedule_policy to workload policy.

run buildall


Make Startables#deepStart always iterate sequentially

The Startables#deepStart doesn't sanitize the Stream parameter which makes the method exposed to a bug when receiving a parallelized Stream<Startable instance.
Ideally, I'd replace Stream<Startable> with Set<Startable> but the public API needs to be respected - consider deprecation.
The test is non-deterministic when it comes to exposing a bug.

@pivovarit nice one, thanks! Merged 👍


Remove Section 0 in "sections" and "section_details"

Asselamu Aleykum,
Maybe removing Section 0 except in "Sahih Muslim" and "Sunan ibn Majah" is a good idea because there is no need for that.
For example in "Jami at Tirmidhi" its even more confusing because "sections" starts with 0 while "section_details" starts with 1

Jazakallah,  I have updated the values for section_details 0, should be fixed now.
let me know if there is any other issue


Update docs

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 100.00%. Comparing base (7195bd0) to head (358b58a).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #151   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           48        48
  Lines         1117      1117
  Branches       127       127
=========================================
  Hits          1117      1117

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


Half-precision (SEW=16) floating-point support

There is great current interest in half-precision floating-point, either in IEEE FP16 or bfloat16 format.  The vector spec already has encoding space for these typesl,  but the scalar support for half-precision needs to be defined first.

half-precision-floating-point.pdf
Attached is the instruction encoding for half-precision floating-point instructions. The highlighted instructions of FCVT.H.D and FCVT.D.H are the conversion instructions that I am not sure if they will be defined or not. I think they should be defined to reduce the conversion precision loss of using two conversion instructions using single-precision as an intermediate step.

There is still some debate as to which form this extension should take: in particular, it might be better to provide widening ADD/MADD in addition to, or instead of, the basic H instructions.

Can we define/ratify the base scalar H instructions first and then maybe define those widening/narrowing instructions as an optional extensions covering all H/S base extensions to make the base set consistent across H/S/D?

Please also consider and define the effect of this on the privileged architecture. How is the presence of half-precision indicated in the misa register, for example? (the H bit is already allocated for another purpose).

To support half-precision in the vector unit, it is probably sufficient to define a small subset of the half-precision FP instructions (Zfhmin?), namely FLH, FSH, FMV.X.H, FMV.H.X, FCVT.S.H, FCVT.H.S. FLH and FMV.H.X would NaN box out to FLEN. FSH would ignore high bits as with other FS* instructions. FMV.X.H would sign extend to XLEN (for symmetry with fmv.x.w). I believe someone asked for this subset a while back.
For processors that want to more fully support scalar half-precision (Zfh?), we can have a separate extension to add these instructions with H format.  However, when providing fuller support, a widening mul-add will really be needed, as it is rare to want to perform half mul-add into half-precision accumulator (in fact, that might be explicitly omitted as required in extension).  One thought is to use one of the unused rounding modes to encode "widening with dynamic rounding mode".  So the muladd instructions could also be used to encode singlesingle+double->double as well as halfhalf+single->single.  Similarly, the same encoding for multiply would mean N*N->2N, but for add/subtract could mean 2N+/-N->2N.  Another pattern for add is N+/-N->2N, but I think this is maybe not useful enough to have separate encoding as opposed to synthesizing with converts.
@jhauser-us ?

To support half-precision in the vector unit, it is probably sufficient to define a small subset of the half-precision FP instructions (Zfhmin?), namely FLH, FSH, FMV.X.H, FMV.H.X, FCVT.S.H, FCVT.H.S.

That's certainly one option.  I don't have an opinion whether we need a Foundation-sanctioned minimal subset for half-precision, so I'll leave that one for others to fight over.  But I agree with the behaviors you describe.

However, when providing fuller support, a widening mul-add will really be needed, as it is rare to want to perform half mul-add into half-precision accumulator (in fact, that might be explicitly omitted as required in extension).

We probably need to require the non-widening version of fused multiply-add.  Since RISC-V doesn't support odd rounding, there won't be an easy way to properly synthesize a half-precision fused multiply-add from the other instructions.  When a source language like C has both a half-precision floating-point type (short float?) and a fused multiply-add function (fma), it's reasonable for a programmer to expect  fma on half-precision data not to be more than an order of magnitude slower than single-precision.

One thought is to use one of the unused rounding modes to encode "widening with dynamic rounding mode".

Although I'm not wild about this idea, I have to agree it would be the best way to extend the existing scalar floating-point instructions to include those widening functions.  If we do this, I recommend using rm code 110, giving us this set of possible new instructions:
 rs3  10  rs2   rs1  110  rd   1000011   FMADD.S.H
 rs3  10  rs2   rs1  110  rd   1000111   FMSUB.S.H
 rs3  10  rs2   rs1  110  rd   1001011   FNMSUB.S.H
 rs3  10  rs2   rs1  110  rd   1001111   FNMADD.S.H
00000 10  rs2   rs1  110  rd   1010011   FADD.S.H
00001 10  rs2   rs1  110  rd   1010011   FSUB.S.H
00010 10  rs2   rs1  110  rd   1010011   FMUL.S.H

 rs3  00  rs2   rs1  110  rd   1000011   FMADD.D.S
 rs3  00  rs2   rs1  110  rd   1000111   FMSUB.D.S
 rs3  00  rs2   rs1  110  rd   1001011   FNMSUB.D.S
 rs3  00  rs2   rs1  110  rd   1001111   FNMADD.D.S
00000 00  rs2   rs1  110  rd   1010011   FADD.D.S
00001 00  rs2   rs1  110  rd   1010011   FSUB.D.S
00010 00  rs2   rs1  110  rd   1010011   FMUL.D.S

 rs3  01  rs2   rs1  110  rd   1000011   FMADD.Q.D
 rs3  01  rs2   rs1  110  rd   1000111   FMSUB.Q.D
 rs3  01  rs2   rs1  110  rd   1001011   FNMSUB.Q.D
 rs3  01  rs2   rs1  110  rd   1001111   FNMADD.Q.D
00000 01  rs2   rs1  110  rd   1010011   FADD.Q.D
00001 01  rs2   rs1  110  rd   1010011   FSUB.Q.D
00010 01  rs2   rs1  110  rd   1010011   FMUL.Q.D

Feel free to hate on my proposed mnemonics.

I wrote:

Since RISC-V doesn't support odd rounding, there won't be an easy way to properly synthesize a half-precision fused multiply-add from the other instructions.

On further thought, I believe (not completely certain) that doing the computation in double-precision and rounding back to half-precision avoids any double-rounding error.  However, I wouldn't want to assume that every RISC-V core that supports half-precision will also implement double-precision.  Seems to me that single-precision + half-precision would be a reasonable choice for some embedded cores.

Since RISC-V doesn't support odd rounding, there won't be an easy way to properly synthesize a half-precision fused multiply-add from the other instructions.
Is this a new issue that arises due to adding half-precision support? Or, is this a pre-existing issue with the scalar fused multiply-add instructions? Put another way, how are SP and DP fused multiply-add instructions currently synthesized from other instructions?

Scalar IEEE FP16 support is being added to the architecture (as Zfh) to enable adding support for FP16 to the vector extension.  What is the plan for adding scalar bfloat16 support (to then enable adding vector bfloat16 support)?

I wrote:

Since RISC-V doesn't support odd rounding, there won't be an easy way to properly synthesize a half-precision fused multiply-add from the other instructions.

kdockser:

Is this a new issue that arises due to adding half-precision support? Or, is this a pre-existing issue with the scalar fused multiply-add instructions? Put another way, how are SP and DP fused multiply-add instructions currently synthesized from other instructions?

The standard RISC-V set of single-precision floating-point instructions includes an instruction for single-precision fused multiply-add.  Likewise for double-precision.  Hence, there's never a need to synthesize fused multiply-add for single-precision, or for double-precision, out of other instructions, unless no floating-point instructions exist for the format in question, causing all floating-point operations to be synthesized for that format.
Krste suggested making half-precision different in this regard, omitting a purely half-precision fused multiply-add from the set of RISC-V instructions for half-precision.  That's why the ability to synthesize a fused multiply-add operation specifically became a concern for half-precision, but not for single-precision or double-precision.

Scalar IEEE FP16 support is being added to the architecture (as Zfh) to enable adding support for FP16 to the vector extension. What is the plan for adding scalar bfloat16 support (to then enable adding vector bfloat16 support)?

One school of thought (in which I happen to share) is that the possible format variations are much too numerous to permit a complete set of distinct encodings in the 32-bit instruction format.  Besides bfloat16, there are requests also for posits, and there will be more.  This school believes the only way to satisfy the demands for all these different formats, other than larger instructions, is to have CSR mode bits to choose, for example, IEEE-Standard 16-bit floating-point versus bfloat16, just as frm chooses the dynamic rounding mode.
There are additional complications, such as whether and how posits will mimic NaN-boxing.  For bfloat16, there's a question of whether subnormals will be implemented, given that existing implementations apparently disagree on this point.  If compatibility is important to both camps, it may even be necessary to define two bfloat16 formats, one with subnormals and one without.  (I'll be happy to leave those debates to others.)

Consensus in last task group meeting was that there are (at least) three levels of  half-precision support:

min set described above
obvious set including existing FP instructions with format field set to "half" (fmt=10)
expanded set including widening mul-add and maybe others

Brain floating-point format is very useful, could just copy Zfh extension spec to bfp16?

Decision was made to not include half-precision by default in initial standard vector  extensions, so labeling this as a post v1.0 issue.

hi all,
is there any follow-up on brain float (bf16 or bfloat16) support discussion?


Initial DeltaLake Integration [FIX]

Initial DeltaLake Integration
Features

[x] Local Setup: Configure DeltaLake to run locally.
[x] Multiple Table Synchronization: Support synchronization for multiple tables.
[x] Data Rewriting on Restart: Ensure data is rewritten if the process is restarted.
[x] Additional Columns:

Add an OP column to every table in DeltaLake to indicate the type of operation (insert, update, delete).
Add a pg_replicate_inserted_time column to record the timestamp when data is added to DeltaLake.

Notes

This implementation aims to provide a foundational setup for integrating DeltaLake into the system.
Further enhancements and optimizations will be made in subsequent iterations.

All CDC processes are captured in DeltaLake, with an added 'OP' column to simplify the next steps for users.

Another thing is to probably create a new branch in your fork (instead of committing on main) because it makes it easy for me to commit directly to the branch (main conflicts with my local main so makes it tedious for me to correct mistakes in your branch)


How can I init props with

Version
3.0.0
Reproduction link
https://jsfiddle.net/r3dge1o7/
<script setup="props" lang="ts">

type HiButtonType = 'primary' | 'warning' | 'default';

declare const props: {
  type?: HiButtonType;
};
props.type = props.type || 'primary';
</script>

Steps to reproduce
declare const props:{type: string};
props.type = props.type || 'test';
What is expected?
cant init props column.
What is actually happening?
How init prop?

Hi, thanks for your interest but Github issues are for bug reports and feature requests only. You can ask questions on the forum, the Discord server or StackOverflow.

https://github.com/vuejs/rfcs/blob/sfc-improvements/active-rfcs/0000-sfc-script-setup.md#with-typescript

Hi, thanks for your interest but Github issues are for bug reports and feature requests only. You can ask questions on the forum, the Discord server or StackOverflow.
https://github.com/vuejs/rfcs/blob/sfc-improvements/active-rfcs/0000-sfc-script-setup.md#with-typescript

Thanks, But not just a question. Now is strange to define a default value for props. finally, I only define a default CONST and add a lot of redundancy logic in

`


Ignore Timestamp modifications

Hi there,
Content Checker works great, thanks!
but I receive many false positives because of the timestamp being updated, triggering a notification.
To be clear, I get emails because the post date changed from "Posted 1 hour ago" to "Posted 2 hours ago"
Is there a way to ignore such modifications?

You will need to just set up a more targeted selector so it does not include this text


Add debug logging to odo.

This was something that I added to an old fork I had of odo.  I found it useful for understanding the route of transformations in odo and it also helped me understand an issue that I was having at the time.
Is logging like this something that is desirable for odo?  The log will record the route that odo took transforming from source to destination.
In [1]: import odo

In [2]: import logging

In [3]: import pandas as pd

In [4]: logging.basicConfig(level=logging.DEBUG)

In [5]: a = list(range(10))

In [6]: odo.odo(a, pd.DataFrame)
DEBUG:odo.core:[list -> ndarray] list_to_numpy ({'dshape': dshape("10 * int64")})
DEBUG:odo.core:[ndarray -> DataFrame] numpy_to_dataframe ({'dshape': dshape("10 * int64")})
Out[6]:
   0
0  0
1  1
2  2
3  3
4  4
5  5
6  6
7  7
8  8
9  9

Since the path is calculated before the loop, an alternative approach would be to log the path before traversing it.  Though as far as performance goes, my initial impression is the calls to various conversion functions would far outweigh overhead from calls to the log.

I've done some simple (very simple) benchmarking/profiling.  Yes, logging does add some overhead.  If we are logging below the log level, each log call results in three function calls.  getEffectiveLevel  is probably the most expensive call (has a while loop that traverses the current logger and all its parents), the other two seem to be relatively cheap.  I don't think any of odo's paths even approach 100 hops in length.
I think my alternative solution will sidestep much of this overhead.  Logging should be fine if we avoid calling it in the loop.  Thoughts?
import logging
log = logging.getLogger(__name__)
loops = 100
def withlogging():
    y = 0
    for x in range(loops):
        log.debug("This is a debug message %s", x)
        y += 1

def outlogging():
    y = 0
    log.debug("This is a debug message %s", loops)
    for x in range(loops):
        y += 1

def withoutlogging():
    y = 0
    for x in range(loops):
        y+= 1

(no configuring of logging level)
>>> %timeit withlogging()
10000 loops, best of 3: 109 µs per loop
>>> %timeit withoutlogging()
100000 loops, best of 3: 4.52 µs per loop
>>> %timeit outlogging()
100000 loops, best of 3: 5.84 µs per loop
>>> %prun withlogging()
        304 function calls in 0.000 seconds

   Ordered by: internal time

   ncalls  tottime  percall  cumtime  percall filename:lineno(function)
        1    0.000    0.000    0.000    0.000 withlog.py:5(wlogging)
      100    0.000    0.000    0.000    0.000 __init__.py:1515(isEnabledFor)
      100    0.000    0.000    0.000    0.000 __init__.py:1501(getEffectiveLevel)
      100    0.000    0.000    0.000    0.000 __init__.py:1257(debug)
        1    0.000    0.000    0.000    0.000 {built-in method builtins.exec}
        1    0.000    0.000    0.000    0.000 <string>:1(<module>)
        1    0.000    0.000    0.000    0.000 {method 'disable' of '_lsprof.Profiler' objects}
>>> %prun withoutlogging()
         4 function calls in 0.000 seconds

   Ordered by: internal time

   ncalls  tottime  percall  cumtime  percall filename:lineno(function)
        1    0.000    0.000    0.000    0.000 {built-in method builtins.exec}
        1    0.000    0.000    0.000    0.000 withlog.py:12(wologging)
        1    0.000    0.000    0.000    0.000 <string>:1(<module>)
        1    0.000    0.000    0.000    0.000 {method 'disable' of '_lsprof.Profiler' objects}
>>> %prun outlogging()
        7 function calls in 0.000 seconds

   Ordered by: internal time

   ncalls  tottime  percall  cumtime  percall filename:lineno(function)
        1    0.000    0.000    0.000    0.000 withlog.py:17(outlogging)
        1    0.000    0.000    0.000    0.000 {built-in method builtins.exec}
        1    0.000    0.000    0.000    0.000 __init__.py:1257(debug)
        1    0.000    0.000    0.000    0.000 <string>:1(<module>)
        1    0.000    0.000    0.000    0.000 __init__.py:1515(isEnabledFor)
        1    0.000    0.000    0.000    0.000 __init__.py:1501(getEffectiveLevel)
        1    0.000    0.000    0.000    0.000 {method 'disable' of '_lsprof.Profiler' objects}

I left the log.debug call in the for loop for now.
Profiling script:
import timeit
import sys
size = int(sys.argv[1])
L = bool(int(sys.argv[2]))
setup = """
import pandas as pd
import odo
a = list(range({size}))
""".format(size=size)
if L:
    setup += """
import logging
logging.basicConfig(level=logging.DEBUG)
    """
print(min(timeit.Timer('odo.odo(a, pd.DataFrame)', setup=setup).repeat(3, 100)))

timeit(3 runs, 100 loops)
Without logging; 1 element list: 0.028983428986975923
With logging; 1 element list: 0.044214145993464626
Without logging; 1000 element list: 0.17156852400512435
With logging; 1000 element list: 0.2162286880047759
Without logging; 10,00 element list: 1.4230129049974494
With logging; 10,000 element list: 1.6954851780028548

These changes look good, could you rebase? After the ci runs on the rebase I will merge.

I'll rebase hopefully this weekend.


Unhandled error: TypeError: Cannot read properties of undefined (reading 'html_url')

Describe the bug
GitHub Actions fails when the job name includes spaces or other unallowed characters.
Can be fixed by sanitizing the job name.
Screenshots

Additional context

One of the complicating factors here is that the job name is used as a unique identifer, while GitHub Actions currently does not expose this job property consistently, as raised here.
That being said, I'll see to partial matching so that both matrix and regular jobs are served reliably. If a custom name is supplied and there's no way to reconcile it, then fallback on the first job of a workflow so that this step never fails.

Shipped in v11.0.0 :rocket:


gen, protos: 0.3, single cert

This adds a new oneof variant to VerificationMaterials.contents that specifically encodes a single X.509 leaf certificate. This ratchets down (soft) invariants that were previously documented on the x509_certificate_chain member.
In the process, it also bumps the bundle version (0.3) and moves some documentation around.
Closes #190.

In terms of procedure, should we merge here and let 0.3 live on main? I figure that's fine since it won't be tagged or released anywhere yet, but just confirming 🙂


chore: Update dependencies and remove unused files

The Docker and UI versions of the playground, previously available, have been removed due to a reported security issue. While these features may be reintroduced in future updates, developers are encouraged to extend the application to create their own UI and Docker deployments.

Reviewed and approved


[Feature request]: Allow to specify path to a generated sprite

This feature request is mostly related to an issue with CORS described here
I need some way to change the default location of the generated sprite in order to be able to put it in a static folder and point to it with a same-origin URL

It can be specified by using publicPath inside svgSprite settings like so:
svgSprite: {
    publicPath: '/_nuxt/'
  }

closing issue