CGImage Rendering problem

HI!. I had a problem with the image rendering in MTIImageView. 1 - I load CGImage from URL. I get an error with some images - NSLocalizedDescription=Image decoding failed, MTKTextureLoaderErrorKey=Image decoding failed. (I attached this file it's called - error_image.PNG). Some images are rendered but not correctly. (I attached this file it's called - problem_image.HEIC). problem image I loading using this code - MTIImage(cgImage: cgImage, options: [:], isOpaque: true). I made a screenshot of this problem, see below.

I attached all the original resources in the archive.
resources.zip
I ran some tests and found out if I create - 1 - CIImage from my CGImage and 2 - init MTIImage from CIImage.  In all cases, everything works well. I think that I should show certain parameters in MTIImage (MTKTextureLoaderOption)  options Can you please tell me if this is a problem?

The first image has 16 bit color depth and the MTKTextureLoader can not decode the image. So MTKTextureLoaderErrorKey=Image decoding failed is reported.
The second image looks fine on my iPhone X running iOS 12.3.1. The MTIImage is created from a cgImage which is created from an UIImage.

You can resolve these kind of problems by implementing your own texture loader by conforming to the MTITextureLoader protocol. An example is MTITextureLoaderForiOS9.
For the MTKTextureLoaderOption, if you do not know what is sRGB and linearRGB and how to use them in a reasonable way, you the [.SRGB: false] option is recommended.

Thank you very much!

@YuAo I just faced with the same issue as for the second picture ("blued" image) that @alyfreym. So that my image is also "blued", after applying any MTIFilter
My input parameters are as recommended
MTIImage(
  cgImage: cgImage,
  options: [.SRGB : false],
  isOpaque: true
)

See affected CGImage print info below:
<CGImage 0x10a4c9500> (DP)
	<<CGColorSpace 0x2838121c0> (kCGColorSpaceICCBased; kCGColorSpaceModelRGB; sRGB IEC61966-2.1)>
		width = 375, height = 375, bpc = 8, bpp = 32, row bytes = 1504
		kCGImageAlphaPremultipliedFirst | 0 (default byte order)  | kCGImagePixelFormatPacked
		is mask? No, has masking color? No, has soft mask? No, has matte? No, should interpolate? Yes

After some investigation I've found that the issue occurs with the following CGImage properties: kCGImageAlphaPremultipliedFirst | 0 (default byte order)  | kCGImagePixelFormatPacked
Wrap into CIImage works fine, except it really slows the performance. It's not acceptable for our application since we apply range of MTIFilter at once on e.g. slider change.

@YuAo I've solved the issue by converting from kCGImageAlphaPremultipliedFirst to kCGImageAlphaPremultipliedLast. It would be great doing it on the library level.
PS. Strange fact that issue disappears after copying the affected image into another Photo library.

It looks that kCGImageAlphaPremultipliedFirst is not the only reason. (default byte order) also causes the problem

We wanted to build the texture loading system as thin as possible, so most of the texture loading in MetalPetal is done by MTKTextureLoader directly.
As more and more issues raise (#147 #95 #133 #26 ). I think it's time to consider a fallback mechanism.
@larryonoff
For now, you can replace the texture loader in MetalPetal by setting the defaultTextureLoaderClass:
MTIContextOptions.defaultTextureLoaderClass = CustomTextureLoaderClass

Your texture loader needs to conform to the MTITextureLoader protocol.
Here's a reference implementation: https://github.com/MetalPetal/MetalPetal/blob/717360e71745df73a3bd2c65e6373143de83a260/Frameworks/MetalPetal/MTITextureLoaderForiOS9.m

@YuAo thank you for the reply! Looking forward for the updated default texture loader

We wanted to build the texture loading system as thin as possible, so most of the texture loading in MetalPetal is done by MTKTextureLoader directly.
As more and more issues raise (#147 #95 #133 #26 ). I think it's time to consider a fallback mechanism.
@larryonoff
For now, you can replace the texture loader in MetalPetal by setting the defaultTextureLoaderClass:
MTIContextOptions.defaultTextureLoaderClass = CustomTextureLoaderClass

Your texture loader needs to conform to the MTITextureLoader protocol.
Here's a reference implementation: https://github.com/MetalPetal/MetalPetal/blob/717360e71745df73a3bd2c65e6373143de83a260/Frameworks/MetalPetal/MTITextureLoaderForiOS9.m

It worth to send a bug report to Apple


Fan running harder than necessary

Fan ran at 90% the whole drive despite temp being under control
d8c29d6d5f6077a2/00000011--fc7993f8d1/17

unable to look at route since it's not set to public access


WeatherAgent: DarkSky API support ending in 2021

https://blog.darksky.net./dark-sky-has-a-new-home/
DarkSky will be shutting down it's API in 2021. As a user I want to be able to continue to use the weather agent even after the DarkSky API shuts down.

[ ]  Select and implement a new weather data provider.
[ ] Add warning that the DarkSky weather provider is depreciated and will not function after 2021.
[ ] Remove the DarkSky weather provider when the API is shut down

cf #2732.

Closed as duplicate of #2732


Long message PDU Invalid error

HI I have been trying to send longer messages with length more then 254. I tried UCS_16 and yet I receive the error. Is their a way to send longer messages without splitting them.

Hi, do you have some logging to share? Did you put the long message in the short_message or in the optional payload parameter?

I committed the fix in DefaultPDUSender which replace the null valued shortMessage with new byte[]{}.


Change Background Image

Hi! Is it possible to change de background image when swipe to another page?

@MAK4S Is this still an issue for you? Would love your input on how you were able to solve this. Thanks!

@rlam3 I subclassed this project here and got the fading background image effect. Obviously, you'll need to fill in the detail pertinent to your app, but just replicate the stuff I did and you should be good.


Line 194 not exists or not cached

Since updating wiremod(July3), this bug emerged when i double click on the function at the first screenshot as you know.
i have no idea. help..
Line 194 not exists or not cached
[Wiremod] lua/wire/client/text_editor/texteditor.lua:153: bad argument #1 to 'ipairs' (table expected, got nil)

ipairs - [C]:-1
GetCharPosInLine - lua/wire/client/text_editor/texteditor.lua:153
3. PaintHighlightedAreas - lua/wire/client/text_editor/texteditor.lua:812
4. unknown - lua/wire/client/text_editor/texteditor.lua:932

Try updating again, if that still doesn't resolve the issue then it might be due to @Vurv78 's https://github.com/wiremod/wire/pull/2344

GetCharPosInLine was added by the pr, they need to update.
https://github.com/wiremod/wire/blob/016b5f59a1d40fcf003b1c70d9f8b74ca59f7dfd/lua/wire/client/text_editor/texteditor.lua#L153
Plus my pr only changed 3 lines in a different file
https://github.com/wiremod/wire/blob/016b5f59a1d40fcf003b1c70d9f8b74ca59f7dfd/lua/wire/client/text_editor/modes/e2.lua#L345-L347
which already mimic the above lines https://github.com/wiremod/wire/blob/016b5f59a1d40fcf003b1c70d9f8b74ca59f7dfd/lua/wire/client/text_editor/modes/e2.lua#L342-L343

Closing with the other issues since the changes that caused this were reverted.


[Test-Proxy] BodyRegexSanitizer should not apply for binary content types

If the body has a text content type, SanitizeTextBody will be called. If the body doesn't have a text content type, SanitizeBody will instead be called. In this method, we are assuming the bytes are UTF-8, which is usually not correct. We should be able to rely on the ContentType being set correctly and simply not override the SanitizeBody method here as we don't know how to sanitize a non-text body based on the inputs to BodyRegexSanitizer.

/cc @scbedd


[Feature Request]: What about bottom navigation?

Description
I am looking to use this library for my pwa app. Can we have bottom navigation?
Code of Conduct

[X] I agree to follow this project's Code of Conduct
[X] I checked the current issues for duplicate requests

Hi @stockarea,
At the moment we don't have plans for such a feature, so your best path forward is to implement a custom component on your end. Our design tokens might help you keep consistency within the system.


Shield of Repulsion Repulses Mana Spreader Projectiles

Basically the The Aether's Shield of Repulsion repulses / redirects a Mana Spreaders projectile. Not sure about the consequences, it does delay the spreader but i am unsure on if it wastes that shot of mana
I'd upload a gif but the program i used records them way too large. (way over the 10mb limit here)

It is actually pretty cool looking although it did almost cause issues with my bore lenses breaking things they shouldn't, definitely wasted alot of Mana.
However because the Mana blaster can be used for pvp this is probably intended behavior.

not really a bug. Mana pulses are projectiles, and the shield is just deflecting them like all projectiles.


Improve API doc: updating keyUsages does not trigger a cert re-issuance

Currently, cert-manager does not re-issue a certificate when the spec.keyUsage is changed. Until we do fix this limitation, I suggest that we document this unexpected behaviour. This has been raised in #4459 and detailed in https://github.com/jetstack/cert-manager/issues/4245#issuecomment-920010215.
Closes https://github.com/jetstack/cert-manager/issues/4459.
/kind documentation
/area api
NONE

Seems unambiguously good to document this and I trust you that it's correct, thank you :+1:
/lgtm

/hold
Slack discussion seems to suggest this isn't correct

My apologies, I got totally confused due to https://github.com/jetstack/cert-manager/issues/4459 that was suggesting that it was an undocumented behavior, but it turns out updating usages does re-issue the certificate (unless the old CertificateRequests have been removed for some reason).


校验aliyun eip带宽范围

这个 PR 实现什么功能/修复什么问题:
校验aliyun eip带宽范围
是否需要 backport 到之前的 release 分支:

release/2.9.0
release/2.8.0

/cc @swordqiu @yousong

Codecov Report

Merging #921 into master will decrease coverage by 0.02%.
The diff coverage is 0%.

@@            Coverage Diff            @@
##           master    #921      +/-   ##
=========================================
- Coverage    7.66%   7.63%   -0.03%
=========================================
  Files         356     356
  Lines       55208   55210       +2
=========================================
- Hits         4231    4218      -13
- Misses      50580   50593      +13
- Partials      397     399       +2

Flag
Coverage Δ

#aFlag
7.63% <0%> (-0.03%)
:arrow_down:

Impacted Files
Coverage Δ

pkg/compute/guestdrivers/aliyun.go
5.81% <0%> (-0.14%)
:arrow_down:

pkg/util/rbacutils/rabc.go
69.69% <0%> (-4.17%)
:arrow_down:

pkg/appsrv/response.go
66.15% <0%> (-3.08%)
:arrow_down:

Continue to review full report at Codecov.

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

/cherrypick release/2.9.0

/cherrypick release/2.8.0

/lgtm
/approve


The layer cake diagram is incomplete

The presentation proposal needs a PE definition or else it's not proposing anything. I couldn't fork https://whimsical.com/XpEytT4XtKFDPSyHYP3JVj since I don't have access @bumblefudge

I also think we should include what direction each of the messages is going and label who is the prover and verifier unless that's now what this diagram is supposed to do. It's at the top of the document though so people who land here should be able to get what this spec does on that first impression

Whoops, sorry about the permissions, shared the file live on the call and checked the wrong box.  should be forkable now

Here's a mockup, which you should hopefully be able to fork and PR now:

yeah there should be an attachment I think or else theres no communication of what they are proposing.
it needs to be added here when we know what it is https://github.com/decentralized-identity/waci-presentation-exchange/pull/41
if that's the case what about something like this?

Way better, let's merge either with or without that msg 0 attachment as soon as #41 is decided (sorry I don't understand well enough to help with #41)

added to #41

discussed on Jun 21 call.
the propose message doesn't have an attachment it is simply a "i want to present something" message


Don't add config directory as volume

Hey everyone.
So, by default the config directory is configured to be a volume. I'd much rather bake the configuration into my own image which I derived from this one. But I can't add files to the config directory, because docker doesn't save changes made to a directory in an image after that directory was marked as a volume. Hence I can't put my own configuration or even the translations into my image, I would HAVE to put those on my host and mount that volume.
I know that I can actually change the config directory path using defines.php, and I tried that. But this breaks for TinyMCE translations because the path for those is hardcoded.
So instead of doing that I'd prefer to be able to change the contents of my config directory in my own image.
If the VOLUMES configuration was removed from the Dockerfile it would still be possible to mount that directory if people want that.

Fully agree with all your opinions, same situation here.
I also implemented the workaround of using a custom defines.php to move the config volume, then mounting a tmpfs volume to the original location defined in the Dockerfile. This at least eliminates the volume that is not used anyway and avoids some confusion.
I wasn't aware of this breaking anything as I didn't configure any languages...


Add example demonstrating new buffer_geometry helper function

Function was added in https://github.com/gboeing/osmnx/pull/1214

Example added in #97.


Revert "Skip tester owned nodes when considering best moves"

Reverts vespa-engine/vespa#11347
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.0:compile (default-compile) on project node-repository: Compilation failure
[ERROR] /Users/musum/git/github/vespa-engine/vespa/node-repository/src/main/java/com/yahoo/vespa/hosted/provision/maintenance/Rebalancer.java:[102,71] illegal start of expression

_< GitHub suggestions FTL.

Let me just put this in the PR I'm working on now


AVFoundation issues - Can't play URLs from firebase

Hi! I am having an issue trying to play a video that I get from Firebase.
Error:
Error Domain=AVFoundationErrorDomain Code=-11828 "Cannot Open" UserInfo={NSLocalizedFailureReason=This media format is not supported., NSLocalizedDescription=Cannot Open, NSUnderlyingError=0x600003f987b0 {Error Domain=NSOSStatusErrorDomain Code=-12847 "(null)"}}
According to apple, Code= -11828 is The system can’t open the file because it’s in an unrecognized format.
I couldn't find what Code=-12847 is.
These video urls don't come with the extension of the file, like .mov or .mp4. I tried to apply it manually without success.
They work on browser and they work when I try to use AVPlayer.
Any idea of what might be going wrong?
I really want to use this library as it's very complete and well done :)
I'm sorry I can't give you any links, but I can give you any other information that could help.
Thanks!

You can check if response.mimeType matches "video/..."

I'm facing the exact same problem! I'm providing a public URL of a video/mp4 file and it throws this error!


Fix xml annotation and customization check

This PR fixes the XML annotation generated for model properties when enable-xml flag is set. This also fixes an issue where the customization post-processor will fail if the customization class, jar and readme don't exist. The change is to check if the customization-class property is set when running the generator and skip customization if it's not set.
Fixes https://github.com/Azure/autorest.java/issues/880

Looks like you need to regenerate?

Looks like you need to regenerate?


Testing GitHub Issue to DevOps Bug automation

Thanks for reporting - this issue is under review.  This is a Microsoft Internal DevOps Bug ID AB#175658

testing complete


[Feature] Enable PWA for the site

Description
I can make this site a Progressive Web Application so users can install it as an application into their devices and access it directly through the app icon. It also gives the capability to browse the site online by pre-downloading and storing assets without compromising in quality and quantity.
Screenshots
No response
Checklist

[X] I have checked the existing issues.
[X] I have read the Code Of Conduct
[X] The changes don't break the code
[X] Please attach the screenshots and video of the development work once it is done

The pull request has been merged and closed so I will close the issue now @swaraj-das


Update network-security.md

Updated limits on number of CIDR ranges for Firewall.

@ravijan : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Hi @ravijan - This pull request was opened in the public repo. PMs should work in the private repo, per the Microsoft Docs contributor guide. Would you make this content update in the private repo instead? Thank you! We'll close this PR.


_theming.scss: add !default to global vars to allow customization

Feature Description
When creating a new theme object we are able to control part but not all colors.
e.g. $dark-dividers which are part of a $foreground map are not customizable by default and needs a little workaround to actually make changes to it.
with sass new module system this can be achieved way more declaratively and easily, but variable such as $dark-dividers will need a !default attribute
Use Case
// _theming.proxy.scss
@forward "~@angular/material/theming" with (
  $dark-dividers: #979797
);

will apply the new color to dividers and provide a better customization options.

See https://github.com/angular/components/issues/3152#issuecomment-298454851
We have no plans to ever publish our internal Sass variables to npm or otherwise make them a public API. FWIW, the practice of overriding Sass variables is also forbidden in Google's internal Sass style guide because the pattern is brittle and hard to reason about; we prefer always exposing explicit mixin and function APIs for customization.


Consistency Matters

The randomness of the colon placement in this document exposes how
much of a disappointment the reviewer of the initial PR is.

@mbbx6spp review (:

+2


Get rid of deprecation warnings related to macros

Macros are an experimental feature of Scala and change from version to version. The difference between 2.10 and 2.11 is significant and causes a lot of warnings to be produced during compilation. Use similar compatibility layer as implemented in IScala.

Dropping Scala 2.10 helped a lot with this. One warning is still present. That's c.enclosingClass and it's unlikely it's going to be fixed anytime soon. Tried c.enclosingOwner, but couldn't make it sufficiently robust (allow only val x = column(...), no def, no bare value, etc.). I moved related code to core, so that this warning doesn't popup all the time.


Some questions about your paper

Hi, sorry for the distrubance again, I got some ambiguous points after reading your paper:

Do you train CLIP Controller and Restoration Model separtely or train they at the same time?
I saw you introduce learnable prompt at this line, which is smart. However, I notice you incorporate prompt_embedding by t = t + prompt_embedding, my question is why you integrate degradation type into time step, instead of  by cross attention like this x = attn(x, context=image_context).
For the NAFNet there's no time step, how did you integrate prompt_embedding into NAFNet?

Something I didn't find answer in your paper (or I missed), sorry for interrupting you. Thank you for your great work.

Hi,

I train the two models separately.
I directly add the prompt_embedding to time_embedding for model efficiency since we already have cross-attentions for the image_context.
For the modified NAFNet (with time embeddings), you can refer to the Refusion's code here.

Got it, thank you so much.😄


Update for latest Rust nightly

This allows hyper to compile on the Rust alpha release.
I've just done this as quickly as I could, so there are probably things that are done the wrong way, since I was more concerned about getting it to compile successfully and pass tests.
Also, what's the need for typeable? I don't see it being used anywhere, so I've removed it from the dependencies.

Amazing! I've been working on it too, but converting to associated types. I'll merge this, so that people can build, and then rebase against my assoc types work.


Changing FileUpload field state() does not refresh the field/FilePond on front-end

Package
filament/filament
Package Version
v3.2
Laravel Version
v10.0
Livewire Version
v3.x
PHP Version
PHP8.2
Problem description
I am trying to Upload a file from a URL using a Form Action. I download the file and save it to livewire-tmp directory and then update the FileUpload component state but it does not refresh the field state, hence there is no preview of the image.
However, the downloaded file is uploaded successfully and saved on form submission.
Expected behavior
Once the FileUpload field state is updated it should refresh the state on front-end ie. FilePond and show the preview of image as normal.
Steps to reproduce

Add this action to your FileUpload field

use App\Services\UrlUploadedFile

Forms\Components\FileUpload::make('avatar')
  ->image()
  ->hintAction(
      \Filament\Forms\Components\Actions\Action::make('upload_from_url')
          ->action(function (FileUpload $component) {
              $url = 'https://via.placeholder.com/150x150';

              $filePath = UrlUploadedFile::createFromUrl($url)
                  ->store('livewire-tmp', ['disk' => 'local']);

              $filePath = explode('/', $filePath)[1];

              $file = TemporaryUploadedFile::createFromLivewire($filePath);

              $component->state([$file]);
              // also tried
              // $component->state($file);
          })),

Open Admin panel and click on the upload_from_url action, It would not preview the image. However the field should refresh and show preview.

Now Save the form and it should show the preview.

Reproduction repository
https://github.com/mansoorkhan96/filament-playground
Relevant log output
No response

Maybe there should be a way to pass an absolute path to a method which programatically uploads the file?

Or maybe its not possible?
When the file is uploaded from browser, FilePond shows the preview from browser by adding it to its canvas. But when the file is uploaded from backend, filepond cannot show the preview unless its a public file

Filepond needs a path to the permanent storage, or a TemporaryUploadedFile object. I would store it permanently if I were you, and introduce a cleanup process for unused files.

Filepond needs a path to the permanent storage. TemporaryUploadeFile objects are only supported when Filepond initiates that upload process originally. I would store it permanently if I were you, and introduce a cleanup process for unused files.

Thanks for the response. Actually I am building a plugin for plugin idea, So i am trying to keep less code on user land.
If thats the way to do it: Suppose, if the file was stored to posts/featured_img/ and if the form was never submitted, How would it know if there are files that need to be cleaned up.

You would not have any records in the database that reference the file


ERROR: Command "python setup.py egg_info" failed with error code 1 in C:\Users\AppData\Local\Temp\pip-install-00z7sx8r\matplotlib\

I'm trying to download qstrader through the terminal, but when I type that code
pip install -r https://raw.githubusercontent.com/mhallsmoore/qstrader/master/requirements.txt
I encounter the egg_info error. Could anyone else help?

This probably failed while building matplotlib, this is not a bug in pipenv.
I think this stackoverflow question has the solution to your problem.

Thanks @mahmoudhossam


Mainnet karlsenhashv2

@lemois-1337
lint issues fixed
miner DAG OOM is still an issue. We'll have to find a workaround

Will fix the tests in a next PR series


Can't use in lists

When one try to use it in lists, the derised effect of autocomplete actually creates another bullet.
https://user-images.githubusercontent.com/13406988/141113004-d4e1e1fa-7594-48aa-a7e3-fc7343bde3fb.mp4

same for me too

up

Hi there! I had the same question, seems you have same problem, maybe this helps - https://github.com/Yeboster/autocomplete-obsidian/issues/22

Hi there! I had the same question, seems you have same problem, maybe this helps - #22

Yeah, that's the main problem, can't live without the outliner haha. Just found out about the "Various Complements" plugin that can also work with outliner and also have the ability to link to internal links


graph.node() is null

When using the default example, I get an error that graph.node(...) is null. It seems that the graph method is required?
d3.graphScroll()
    .sections(d3.selectAll('#sections > div'))
    .on('active', function(i){ console.log(i + 'th section active') })

Hmm... graph.node() is just used to get the height of the graph; if it doesn't exist I think graphBB.height could just be set to 0.
https://github.com/1wheel/graph-scroll/blob/gh-pages/index.js#L53-L56

Some check to see if graph exists would be good


base64 userdata encoding fix

Description

In the cloudstack UI fields get '<', '>' and '&' replaced by xml-entities
these are generic for all fields and hurt us in the case of userdata
this fix calls the existing method to reverse character replacements.
it also removes the ccs class that pretends to prevent special chars

Fixes: #3202
Types of changes

[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] New feature (non-breaking change which adds functionality)
[x] Bug fix (non-breaking change which fixes an issue)
[ ] Enhancement (improves an existing feature and functionality)
[ ] Cleanup (Code refactoring and cleanup, that may add test cases)

Screenshots (if appropriate):
How Has This Been Tested?

This has been tested by creating VMs in the simulator and checking the user_vm.user_data field contents

@blueorangutan package

@DaanHoogland a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

Packaging result: ✔centos6 ✔centos7 ✔debian. JID-2681

No backend tests needed, UI confirmation/test required.

@borisstoyanov I have tested this, but if you can confirm please.
btw travis does not like ACS at all anymore, i'll start a thread on dev@ to see how to fix that.

UI only change, LGTM.


[hi] Added hi/docs/tasks/tools/included/_index.md

Localizes

content/hi/docs/tasks/tools/included/_index.md

This PR is in continuation of hi localization effort: #29353
/language hi

/assign

/lgtm
/approve
Thanks @kaiwalyakoparkar :100:


Feature: Add dimensions validation for images (width x height)

Description
In this PR, I added a new Schema field to files (when creating/updating a collection), which allows users to specify "accepted" dimensions for images (width x height) uploaded by users.
When a user "upserts" a record, if this list of accepted dimensions is configured on the collection, then PocketBase checks the file's width/height to make sure these dimensions match at least one of the "accepted dimensions". (see screenshots)
This new validation only works on "image" files, it will fail if the uploaded file is not an image (the code uses the image standard library to get the dimensions of the image for the validation logic).
Also, I refactored test's "Mock" function to either create a text file (used in many tests) or an image file (added to the repository) with the dimensions 100x100. This allows me to test my validation logic, and will allow developers to test image uploads in the future.
Screenshots
UI when creating/updating a collection:

UI when validation failed when uploading an image that does not match the accepted dimensions set on the collection field:

Issues

Resolves https://github.com/pocketbase/pocketbase/issues/1266

Hi, I appreciate the effort, but please refrain creating PR for new features without previously discussing the implementation details (also please refer to https://github.com/pocketbase/pocketbase#contributing).
Currently https://github.com/pocketbase/pocketbase/issues/1266 is not planned and is not in the roadmap because I'm still not sure whether such validator is a good idea and how it will work.
At the moment it seems that if this validator is specified and the user tries to upload a file, it will always fail (because the decode will fail), even though the file is allowed in the mimetypes list.
We need first to decide:

do we really need such validator and is it clear being part of the file type field
do we want a fixed size validator or min/max width/height

I'll close the issue for now to prevent triggering notifications in case of new changes in master, but we can refer to it later in case we decide to include it.


Code analysis on active file is not running by default

Type: Bug
I have written my code in C and previously Vs code used to show errors in programme in real time, but now I have to manually use "Run code analysis on active file" to find errors.
Please tell me how to fix this issue.
VS Code version: Code 1.70.2 (e4503b30fc78200f846c62cf8091b76ff5547662, 2022-08-16T05:35:13.448Z)
OS version: Windows_NT x64 6.3.9600
Modes:

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-3210M CPU @ 2.50GHz (4 x 2494)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_renderer: enabled_onvideo_decode: enabledvideo_encode: unavailable_offvulkan: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
3.90GB (1.35GB free)

Process Argv
--crash-reporter-id d9678001-89bb-4dc5-82c1-5c223b0c1109

Screen Reader
no

VM
0%

Extensions (7)

Extension
Author (truncated)
Version

code-runner
for
0.11.8

python
ms-
2022.12.1

vscode-pylance
ms-
2022.8.30

jupyter
ms-
2022.7.1102252217

jupyter-keymap
ms-
1.0.0

jupyter-renderers
ms-
1.0.9

cpptools
ms-
1.11.5

A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vstes627cf:30244335
vslsvsres303:30308271
pythonvspyl392:30443607
vserr242:30382549
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
vscoreces:30445986
pythondataviewer:30285071
vscod805:30301674
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
cmake_vspar411cf:30542925
vsaa593cf:30376535
pythonvs932:30410667
wslgetstarted:30449410
cppdebug:30492333
pylanb8912:30545647
vsclangdc:30486549
c4g48928:30535728
d7fjc500:30543455
dsvsc012cf:30540253
azure-dev_surveyone:30548225

/extC++

It looks like this is caused by the C++ extension. Please file the issue to the C++ extension repository. Make sure to check their issue reporting template and provide them relevant information such as the extension version you're using. See also our issue reporting guidelines for more information.
Happy Coding!


chore: update curation list again

 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.


2 Protobuf Typeadapter Functionality

Second PR.
Depends on #30 being merged first.
This PR adds the ability to publish and subscribe using Protobuf objects, by automatically creating a Ros2 TypeAdapter.

This is the primary implementation of type adaption from  #27
The underlying commit from #30 is present and then there are three commits on top to review.
Followed by the core implementation in commit: ccf9309d938165d9081e465ba31d2468e7cf8c39
And then adding documentation in a8b58f423f7b5bd2fe56531d8cebf10d4608ff68
And we found a bug in the visibility control when writing the above documentation. 45000b7af8f934fc77a1e4be3c4891e85c414f35 fixes the issue and then update the documentation to show the simplified approach.

I merged #30. Can you merge the master to this branch or rebase it? there is also a conflict in init.py.

Hmm, not sure why that ended up with a conflict. It rebased cleanly on my checkout so I've updated the branch.


Failed to find any peers during initialization (crashing because this is not a seed node)

Preliminary Checks

[X] This issue is not a duplicate. Before opening a new issue, please search existing issues: https://github.com/MinaProtocol/mina/issues
[X] This issue is not a question, feature request, RFC, or anything other than a bug report. Please post those things in GitHub Discussions: https://github.com/MinaProtocol/mina/discussions

Description

The peer list is directly from the website and its contents correspond to another working node peer.txt that works so not an issue with an outdated peer list imo. It seems the client is "trying to connect" - implying some sort of error at the outgoing connection. However, I have opened all the relevant ports (including as per network troubleshooting instructions).
There seem to have been a few such issues but none have been solved it seems so I am logging this again.
Steps to Reproduce
1.manual launch as per website
2.
3.
...
Expected Result
node should sync
Actual Result
node crashed because it did not find any peers during initialization
How frequently do you see this issue?
Always
What is the impact of this issue on your ability to run a node?
Blocker
Status
shows bootstrapping for a while then once it crashes obviously shows nothing.

Additional information
No response

Closing this one because of no activity for a long time and I hope that the most recent versions of Mina Daemon behave more stable for you.
Please feel free to report new issues should you face any.
Thank you.


zfs_git failing to build

zfs_git has been failing to build since the update in 59faa759, based on the log it appears the install procedure changed at some point and it's now trying to create files in /etc, but I don't know enough to figure out what needs to be changed.

reverted the commits, cc @wkennington


refactor(audio): remove not required properties

Resolves DEV-
PR Checklist
Please check if your PR fulfills the following requirements:

[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[x] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Other... Please describe:

What is the current behavior?

Issue Number: N/A
What is the new behavior?
Does this PR introduce a breaking change?

[ ] Yes
[ ] No

Other information

I don't understand the changes in TTL files, which I see not directly related to removal duration information from audio.

As the data inside the triplestore has changed (duration property removed), the responses from the triplestore have also changed. The order in which the triplestore returns is data is arbitrary. That's why the changes inside the generated files are mixed up.


Timeout

We need to implement a timeout feature.  The original Popper version has one, but it is more complicated than it sounds because we need to interrupt Clingo.

If you do not need to interrupt the grounder, which we don't, it's not that complicated. Just pass the appropriate timeout to your Control.solve() calls.


IGNITE-955 Local listener in continuous queries should not be mandatory

The ticket is resolved, closing PR. Feel free to reopen if needed.


tests: create test for dynamic loadable logging backends

Test the three APIs, log_backend_activate,
log_backend_is_active and log_backend_deactivate.
Signed-off-by: Zhao Shuai<EMAIL_ADDRESS>

Apologies to @nordic-krch, I'm new as a release manager so didn't realize we needed assignee approval to merge :sweat_smile: Let me know if you have issues with this PR and we can work to submit changes / undo it.


health region data should include population and other demographic data

health region data from stats canada should be included in the /hr results. This data can be picked up from:
https://www12.statcan.gc.ca/rest/census-recensement/CR2016Geo.json?geos=HR . Each Health Region ID can be used to call https://www12.statcan.gc.ca/rest/census-recensement/CPR2016.json?dguid=${hr[0]}&topic=13 to collect the last census population values.

If demographic data is needed, I would advise to source it from statscan for up to date info.

I'm pointing out that your data model doesn't match stats can, and since you've included non health region zones (namely saskatchewan), your data model should accommodate this representation to match the /provinces end point schema. Also, stats canada data is based on 2016 census


No 32 bits image ?

Hello,
I'm looking to set up shellhub agent on a 32 bit machine. Apparently, there is no such image with tag (i386).
When I run the install script, I have
Unable to find image 'shellhubio/agent:v0.4.2' locally v0.4.2: Pulling from shellhubio/agent docker: no matching manifest for unknown in the manifest list entries.
Is it possible to add a 32 bit version ?
Thanks !

Hi, currently there is no 32-bit image yet, but they are still planned. I will probably look into them next

Right.
Tried to build the image on a 32 bits machine, and failed due to a file not being present.
I hope you can investigate it.

Right.
Tried to build the image on a 32 bits machine, and failed due to a file not being present.
I hope you can investigate it.

Please paste the build output

Well, it goes smoothly until I reach
Step 28/29 : COPY --from=builder /agent /app/ COPY failed: stat /var/lib/docker/overlay2/6461f3cbc424eb8e4c726e09d6cf3e3a81acb6fd977615f74c2768b4b553e3e2/merged/agent: no such file or directory


[Feature] integrate with file icon

Is your feature request related to a problem? Please describe.
I want file icon in tree view like this

Describe the solution you'd like
Could you integrate file-icon-js into this extension?
Describe alternatives you've considered
Additional context

Cool, I will take a look.

I found the file-icon-js in another extension. Maybe we can try to find another one in other extension

Hey @DanSnow ,
I just published the latest version with variant file icons,
enjoy yourself!

Thanks @shinenic


Team description

GitHub project: https://github.com/Thinus01/React_Group_Project/projects/4
Team count: 2

Thinus
Kelvin

Hi @Thinus01 & @brainskev ✋
Good job so far!
Hello ✋, you have done well reaching this point of the milestone 🤝 . But there are some issues that you still need to work on to go to the next project but you are almost there!
Status: Required Changes ♻⛔

[ ] Kindly make sure the link to the project, links directly to the group project.
[ ] Kindly assign the group tasks to both team members so that tasks can be equally divided.

Check the comments under the review.
Optional suggestions
Every comment with the [OPTIONAL] prefix is not crucial enough to stop the approval of this PR. However, I strongly recommend you consider them as they can improve your code.
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread and tag me @1GORDON if something is not 100% clear.
Please, do not open a new Pull Request for re-reviews. You should use the same Pull Request submitted for the first review, either valid or invalid unless it is requested otherwise.

As described in the Code reviews limits policy you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.

Hi @1GORDON,👋🏻👋🏻
Your project is complete!  There is nothing else to say other than... it's time to merge it :shipit:
Congratulations! 🎉 🔥🔥💯💯

Highlights 🔥🔥🔥🔥

Descriptive PR 💯
Great working on the funtionality for set up the kanban🔥🔥

Optional suggestions
Every comment with the [OPTIONAL] prefix won't stop the approval of this PR. However, I strongly recommend you to take them into account as they can make your code better. Some of them were simply missed by the previous reviewer and addressing them will really improve your application.
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag me in your question so I can receive the notification.

As described in the Code reviews limits policy  you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.


OSX/macos dnnl v1.1 broken symbolic link causes file not found

lrwxr-xr-x   1 sc  staff        17 Mar 15 12:16 libdnnl.1.dylib -> libdnnl.1.1.dylib
lrwxr-xr-x   1 sc  staff        15 Mar 15 12:16 libdnnl.dylib -> libdnnl.1.dylib
-rwxr-xr-x   1 sc  staff  22132964 Mar 15 12:16 libdnnl.1.1.dylib
lrwxr-xr-x   1 sc  staff        15 Mar 15 12:16 libmkldnn.dylib.1 -> libdnnl.dylib.1
lrwxr-xr-x   1 sc  staff        17 Mar 15 12:16 libmkldnn.dylib.1.1 -> libdnnl.dylib.1.1
lrwxr-xr-x   1 sc  staff        13 Mar 15 12:16 libmkldnn.dylib -> libdnnl.dylib

libdnnl.dylib.1 and libdnnl.dylib.1.1 are not found
thus libmkldnn.dylib.1 and libmkldnn.dylib.1.1 are not found.
much appreciated for the advice

Hi @dcslin. Thanks for the report. Sorry you ran into this issue. It has been fixed in 1.2. So, the only advice is to upgrade: we have no plans for another 1.1 patch release.

Hi @rsdubtso noted and thanks.


CopExperimental.java:36-41: Refactor Cop and...

The puzzle 231-d4337ae8 from #231 has to be resolved:
https://github.com/volodya-lombrozo/jtcop/blob/670497a5e3220e7e382327c88e6e23f346a95981/src/main/java/com/github/lombrozo/testnames/CopExperimental.java#L36-L41
The puzzle was created by @volodya-lombrozo on 26-Jul-23.
Estimate: 90 minutes,  role: DEV.
If you have any technical questions, don't ask me, submit new tickets instead. The task will be "done" when the problem is fixed and the text of the puzzle is removed from the source code. Here is more about PDD and about me.

@0pdd the puzzle #266 is still not solved.


cmd/go: test mixes stderr and stdout, making benchmark results impossible to see

https://github.com/golang/go/commit/7badae85f20f1bce4cc344f9202447618d45d414 appears to have made go test mix stderr and stdout from tests, which has made go 1.10 a regression for CockroachDB's benchmarks.
This issue is related to https://github.com/golang/go/issues/18010 :
Not only is the benchmark output not swallowed, but stderr and stdout are now mixed, so, if our binary produces logs (on stderr, as ours does), it's now impossible to see the benchmark results or use tools like benchstat.
In particular, I believe benchstat fails to work because the mixing of stderr and stdout doesn't even use line buffering - so the benchmark measurements lines are mixed with log lines and benchstat can't recognize them any more.
I generally concur with the folks on #18010 arguing that the swallowing/not swallowing of output is inconsistent (and there's no control over it as far as I can tell). Additionally, now the mixing of stdout and stderr is really a problem. The argument for not doing anything about go test -bench not swallowing output was that "we should at least preserve existing behavior as much as possible", but it would appear that existing behavior was changed in a quite significant way by this mixing. So I would kindly ask for the swallowing decision to be re-evaluated.
What version of Go are you using (go version)?
go version go1.10 darwin/amd64
Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env)?
OS X/ amd64
cc @benesch

/cc @bradfitz and @rsc

This is horrible and next to unusable.  Users should be able to opt-in to getting this output, not forced in.

I'm sorry your benchmarks print so much to standard error.
They might give more reliable timing results if they didn't do that, parsing aside.
"Horrible and next to unusable" strikes me as a bit of an exaggeration.
As far as I can tell only CockroachDB is running into this.
I'm sorry we didn't get to it in Go 1.11.


New version: StartIsBack.StartAllBack version 3.8.8

Pull request has been created with komac v2.6.0 :rocket:
Microsoft Reviewers: Open in CodeFlow

This package installs and launches normally in a Windows 10 VM.


Fix compatibility with pandas 2.0

Closes #287

Probably reason: https://pandas.pydata.org/docs/dev/whatsnew/v2.0.0.html#value-counts-sets-the-resulting-name-to-count


ortac-qcheck-stm: print which invariant failed and more details about the failure

Qheck-stm prints something like this (where I introduced a bug deliberately to make it fail):
generated error fail pass / total     time test name
[✗]    1    0    1    0 / 1000     0.0s Varray_spec STM tests

--- Failure --------------------------------------------------------------------

Test Varray_spec STM tests failed (15 shrink steps):

   push_front '\192'
   pop_at 0
   pop_front

+++ Messages ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Messages for test Varray_spec STM tests:

  Results incompatible with model

   push_front '\192' : ()
   pop_at 0 : Ok (Elt '\192')
   pop_front : Ok (Elt 'a')
================================================================================

I can probably guess at which function failed (it is the last one), but I don't know from that message which postcondition failed, and what the values were (real run vs model) to debug it.
The monolith plugin prints something like this (on another test) that is better, because it shows the invariant that failed:
Runtime error in function `mem'
  - the invariant
      `b <-> mem i bv'
    was violated in the post-state.(* @02: Failure in an observation: candidate and reference disagree. *)
          #require "monolith";;
          module Sup = Monolith.Support;;
(* @01 *) let (Ok set0) = Sup.Exn.handle (create is Ok) 21;;
(* @02 *) let (Error _) = Sup.Exn.handle (mem is Ok 15) set0;;

Ideally the error message should include both sides of an invariant that failed so the developer can quickly see what the actual values causing the failure were.
I know that qcheck-stm only allows to return a bool, however QCheck itself does have a way to report more details that I just discovered recently: https://ocaml.org/p/qcheck-core/0.21.2/doc/QCheck2/Test/index.html#val-fail_reportf
Using QCheck2.Test.fail_reportf you can format a string with the actual failure and quickcheck will show that instead of just the very generic 'test failed'.
I thought that perhaps using the 'wrapper' plugin might help (which does generate the Violated_invariant reports with proper strings), but that doesn't quite work yet:
File "examples/varray_spec_wrapper.ml", line 181, characters 19-22:
181 |      try insert_at t_5 i_1 x_4
                         ^^^
Error: This expression has type 'a Ortac_runtime.Gospelstdlib.sequence ref
       but an expression was expected of type 'b t

Would be nice if the reporting code could be unified across the 3 plugins, that way all 3 would get any improvement made in one of them (even if the actual reporting might have to be plugin specific, e.g. rewrap the ortac runtime error with the QCheck one)

Thank you very much for your suggestions (and for trying ortac out), I agree they would be nice to have!


Test batching by testfixture with VSTest task

Environment
TFS 2018 Update 3 - agent version: 2.140.0
Issue Description
Batching based on number of tests or  past running time of tests does not take into account the time of setups for test fixture (Nunit: OneTimeSetup), which in case of UI Tests can be significant. This leads to very poor results and makes this feature unusable. An option based on test fixtures would be helpful...

This issue is stale because it has been open for a year with no activity. Remove the stale label or comment on the issue otherwise this will be closed in 5 days


chore(master): release 1.1.240

:robot: I have created a release beep boop
1.1.240 (2023-11-11)
Miscellaneous

deps: update dependency lint-staged to v15.1.0 (58e5e48)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/wayofdev/keywind/releases/tag/v1.1.240 :sunflower:


Retrieve a subset dataframe after qgrid filtering

Jupyter Notebook (Anaconda distribution)
Pandas 0.20.1
Qgrid 0.3.3

Is there an option to retrieve a filtered dataset as a new dataframe?, i tried this but when I get a dataframe back, it's still show me all rows.
Note that the column BroadPhaseofFlight is filtered only for "APPROACH" values
from IPython.display import display
grid = qgrid.QGridWidget(df=test)
display(grid)

display(grid.df)

Thanks a lot for your help

Thanks for the feedback.  This issue is already logged here: https://github.com/quantopian/qgrid/issues/87 so I'm going to close this issue.
I'm currently working on a project which moves the sorting and filtering logic to the notebook server (currently it's done in javascript in the browser), and this problem will get solved as part of that project.  I'll close that other issue (https://github.com/quantopian/qgrid/issues/87) once I finish that project, so if you subscribe to notifs on that issue, you should be notified when this is fixed.


why prefer discrete gpu?

Found this commit https://github.com/Kethku/neovide/commit/5c6d84a4f1cbec26ed72f41a0c1f058aaaaeffd8, and it bothers me because on laptops with an integrated and discrete GPU there often is a hybrid mode, in which the integrated GPU is always chosen first to save battery life. The choice puzzles me.
I have managed to overwrite this setting in NVIDIA's drivers, but I'm still curious why this choice?

The system doesn't prefer discrete or integrated gpu anymore. This was old.
The original purpose of that change was to make it more likely that vulkan driver would be supported as many integrated Gpus do not.


NIFI-3404 Add lookup processor for enrichments/joins to reference data

Note: This is overlaid on NIFI-3339/#1450.

Reviewing...

@ijokarumawak FYI, I think we need to make sure we see what happens to NIFI-3946/#1833 before we merge this. By all means start having a look though.

@ijokarumawak The changes from NIFI-3339/#1450 have been removed from this PR along with the DatabaseLookupService. Will re-submit that stuff in another PR so we can move ahead with this and work out the details separately.

@jfrazee I understand, thank you! I am reviewing the updated commit now.

@jfrazee @mattyb149 I reviewed the updated commit and found few points to improve.
I was trying to comment all of those, but since it's easier to explain with code instead of comment, I created another PR based on this one.
@jfrazee Would you take a look on #1856 to see if those changes are reasonable? Please find the commit comments for what I've changed. If my additional commit looks ok, then I'd give +1 to this PR.

Superseded by #1856


Please update dependency on serde-xml-rs to 0.4

The crate azure_sdk_core depends on serde-xml-rs 0.3, which is itself depends on error-chain. See https://github.com/RReverser/serde-xml-rs/blob/0.3.0/Cargo.toml#L13
Version 0.4 switched to thiserror instead (https://github.com/RReverser/serde-xml-rs/blob/0.4.0/Cargo.toml#L13), which should be preffered over (unmaintained) error-chain.
Also, this could potentially fix #259.

I'm going to close this as soon as I publish the crates updated by you in crates.io.


[PDI-14133] Transformation Steps Missing Help Links

added help links to S3 Csv Input step and Greenplum Load step

Build Completed
:white_check_mark: This pull request has passed all validations.
Build Commands
ant -Dtestreports.dir=bin/reports/unit-test -f plugins/kettle-gpload-plugin/build.xml clean-all resolve jacoco && ant -Dtestreports.dir=bin/reports/integration-test -f plugins/kettle-gpload-plugin/build.xml jacoco-integration checkstyle publish-local
ant -Dtestreports.dir=bin/reports/unit-test -f plugins/kettle-s3csvinput-plugin/build.xml clean-all resolve jacoco && ant -Dtestreports.dir=bin/reports/integration-test -f plugins/kettle-s3csvinput-plugin/build.xml jacoco-integration checkstyle publish-local

Cleanup Commands
rm -r ~/.ivy2/local || echo no publish local to remove

Changed files
  plugins/kettle-gpload-plugin/src/org/pentaho/di/trans/steps/gpload/GPLoadMeta.java
  plugins/kettle-s3csvinput-plugin/src/org/pentaho/di/trans/steps/s3csvinput/S3CsvInputMeta.java

Unit test coverage change
These statistics help you identify how your changes have affected the coverage of the following files. If a file is not in this list, then its coverage was not affected by your changes. To get some help interpreting these metrics, please refer to Jacoco's documentation.
org.pentaho.di.trans.steps.gpload.GPLoadMeta

Instruction Change:  + .04%

@pamval @mbatchelor please take a look.


Enable windows on GitHub CI

CC @liamappelbe

The main issue here is that Github's windows environment is different to mine somehow, so the build fails.
Also, some of the tests are still slightly flaky on windows, even after fixing #14

Ugh...


KeyError: 'TOKEN'

KeyError: 'TOKEN'

You need to supply it with an environment variable inside Heroku or have a .env file with the following TOKEN=VALUE


Fatal error: Uncaught Zend\Mail\Protocol\Exception\RuntimeException: Unable to connect via TLS in

@sakinaaf
Please use our forum for questions and explain your current problem so that everyone can reproduce your error. Thanks!
https://discourse.zendframework.com


Use a secondary camera and render texture

Instead of adjusting the HMD's field of view zoom factor, a plane should be used to display the view of a secondary camera to the player. This will increase player comfort as it will sidestep the stereo effect caused by adjusting the FOV.

Implemented by #9.


[POAE7-2678] Agg implementation based on HashTable of int8 and int16

What changes were proposed in this pull request?
Add agg implementations.
APIs available for Groupby agg codegen.
Why are the changes needed?
New apis and implementations.
Does this PR introduce any user-facing change?
No.
How was this patch tested?
UTs.
Which label does this PR belong to?

@jikunshang Thanks for review, all comments above have been resolved.
Gentle ping @spevenhe @YantingTao1315 for review, thanks~

All comments above have been resolved, gentle ping @jikunshang @winningsix for another review, thanks!


New Device: Fan regulators in India with 5 Speed points

Describe your device
A clear and concise description of what your device is, such as accessory type, and product description.
HomeMate Smart Fan Regulator (tuna based; touch); Supports turning on and off the device. Supports 5 speeds ranging from 1-5. Speed 0 is equivalent to turning off the device.
Partial Support?
Does this device work in any fashion in the plugin?
It works as a switch. Its also works with the SimpleFan Accessory but speeds won't work because speeds are fixed at 3-points in the plugin here: https://github.com/iRayanKhan/homebridge-tuya/blob/main/lib/SimpleFanAccessory.js#L35-L37
Device Schema
Please print your devices schema below:
I asked long back on the reddit thread about how to get schema; kindly help me and I will assist you getting it. I also contributed to the documentation. Reddit thread for reference: https://www.reddit.com/r/homebridge/comments/odd60v/help_homemate_tuyacompatible_ceiling_fan/
Additional context
Add any other context about the problem here.
Regulators in India, UK, and Australia support 5 speeds as opposed to 3 speeds. The static parameters defined here can be made dynamic if the configuration parameters are passed through the config json. Please assist. Params: https://github.com/iRayanKhan/homebridge-tuya/blob/main/lib/SimpleFanAccessory.js#L35-L37

Describe your device A clear and concise description of what your device is, such as accessory type, and product description.
HomeMate Smart Fan Regulator (tuna based; touch); Supports turning on and off the device. Supports 5 speeds ranging from 1-5. Speed 0 is equivalent to turning off the device. Partial Support? Does this device work in any fashion in the plugin? It works as a switch. Its also works with the SimpleFan Accessory but speeds won't work because speeds are fixed at 3-points in the plugin here: https://github.com/iRayanKhan/homebridge-tuya/blob/main/lib/SimpleFanAccessory.js#L35-L37
Device Schema Please print your devices schema below: I asked long back on the reddit thread about how to get schema; kindly help me and I will assist you getting it. I also contributed to the documentation. Reddit thread for reference: https://www.reddit.com/r/homebridge/comments/odd60v/help_homemate_tuyacompatible_ceiling_fan/
Additional context Add any other context about the problem here. Regulators in India, UK, and Australia support 5 speeds as opposed to 3 speeds. The static parameters defined here can be made dynamic if the configuration parameters are passed through the config json. Please assist. Params: https://github.com/iRayanKhan/homebridge-tuya/blob/main/lib/SimpleFanAccessory.js#L35-L37

I just read that thread and came here, if they won't support then I will write own plugin to do so by forking it. Ordered HomeMate to test out via HomeBridge (I want it in Apple HomeKit).
Lets get in touch in next week.

Describe your device A clear and concise description of what your device is, such as accessory type, and product description.
HomeMate Smart Fan Regulator (tuna based; touch); Supports turning on and off the device. Supports 5 speeds ranging from 1-5. Speed 0 is equivalent to turning off the device. Partial Support? Does this device work in any fashion in the plugin? It works as a switch. Its also works with the SimpleFan Accessory but speeds won't work because speeds are fixed at 3-points in the plugin here: https://github.com/iRayanKhan/homebridge-tuya/blob/main/lib/SimpleFanAccessory.js#L35-L37
Device Schema Please print your devices schema below: I asked long back on the reddit thread about how to get schema; kindly help me and I will assist you getting it. I also contributed to the documentation. Reddit thread for reference: https://www.reddit.com/r/homebridge/comments/odd60v/help_homemate_tuyacompatible_ceiling_fan/
Additional context Add any other context about the problem here. Regulators in India, UK, and Australia support 5 speeds as opposed to 3 speeds. The static parameters defined here can be made dynamic if the configuration parameters are passed through the config json. Please assist. Params: https://github.com/iRayanKhan/homebridge-tuya/blob/main/lib/SimpleFanAccessory.js#L35-L37

I just read that thread and came here, if they won't support then I will write own plugin to do so by forking it. Ordered HomeMate to test out via HomeBridge (I want it in Apple HomeKit). Lets get in touch in next week.

Hi any Update? Have you tested?

Hi,
I am purchasing homemate 3+1 module is it possible add in homekit using tuya ?


Bug fixes and unit testing for Callbacks

Simple change. Model loads checkpoint in Trainer.train() instead of Trainer.__init__()

Awesome, thank you @dhpitt !


Support for dumping variables using 'printf' for testing scenarios where std is not avalible.

I was interested in using this project to detect bugs in my experimental codegen backend. I don't have support for Rust formatting yet, so I tried to get rustlantis to work without using the standard Rust lib.
This pull request adds the ability to dump variables using printf instead of the standard Rust formatter, when the --printf_debug option is specified.

A question: Is there an upper bound on tuple element count? If so, what is it?

Have to say I'm flattered that my code is readable enough for someone else to work on it 😛

A question: Is there an upper bound on tuple element count? If so, what is it?

12: https://doc.rust-lang.org/std/primitive.tuple.html#trait-implementations-1


reduce Node union size

@sizeOf(Node) is above 2000 bytes (!) due to children and keys being stored as values rather than pointers. i think this can be reduced to around 40 bytes.
created memory profile with massif https://www.valgrind.org/docs/manual/ms-manual.html
reported peak (4)

n
time(i)
total(B)
useful-heap(B)
extra-heap(B)
stacks(B)

3
1,878,435,301
580,188,552
573,271,268
6,917,284
0

4
2,442,663,538
753,695,280
744,705,150
8,990,130
0

generated with
valgrind --tool=massif /path/to/test_exe
ms_print massif.out.32752 > 1.art.massif.txt

After storing keys and children as pointers, @sizeOf(Node) becomes 40 bytes (around 20x smaller).  And the peak memory usage of my test executable goes doen from 753Mb to 35Mb (also around 20x smaller).

reported peak (6)

n
time(i)
total(B)
useful-heap(B)
extra-heap(B)
stacks(B)

6
1,817,794,381
35,093,960
22,753,005
12,340,955
0

Also seeing a speedup of around 10% in the benchmark against StringHashMap.
# before
insert 870ms, search 638ms, delete 702ms, combined 2212ms
# after
insert 714ms, search 618ms, delete 667ms, combined 2000ms

While this in 'extra' calls to allocator.create/destroy.  the amount of memory requested goes down around 20x which is a big improvement.

much closer to the c version now by these
previously
art.zig: insert 640ms, search 509ms, delete 534ms, combined 1684ms
currently
art.zig: insert 518ms, search 483ms, delete 501ms, combined 1503ms
art.c:   insert 495ms, search 480ms, delete 484ms, combined 1461ms

as of ee7e57b6b8
reported peak (5)

n
time(i)
total(B)
useful-heap(B)
extra-heap(B)
stacks(B)

5
1,587,953,651
28,588,192
22,893,160
5,695,032
0

not sure why the total dropped from 35 to 28. does it actually save that much memory (1/7) going from 3 and 2 to 1 alloc/free? i'm skeptical.


Stuff for cleaning/documenting

[x] move plot function to utils, make available at top level, shorten name
[x] change ProcLoop's name? Not always a loop
[ ] Black pre-commit

Forgetting about Black. Don't need to be super strict about formatting


Release for Java 8?

The code is compiled targetting Java 10+. Check if it makes sense to downgrade the compilation to Java 8.

Not really closed. There are some leftovers from Java 10 and above.

Java 8 will not be supported, as the routines for reading resource files in UTF-8 are available from Java 9 and there is just too much effort to do it vs the expected results (see #58).
Java 8 is 6 years old. It is time for it to go away.


Add related libraries to library dashboard

Redline: https://www.figma.com/file/K6HobXD4KXUIdkLrVjUzwK/LibraryDetail_CarbonReact?node-id=0%3A1

[ ] If a library is part of a group (defined in /web-app/data/libraries.mjs, comma-separate the other libraries and show the display name of each
[ ] Don't include a library if it's noIndex: true, because that would be shown below in the Resources section if its inherited
[ ] If the library isn't part of a group, show – (just like how we handle assets dashboard if there are no "Tags")

This is so we can cross-link libraries that (should) have the same components, but build with different JavaScript libraries.
See red highlight:

@kingtraceyj please review.

Just make sure to look at the card spec for margins and spacing... you need to make that line width wider under "related libraries"
Note: this is a grab from the Component asset redline... but it's the same right margin... see that the line width can go wider

Hey team! Please add your planning poker estimate with ZenHub @andreancardona @francinelucca @jdharvey-ibm


Various windows fixes

These are mostly due to changes in textblock from https://github.com/blaze/dask/pull/842
Not done yet.  Still some issues with dask.dataframe.read_csv.
cc @sisp

I find myself specifying the line separator manually in a few places.  This is likely to confuse new users on windows.  I wonder if it would be worthwhile to read in the first few thousand bytes and look for b'\r\n' to auto-detect the linesep of the file.


Move projectBasePath and coreBasePath

This PR move coreBasePath and projectBasePath from the utils to  the config related to #570

@sveneberth are you happy with this now?


Build React Native Gallery on your Mac computer locally  ?

is this project meant to be built on Windows computers only?
I tried building using the command npx react-native run-windows also tried yarn android on Mac
using yarn android command this task failed while building
 Task :react-native-safe-area-context:compileDebugKotlin

RN Windows app can only be built on Windows devices


Can max_length be set to 2048 to train the data?

Hello, thank you very much for your open source project.
I have a question, can I change cutoff_len: int = 256 to cutoff_len: int = 2048 inside the finetune.py file to fine-tune the data?
What are the advantages and disadvantages of changing to 2048 (if any), and will the trained model perform better?
(Because I understand that the context of vicuna is also 2048.)

Increasing the cutoff_len signifanctly increases the VRAM required to finetune the model. So, I was able to run finetuning 30b on 2x3090 (48GB VRAM total), but only with cutoff at 512, on 1024 I would run into ouf of memory error.


Benchmark for unstake_capacity

Write benchmark for unstaking capacity extrinsic
Acceptance criteria:

[ ] Benchmark exists for unstake_capacity in pallets/capacity/src/benchmarking.rs
[ ] Weights have been generated and checked into the branch by the Jenkins benchmark runner
[ ] The unstake_capacity extrinsic uses the weights from WeightInfo

Hey team! Please add your planning poker estimate with Zenhub @enddynayn @johnmela


Usage example of registerHeaderFooterView

I've attempted to figure out how to use registerHeaderFooterView correctly. I've defined a view in an XIB file with a custom subclass of UITableViewHeaderFooterView. But, since it does not have a reuse identifier, I cannot use it in the same way I use UITableViewCells defined in XIB files.
I believe I understand how this function is intended to be used, but R.swift is not generating a struct that can be passed in. There are no examples of header/footer views in the documentation. Guidance on this would be appreciated.

Unfortunately, R.swift currently doesn't support for table view headers and footers. See https://github.com/mac-cain13/R.swift/issues/144


Duplicating scenes breaks node references of scripts

Godot version
4.2.stable
System information
Godot v4.2.stable - Windows 10.0.22621 - Vulkan (Forward+) - dedicated AMD Radeon RX 5700 XT (Advanced Micro Devices, Inc.; 31.0.22023.1014) - AMD Ryzen 7 3700X 8-Core Processor (16 Threads)
Issue description
If the root node of a saved scene has a script which uses node references (variable exported within the editor) there is inconsistent behavior between adding the scene again in the tree or duplicating it:
Scene hierarchy:

Each 'listener' is a scene saved as .tscn, the root node has a script attached which reference the child node:

If the scene 'listener' is duplicated (CTRL+D):

Both scripts will target the child of the first 'listener' scene.
If, instead, the scene is added without duplicating the original, the correct node reference will be used.
In the attached project, you will find the scene root has a script which will delete each child using the script reference:

The expected behavior:
Each listener node will delete their own 'child_ref' node
The actual behavior:

The first 'listener' node queues the deletion of its 'child_ref' node
The second 'listener' node which was duplicated queues the deletion of the previously queued 'child_ref' node
The third 'listener' node which was drag and dropped into the scene queues the deletion of its 'child_ref' node
Remote view after these steps:

Steps to reproduce
Issue and step to reproduce has been descripted in the previous point.
To reproduce it with the given MRP simply:

Open the project
Start PLAY MODE
Open Remove View to see listener2 (the duplicated node) did not delete it's child

Minimal reproduction project
MRP.zip

The fix should be any day now be merged
https://github.com/godotengine/godot/pull/83343


Add bindings for GtkFileChooser gtk_file_chooser_get_filenames, gtk_file_chooser_get_uris functions

Currently, I see only the bindings for gtk_file_chooser_get_filename(), gtk_file_chooser_get_uri(). The bindings for gtk_file_chooser_get_filenames(), gtk_file_chooser_get_uris() are missing.

For the record, gtk_file_chooser_get_filenames() was added with 812534837ca8bb8796183762a69435dc7eb50aac, but gtk_file_chooser_get_uris() is still missing.


Conditional Lock Regions Cause Code Generation Bug

The LockOpElimination pass removes unnecessary lock operations and those that can cause code generation bugs.
It fails to remove lock region modifications when they are acquired and released conditionally within a single cycle.
E.g.,
if (x) {
  start(rf);
  acquire(rf);
  end(rf);
}

The main reason is that we don't look inside the generated conditional commands to remove these. This causes an error when trying to generate the BSV code (since it tries to write a register twice in the same cycle).

I believe this will be fixed in the PR #43


Can't show/run task when disable extension TypeScript and JavaScript Language Features

VSCode Version: Version: 1.41.1 (user setup)
OS Version: Windows_NT x64 10.0.17763

Steps to Reproduce:

Open workspace
Add simple task in .vscode/tasks.json
Try to run task, and show up
Disable extension @builtin vscode.typescript-language-features
Try to run task again, and then not show list

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

I think this is fixed by 90ca98af024903ad6d95887a4aa4587221f9c008
Can you try again with Insiders? https://code.visualstudio.com/insiders/


v1.0.1 update README.md

Codecov Report
Patch and project coverage have no change.

Comparison is base (26e713a) 100.00% compared to head (49a1a03) 100.00%.

Additional details and impacted files
@@            Coverage Diff            @@
##              main        #2   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            2         2
  Lines           44        44
  Branches         8         8
=========================================
  Hits            44        44

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


Add event by device command

Fix #42.
Signed-off-by: Nikolay Stanchev<EMAIL_ADDRESS>

Perfect, Good job @nkstanchev !


Permission denied: '/tmp/tmpkjqha77c/rendered_template-63.py.out'

Running memory_analyzer under root for process that is run under regular user and got this output from memory_analyzer
Additionally sentry reporter generated event with "Permission denied: '/tmp/tmpkjqha77c/rendered_template-63.py.out'"
Seems temporary file with python code has root only permissions.
memory_analyzer run 63 -debug
Analyzing pid 63
Setting up GDB for pid 63
bug: No such file or directory.
[New LWP 384]
[New LWP 498]
[New LWP 499]
[New LWP 500]
[New LWP 501]
[New LWP 502]
[New LWP 503]
[New LWP 504]
[New LWP 768]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007f9d8dec8037 in __GI___select (nfds=nfds@entry=0, readfds=readfds@entry=0x0, writefds=writefds@entry=0x0, exceptfds=exceptfds@entry=0x0, timeout=timeout@entry=0x7fff82826910) at ../sysdeps/unix/sysv/linux/select.c:41
41      ../sysdeps/unix/sysv/linux/select.c: No such file or directory.
+set directories /usr/local/lib/python3.7/site-packages/memory_analyzer/
+py sys.path.append("/usr/local/lib/python3.7/site-packages/memory_analyzer/")
++file_command /tmp/tmpkjqha77c/rendered_template-63.py.out
GIL $1
+++call (void) PyRun_SimpleString("with open('/tmp/tmpkjqha77c/rendered_template-63.py.out') as f: exec(f.read())")
+++call (void) PyGILState_Release($1)
[Inferior 1 (process 63) detached]
Gathering data...
ERROR: Analysis for 63 returned no data!  Try rerunning with --debug
ERROR: No results to report
su user
$ cat /tmp/tmpkjqha77c/rendered_template-63.py.out
cat: /tmp/tmpkjqha77c/rendered_template-63.py.out: Permission denied
$ ls -alF /tmp
total 32
drwxrwxrwt 1 root   root   4096 Dec  5 09:04 ./
drwxr-xr-x 1 root   root   4096 Dec  5 09:01 ../
drwx------ 2 root   root   4096 Dec  5 09:04 tmpkjqha77c/

Running target process under root solves this issue

What is your umask when running as root?

Set as default
umask
0022

@lisroach memory_analyzer.memory_analyzer uses mkdtemp which says "The directory is readable, writable, and searchable only by the creating user ID."  I don't see any way to customize the umask it uses; we can probably do something like
try:
  os.chmod(..., 0o755)
except:
  pass

to make it more widely readable.  I don't know about looking at the owner of the process you're analyzing, because that might get us into a place where we can't delete it when we're done?


ReorderableList crash when reversed

Is there an existing issue for this?

[X] I have searched the existing issues
[X] I have read the guide to filing a bug

Steps to reproduce
ReorderableList or ReorderableListView.builder widget throws when reverse:true.
Steps to Reproduce:

Run the sample code.
Click/Tap on Item 5. This results into a crash on the console.
Drag Item 5 triggering a reorder and place it back at its original position. This also results into a crash.

This only happens when reverse is set to true on the widget. Note that onReorder or onReorderEnd never gets called in this case even if specified. (I don't know if onReorder should be called since nothing changed but onReorderEnd should be called which is the case for other items except the last one (first one since the list is reversed).
Expected results
No crash.
Actual results
======== Exception caught by gesture library =======================================================
The following _TypeError was thrown while routing a pointer event:
Null check operator used on a null value

When the exception was thrown, this was the stack:
#0      SliverReorderableListState._itemOffsetAt (package:flutter/src/widgets/reorderable_list.dart:911:51)
#1      SliverReorderableListState._dragEnd.<anonymous closure> (package:flutter/src/widgets/reorderable_list.dart:760:30)
#2      State.setState (package:flutter/src/widgets/framework.dart:1139:30)
#3      SliverReorderableListState._dragEnd (package:flutter/src/widgets/reorderable_list.dart:758:5)
#4      _DragInfo.end (package:flutter/src/widgets/reorderable_list.dart:1281:12)
#5      MultiDragPointerState._up (package:flutter/src/gestures/multidrag.dart:156:14)
#6      MultiDragGestureRecognizer._handleEvent (package:flutter/src/gestures/multidrag.dart:258:13)
#7      PointerRouter._dispatch (package:flutter/src/gestures/pointer_router.dart:98:12)
#8      PointerRouter._dispatchEventToRoutes.<anonymous closure> (package:flutter/src/gestures/pointer_router.dart:143:9)
#9      _LinkedHashMapMixin.forEach (dart:collection-patch/compact_hash.dart:625:13)
#10     PointerRouter._dispatchEventToRoutes (package:flutter/src/gestures/pointer_router.dart:141:18)
#11     PointerRouter.route (package:flutter/src/gestures/pointer_router.dart:127:7)
#12     GestureBinding.handleEvent (package:flutter/src/gestures/binding.dart:465:19)
#13     GestureBinding.dispatchEvent (package:flutter/src/gestures/binding.dart:445:22)
#14     RendererBinding.dispatchEvent (package:flutter/src/rendering/binding.dart:331:11)
#15     GestureBinding._handlePointerEventImmediately (package:flutter/src/gestures/binding.dart:400:7)
#16     GestureBinding.handlePointerEvent (package:flutter/src/gestures/binding.dart:363:5)
#17     GestureBinding._flushPointerEventQueue (package:flutter/src/gestures/binding.dart:320:7)
#18     GestureBinding._handlePointerDataPacket (package:flutter/src/gestures/binding.dart:293:9)
#19     _invoke1 (dart:ui/hooks.dart:158:13)
#20     PlatformDispatcher._dispatchPointerDataPacket (dart:ui/platform_dispatcher.dart:382:7)
#21     _dispatchPointerDataPacket (dart:ui/hooks.dart:91:31)
====================================================================================================

Code sample
Code sample
import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return const MaterialApp(
      title: 'MyApp Demo',
      debugShowCheckedModeBanner: false,
      home: MyHome(),
    );
  }
}

class MyHome extends StatefulWidget {
  const MyHome({super.key});

  @override
  State<MyHome> createState() => _MyHomeState();
}

class _MyHomeState extends State<MyHome> {
  final List<String> items = [
    'Item 1',
    'Item 2',
    'Item 3',
    'Item 4',
    'Item 5',
  ];

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: ReorderableList(
        onReorder: (int oldIndex, int newIndex) {
          setState(
            () {
              // Taken from Flutter SDK code documentation.
              if (newIndex > oldIndex) {
                newIndex -= 1;
              }
              final String item = items.removeAt(oldIndex);
              items.insert(newIndex, item);
            },
          );
        },
        itemCount: items.length,
        reverse: true,
        itemBuilder: (BuildContext context, int index) {
          return ReorderableDragStartListener(
            key: Key('$index'),
            index: index,
            child: Material(
              child: ListTile(
                title: Text(items[index]),
              ),
            ),
          );
        },
      ),
    );
  }
}

Screenshots or Video

Screenshots / Video demonstration
https://github.com/flutter/flutter/assets/20423471/7cdbe30e-56c2-4de4-bd22-0608e69734e4

Logs
Logs
Performing hot reload...
Syncing files to device macOS...
Reloaded 1 of 1013 libraries in 138ms (compile: 16 ms, reload: 53 ms, reassemble: 57 ms).

======== Exception caught by gesture library =======================================================
The following _TypeError was thrown while routing a pointer event:
Null check operator used on a null value

When the exception was thrown, this was the stack:
#0      SliverReorderableListState._itemOffsetAt (package:flutter/src/widgets/reorderable_list.dart:911:51)
#1      SliverReorderableListState._dragEnd.<anonymous closure> (package:flutter/src/widgets/reorderable_list.dart:760:30)
#2      State.setState (package:flutter/src/widgets/framework.dart:1139:30)
#3      SliverReorderableListState._dragEnd (package:flutter/src/widgets/reorderable_list.dart:758:5)
#4      _DragInfo.end (package:flutter/src/widgets/reorderable_list.dart:1281:12)
#5      MultiDragPointerState._up (package:flutter/src/gestures/multidrag.dart:156:14)
#6      MultiDragGestureRecognizer._handleEvent (package:flutter/src/gestures/multidrag.dart:258:13)
#7      PointerRouter._dispatch (package:flutter/src/gestures/pointer_router.dart:98:12)
#8      PointerRouter._dispatchEventToRoutes.<anonymous closure> (package:flutter/src/gestures/pointer_router.dart:143:9)
#9      _LinkedHashMapMixin.forEach (dart:collection-patch/compact_hash.dart:625:13)
#10     PointerRouter._dispatchEventToRoutes (package:flutter/src/gestures/pointer_router.dart:141:18)
#11     PointerRouter.route (package:flutter/src/gestures/pointer_router.dart:127:7)
#12     GestureBinding.handleEvent (package:flutter/src/gestures/binding.dart:465:19)
#13     GestureBinding.dispatchEvent (package:flutter/src/gestures/binding.dart:445:22)
#14     RendererBinding.dispatchEvent (package:flutter/src/rendering/binding.dart:331:11)
#15     GestureBinding._handlePointerEventImmediately (package:flutter/src/gestures/binding.dart:400:7)
#16     GestureBinding.handlePointerEvent (package:flutter/src/gestures/binding.dart:363:5)
#17     GestureBinding._flushPointerEventQueue (package:flutter/src/gestures/binding.dart:320:7)
#18     GestureBinding._handlePointerDataPacket (package:flutter/src/gestures/binding.dart:293:9)
#19     _invoke1 (dart:ui/hooks.dart:158:13)
#20     PlatformDispatcher._dispatchPointerDataPacket (dart:ui/platform_dispatcher.dart:382:7)
#21     _dispatchPointerDataPacket (dart:ui/hooks.dart:91:31)
====================================================================================================

Flutter Doctor output
Doctor output
[✓] Flutter (Channel stable, 3.10.6, on macOS 13.5 22G74 darwin-arm64, locale en-IN)
    • Flutter version 3.10.6 on channel stable at /Users/birjuvachhani/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision f468f3366c (4 weeks ago), 2023-07-12 15:19:05 -0700
    • Engine revision cdbeda788a
    • Dart version 3.0.6
    • DevTools version 2.23.1

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.2)
    • Android SDK at /Users/birjuvachhani/Library/Android/sdk
    • Platform android-33, build-tools 33.0.2
    • Java binary at: /Users/birjuvachhani/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/223.8836.35.2231.10406996/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.3.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14E300c
    • CocoaPods version 1.12.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2022.3)
    • Android Studio at /Users/birjuvachhani/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/223.8836.35.2231.10406996/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)

[✓] IntelliJ IDEA Ultimate Edition (version 2023.2)
    • IntelliJ at /Users/birjuvachhani/Applications/JetBrains Toolbox/IntelliJ IDEA Ultimate.app
    • Flutter plugin version 75.1.4
    • Dart plugin version 232.8660.129

[✓] IntelliJ IDEA Ultimate Edition (version 2023.2)
    • IntelliJ at /Users/birjuvachhani/Library/Application Support/JetBrains/Toolbox/apps/IDEA-U/ch-0/232.8660.185/IntelliJ IDEA.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] VS Code (version 1.78.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.64.0

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-arm64   • macOS 13.5 22G74 darwin-arm64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 115.0.5790.170

[✓] Network resources
    • All expected network resources are available.

• No issues found!

Hi @BirjuVachhani
Thanks for the report. This is regressed in https://github.com/flutter/flutter/pull/111027

cc: @hangyujin

I found the issue. This happens when the dragged item (item 5) is the last element of _items list in files.
Pretty easy fix, add a conditional statement. I got this done locally, but I'm afraid, the reset animation is quite snappy. find this video.
https://github.com/flutter/flutter/assets/84124091/c21ac624-f373-42b6-9d49-4a8223949752

@BirjuVachhani when the list is not reversed, if you drag and reset the last element into the last position, the animation is snappy, but didn't raise an error.
But in case of being reversed, the animation was snappy, but an error was raised, which has been fixed (error) in this PR.

@opxdelwin I see. So it being snappy is not another issue then. Sounds good to me! Thanks.

Yes, the PR is yet to be reviewed by appropriate members...

Closing as fixed, https://github.com/flutter/flutter/pull/132153 has been merged


Feature Request: Report all failures

HealthBit version: 0.1.8
Currently only the first failed check is returned. It would be nice to have an option to continue beyond the first failed check and report all failures.

Same here I think its crucial! Not a lot of work but would be a breaking change for custom formatter as they now would receive an array of errors to format instead of one.
This monkey patch does it for me though:
module HealthBit
  def check(env)
    results = checks.map do |check|
      check.call(env)
    end

    results.compact
  end

  def rack(this = self)
    @rack ||= Rack::Builder.new do
      run ->(env) do
        errors = this.check(env)
        if errors.any?
          [
            this.formatter.code_failure(errors, env, this),
            this.formatter.headers_failure(errors, env, this),
            [this.formatter.format_failure(errors, env, this)]
          ]
        else
          [
            this.formatter.code_success(env, this),
            this.formatter.headers_success(env, this),
            [this.formatter.format_success(error, env, this)]
          ]
        end
      end
    end
  end

  class Formatter
    # @param errors [HealthBit::CheckError]
    # @param env Hash
    # @param health_bit HealthBit
    def format_failure(errors, env, health_bit)
      format = health_bit.show_backtrace ? CheckError::FORMAT_FULL : CheckError::FORMAT_SHORT
      errors.map { |error| error.to_s(format) }.join("\n")
    end
  end
end

Here the code change but we need to either ship a breaking change or work around it somehow https://github.com/AxelTheGerman/health_bit/commit/10008243a4b4053e8209f126d3653006449715e8


Add clone for elb logs cluster

JIRA:
none
Overview:
the other side of https://github.com/Clever/record-keeper/pull/20
Testing:
Roll Out:

[ ] Remember to deploy both s3-to-redshift and s3-to-redshift-fast (and the new clone!)

LGTM!


Add auth api documentation to the client readme

@deontologician

I agree that would be useful. I'll make an issue for it.

Where can I find this issue (getting data for granted scopes) to track?

Where can I find this issue (getting data for granted scopes) to track?
https://github.com/rethinkdb/horizon/issues/216


Clarify how line splitting works in configs

Inspired by the discussion with allanwind starting at https://github.com/newsboat/newsboat/issues/1951#issuecomment-1358935805

coverage: 60.061%. remained the same when pulling ed9f2e0bbfbc39a9eb4fe01bb26f094217a9c050 on feature/1951-enhance-doc-for-splitting-config-lines into 653ca558eeca3ac530da43c238e76ce0e3e8bdae on master.

Thanks! I'll hold this open for one more day, maybe @allanwind will have something to say.

Give me a few days.
Sep 23, 2023 20:00:55 Alexander Batischev @.***>:

Thanks! I'll hold this open for one more day, maybe @allanwind[https://github.com/allanwind] will have something to say.
—
Reply to this email directly, view it on GitHub[https://github.com/newsboat/newsboat/pull/2563#issuecomment-1732398620], or unsubscribe[https://github.com/notifications/unsubscribe-auth/AADI7SNN2QE6V4SA3TST6OTX345XNANCNFSM6AAAAAA5CCIV2A].
You are receiving this because you were mentioned.
[Tracking image][https://github.com/notifications/beacon/AADI7SMNC2HXHISDIDDC4F3X345XNA5CNFSM6AAAAAA5CCIV2CWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTHIJHBY.gif]

I would probably have phrased it as a long line ...

Good point, done! How does 4d0e852fbbeebaed108bd04f6787f2bfa6980ee5 look?
I also took the opportunity to replace "split" with its synonym "break" — I find that using different words make it easier for me to actually find stuff in the docs.

most are probably familiar with backslash syntax from the shell which does strip white space.

Not inside double quotes:
$ cat example1.sh
#!/bin/sh

echo hello\
        dear\
             friends
$ ./example1.sh
hello dear friends
$ cat example2.sh
#!/bin/sh

echo "hello\
        dear\
             friends"
$ ./example2.sh
hello        dear             friends

If you need inspiration postfix has a concept of postmap (cdb, regexp, etc) and that design has stood the test of time.

Thanks! I usually steal from Mutt, it'd be great to have some more influences.

Perfect.

Thank you both for the reviews and helpful comments!


Element properties are prefilled with props from previous selected element

When selecting a two page elements with the same properties right after each other, the properties won't use the props of the actual element, but from the previous selected element.

fixed with https://github.com/meetalva/alva/commit/822b2b2ea17e145dcb60505790e80dfe3b14ad9b


Move SM2 digest signature implementation to provider.

Move the SM2 digest signature code to providers/implementation/signature. The existing dsa.c file should give a general idea as to the bulk of the changes required.
This will probably need #10351 done first.

I will take this and #10358 after the EC-in-privoder part has been done

Fixed with #12536 (formerly #11248).


Couldn't create discord client: discord: couldn't parse token

Discord won't start after creating a new Session.yaml
Similar to Bug report #30
But this time the error occured while using a windows machine.
Tried Chrome Version 117 and 113.
There seems to be a problem with this piece of code
split := strings.SplitN(cfg.Token, ".", 2)
if len(split) != 2 {
	return nil, fmt.Errorf("discord: couldn't parse token")
}

in the discord.go file

Workaround: Pulled the token manually from the dev tools. Now it works as intended

I haven't figure out why Discord generates sometimes a token with a different format, and I don't know how to reproduce it 🙈


manifests include sidecars

Does this PR modify CLI v6 or v7?
Both; though my dev/test is with cf v3-apply-changes and cf v3-push.
Description of the Change
cf v3-apply-changes recently added support for sidecars: in manifests.
Unfortunately, the utils/manifests library does not parse nor print them yet. I need this library so I can modify the test app's manifest, edit its app name, and save it to a temporary file. The rest of the buildpack testing process is managed by libbuildpack.
Why Is This PR Valuable?
It is required for buildpack testing (via libbuildpack) so we can mutate the manifest.yml to edit the appname, etc. Currently when the manifest is printed it does not include sidecars from the original manifest.
How Urgent Is The Change?
Relatively urgent to go with the sidecars epic.
Other Relevant Parties

Buildpacks team
Anyone involved in Sidecars

@drnic
I'm not sure if you're trying to generate a manifest that includes sidecars, but if you are you can use the server-side generation endpoint.
http://v3-apidocs.cloudfoundry.org/version/3.71.0/index.html#generate-an-app-manifest

@tcdowney see https://github.com/cloudfoundry/libbuildpack/pull/30/files#diff-74f5873222a036aea0e8b7675cfeb7f0R416 for how I'm using this PR - its to allow mutating manifest.yml to inject app name, whilst not losing my sidecar bits and pieces

Hi @drnic the side car manifest support is done server side now (CAPI owns the manifest in V7 CLI) - see http://v3-apidocs.cloudfoundry.org/version/3.70.0/index.html#app-manifest. There are no plans to support sidecars in the v6 CLI. I'm leaving this pr open for further comments/feedback, but will be closing it as won't-do. Thanks.

If you’re confused about the PR please ask for clarification! This is a PR for a libarary within the CLI.

From: Abby Chau<EMAIL_ADDRESS>Sent: Saturday, June 1, 2019 4:00 am
To: cloudfoundry/cli
Cc: Dr Nic Williams; Mention
Subject: Re: [cloudfoundry/cli] manifests include sidecars (#1653)
Hi @drnichttps://github.com/drnic the side car manifest support is done server side now (CAPI owns the manifest in V7 CLI) - see http://v3-apidocs.cloudfoundry.org/version/3.70.0/index.html#app-manifest. There are no plans to support sidecars in the v6 CLI. I'm leaving this pr open for further comments/feedback, but will be closing it as won't-do. Thanks.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/cloudfoundry/cli/pull/1653?email_source=notifications&email_token=AAAAA3GVGQJPGQFI45P374TPYFRVFA5CNFSM4HOG5M62YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWV6P6Q#issuecomment-497805306, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AAAAA3EYWG6AAXEAKA4ULJ3PYFRVFANCNFSM4HOG5M6Q.

I'm very confused about contributing even the tiniest patches to CF
projects sometimes.

Why is file util/manifest/application.go considered v6 only??? What is going on?

Hey there @drnic,
Over the past year or so, the CF CLI (and CCNG) has been transitioning to the CC V3 API; in order to convert the CLI over iteratively, the CLI and VAT teams have had to mess the internal architecture quite a bit in order to support this transition. If you read the opening section of the Contributing Documentation some of this is laid out. While it doesn't explain enough for this particular change to not be confusing, it would have at least provided you some context around the current state of the code.
As for not merging this change, there's several things that you should be made aware of:

Starting with CLI V7 / CC API V3, the ownership of the "app manifest" has transitioned from the CLI to the CC API. This is to allow the CC API team to update/add features to the manifest and have them instantly be usable by the consumer upon API upgrade. (As opposed to the V6 CLI manifest, where an API feature would be added and it would require the CLI team to manually implement said feature in a given version of the CLI.)
This results in the V3-Prefixed commands/V7 CLI knowing a limited amount about "app manifest" so that the CC team can change the manifest without fear of breaking the CLI. If you're wondering what that looks like, here's what the CLI now reads. As you can see, it's a much smaller set of information than the V6 version of the manifest package.

As a side note, one thing I would recommend against is using CLI packages external to the CF CLI. Outside of the plugins and [eventually] the api packages, all other packages in the CLI are not designed to be used outside of the CLI. Generally when we get pull requests that involve using them outside of the CLI, we reject them outright unless it also supports an internal use case. In this case, sidecars are already supported by the V7 cli via the API, so no CLI code changes are necessary.

Hi @drnic I'm going to close this issue but please do not hesitate to reach out if you have feedback. We hope to improve the contribution process and we would be open to a conversation about how best we can help our contributor community.


Setup an FDroid App Repo

To get easy/automatic upgrades for those who don't want to sign up for a Google account, it would be useful to setup an independent f-droid repository (given the official one won't ship gnucash-android as per #435).
See https://f-droid.org/wiki/page/Setup_an_FDroid_App_Repo for instructions.

Another issue exists about getting GNU Cash into F-Droid directly: #804

That issue has been closed. What comes next is actually setting up an F-Droid repository, as concluded in #804. This means that the discussion if and how do it should happen here or in https://github.com/GnuCash-Pocket/gnucash-android/issues/14, where @Kaligula0 summarized the various requests.


Probability function

whatever news I put IT shows true only, no news is considered as false

yes even iam facing the same issue ? did u figure out a fix ??


Update Haskell package set to LTS 14.22 (plus other fixes)

This PR is test-built by Hydra at https://hydra.nixos.org/jobset/nixpkgs/haskell-updates. I'll fix up the remaining errors and merge it on Friday, 2020-01-31 21:00 CET. You can watch this live on Twitch: https://www.twitch.tv/peti343. If you'd like to chat with me (and others) during the stream, you're welcome to use the Twitch chat or join the #haskell4nix voice conference.
TODO

[x] https://github.com/NixOS/nixpkgs/pull/78738
[x] Check changes to bustle.
[ ] Try to revive haskell-ci build.
[x] Try policeman.

Next week, we will merge https://github.com/NixOS/nixpkgs/pull/79317.


evaluate bert on Senteval dataset

Hi
I would like to evaluate bert on senteval datasets, with Senteval, I am not sure how to do it,
Do you provide any evaluation toolkit to evaluate the trained models?
thanks

This should help you: https://medium.com/dsnet/running-pytorch-transformers-on-custom-datasets-717fd9e10fe2
I did it for IMDB dataset which you should be able to customize for any other dataset.


Server fails to work when two same client connect at the same time

If there are two clients using same configuration to connect to the server at the same time, the server won't work as expect.
Suggestion
Can we verify the connection from client? We can check if there were already a connected client using same configuration with the new one. If it exist, then we just refuse the new connection.

Current behavior is dropping the previous connection because it's more robust. There's effectively no reliable way to detect if the previous client is still alive. If we reject the new connection, in the case where the old connection is problematic and decives the server, we can't recover from the failure.
No way to do what you suggest. Best we can do is to warn the user if the continuously dropping pattern appears.
---Original---
From: @.>
Date: Wed, Aug 10, 2022 12:46 PM
To: @.>;
Cc: @.***>;
Subject: [rapiz1/rathole] Server fails to work when two same client connect atthe same time (Issue #174)
If there are two clients using same configuration to connect to the server at the same time, the server won't work as expect.
Suggestion
Can we verify the connection from client? We can check if there were already a connected client using same configuration with the new one. If it exist, then we just refuse the new connection.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: @.***>