Some issues with the downloads of images and the searching.

Good morning, afternoon, or night, the problem is the following, sometimes when the program finishes downloading the images, in some cases when the message "I finish downloading all the images" appears, it also appears that not so many images were downloaded Because they already existed:

But when I check the gallery of images that I was downloading, I go to the end of this and I realize that you have to download the images manually that do not detect the program or that according to this already exist, in some galleries the solution is simple, go to end of this and download the images that do not download the program that sometimes can be 3 or 4, but it is not always so, in other cases although the program says that we can miss the last four images, it does not refer precisely to the last four Of the previous case, but refers to missing four that are scattered throughout the gallery that has downloaded, in a few words look for the images one at a time until you find it.
The other problem is that the program does not detect some authors or does not detect some searches, for example look for affect3d or gureko rouman and it appears that there are no results:

Some other information would be that I use chan.sankakucomplex.com to perform the downloads.
One suggestion to add to the program on file formats would be .swf if I'm not that bad for flash-like formats.
And a doubt I have, why sometimes in the tags appear some in blue? Because when I check the sankaku page the tag appears in another color like pink or coffee.
Now to finish I want to tell you how much I thank you for having developed the program because I know that doing this type of project can be exhausting, thank you very much, I believe that if my knowledge of programming were more advanced I would help you, the only thing that I can say thanks for all that dedication and for the time you take to develop this project.

Forget to say I use win10 anniversary version and grabber 5.1.0

For your main issue with the "4 already existing images", I believe that's because Sankaku puts the top 4 images on the first page? So Grabber first download the top 4 images, then the remaining 20*number of pages images. However, in these images will definitely be the top 4 ones, as duplicates, so Grabber will skip them because it already downloaded them at the beginning.
I'm not sure I understand what you mean by downloading them manually however. Wouldn't trying to do so only cause them to be skipped once more?

The other problem is that the program does not detect some authors or does not detect some searches, for example look for affect3d or gureko rouman and it appears that there are no results

These two tags yield no results on chan.sankaku unless you're logged in. Did you specify your credentials in Sankaku's source settings?

One suggestion to add to the program on file formats would be .swf if I'm not that bad for flash-like formats.

What do you mean? SWF is already supported and can be downloaded. It can't be played however, and it's unlikely it ever will. Integrating a flash player is too much. However, in 5.1.0, you can double click it, and if you have flash installed, it will open it in the official Adobe flash player.

And a doubt I have, why sometimes in the tags appear some in blue? Because when I check the sankaku page the tag appears in another color like pink or coffee.

You can change the colors in "Options > Interface > Coloring". Blue is for circles on Sankaku. I used the original colors when I first added it, but maybe they changed them later on.

Now to finish I want to tell you how much I thank you for having developed the program because I know that doing this type of project can be exhausting, thank you very much, I believe that if my knowledge of programming were more advanced I would help you, the only thing that I can say thanks for all that dedication and for the time you take to develop this project.

Thanks! I'm always happy to have satisfied users! It indeed is a lot of work, but reporting detailed issues is already a lot of help for me (as I don't have to search too long to find the root cause). :smile:

Sorry for the delay in answering I had a few weeks hard, you're right I assumed that just connecting to sankaku could download all the images, not connecting to the program, my error, sorry.


Add Empty States

Subject
Empty States
Description
We need to add Empty States examples. You may refer to https://tailwindui.com/components/application-ui/feedback/empty-states when making these examples.
Are you willing to participate in the development of this feature and create a pull request?
None

I will work on it!


Feature request: per agent choice of Multipart-HTML OR Plain-Text emails

Hi team,
I have a feature request :
Could we have the choice (if not too difficult to implement) in Email Agents to what email type (HTML or Plain text) we can send. Would love to be able to choose.
Thanks
Hubert

That would be a nice improvement.

I can look into this.

#1325 I opened a pr for this and is currently waiting for feedback.

Thanks @Jngai! @hcampan, would you be able to test @Jngai's PR?

Sure ! How do I proceed. Sorry for my lack of "how to" on this.

@hcampan, update yourself with the newest version of huggin code

Periodically run git fetch upstream and then git checkout master && git merge upstream/master to merge in the newest version of Huginn.

afterward try this
git fetch origin pull/1325/head:emailtest
then
git checkout  emailtest
The first command pulls my pr into a new branch locally in your machine. Then the second command switched your app to that version. I just tried this.
Please don't push anything and delete emailtest branch after testing.

Thanks @Jngai
I appreciate your explanation, but I do not have enough knowledge bricks to make it work. I installed Huginn with https://github.com/cantino/huginn/blob/5fa18248666308624afa75ad4e3a370e26a3ae24/doc/manual/installation.md#install-init-script
I suppose I have to get to home/huginn/huginn$ and type your commands, but it didn't work even using sudo. I also went to https://help.github.com/articles/fetching-a-remote/ to try and understand, but didn't.
sudo git fetch upstream
› fatal: 'upstream' does not appear to be a git repository
My question may be so newbe-ish, sorry. Can you point me in the right direction ? I don't want to crash my well-working Huginn instance.
Thanks

@hcampan lets wait for @cantino to chime in and confirm.

Hey @hcampan.  There are general update instructions here, but those don't go into how to point at a fork.  It's probably not worth trying to manually test in your production setup.
Don't worry about it! I'll test this out soon and we'll get it merged.


Add public API

As it currently stands, Electron Forge is CLI driven. If you want to interact with it in another Node module, you need to shell out. In order to better integrate with solutions such as ember-electron, we should refactor the logic so that it's accessible via a public (documented) API.

As briefly mentioned in slack I think the easiest way to make this work is

Extract all actual logic in all the "main" async functions to their own files in a new folder "api"
Make these functions take in a single options parameter with the same property names as the "program" object.
Add another property to all options objects useOra which defaults to false (so that when you use the API we don't flood their console)
Set the main file of electron-forge to export all the commands as named constants so that users can simply

import { lint, make, publish } from 'electron-forge';

The one thing I really want to avoid is maintaining two separate interfaces for electron-forge, we just be first party consumers of the "API" ourselves to avoid this happening.


typeclass search being derailed despite out_params

Prerequisites

[x] Put an X between the brackets on this line if you have done all of the following:

Checked that your issue isn't already filed.
Reduced the issue to a self-contained, reproducible test case.

 But Lean 4 gets sucked into an infinite loop. Making alpha and beta outParams in the instance OrderMonoidWithZeroHomClass.toOrderMonoidHomClass doesn't seem to help.

Please run #lint first, you need to change foo.

This {_ : Preorder α} trick works in the actual use case. Thanks Gabriel and sorry for not linting. There seems to be some concern on Zulip that this trick won't get us through though; for example a total order might be needed for a more complex instance but it might not be inferrable by unification, which might only find the partial order. All I know is that for now this trick is solving all the problems we've run into so far with the port.

Closed in favor of #1901.


Update ec_deployment data resource to lookup deployment by name/alias

Overview
Update ec_deployment data resource to lookup deployment by name/alias
Possible Implementation
data "ec_deployment" "example" {
    name = "deployment"
}

Closing it because I think this is a duplicate of https://github.com/elastic/terraform-provider-ec/issues/639


I do the same as you say but still same issue

          In case you are keeping it in your app folder the path would be

storeFile=app/storefile.jks
Doing this should do the task for you
Originally posted by @pr-1 in https://github.com/flutter/flutter/issues/63681#issuecomment-674102661

When filing an issue please provide all the relevant information within the issue. Do not file an issue with a comment from another issue without any context.
Closing this issue since no information has been provided.
Please file a new issue with all the relevant information so that this can be properly investigated.
Thank you


Use custom dispatcher for Global object's routines

Binary size reduction:
- Intel: ~780B (gcc-7.3)
- Arm: ~450B (arm-linux-gnueabi-gcc-7.3)
The change also contains the renovation of each builtin routine to use early return in case of error to make the code less complicated.
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik<EMAIL_ADDRESS>

Results:

Binary (bytes)
master(ea195cd131)
patch(8914955122)
Diff

size
132664
132664
0 bytes

.rodata
11255
11264
+9 bytes

.dynstr
262
262
0 bytes

.rel.plt
176
176
0 bytes

.interp
25
25
0 bytes

.dynsym
384
384
0 bytes

.gnu.hash
188
188
0 bytes

.text
114348
113876
-472 bytes

.comment
59
59
0 bytes

.shstrtab
250
250
0 bytes

.data
8
8
0 bytes

.ARM.exidx
8
8
0 bytes

.rel.dyn
16
16
0 bytes

.init
12
12
0 bytes

.got
104
104
0 bytes

.plt
288
288
0 bytes

.note.gnu.build-id
36
36
0 bytes

.note.ABI-tag
32
32
0 bytes

.gnu.version_r
64
64
0 bytes

.bss
1575168
1575168
0 bytes

.fini
8
8
0 bytes

.gnu.version
48
48
0 bytes

.fini_array
4
4
0 bytes

.init_array
4
4
0 bytes

.dynamic
232
232
0 bytes

.eh_frame
4
4
0 bytes

.ARM.attributes
51
51
0 bytes

.jcr
4
4
0 bytes

Also there is a bit (0.3%) performance gain, probably due to the new code layout.


Update wiki now that artifacts are hosted in Maven Central

There are a number of places in the Wiki which have not been updated since we began hosting Gaffer JARs in Maven Central - these pages should be updated.

Merged into develop.


BUG: Cartouche does not have enough space

does not finish indexing, no UI appears. ATM9 v0.2.60
shows this: Cartouche does not have enough space
edit: It magically worked out later. Maybe because I deleted all files with the EMI name of .minecraft

I have no clue what Cartouche is, that would be some other mod displaying an error.


Simplify example to use async main and Task.Delay

As of C# 7.1 you could mark main async and simplify the example to remove Task.Run and extra async delegate, to focus in on Task.Delay and how it works.  I would consider refactoring the example.

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

ID: 6ec08720-a8de-c325-20d4-7735044afa5a
Version Independent ID: e3828f5f-0390-8640-3e1d-518b1f08145a
Content: Task.Delay Method (System.Threading.Tasks)
Content Source: xml/System.Threading.Tasks/Task.xml
Product: dotnet-api
GitHub Login: @dotnet-bot
Microsoft Alias: dotnetcontent

Thanks for your feedback, @rguthriemsft. We'd welcome your contribution if you'd like to refactor the example. The one caveat is that there's a VB example, and VB does not support an async Main. So if you modify the example's description, you may have to distinguish between the VB and C# versions.
In the meantime, I'll add this item to our backlog.


Add compatibility with RHEL8/CentOS 8

Trying to get this module working with CentOS 8, I'm running into the following issue:
  Could not retrieve catalog from remote server: Error 500 on SERVER:
  Server Error: Evaluation Error:
  Error while evaluating a Function Call, Could not find template 'epel/RPM-GPG-KEY-EPEL-8.erb'
  (file: /etc/puppetlabs/code/environments/production/modules/epel/manifests/init.pp, line: 224, column: 18)

It looks like work is underway in #87.

I added a new pull request at #92.

+1   , could really use RHEL8/CentOS 8 compatibility.

Any chance of a new release? It looks like a bunch of other modules depend on this when they are testing, so none of them can have tests run again Centos 8 (see https://travis-ci.org/voxpupuli/puppet-openvpn/jobs/617067765 for example) until this is released.

We've got a release issue #61, checking to see if there's anything holding it up, if you want to comment there.

Related: #93 Request: configure PowerTools (or codeready-developer) repo on CentOS 8 (or RHEL 8).

https://github.com/voxpupuli/puppet-epel/commit/37bd12a0cc921c7dfd1465498f57c35f27645822#diff-490694a9db8f7a371538da1abe484314 was merged and a release is being worked on so I'm closing this.


Fix re-prepare error log spam

This change removes the duplicate log message when a PreparedQueryNotFound error is returned by the server.
No need to review.

Merged in 6bf05fc15af98bcc2b13a2de11faf2819fa1e393


can it resolve response(mv) according to request uri

my services work for both rest api (like /api/v1/** ) controllers and dashboard(/admin/**) controllers, they share the same exceptions.
what I expect is :when i requesting dashboard url , is should not handled by rest exception handlers  but show the error.jsp

Hi, @weaponready. Have you solve the issue? I really face this problem too. Handling exception for only REST controllers, and let other exception handled by default.

I don't know if this solve the problem. But, I set the 'default' to false.
@Bean
    public RestHandlerExceptionResolver restExceptionResolver() {
        return RestHandlerExceptionResolver.builder()
                .withDefaultHandlers(false)
                .withDefaultMessageSource(false)
                .messageSource(httpErrorMessageSource())
                .defaultContentType(MediaType.APPLICATION_JSON)
                .addErrorMessageHandler(TeaPotException.class, HttpStatus.I_AM_A_TEAPOT)
                ...
                .build();
    }


Added to array/c++ folder

Sir kindly have a look i've done the required task.

pull request merged, now please close the issue, you can also contribute to other repo's-https://github.com/avinash201199/Hacktoberfest-Guide
Note- only 2 pr per day on a single repo is accepted.
follow for more :)


Increase attachment remote_url limit

Current limit 500 is too short for some threads post.
Raise it to 2500 based on this
{
	attachment: {
		height: 1280,
		type: 'Video',
		url: 'https://scontent.cdninstagram.com/o1/v/t16/f1/m69/GGt50Rg-JZwdl6oCAGPnidPSuQV_bkYLAAAF?_nc_ht=scontent.cdninstagram.com&_nc_cat=104&vs=234542236356205_3726029553&_nc_vs=HBksFQIYOnBhc3N0aHJvdWdoX2V2ZXJzdG9yZS9HR3Q1MFJnLUpad2RsNm9DQUdQbmlkUFN1UVZfYmtZTEFBQUYVAALIAQAVAhg6cGFzc3Rocm91Z2hfZXZlcnN0b3JlL0dPYTAwQmlUMVE3bU5la0dBSkh4WUFSbHVxUnBia1lMQUFBRhUCAsgBACgAGAAbAYgHdXNlX29pbAExFQAAJo6VqYKW4YBAFQIoAkMzLBdAN3eNT987ZBgSZGFzaF9iYXNlbGluZV8xX3YxEQB16gcA&ccb=9-4&oh=00_AfBK85KEGCDt8QZ1KLuerI4o7qI8S8CvwKGrrODNxdwx9Q&oe=659A1CFF&_nc_sid=1d576d&_nc_rid=92c86d303e',
		width: 720
	},
	attributedTo: 'https://www.threads.net/ap/users/mosseri/',
	cc: 'https://www.threads.net/ap/users/mosseri/followers/',
	content: '
From this week’s ask me anything on Instagram about recent low quality Threads recommendations. We’re on it.
',
	id: 'https://www.threads.net/ap/users/mosseri/post/18015967712009007/',
	published: '2024-01-05T15:24:25-0800',
	tag: [],
	to: 'as:Public',
	type: 'Note',
	url: 'https://www.threads.net/@mosseri/post/C1vJ1MoPOTc'
}

Can you provide a URL of a specific post that breaches the limit?

I guess that'll do - I wanted something authoritative but I trust that that's a direct copy. It'd be nice to have a test for ingesting threads posts, is all.


Set the unhandled/handled state

Description
Currently there is no easy way to set the handled/unhandled state for an exception. This makes the stability score useless to us.
In our Rails application we are catching all exceptions using rescue_from, to render a json payload + send it to Bugsnag. While we do "handle" the exception, in the sense that we're catching it. The resulting status code will still be 500 and the user will see an error message.
So, from a stability perspective it wasn't handled. Thus, we'd like these errors to worsen the Bugsnag stability score. And for that to work we'd like to set the handled/unhandled state via Bugsnag.notify.
rescue_from StandardError, :with => :handle_exception

def handle_exception(exception)
  log_exception(exception)

  data = {}

  data[:user] = {
    :id           => current_user.id,
    :email        => current_user.primary_email,
    :name         => current_user.name,
    :company_id   => current_company.id,
  }

  report_exception(exception, data) # send to bugsnag (by calling Bugsnag.notify)

  if Rails.env.development? || Rails.env.test?
    options[:exception] = exception
  end

  render_error(status, options)
end

Issue
We'd like more control over the handled/unhandled state. For example by making the property adjustable on the report instance.
Environment
Library versions: 6.11.1

Hi @sandstrom
I don't think bugsnag-ruby has an officially documented way to send unhandled errors, but providing a second argument (auto_notify) of true for Bugsnag.notify (like Bugsnag.notify(exception, true)) should send an unhandled error. Does this work for your use case?

@tobyhs Yeah I noticed that in the code, but that doesn't really do what I want.
Auto-notify is orthogonal from handled/unhandled. More specifically, setting auto_notify will have other implications, besides flagging the exception has unhandled.
https://github.com/bugsnag/bugsnag-ruby/blob/master/lib/bugsnag.rb#L72-L73
I've added a small PR that illustrate how easy (I think) this fix should be:
https://github.com/bugsnag/bugsnag-ruby/pull/550

For being able to set unhandled on an error report, we have an existing internal roadmap ticket for this as this has come up for a few other notifier libraries recently.
We would need to come up with and decide on an approach/design that would likely be consistent across the languages/platforms that Bugsnag supports. We can consider your pull request when the approach has been decided on.

Thanks @tobyhs! Looking forward to it! Any tentative ETA?

We don't have an ETA at the moment.

@phillipsam Any update on this?
I read about the new user stability feature (which looks great! 😄). But we can't use it because of the problem described in this issue.

Hi @sandstrom,
Nothing new to report on timeframes on this yet. We are still looking to address this across all of our platform specific notifiers which makes this a bigger piece of work to implement. Other priorities have meant this has slipped somewhat. Updates will be added here when we have them.

Also interested in seeing progress on this.

Hello @johnkiely1, just wanted to check-in and see if there is any progress or ETA on this? 😄
When this finally shipped for JS client last year we could finally start using the stability dashboard, which has been great.

Hi @sandstrom,
There's still no ETA for this yet I'm afraid. It is still on our product roadmap, and we're still planning to add support for this when priorities allow. We'll be sure to let you know of any updates.

Thanks for the update @yousif-bugsnag
As for the problem, anyone using rescue_from (https://edgeapi.rubyonrails.org/classes/ActiveSupport/Rescuable/ClassMethods.html), a common Rails functionality, to manually render an error page, etc. will have all their errors marked as handled and have 0% use of your stability tracking.
Which is a pretty big drawback.
Just wanted to explain in case it helps you prioritize! 😄


Cant use this inside a hidden element

Hi
I am trying to use this inside a hidden element such as an expandable or a collapsible div. The initial height calculated is 0, and so when the image shows up, it has width and height set to 0.

I had the same issue...solved it forcing the size in CSS.

I've got the same issue with a BootStrap Modal. I've fixed it by setting a timer of 250 ms to call gifplayer() on the element after it's been loaded into the modal.
I did find that if I changed this.playElement.css('top', this.previewElement.height()/2 - this.playElement.height()/2); this.playElement.css('left', this.previewElement.width()/2 - this.playElement.width()/2); to this.playElement.css('top', this.previewElement[0].height/2 - this.playElement.height()/2); this.playElement.css('left', this.previewElement[0].width/2 - this.playElement.width()/2); it at least doesn't put it in the top left corner. It also doesn't center it because the modal resizes it smaller.


Update flask example requirement to fix python3 badge

Coverage remained the same at 90.22% when pulling cdb9427932e9de5636cd8cf6a666595499cda3df on cranti:dev into a2cbbd1c798d1c1531d0141bbb75ab554d1de7b1 on kensho-technologies:dev.

👋

Oh no! Just realized this is actually a bit of a meta problem -- the python3 compatibly is being flagged because of that example requirements file. Sigh. I'll update the pyup config to ignore it.
(also, hi!)

Hi! :) Thanks for taking the time to fix this!


chore(trading): update dropdowns

Related issues 🔗
Issue: #4606
Description ℹ
Updating trading dropdowns.
Demo 📺

Technical 👨🔧
Details of technical implementation that reviewers may need to be aware of, if applicable.

@MadalinaRaicu The TradingDropdownTrigger component will no longer render a styled button. You'll need to a button element/component within the trigger.

@MadalinaRaicu The TradingDropdownTrigger component will no longer render a styled button. You'll need to a button element/component within the trigger.

created a bespoke button component for the market selector.


Add check for if a ruby is installed by RVM

This pull request lets you check if a ruby is installed by RVM, e.g. ruby 2.2.0, rbx 2.4.1, jruby 1.6.8, etc.
It can be used in serverspec like this:
describe package('ruby') do
  it { should be_installed.by('rvm').with_version('2.2.0') }
end

describe package('ruby') do
  it { should_not be_installed.by('rvm').with_version('1.8.7') }
end

I am also opening a pull request for the serverspec/serverspec repo, adding some tests there.

Thanks.

Released as v2.14.0.


Graceful shutdowns and restarts

We need a way for the server to safely shutdown and wait for any background tasks to complete (e.g., persisting unsaved player data) to prevent data corruption or loss when the server is terminated.

Would a shutdown hook suffice by using Runtime.getRuntime().addShutdownHook() ?

It'd do on POSIX compatible platforms. Not sure about Windows. Will need feedback from someone running a Windows machine.

I used to use it in my release and it worked. I'm running Windows right now.

Shutdown hooks are unpleasant and have their own problems; I think we want some sort of signal handling (which is really quite difficult to do in Java, from what I remember).

I'll look into it.
Sent from my iPhone

On Apr 5, 2016, at 12:14, Major<EMAIL_ADDRESS>wrote:
Shutdown hooks are unpleasant and have their own problems; I think we want some sort of signal handling (which is really quite difficult to do in Java, from what I remember).
—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub

http://docs.oracle.com/javase/7/docs/api/java/lang/Runtime.html#addShutdownHook(java.lang.Thread)
SIGKILL(9) is also not catchable by design.
"If the virtual machine aborts then no guarantee can be made about whether or not any shutdown hooks will be run."
I believe the aforementioned would be the best bet here. Correct me if I'm wrong.
Steve

http://docs.oracle.com/javase/7/docs/api/java/lang/Runtime.html#addShutdownHook(java.lang.Thread)
SIGKILL(9) is also not catchable by design.
"If the virtual machine aborts then no guarantee can be made about whether or not any shutdown hooks will be run."
I believe the aforementioned would be the best bet here. Correct me if I'm wrong.
Steve
Sent from my iPhone

On Apr 5, 2016, at 12:14, Major<EMAIL_ADDRESS>wrote:
Shutdown hooks are unpleasant and have their own problems; I think we want some sort of signal handling (which is really quite difficult to do in Java, from what I remember).
—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub

I think a good solution would be to implement some sort of an auto save feature since it is always possible that the power on the server could go out, or some other thing could cause the shutdown code to not to be evoked. Maybe a 'lazy' saving every couple of minutes would be something useful, just in case something does cause the server to have issues. I would like to contribute, but I'm not sure how to use maven yet.
As far as waiting for all background tasks to complete, maybe we could use something a long the lines of the observer design pattern. I'm not familiar with the code in this project yet, but I think my suggestion might be useful based on the post. What if all things that needed to release resources or save on exit subscribed to a main subject, which had functions like 'shutdown'. And when that shutdown method was called, it would invoke a certain method in all subscribed observers.
If the "subjects" all implemented or extended a certain abstract interface with a method like onShutdown, and the subject contained methods shutdown and addObserver, then you could implement the following: addObserver adds a new subject into an ArrayList instance, and then when the shutdown method was called on the subject, it would invoke all onShutdown methods in all observers added to the arraylist.
Example:
import java.util.ArrayList;

interface ShutdownObserver
{
	public void onShutdown();
}

class ShutdownSubject
{
	private boolean shutdown;
	private ArrayList<ShutdownObserver> observers;
	private static ShutdownSubject INSTANCE = new ShutdownSubject();

	public static ShutdownSubject getInstance()
	{
		return INSTANCE;
	}

	private ShutdownSubject()
	{
		observers = new ArrayList<ShutdownObserver>();
		shutdown = false;
	}

	public void addObserver(ShutdownObserver observer)
	{
		observers.add(observer);
	}

	public void shutdown()
	{
		if (shutdown)
		{
			return;
		}
		shutdown = true;
		for (ShutdownObserver observer : observers)
		{
			observer.onShutdown();
		}
	}
}

class ThingThatNeedsAShutdown implements ShutdownObserver
{
	private int id;

	public ThingThatNeedsAShutdown(int id)
	{
		this.id = id;
		System.out.println("Started instance number " + id);
	}

	public void onShutdown()
	{
		System.out.println("Shutdown instance number " + id);
	}
}

class Example
{
	public static void main (String[] args) throws java.lang.Exception
	{
		ThingThatNeedsAShutdown thing1 = new ThingThatNeedsAShutdown(1);
		ShutdownSubject.getInstance().addObserver(thing1);
		ThingThatNeedsAShutdown thing2 = new ThingThatNeedsAShutdown(2);
		ShutdownSubject.getInstance().addObserver(thing2);
		ThingThatNeedsAShutdown thing3 = new ThingThatNeedsAShutdown(3);
		ShutdownSubject.getInstance().addObserver(thing3);
		ShutdownSubject.getInstance().shutdown();
	}
}

Results in the following terminal output:
Started instance number 1
Started instance number 2
Started instance number 3
Shutdown instance number 1
Shutdown instance number 2
Shutdown instance number 3

You could even invoke the shutdown method from a shutdown hook in the runservice as a backup means of making sure the graceful shutdown stuff is evoked.
I hope my suggestion helps some!

The only way to handle this would be a shutdown hook, I think. I looked into this in the past. Shutdown hooks will catch SIGTERM (kill -15) every time unless the application is terminated some other way.
The only real option to handle SIGKILL(9) would be to have another application which watches Apollo and acts when it is terminated.


[Windows] nerdctl pull error: "no match for platform in manifest: not found"

Description
nerdctl misidentifies the host architecture, leading to incompatibility with the Windows container image.
Steps to reproduce the issue

Build the app from a Windows device without setting the GOOS and GOARCH env variables.
nerdctl pull --debug mcr.microsoft.com/windows/nanoserver:ltsc2022

Describe the results you received and expected
Expected solution
User should not have to specify the GOARCH. It should pick the correct architecture automatically, by default, on build.
Actual output:
level=fatal msg="no match for platform in manifest: not found"
Complete logs:
time="2024-08-30T02:08:06+03:00" level=debug msg="verifying process skipped"
time="2024-08-30T02:08:06+03:00" level=debug msg="Ignoring hosts dir \"C:\\\\ProgramData\\\\containerd\\\\certs.d\"" error="CreateFile C:\\ProgramData\\containerd\\certs.d: The system cannot find the file specified."
time="2024-08-30T02:08:06+03:00" level=debug msg="Ignoring hosts dir \"C:\\\\ProgramData\\\\docker\\\\certs.d\"" error="CreateFile C:\\ProgramData\\docker\\certs.d: The system cannot find the file specified."
time="2024-08-30T02:08:06+03:00" level=debug msg="The image will be unpacked for platform {\"386\" \"windows\" \"10.0.22631\" [] \"\"}, snapshotter \"windows\"."
time="2024-08-30T02:08:06+03:00" level=debug msg=fetching image="mcr.microsoft.com/windows/nanoserver:ltsc2022"
time="2024-08-30T02:08:06+03:00" level=debug msg=resolving host=mcr.microsoft.com
time="2024-08-30T02:08:06+03:00" level=debug msg="do request" host=mcr.microsoft.com request.header.accept="application/vnd.docker.distribution.manifest.v2+json, application/vnd.docker.distribution.manifest.list.v2+json, application/vnd.oci.image.manifest.v1+json, application/vnd.oci.image.index.v1+json, */*" request.header.user-agent=containerd/2.0.0-rc.4+unknown request.method=HEAD url="https://mcr.microsoft.com/v2/windows/nanoserver/manifests/ltsc2022"
time="2024-08-30T02:08:07+03:00" level=debug msg="fetch response received" host=mcr.microsoft.com response.header.access-control-expose-headers=Docker-Content-Digest response.header.access-control-expose-headers.1=WWW-Authenticate response.header.access-control-expose-headers.2=Link response.header.access-control-expose-headers.3=X-Ms-Correlation-Request-Id response.header.content-length=350 response.header.content-type=application/vnd.docker.distribution.manifest.list.v2+json response.header.date="Thu, 29 Aug 2024 23:08:07 GMT" response.header.docker-content-digest="sha256:244113e50a678a25a63930780f9ccafd22e1a37aa9e3d93295e4cebf0f170a11" response.header.docker-distribution-api-version=registry/2.0 response.header.etag="\"sha256:244113e50a678a25a63930780f9ccafd22e1a37aa9e3d93295e4cebf0f170a11\"" response.header.strict-transport-security="max-age=31536000; includeSubDomains" response.header.strict-transport-security.1="max-age=31536000; includeSubDomains" response.header.x-cache=CONFIG_NOCACHE response.header.x-content-type-options=nosniff response.header.x-mcr-env=prod response.header.x-mcr-privacy="https://privacy.microsoft.com/en-us/privacystatement" response.header.x-ms-client-request-id= response.header.x-ms-correlation-request-id=172079c0-726c-4d55-aa3c-ff5030716531 response.header.x-ms-request-id=26a9c7eb-4ef0-4f30-b596-8d5df21dbe8f response.header.x-msedge-ref="Ref A: D22FC438C15F4471B73694BE2740E6F2 Ref B: MRS211050315049 Ref C: 2024-08-29T23:08:08Z" response.status="200 OK" url="https://mcr.microsoft.com/v2/windows/nanoserver/manifests/ltsc2022"
time="2024-08-30T02:08:07+03:00" level=debug msg=resolved desc.digest="sha256:244113e50a678a25a63930780f9ccafd22e1a37aa9e3d93295e4cebf0f170a11" host=mcr.microsoft.com
time="2024-08-30T02:08:07+03:00" level=debug msg=fetch digest="sha256:244113e50a678a25a63930780f9ccafd22e1a37aa9e3d93295e4cebf0f170a11" mediatype=application/vnd.docker.distribution.manifest.list.v2+json size=350
mcr.microsoft.com/windows/nanoserver:ltsc2022: resolving      |--------------------------------------|
elapsed: 1.0 s                                 total:   0.0 B (0.0 B/s)
time="2024-08-30T02:08:07+03:00" level=debug msg="do request" digest="sha256:244113e50a678a25a63930780f9ccafd22e1a37aa9e3d93295e4cebf0f170a11" mediatype=application/vnd.docker.distribution.manifest.list.v2+json request.header.accept="application/vnd.docker.distribution.manifest.list.v2+json, */*" request.header.accept-encoding="zstd;q=1.0, gzip;q=0.8, deflate;q=0.5" request.header.user-agent=containerd/2.0.0-rcmcr.microsoft.com/windows/nanoserver:ltsc2022:                                 resolved       |++++++++++++++++++++++++++++++++++++++|
index-sha256:244113e50a678a25a63930780f9ccafd22e1a37aa9e3d93295e4cebf0f170a11: downloading    |--------------------------------------|    0.0 B/350.0 B
elapsed: 1.5 s                                                                 total:   0.0 B (0.0 B/s)
time="2024-08-30T02:08:08+03:00" level=debug msg="fetch response received" digest="sha256:244113e50a678a25a63930780f9ccafd22e1a37aa9e3d93295e4cebf0f170a11" mediatype=application/vnd.docker.distribution.manifest.list.v2+json response.header.access-control-expose-headers=Docker-Content-Digest response.header.access-control-expose-headers.1=WWW-Authenticate response.header.access-control-expose-headers.2=Link response.header.access-control-expose-headers.3=X-Ms-Correlation-Request-Id response.header.content-length=350 response.header.content-type=application/vnd.docker.distribution.manifest.list.v2+json response.header.date="Thu, 29 Aug 2024 23:08:08 GMT" response.header.docker-content-digest="sha256:244113e50a678a25a63930780f9ccafd22e1a37aa9e3d93295e4cebf0f170a11" response.header.docker-distribution-api-version=registry/2.0 response.header.etag="\"sha256:244113e50a678a25a63930780f9ccafd22e1a37aa9e3d93295e4cebf0f170a11\"" response.header.strict-transport-security="max-age=31536000; includeSubDomains" response.header.strict-transport-security.1="max-age=31536000; includeSubDomains" response.header.x-cache=CONFIG_NOCACHE response.header.x-content-type-options=nosniff response.header.x-mcr-env=prod response.header.x-mcr-privacy="https://privacy.microsoft.com/en-us/privacystatement" response.header.x-ms-client-request-id= response.header.x-ms-correlation-request-id=7c1579a5-b21e-483d-a469-6e367dd5a570 response.header.x-ms-request-id=a4ae2b53-fbf5-4617-80c8-16174e2c717f response.header.x-msedge-ref="Ref A: 05109D2997F5497AA03AD7A654C07830 Ref B: MRS211050313029 Ref C: 2024-08-29T23:08:08Z" response.status="200 OK" size=350 url="https://mcr.microsoft.com/v2/windows/nanoserver/manifests/sha256:244113e50a678a25a63930780f9ccafd22e1a37aa9e3d93295e4cebf0f170a11"
time="2024-08-30T02:08:08+03:00" level=fatal msg="no match for platform in manifest: not found"

Temporary solution (HACK)
Specify the architecture when building the app:
$env:GOOS = "windows"
$env:GOARCH = "amd64"
go build -o .\_output\ .\cmd\nerdctl\

What version of nerdctl are you using?

Are you using a variant of nerdctl? (e.g., Rancher Desktop)
None
Host information

(Check regression: #3158 )

The error seems to come from here:
https://github.com/containerd/nerdctl/blob/1a55c720256c629371ed092278acf9e1d5bd83c0/cmd/nerdctl/image_pull.go#L82-L90

windows/386

Looks like nerdctl is built as a 32-bit binary on your environment?
This seems unusual configuration on modern Windows machines?

windows/386

Looks like nerdctl is built as a 32-bit binary on your environment? This seems unusual configuration on modern Windows machines?

That is really weird.

Build the app from a Windows device without setting the GOOS and GOARCH env variables.

@TinaMor can you clarify how you built it?
Did you just call make binaries?
What was in the environment?

Using go build, without setting $env:GOARCH = "amd64". With "make binaries`, it's ok

Could you paste here:

the exact go build command you used
the output of go env

Thanks.

This is wild.
Can you
command -v nerdctl
And also do comparison with file, between the resulting  binary of make binaries (which you said was fine?) and the result of your go build command?


Localised field values are not saved

With this addon enabled it seems that localised field values can not be saved.
To reproduce:

create a collection with a localisable field
create some content
switch to a different language in the editor
update the localised field value
save the content
re-edit the content
switch between languages and notice the localised value is missing

This also means that when running the cli command update-collection the localised values are stripped out.

Hey @tanc , thanks for reporting the issue! That happens just with addon enabled or with some of the addon specific configurations active?

hi @pauloamgomes I don't think I enabled anything specific... I'm nervous now of re-enabling the addon on this live site in case of data loss. I'll try and set it up locally to see whether I can replicate simply and will report back.

Yeah, I never tested it on a cockpit installation with localized fields, I'll try to check and replicate soon.

That happens not only with localized fields, also with fields like *_slug or *_locale_slug.
I created fork that fix it:
https://github.com/kkudr/CockpitCMS-Helpers/commit/046b91d23c75ac35e56cd6b6274b5b77693fd173
@pauloamgomes, can you see my solution and fix issue in this repo?

Thanks @kkudr , I'll take a look... you can also do a PR


add take frontend

add take frontend
Review commment fix

Previous PR
Thanks for contributing to TVM!   Please refer to guideline http://docs.tvm.ai/contribute/ for useful information and tips. After the pull request is submitted, please request code reviews from others in the community.

hi Everyone,
following error reported with CI, not able to trace further information, any idea how to deal this problem?
test_top_level1.test_batchnorm ... ok test_top_level1.test_concatenate ... ok test_top_level1.test_split ... ok test_top_level1.test_take ... [14:50:11] src/arithmetic/int_set.cc:514: cannot evaluate set type Load [14:50:11] src/arithmetic/int_set.cc:514: cannot evaluate set type Load terminate called after throwing an instance of 'std::bad_alloc'   what():  std::bad_alloc ./tests/scripts/task_python_nnvm.sh: line 10: 19993 Aborted                 (core dumped) python -m nose -v nnvm/tests/python/compiler script returned exit code 255
@tqchen  @merrymercy


Integrate on release tarball the 3drparty files

My Environment

ArangoDB Version:       >3.9
Operating System:        Macaroni OS/Funtoo

Problem:
Starting from ArangoDB 3.9 (or maybe before or later) the Github tarball doesn't contain 3rdparty files. In contexts like Gentoo/Funtoo this is a bit complex because for security reasons the packages are compiled in a sandbox environment without direct access to Internet and the script using Git to fetch files must be managed differently.
Instead of generating distro-specific scripts that generate additional release tarballs about 3rdpary packages used in compilation could be good to have a complete release tarball will all files needed for compilation.
Do you think this review could be something supported by the ArangoDB team? This will help distro maintainers make the ArangoDB package available to other users in a faster way.
I'm the the creator of the Macaroni OS and I using ArangoDB in the Mottainai Server Opensource project. I really want to continue to support and improve the visibility of this cool database through our OS.
Thanks in advance for any feedback.
Expected result:
Release tarball ready for compilation.

Beware that this project will is not really open source anymore:
https://arangodb.com/2023/10/evolving-arangodbs-licensing-model-for-a-sustainable-future/

License is not an issue. We have a license field in every package. We have other packages based on license key activation like Goland, etc. I can supply software that could be used after a support request to ArangoDB company or just use a limited version for Community.

Hello @geaaru,
We do provide a separate tarball with 3rdparty (and other submodules) sources included. You can download it at https://download.arangodb.com/Source/ArangoDB-<VER>.tar.gz, where a <VER> is 3.10.12, 3.11.6, etc.
Does this solve your issue?

@KVS85 hi, thanks for your response. I checked the shared URL but I see tarball until 3.4.
The directory https://download.arangodb.com/Source/ is correctly indexed?
Is this correct?

Well, it seems that it works so it's an issue of the page.
$ wget https://download.arangodb.com/Source/ArangoDB-3.10.12.tar.gz
--2024-01-20 21:40:17--  https://download.arangodb.com/Source/ArangoDB-3.10.12.tar.gz
Resolving download.arangodb.com... <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, ...
Connecting to download.arangodb.com|<IP_ADDRESS>|:443... connected.
HTTP request sent, awaiting response... 200 OK

So, this solves my issue. Thank you very much


Suggestion: Add an Tag to all fillable bookshelves

I would reall appriciate when you could add a tag to all container bookshelves like shelf_storage:shelf_storage

That's a good idea. I'll try to (remember to) get it into the next release. :-)

This is included in the 2.1.0 release! I added the following tags:
minekea:bookshelves
minekea:bookshelves_with_storage
minekea:crates


[Data Sync] Bug fix - data not being loaded

During the stress test, where we moved around 45 thousand records, we found a bug that did not move all data from source to target.
From 21 thousand records for a specific table, only 200 were synced.

The bug was related to how the string query to find out if a record already existed on the target database or not was being formatted.


Roadmap of Canner v3.0

The integration of Canner and GQLify
In<EMAIL_ADDRESS>version, we focused on how to create the CMS on our platform. So, there are just two major commands, script:server and script:deploy for users to preview and deploy their schema to our platform. Most of data connectors and config files are also designed for the platform.  But we found the most developers care about how to self-host their CMSes.
So we create the project  https://github.com/Canner/gqlify which is used to create a GraphQL server just with the data model and data sources.

GQLify examples
basic example

const { Gqlify, MemoryDataSource } = require('@gqlify/server')
const { ApolloServer } = require('apollo-server');
const { readFileSync } = require('fs');
// Read datamodel
const sdl = readFileSync(__dirname + '/demo.graphql', { encoding: 'utf8' });
// mock default data
const defaultData = {
users: [
{id: '1', username: 'Alice', email<EMAIL_ADDRESS>{id: '2', username: 'Bob', email<EMAIL_ADDRESS>],
books: [
{id: '1', name: 'book1', userId: '1'},
{id: '2', name: 'book2', userId: '2'},
],
};
// construct gqlify
const gqlify = new Gqlify({
// provide datamodel to gqlify
sdl,
// provide data-sources map to GQLify,
// so GQLify would know how to create data-source for each model
dataSources: {
memory: args => new MemoryDataSource(defaultData[args.key]),
},
});
// GQLify will provide GraphQL apis & resolvers to apollo-server
const server = new ApolloServer(gqlify.createApolloConfig());
// start server
server.listen().then(({ url }) => {
console.log(🚀 Server ready at ${url});
});

demo.graphql

type User @GQLifyModel(dataSource: "memory", key: "users") {
  id: ID! @unique @autoGen # auto generate unique id
  username: String!
  email: String
  books: [Book!]! # User-Book: one-to-many
}

type Book @GQLifyModel(dataSource: "memory", key: "books") {
  id: ID! @unique @autoGen # auto generate unique id
  name: String!
  author: User!
}

To integrate Canner and GQLify, we transform Canner schema to GQLify data model, so that we can run the server with GQLify. And Canner only needs to know what is the endpoint of the graphQL server, not the Apollo connector. This makes the whole structure more clear and simple.

CLI commands
To support the self-hosting, we rename most commands to be more clear.
Common

[x] canner init - Initialize canner.schema.js, schema/*.schema.js, one of canner.server.js and canner.cloud.js

--only-schema, -s
--only-cloud, -c
--only-server, -S

OSS (self-hosting)

[x] canner start - build the cms and run the GrapQL server
[x] canner start:cms - run the cms server

build statics + serve statics

[x] canner start:graphql - run the GrapQL server
[x] canner start:auth - run the cms and run the GrapQL server

Cloud

[x] canner cloud:signup
[x] canner cloud:login
[x] canner cloud:logout
[x] canner cloud:deploy - Deploy the schemas and the server to Canner platform
[x] canner cloud:preview - Run webpack-dev-server for developers to develop quick
[x] canner cloud:whoami
[x] canner cloud:dashboard
[x] canner cloud:init - Intialize the project, the combination of canner app:use and canner init
[x] canner app:use - Select one app on Canner, create the .cannerrc in project root

--app-name <app-name> - Specify the app

[x] canner app:create - Create one app on Canner, create the .cannerrc in project root

--app-name <app-name>- The app name

[x] canner app:list

The configuration files

[x] canner.server.js for OSS
[x] canner.cloud.js for Cloud

OSS modules
Cms server
Serving static files built from canner-bundle and render the whole cms view.

[x] integration with GQLify
[x] integration with auth server

Auth server
Authentication server implementing openid-connect.

[x] follow basic openid-connect spec
[x] login with username/password

GQLify server

[x] integration with Canner Schema
[x] integration with auth server -> authentication in apollo context

Others

[x] Docs

Feedback
We are now fully working on this, and the first release will be published around February 2, welcome to try the new feature and give us some feedback, thanks!

Looking forward to this! Want to start using Canner and use it as OSS (self-hosting) on firebase hosting (and firestore). Hearing that Canner v3.0 will be more focussed on OSS is great. Want to experiment with Canner, but I think I'll wait for the first v3.0 release (tomorrow?).

Hi @steurt @kevrat
Our Canner v3 is released!
Check out our blog to see what's new: https://www.cannercms.com/blog/2019/02/07/canner-v3
Another thing is that Prisma will require more time to be integrated into our v3 framework. We'll get to that really soon.

Nice work! Hope to try it with prisma soon

Kudos for thinking about greater good and  making canner v3  self hosting friendly,
Wih firebase auth and firestore it really is significant asset for anyone
Cheers from India :)

Awesome work! I was trying to set it up with firestore but ran into some trouble:
https://spectrum.chat/?t=44268817-8232-41b2-a5a8-e86e2357bacd
It worked perfectly with realtime database from firebase though!


Stream starts paused after UI reload, requires PLAY button to be pressed

In some circumstances (not sure what triggers this behaviour) the dashboard will refresh, forcing the stream to reload.
This can also be triggered by changing windows or tabs in the browser and returning to the tab with the dashboard.
Observed behaviour:
This will sometimes cause the stream to load up paused, requiring the user to click a play button (just next to the mute/unmute button) that would not be present otherwise. This requires monitoring playback state, which is extremely inconvenient in for example baby monitoring.
Expected behaviour:
In case of a dashboard refresh, the stream restarts in playback.

backgroud option, read in the readme

In fact I did use backgroud. This was the issue, as the option is background, with an n.
Confirmed as solved ;) Thanks for the patience!


Typo in the app

If you go to the settings > editor settings tab, then scroll down to "Scroll Beyond Last Line", beyond is spelt beyong.

this seems to be fixed in master already.


Update redeem description

Actually, it only requires additional account_token cookie

imo this could cause a bit of confusion. You can also use account_id and cookie_token cookies for all other endpoints. Telling users they should use only a cookie_token but still keep ltuid would lead to confusion as to what the second token is exactly for.
Also, I'd like to be consistent with the How can I get my cookies? section of the readme.
Maybe a minor comment in that section saying that ltuid and account_id are interchangeable would be enough.


Please add audio recorder!

I don't see one for Maui yet.  However, I saw a comment that you were planning to add one.  I suppose I should volunteer to do it ...

Coordinate with @bijington he has already done some work on it I think. It's coming!

Great!  I am available for testing on Windows, Android, MacCatalyst.  The iPhone won't deploy because of some certificate issue.

Any progress on this? I can now test on all 4 platforms.

I see Shaun's blog at https://blog.bijington.com/ but I don't see how to message him.  I don't do twitter.
Is there anything I could do to help move this forward?  I have developed both a Xamarin and now Maui app but have not worked under the hood of a Nuget package yet.  I would be willing to learn.

Hi Shaun.  On the Xamarin side the functionality was split between
AudioRecorderService (Plugin.AudioRecorder) and AudioPlayer.  Splitting the
functionality on the Maui side is fine with me if that makes it any easier.
Regarding https://github.com/NateRickard/Plugin.AudioRecorder, what would
it take to convert that to Maui even if it only worked with Android and
iPhone?  That would be a start and it would allow me to publish my mobile
apps.
Thanks for your help!  If I get desperate I may look at doing the
conversion myself but I have yet to work on a package like that and know
what it takes to convert from Xamarin to Maui.
Charles
On Tue, Nov 15, 2022 at 9:30 AM Shaun Lawrence @.***>
wrote:

I see Shaun's blog at https://blog.bijington.com/ but I don't see how to
message him. I don't do twitter.
Is there anything I could do to help move this forward? I have developed
both a Xamarin and now Maui app but have not worked under the hood of a
Nuget package yet. I would be willing to learn.
Sorry I've been rather absent from this repo and discussion. I'm happy to
discuss the details on here or Discord if you use that and prefer it.
As for the implementation I believe I had started a branch to investigate
adding the functionality in, I originally wanted to make something that was
fairly symmetrical to the playing side but I think I found that was a
challenge. I'll try and dig out what I had worked on
—
Reply to this email directly, view it on GitHub
https://github.com/jfversluis/Plugin.Maui.Audio/issues/33#issuecomment-1315565052,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAHE7KZANC5ZPH7L3W4DP7DWIO3CFANCNFSM6AAAAAAROP4V6I
.
You are receiving this because you authored the thread.Message ID:
@.***>

So I am a little confused.  Is there something I can test or will a nuget solution be released soon?

Nothing with this functionality has ben released yet. If you want to test it right now you can get the code from here and test that: https://github.com/jfversluis/Plugin.Maui.Audio/pull/35
It's still a work in progress.

Hi @jfversluis,
Is there any news on this? Recording audio is the main feature of our app. We really need this.
Maui doesn't have recording audio feature yet and there isn't any plug in available. This presents show stopper problem at least for us. We need it Android and IOS platforms.
If it is not going to be available soon, what is the road map?
Thanks

@hercul1017 I actually messaged Gerald this morning to say I would try and get this PR completed this week 😉

That would be awesome.
Thanks,

@hercul1017 I just want to add to this: I appreciate your enthusiasm on this. But I'd like to point out that this is a community effort by Shaun and myself. We're working on this whenever our personal situation allows for some time.
I understand that this might be a showstopper, however, it shouldn't have to be. If we can write this code and wrap it in a plugin, so can you. A plugin is just someone else doing work that you could've done yourself. This project is open-source, so you can also even contribute back and not only help yourself but also others.
Coincidentally Shaun did mention he's going to look at it this week. So hopefully we'll be able to release it soon!
Thank you for your understanding.

@jfversluis sorry for the misunderstanding. Somehow I thought this development belongs to Microsoft and it is not a community effort. It is shame that Microsoft didn't think audio feature (playing sound, recording etc.) is not important enough to be part of Maui first release and did not put some resources on it.
I really appreciate competent developers like you and @bijington to do this for community. Thanks again for your time and effort.

I am also confused because I tested this and have been using it for months now.  I thought I did a pull request.  Is there something else I should have done to have successfully gotten this merged back into the main branch?
https://github.com/cdavidyoung/Plugin.Maui.Audio

@cdavidyoung sorry if that wasn't clear. The functionality is great and your PR is very much appreciated and we will definitely use that. However, as pointed out in said PR, there were a couple of things from a technical/code standpoint that we wanted to fix up and Shaun has proposed to take that to not burden you any further.
Unfortunately he hasn't found to the time to do so yet, but he's committed to make that happen this week.

Thanks, Gerald!  This was a nice introduction to nugets for me.  I have since moved on to another with great success.  This is really an amazing community for sharing code.
https://github.com/cdavidyoung/FFMpegCore

Is there any news on this project?

Sorry it's all on me right now. We have iOS and macOS working under the API surface that we want but Android and Windows still requires effort sadly.
I will be away for 2 weeks but when I get back this is at the top of my list of things to look at. Although last time I promised Gerald I would look into this my dog sadly passed so I won't be making any promises. I do really hope to wrap it up soon though

Thanks for quick response @jfversluis  and @bijington . Sorry to hear about your dog.
I believe IOS and Android solution would be good enough for most of the people who need this feature.
Thank you for your efforts.

Just as a reminder, while waiting on the official release, if you don't mind building your own nugets locally you can clone my repo.  This audio recording works on all platforms.
https://github.com/cdavidyoung/Plugin.Maui.Audio

Hi, is there any news on this project?


Send output to stderr so as not to interfere with pipelines.

I simply replaced all occurrences of cout with cerr.
The usual behavior of terminal progress bars is to send output to either stderr or the tty, rather than stdout.

As reported in #2, it would be actually nice to also let the user set a custom output stream. Nevertheless, I agree that std::cerr should be the default. Thanks for contributing!


New Content Update Request: Partnership Inquiry Form

Link where content currently exists
https://techqueria.org/partner/#submit-a-partnership-inquiry
Updates you'd like to make

Please remove What is your LinkedIn profile URL?*
On How is your organization interested in partnering with Techqueria?* remove the events option and add monthly career fair option
On What kind of partnership is your organization interested in?* remove the affiliate partner option

Additions:

Where What is your LinkedIn profile URL?* currently lives, please remove it and replace it with What is your organization's website URL*?

Under the website URL question, please add the following questions and sequence them similar to Your first name and Your last name fields:

How many women are in the organization?
How many people of color are in the organization?
How many Latinx people are in the organization?
How many LGBTQIA+ folks are in the organization?
How many folks with disabilities are in the organization?
How is your workplace inclusive? Open multiline Text box
Does your organization hire DACA recipients? Yes or No drop down.

Under the questions above, please add the following question:

Does your organization have a DEI, Impact or Sustainability report we can reference? If so, please provide the URL below.

Any additional context?
This was requested because of changes to how partners are vetted and partnership offerings available in 2021.

Hello. Please is help still needed on this task?


Add one more button for the PMDG 737-700

Software version
0.8.1
Problem
Light on REV button for VNav function
Suggested solution
The 737 does not have a Backcourse, but uses this button REV to enable VNav.
Put in the PMDG 737-700 section of  the Config.Buildin.ini this extra code:
REV = L:ngx_MCP_VNav > 0
Works great for me!
What alternatives are there?
No response
Other information
No response

Great stuff - thank you!

This just shipped in BBL 0.8.2. Thanks so much, @Flintstone2k12 !


Consider using a JIT

Blend2D is a new 2D vector rendering engine in town, which despite it's earlyness, achieve impressive performance numbers.
Source :
https://blend2d.com/performance.html
This "next generation" renderer has most of its benefits from this optimization paradigm:
"Blend2D is a next generation 2D vector graphics engine written in C++. It features a built-in JIT compiler that generates high performance 2D pipelines at runtime, which are much faster than static pipelines used in today's 2D engines. Dynamic pipeline construction is the main difference between Blend2D and other 2D engines, and guarantees the highest possible throughtput by taking advantage of CPU extensions detected at runtime. Blend2D provides also a deferred and asynchronous rendering, which makes it seamless to integrate with event-based environments such as node.js and next generation UI toolkits."
So the goal of the issue is to evaluate the feasibility of applying JIT pipeline construction to pathfinder, potentially massively improving performance.

Pathfinder has the design decision of explicitly not compiling shaders at runtime, to avoid unpredictable overheads.


Faucet / Registration doesn't work on staging-net

Describe the bug
I ran the local blockchain (staging-net) on port 9945
After creating wallets, tried to get faucets, but it doesn't work.
SubstrateRequestException: {'code': 1014, 'message': 'Priority is too low:<PHONE_NUMBER>3709551615
vs<PHONE_NUMBER>3709551615)', 'data': 'The transaction has too low priority to replace another
transaction already in the pool.'}

To Reproduce

Create wallet named 'owner`
Run the following command to generate faucet
btcli wallet faucet --wallet.name owner --subtensor.network ws://<IP_ADDRESS>:9945

Expected behavior
Faucet generated in the owner wallet.
Screenshots

Environment
Ubuntu 22.04
Additional context
No response

@JohnReedV do you have any updates?


Automatically close GH projects after a release

org project and the spring-cloud-release milestone (with the date)


Remove duplicate entries from list of metrics

In the long metrics list, some metrics are identical with different names or have only slight variations.
Issue first reported in #58

Could you point out any that are duplicate? Or at least candidates?

I had a look at the metrics table, and I found these metrics to be quite similar-

Total New Contributing Organizations
New Contributing Organizations
New Contributor Organizations

We can try to assemble them into 1 or 2, maybe? Just a suggestion.

I have fixed this. I suggested keeping
Total New Contributing Organizations
New Contributing Organizations

The latter is used by GMD and the former is a running total (as I see it). A bit different from identifying new organizations.


KESENGEI

KESENGEI created by<EMAIL_ADDRESS>on 2017-03-18 12:51:55

<EMAIL_ADDRESS>replied, KESENGEI is from KESAI and means 'recently become scarce'?

<EMAIL_ADDRESS>replied, Yes

<EMAIL_ADDRESS>replied, closed!


Add tslint-playground to README and bug report template.

PR checklist

[ ] Addresses an existing issue: #4125
[ ] New feature, bugfix, or enhancement

[ ] Includes tests

[X] Documentation update

Overview of change:
Add tslint-playground to README and bug report template.
Is there anything you'd like reviewers to focus on?

CHANGELOG.md entry:
[docs] Add tslint-playground to README and bug report template.

Note: I removed the extra "Creating a New Release" section.

Creating a new release

Bump the version number in package.json and src/linter.ts
Add release notes in CHANGELOG.md

Use ./scripts/generate-changelog.js (after building it with tsc -p scripts) to generate the changelog diff. This script expects > a Github.com personal access token to exist at ~/github_token.txt with "repo" permissions.

Commit with message Prepare release <version>
Push your branch to GitHub and make a PR
Once your PR is merged, wait for the tests to pass on CircleCI for develop
Create a "Release" on GitHub with the proper tag version and notes from the changelog.

The tag should be identical to the version in package.json

Run yarn run publish:local


Decouple ServiceKey namespace from KeyStoreAPI namespace

We are storing the ServiceKey in the same namespace as the one we use for the KeyStoreAPI. What this means is that a caller may override the ServiceKey that was stored, if they pass in id == "ssi-service-key" in the Store Key Request

why not just prevent overwriting the key? meaning the id "ssi-service-key" is reserved for the service?

why not just prevent overwriting the key? meaning the id "ssi-service-key" is reserved for the service?

That's certainly one solution.
I think it makes more sense to let users use any id that they want. I also think it's important to separate the ssi-service keys from keys that we're storing on behalf of users. Both have different requirements.

I agree @andresuribe87 we should support both paths:

bring you own key
generate and use a key in the service


[minor] Static code analysis

Q
A

Is bugfix?
no

New feature?
no

Breaks BC?
no

Tests pass?
n/a

Fixed issues
n/a

Any chance to get this merged next week? I would like to address a little bit more findings but in a separate PR.

Merged

Thank you =)


Grpc processor

Resolves spring-cloud-stream-app-starters/app-starters-release#113
Resolves spring-cloud-stream-app-starters/grpc#1

Woooot! Just wanted to drop a huge kudos even before looking at the code +💯

@viniciusccarvalho: When you get a chance, can you give your blessing?

sorry, this looks terrific to me, I only made that small comment on a making users aware of sync/async stub.
Ship it.
Thanks @dturanski this is amazing stuff +💯

Thanks, @viniciusccarvalho.  @sobychacko: This is ready to go Celcius.RC.

Ping @dturanski

Noted
On Tue, Mar 6, 2018 at 12:44 PM Sabby Anandan<EMAIL_ADDRESS>wrote:

Ping @dturanski https://github.com/dturanski
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/spring-cloud-stream-app-starters/grpc/pull/1#issuecomment-370865854,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA2IS95h687xrZdzbvs78_4hj4Kqz1Zjks5tbsq7gaJpZM4OsiYc
.

--
David Turanski
Spring Advisory Architect
Pivotal, Inc

See commit 11672c9b

Closing in favor of an updated PR.


Fail to install GroundingDINO: Building wheel for groundingdino (pyproject.toml) ... error

Hi, I try to install this project localy
OS Ubuntu 20.04
CUDA 11.3
Pytorch 1.12.0
gcc 9.4.0

However， when I run python -m pip install -e GroundingDINO or $ cd GroundingDINO $ pip install ., I encounter an error :
Building wheels for collected packages: groundingdino
  Building wheel for groundingdino (pyproject.toml) ... error
  error: subprocess-exited-with-error

  × Building wheel for groundingdino (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [101 lines of output]
      /tmp/pip-build-env-y8pugo6e/overlay/lib/python3.9/site-packages/torch/nn/modules/transformer.py:20: UserWarning: Failed to initialize NumPy: No module named 'numpy' (Triggered internally at ../torch/csrc/utils/tensor_numpy.cpp:84.)
        device: torch.device = torch.device(torch._C._get_default_device()),  # torch.device('cpu'),
      Building wheel groundingdino-0.1.0
      Compiling with CUDA
      running bdist_wheel
      /tmp/pip-build-env-y8pugo6e/overlay/lib/python3.9/site-packages/torch/utils/cpp_extension.py:502: UserWarning: Attempted to use ninja as the BuildExtension backend but we could not find ninja.. Falling back to using the slow distutils backend.
        warnings.warn(msg.format('we could not find ninja.'))
      running build
      running build_py
      creating build/lib.linux-x86_64-cpython-39
      creating build/lib.linux-x86_64-cpython-39/groundingdino
      copying groundingdino/version.py -> build/lib.linux-x86_64-cpython-39/groundingdino
      copying groundingdino/__init__.py -> build/lib.linux-x86_64-cpython-39/groundingdino
      creating build/lib.linux-x86_64-cpython-39/groundingdino/util
      copying groundingdino/util/time_counter.py -> build/lib.linux-x86_64-cpython-39/groundingdino/util
      copying groundingdino/util/inference.py -> build/lib.linux-x86_64-cpython-39/groundingdino/util
      copying groundingdino/util/visualizer.py -> build/lib.linux-x86_64-cpython-39/groundingdino/util
      copying groundingdino/util/utils.py -> build/lib.linux-x86_64-cpython-39/groundingdino/util
      copying groundingdino/util/vl_utils.py -> build/lib.linux-x86_64-cpython-39/groundingdino/util
      copying groundingdino/util/slio.py -> build/lib.linux-x86_64-cpython-39/groundingdino/util
      copying groundingdino/util/slconfig.py -> build/lib.linux-x86_64-cpython-39/groundingdino/util
      copying groundingdino/util/box_ops.py -> build/lib.linux-x86_64-cpython-39/groundingdino/util
      copying groundingdino/util/logger.py -> build/lib.linux-x86_64-cpython-39/groundingdino/util
      copying groundingdino/util/__init__.py -> build/lib.linux-x86_64-cpython-39/groundingdino/util
      copying groundingdino/util/get_tokenlizer.py -> build/lib.linux-x86_64-cpython-39/groundingdino/util
      copying groundingdino/util/misc.py -> build/lib.linux-x86_64-cpython-39/groundingdino/util
      creating build/lib.linux-x86_64-cpython-39/groundingdino/datasets
      copying groundingdino/datasets/transforms.py -> build/lib.linux-x86_64-cpython-39/groundingdino/datasets
      copying groundingdino/datasets/__init__.py -> build/lib.linux-x86_64-cpython-39/groundingdino/datasets
      creating build/lib.linux-x86_64-cpython-39/groundingdino/models
      copying groundingdino/models/registry.py -> build/lib.linux-x86_64-cpython-39/groundingdino/models
      copying groundingdino/models/__init__.py -> build/lib.linux-x86_64-cpython-39/groundingdino/models
      creating build/lib.linux-x86_64-cpython-39/groundingdino/models/GroundingDINO
      copying groundingdino/models/GroundingDINO/ms_deform_attn.py -> build/lib.linux-x86_64-cpython-39/groundingdino/models/GroundingDINO
      copying groundingdino/models/GroundingDINO/transformer.py -> build/lib.linux-x86_64-cpython-39/groundingdino/models/GroundingDINO
      copying groundingdino/models/GroundingDINO/fuse_modules.py -> build/lib.linux-x86_64-cpython-39/groundingdino/models/GroundingDINO
      copying groundingdino/models/GroundingDINO/utils.py -> build/lib.linux-x86_64-cpython-39/groundingdino/models/GroundingDINO
      copying groundingdino/models/GroundingDINO/groundingdino.py -> build/lib.linux-x86_64-cpython-39/groundingdino/models/GroundingDINO
      copying groundingdino/models/GroundingDINO/__init__.py -> build/lib.linux-x86_64-cpython-39/groundingdino/models/GroundingDINO
      copying groundingdino/models/GroundingDINO/bertwarper.py -> build/lib.linux-x86_64-cpython-39/groundingdino/models/GroundingDINO
      copying groundingdino/models/GroundingDINO/transformer_vanilla.py -> build/lib.linux-x86_64-cpython-39/groundingdino/models/GroundingDINO
      creating build/lib.linux-x86_64-cpython-39/groundingdino/models/GroundingDINO/backbone
      copying groundingdino/models/GroundingDINO/backbone/position_encoding.py -> build/lib.linux-x86_64-cpython-39/groundingdino/models/GroundingDINO/backbone
      copying groundingdino/models/GroundingDINO/backbone/backbone.py -> build/lib.linux-x86_64-cpython-39/groundingdino/models/GroundingDINO/backbone
      copying groundingdino/models/GroundingDINO/backbone/__init__.py -> build/lib.linux-x86_64-cpython-39/groundingdino/models/GroundingDINO/backbone
      copying groundingdino/models/GroundingDINO/backbone/swin_transformer.py -> build/lib.linux-x86_64-cpython-39/groundingdino/models/GroundingDINO/backbone
      running build_ext
      Traceback (most recent call last):
        File "/home/gordon/anaconda3/envs/anno-auto/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
          main()
        File "/home/gordon/anaconda3/envs/anno-auto/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
          json_out['return_val'] = hook(**hook_input['kwargs'])
        File "/home/gordon/anaconda3/envs/anno-auto/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 251, in build_wheel
          return _build_backend().build_wheel(wheel_directory, config_settings,
        File "/tmp/pip-build-env-y8pugo6e/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 404, in build_wheel
          return self._build_with_temp_dir(
        File "/tmp/pip-build-env-y8pugo6e/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 389, in _build_with_temp_dir
          self.run_setup()
        File "/tmp/pip-build-env-y8pugo6e/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 311, in run_setup
          exec(code, locals())
        File "<string>", line 200, in <module>
        File "/tmp/pip-build-env-y8pugo6e/overlay/lib/python3.9/site-packages/setuptools/__init__.py", line 103, in setup
          return distutils.core.setup(**attrs)
        File "/tmp/pip-build-env-y8pugo6e/overlay/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 185, in setup
          return run_commands(dist)
        File "/tmp/pip-build-env-y8pugo6e/overlay/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
          dist.run_commands()
        File "/tmp/pip-build-env-y8pugo6e/overlay/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands
          self.run_command(cmd)
        File "/tmp/pip-build-env-y8pugo6e/overlay/lib/python3.9/site-packages/setuptools/dist.py", line 963, in run_command
          super().run_command(command)
        File "/tmp/pip-build-env-y8pugo6e/overlay/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
          cmd_obj.run()
        File "/tmp/pip-build-env-y8pugo6e/overlay/lib/python3.9/site-packages/wheel/bdist_wheel.py", line 368, in run
          self.run_command("build")
        File "/tmp/pip-build-env-y8pugo6e/overlay/lib/python3.9/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command
          self.distribution.run_command(command)
        File "/tmp/pip-build-env-y8pugo6e/overlay/lib/python3.9/site-packages/setuptools/dist.py", line 963, in run_command
          super().run_command(command)
        File "/tmp/pip-build-env-y8pugo6e/overlay/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
          cmd_obj.run()
        File "/tmp/pip-build-env-y8pugo6e/overlay/lib/python3.9/site-packages/setuptools/_distutils/command/build.py", line 131, in run
          self.run_command(cmd_name)
        File "/tmp/pip-build-env-y8pugo6e/overlay/lib/python3.9/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command
          self.distribution.run_command(command)
        File "/tmp/pip-build-env-y8pugo6e/overlay/lib/python3.9/site-packages/setuptools/dist.py", line 963, in run_command
          super().run_command(command)
        File "/tmp/pip-build-env-y8pugo6e/overlay/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
          cmd_obj.run()
        File "/tmp/pip-build-env-y8pugo6e/overlay/lib/python3.9/site-packages/setuptools/command/build_ext.py", line 88, in run
          _build_ext.run(self)
        File "/tmp/pip-build-env-y8pugo6e/overlay/lib/python3.9/site-packages/setuptools/_distutils/command/build_ext.py", line 345, in run
          self.build_extensions()
        File "/tmp/pip-build-env-y8pugo6e/overlay/lib/python3.9/site-packages/torch/utils/cpp_extension.py", line 525, in build_extensions
          _check_cuda_version(compiler_name, compiler_version)
        File "/tmp/pip-build-env-y8pugo6e/overlay/lib/python3.9/site-packages/torch/utils/cpp_extension.py", line 413, in _check_cuda_version
          raise RuntimeError(CUDA_MISMATCH_MESSAGE.format(cuda_str_version, torch.version.cuda))
      RuntimeError:
      The detected CUDA version (11.3) mismatches the version that was used to compile
      PyTorch (12.1). Please make sure to use the same CUDA versions.

      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for groundingdino
Failed to build groundingdino
ERROR: Could not build wheels for groundingdino, which is required to install pyproject.toml-based projects

The detected CUDA version (11.3) mismatches the version that was used to compile
PyTorch (12.1). Please make sure to use the same CUDA versions.

Seems like the CUDA environment should be double-checked

Thanks, I updated CUDA to version 12.1, and it's working


🐛 BUG: Syntax highlighting in braces

Describe the Bug
Words inside braces have wrong highlighting. They are different from same words outside braces.
Steps to Reproduce
Write in vscode and see highlighting.

word

{true &&
word
}

If theme doesn't define text.astro I can override it in settings file to color in different way?

Inspect Editor Tokens and Scopes for background show:
meta.jsx.children.tsx
meta.tag.tsx
meta.jsx.children.tsx
meta.tag.without-attributes.tsx
meta.jsx.children.tsx
meta.tag.without-attributes.tsx
meta.arrow.tsx
source.tsx
meta.embedded.expression.astro
source.astro

And foreground:
meta.tag

Overriding text.astro or source.astro change the color of word in
word
 but not {true &&
word
}.

We could probably set meta.tag on the content of the tag like JSX does, yes! We followed HTML in this regard where the content is always text.
Would you be willing to send a PR for this? I can't quite remember how we handle tag content so can't pinpoint the line just now, but the syntax file is here and should be fairly documented: https://github.com/withastro/language-tools/blob/main/packages/vscode/syntaxes/astro.tmLanguage.src.yaml

Sadly @cdtut , HTML and JSX have different approaches to syntax highlighting. JSX choose to have a pattern meta.tag matching tags (start and end) and their content, while HTML chooses to differentiate tags and text (tags content).
Astro chose to follow HTML, and it seems impossible to make these philosophies coexist 😕 @Princesseuh maybe you should close this issue?

Yeah, after investigating it seems like it's impossible to make everything work. You end up either breaking themes that highlight JSX's meta.tag a particular way, or you break those that highlight text a particular way. It's quite wonky. Other frameworks that uses JavaScript's TextMate grammar + HTML also have a similar issue.
Since:

There's a workaround
It doesn't affect a lot of themes
We generally align with HTML when possible

I'll just close this, apologies for the inconveniences. In the future, if we choose the completely own syntax highlighting inside expressions, we could fix this then, but it's a fairly consequential task.


[feat]: Flex Component

Feature description
An easy to use Flex component where users can easily set vertical, wrap, justify, align, flex, gap, and component as is in other UI libraries particularly Ant Design.

Property
Description

vertical
Is direction of the flex vertical, use flex-direction: column

wrap
Set whether the element is displayed in a single line or in multiple lines

justify
Sets the alignment of elements in the direction of the main axis

align
Sets the alignment of elements in the direction of the cross axis

flex
flex CSS shorthand properties

gap
Sets the gap between grids

component
custom element type

Affected component/components
Flex
Additional Context
Additional details here...
Before submitting

[X] I've made research efforts and searched the documentation
[X] I've searched for existing issues and PRs

I'd love to work on this component

What you are describing is a <div className="flex"> and you can add tailwindcss classes for all those properties you just mentioned, and make it responsive and whatnot.
What are the benefits of a Flex component?


github.issue.create is giving me a 404 (FIXED: Removing path prefix fixes it)

{ message: '{"message":"Not Found","documentation_url":"https://developer.github.com/v3"}',
code: 404 }
EDIT: Removing path prefix seemed to work. Annoying.

Can you elaborate on "removing path prefix"? I didn't define one (even tried setting it null) and I'm still getting this issue.


Use \pocketmine\scheduler\Task instead.

...since self::getOwner() isn't being used, it's useless.

@minecrafter, could you confirm if there is a reason why we are extending from PluginTask please? I did notice in https://github.com/PocketMine/PocketMine-MP/blob/master/src/pocketmine/scheduler/Task.php#L25 that it advises extending PluginTask, however as I've not spent much time with the codebase to this point, I'm not sure if this applies in this instance.

I am erring on the side of caution by following the advice in Task.php to use PluginTask. I don't have much experience with PocketMine myself, however.

After closer investigation, I've decided to reject this pull request. This could interfere with server functionality, and in any event, the original code is fine.

Then in that case, it would be better if $this->getOwner() is going to be used instead of BuycraftPlugin::getInstance() in onRun($tick)

You are free to open another PR to make that change. Note that there's multiple tasks that BuycraftPM starts, so you would need to check everything that extends PluginTask.


Connect to Azure MLStudio from VSCode (via proxy) - Invalid response: 407 authenticationrequired

Does this occur consistently? Yes
Repro steps:
Start Azure MLStudio Compute instance
Click on VSCode icon to connect from VSCode
Action: Resolver.resolve
Error type: 70
Error Message: Invalid response: 407 authenticationrequired
Version: 0.22.0
OS: win32
OS Release: 10.0.19044
Product: Visual Studio Code
Product Version: 1.74.3
Language: en
s extension.js:2:1926253
extension.js:2:1959307extension.js:2:1959307

Tracking in https://github.com/microsoft/vscode/issues/12588. Also see if https://github.com/microsoft/vscode/issues/12588#issuecomment-937324160 helps.


add new eslint rules and fix errors

Currently just add src folder in linter rules (not including test cause some unhandled issues)
Use standard + prettier eslint plugins, some important rules:

  semi: true,
  // Trailing commas help with git merging and conflict resolution
  trailingComma: 'all',
  // Use single quote in all files. https://github.com/prettier/prettier/issues/1080#issuecomment-390363232
  singleQuote: true

Need a overall api test to ensure the compatibility
Update nodejs version to dubnium (node 10) cause some packages do not support node 8

Coverage decreased (-16.4%) to 18.202% when pulling 00e8c6b5b1abcfab3212753604c2dff087f946ac on linter into 152892c57548719ff609ad738e52661c5a95fb9b on master.


Update DB module to include seeds and schema

Need to update

seeds.sql

Need to add

schema.sql

Done!


Quick click, jump many times.

<Button
onPress={() => this.props.navigation.navigate('Profile', {name: 'Lucy'})}
title="Go to Lucy's profile"
/>
If you click this button quickly, you will jump over the interface many times.

This should be fixed when somebody implements #135. Ideally the navigate action would be idempotent


Argument 1 passed to yiidreamteam\upload\FileUploadBehavior::getInstance() must be an instance of yii\db\ActiveRecord

Hi
My model extends a custom ActiveRecord that extends BaseActiveRecord.
Or the extension only accepts a model from ActiveRecord :
Line 213 : public static function getInstance(ActiveRecord $model, $attribute)
Is it possible to change it for BaseActiveRecord ?
Thanks !

Hello implemented in 1.2.1 version


Import "tensorflow.keras" could not be resolved

 Environment data

Language Server version: 2022.12.20
OS and version: win32 x64
Python version (and distribution if applicable, e.g. Anaconda):
python.analysis.indexing: true
python.analysis.typeCheckingMode: basic

 Code Snippet

import tensorflow as tf
from tensorflow.keras import activations, initializers, layers, losses, metrics, models, optimizers, regularizers

 Repro Steps

Open VSCode
Create somename.py
Type code snippet

 Expected behavior
Imports should  be resolved
 Actual behavior
Import "tensorflow.keras" could not be resolvedPylance[reportMissingImports](https://github.com/microsoft/pyright/blob/main/docs/configuration.md#reportMissingImports)
 Logs

pylance.log

I think tensorflow.keras is a special case. Its location is determined dynamically as far as I can tell, so pylance cannot figure out where it is.
The tensorflow.keras module is found here for me:
.venv/lib/python3.10/site-packages/keras/

whereas pylance would look for it here:
.venv/lib/python3.10/site-packages/tensorflow/keras

@bschnurr has advice on how to get pylance to see where it is:
/home/rich/test/test_1/.venv/lib/python3.10/site-packages/keras/

whats your version of tensorflow? try the latest

I installed version 2.10 using mambaforge on WSL2 Ubuntu, it works now.
And it seems that TensorFlow is going for Linux-only, this is the way then.

Try keras only without using tensorflow before it


Unbalanced partitions with global_multisection (and process_mapping)

Using global_multisection with --enforce_balance yields unbalanced partitions.
I'm using the following graph file:
$ cat test.graph
4 6 1
2 5 3 5 4 5
1 5 3 6 4 5
1 5 2 6 4 4
1 5 2 5 3 4

corresponding to the following dense matrix:
0 5 5 5
5 0 6 5
5 6 0 4
5 5 4 0

The command I am running is
$ ./global_multisection test.graph --hierarchy_parameter_string 2:2 --distance_parameter_string 1:10 --preconfiguration=eco --enforce_balance
io time: 5.19753e-05
graph has 4 nodes and 12 edges
performing partitioning! overall k=4
multisectioning took 0.00352097
performing additional 1-to-1 mapping!
communication graph has 4 nodes and 6 edges
number of processors is a power of two, so no mapping algorithm is performed (identity is best)
time spent for mapping 0
cut             24
bnd             4
balance         2
max_comm_vol    4
quadratic assignment objective J(C,D,Pi') = 300
writing partition to tmppartition4 ...

$ cat tmppartition4
0
1
1
2

Here, I expect some permutation of 0,1,2,3, but instead, two vertices are placed in partition 1 a nd none in partition 3.

Hi Carl,
Enforce balance only works for unweigthed graphs (due to the balancing
models used) :)
Best
Christian
On Wed, Nov 11, 2020, 22:40 Carl Pearson<EMAIL_ADDRESS>wrote:

Using global_multisection with --enforce_balance yields unbalanced
partitions.
I'm using the following graph file:
$ cat test.graph
4 6 1
2 5 3 5 4 5
1 5 3 6 4 5
1 5 2 6 4 4
1 5 2 5 3 4
corresponding to the following dense matrix:
0 5 5 5
5 0 6 5
5 6 0 4
5 5 4 0
The command I am running is
$ ./global_multisection test.graph --hierarchy_parameter_string 2:2 --distance_parameter_string 1:10 --preconfiguration=eco --enforce_balance
io time: 5.19753e-05
graph has 4 nodes and 12 edges
performing partitioning! overall k=4
multisectioning took 0.00352097
performing additional 1-to-1 mapping!
communication graph has 4 nodes and 6 edges
number of processors is a power of two, so no mapping algorithm is performed (identity is best)
time spent for mapping 0
cut             24
bnd             4
balance         2
max_comm_vol    4
quadratic assignment objective J(C,D,Pi') = 300
writing partition to tmppartition4 ...
$ cat tmppartition4
0
1
1
2
Here, I expect some permutation of 0,1,2,3, but instead, two vertices are
placed in partition 1 a nd none in partition 3.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/KaHIP/KaHIP/issues/61, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABLP7SWFX7JRK6B5UQSWAQ3SPMAGDANCNFSM4TSP2QKA
.

Thanks for the clarification, Christian! Perhaps the user guide sections for global_multisection and process_mapping could be updated to say that. I see now in the example (misc/example_library_call/interface_test.cpp) that the adjcwgts argument is NULL`, if that is required it would be helpful for the documentation to reflect it.
I modified my graph file to be unweighted:
4 6
2 3 4
1 3 4
1 2 4
1 2 3

which yields similar unbalanced results:
1
0
1
2

Hi Carl,
could you tell me the precise CLI call that you used?
Thanks
Christian
On 12.11.20 14:51, Carl Pearson wrote:

Thanks for the clarification, Christian! Perhaps the user guide
sections for |global_multisection| and |process_mapping| could be
updated to say that. I see now in the example
(misc/example_library_call/interface_test.cpp|) that the adjcwgts
argument is |NULL`, if that is required it would be helpful for the
documentation to reflect it.
I modified my graph file to be unweighted:
|4 6 2 3 4 1 3 4 1 2 4 1 2 3 |
which yields similar unbalanced results:
|1 0 1 2 |
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/KaHIP/KaHIP/issues/61#issuecomment-726090128, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ABLP7SVNAOO6UL6B43DUYH3SPPR5XANCNFSM4TSP2QKA.

Christian,
I am on commit 08f58b193cd13fad2a7123eb353a891fd570446d (tip of master right now).
The CLI is
./global_multisection ../test.graph --hierarchy_parameter_string 2:2 --distance_parameter_string 1:10 --preconfiguration=eco --enforce_balance

The contents of ../test.graph are
4 6
2 3 4
1 3 4
1 2 4
1 2 3

During execution, the following is printed on the console:
io time: 4.60148e-05
graph has 4 nodes and 12 edges
performing partitioning! overall k=4
multisectioning took 0.000536203
performing additional 1-to-1 mapping!
communication graph has 4 nodes and 6 edges
number of processors is a power of two, so no mapping algorithm is performed (identity is best)
time spent for mapping 0
cut             5
bnd             4
balance         2
max_comm_vol    4
quadratic assignment objective J(C,D,Pi') = 64
writing partition to tmppartition4 ...

the contents of tmppartition4 after the execution are
1
0
1
2

ah I see where the problem is. Enforce balance atm does not run after global section, I added it.
Could you try?

Looks good! Is the same change valid in process_mapping? If you'd like, I can make a PR with that.

which app do you mean? the way this works in the released code is:
compute a parition using kaffpa or global_multisection and then afterwards perform one to one mapping on the quotient graph. We also have n-to-1 process mapping algorithms (by marcelo fonseca faraj), they are not yet publicly release but we could send you a copy -- just send me an email.
Best
Christian

I mean in the interface, not in any of the apps: https://github.com/KaHIP/KaHIP/blob/master/interface/kaHIP_interface.cpp#L502-L583
It seems like internal_processmapping_call largely mirrors global_multisection. Ultimately, I'd like to use KaHIP as a library to do this placement, but the process_mapping interface was delivering the same unbalanced partitions as global_multisection did. Can the same fix that you applied to global_multisection be done in internal_processmapping_call as well?

thanks for the clarification. yes the same fix should work. If you issue a pull request I will directly merge it.
Thanks
Christian

Hi, I made a PR: https://github.com/KaHIP/KaHIP/pull/62
Please be aware that I am not versed enough in the algorithm to know whether my modifications have broken it. Hope it's useful and does the right thing!


Version 0.9.5 does not reconnect to bedside lamp

After upgrade to 0.9.5 I noticed that adapter does not reconnect to lamp after connection lost (e.g. wifi re-connection). Version 0.4.1 worked fine.
I'm currently using a script to re-enable adapter when info.connect drops to false, but wonder if it is something that can be updated in adapter itself.
thx.

i tested it an its all ok, please try this installation in terminal
 npm install https://github.com/MeisterTR/ioBroker.yeelight-2/tarball/add-yeelight-wifi --production --save

Still testing. It looks like nothing changed, but I can't find the root of the problem.
Last time adapter switched connection status to false after this in my log:

It looks like it is something connected with internet connection, but adapter works fine if I just unplug internet cable from router. Also everything is fine if I switch wifi off and and on..
Currently I confused.... :)

ok that seems like a problem with your pi or network and not with this adapter. i cant help with that


Unit testing of AttributeRemover

Following discussions in #2215, this PR isolates AttributeRemoverTests to AttributeRemover (SwiftSyntaxMacroExpansion module).
Test Changes:

Added a fileprivate assert helper: assertSyntaxRemovingTestAttributes.

Core Changes:

Rather than depending on SyntaxNode's id-only Equatable conformance, refactor AttributeRemover to remove attributes matching a predicate: AttributeRemover.init(removingWhere:) of type (AttributeSyntax) -> Bool). This change allows AttributeRemover to be used without first plucking the AttributeSyntax values to be removed from a live tree.
Marks the AttributeRemover class with @_spi(Testing) to make the class visible from the test module without including AttributeRemover in the public API.

@ahoppen @bnbarham @Matejkob Do you think unit testing of AttributeRemover is worth pursuing?

@ahoppen I think this PR is just about ready for final review, pending your review of the latest changes. (Particularly the init(where:) to init(removingWhere:) rename and the doc comment I added.)
And, when you say to, I'll squash this PR into a single commit and mark the PR as "Ready" instead of "Draft".

@ahoppen Squashed. Let me know if there's anything else!

@swift-ci please test

@swift-ci Please test

@swift-ci Please test macOS


Feature handbook

The Handbook converted from our Dropbox paper document to Markup.
Added two sections: Vacation and Company Credit Card under "Getting Started" chapter.
Also had to change some link styling to make it format correctly in there.
Pls have a look. Personally very happy about it as our first version.

🎱


Improved handling of repeated keys.

Investigation and confirmation required, but currently it seems if the mly service returns an error the client does not report it as an error.

There is no handling of repeat keys both on the client side and the server side.
0d410c964db352d93e900aa27c495dc56e61333a was done as an immediate patch but a further comprehensive solution should be considered.
The explicit key should be similar to a Put operation for a map; if the key already exists, it should be replaced.
The server side should accept repeat keys, provide a warning, and will take the value of the latest occurring key.


Fixes #7177

Required for all non-trivial PRs

[x] Rebased/mergable
[x] Tests pass
[x] CHANGELOG.md updated

Fixes #7177. Please see the issue for hopefully a discussion on whether we can obviate this particular fix by using a simpler map[string]string over the current []struct{Key []byte, Value []byte}.
I think this needs to get into 1.0 @jwilder.

How do you know it's fixed?  I don't see a test :wink:... :troll:
👍

@jwilder I've moved the CHANGELOG entry to 1.1 👍

Closing in favour of #7187


try to fix bench ci

Checklist

[ ] Linked to Github Issue
[ ] Unit tests added
[ ] Integration tests added.
[ ] This change requires new documentation.

[ ] Documentation has been added/updated.

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

Project coverage is 88.05%. Comparing base (6fb1fec) to head (6195ce0).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #811   +/-   ##
=======================================
  Coverage   88.05%   88.05%
=======================================
  Files         122      122
  Lines       34169    34169
=======================================
  Hits        30087    30087
  Misses       4082     4082

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


Move Google Places terms as footer in ListView

I have tweaked it a bit, styles etc... now it looks more like on demo page. Also, now it prevents appearing of separator for last item in the ListView. In my app it looks like as on screenshot

@brainiac84 Thanks!

Just wondering if there are any legal requirements to leave the Powered By item in when using the API, or if it's completely up to you? @brainiac84 @myaskevich


[proxy] Missing query parameters when Accept header is present

Describe the bug
I'm using a pretty simple proxy configuration with vite:
const devBackend = 'http://localhost:8090'
...
        server: {
            port: 3000,
            proxy: {
                '/api': {
                    target: devBackend,
                    changeOrigin: true,
                }
            }
        },

And in this API I noticed that the route was not receiving the correct parameters:
➜  ~ curl 'http://localhost:3000/api/callback?code=aaaa'
aaaa
➜  ~ curl 'http://localhost:3000/api/callback?code=aaaa'  -H 'Accept: text/html'
Empty

I ran vite in debug mode and saw the following in the logs:
  vite:proxy /api/callback?code=aaaa -> http://<IP_ADDRESS>:8090 +9s
  vite:time 5.60ms /api/callback?code=aaaa +9s
  vite:proxy /api/callback -> http://<IP_ADDRESS>:8090 +0ms
  vite:time 15.98ms /api/callback +0ms

For some reasons it seems that if the accept header is set to text/html the query parameters are not forwarded.
This works with all other Accept header I could try
Reproduction
https://stackblitz.com/edit/vitejs-vite-p1mwdf
System Info
System:
    OS: Linux 5.4 Ubuntu 20.04.4 LTS (Focal Fossa)
    CPU: (8) x64 Common KVM processor
    Memory: 502.38 MB / 11.60 GB
    Container: Yes
    Shell: 5.8 - /usr/bin/zsh
  Binaries:
    Node: 16.9.1 - ~/.nvm/versions/node/v16.9.1/bin/node
    Yarn: 1.22.17 - ~/.nvm/versions/node/v16.9.1/bin/yarn
    npm: 7.21.1 - ~/.nvm/versions/node/v16.9.1/bin/npm
  Browsers:
    Firefox: 99.0
  npmPackages:
    vite: ^2.9.7 => 2.9.7

Used Package Manager
yarn
Logs
No response
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to https://github.com/vuejs/core instead.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

I was not able to reproduce.

Download https://stackblitz.com/edit/vitejs-vite-181txd?file=main.js
npm i
npm run server and npm run dev
curl http://localhost:3000/api/callback?code=aaaa => response: {"code": "aaaa"}
curl http://localhost:3000/api/callback?code=aaaa  -H 'Accept: text/html' => response: {"code": "aaaa"}

Indeed, sorry for that
It seems that this is in fact related to vite-plugin-html in some way
https://stackblitz.com/edit/vitejs-vite-2chcqw?file=index.html -> I have updated the repro, you should run it with
yarn vite serve --debug

In index.html you can try to comment/uncomment the Accept header line
In vite.config.js if you remove/comment the html plugin, this works fine as well
I guess this issue might be out of the scope of vite ? I don't know enough about plugins  to understand how they could have such an influence on the server and proxy

I was able to reproduce it.
But it seems a issue with vite-plugin-html. Maybe this is related https://github.com/vbenjs/vite-plugin-html/issues/38?
Closing as it seems not a bug with vite.


Addresses root level clickawayable bug

Addresses scenario in which document.contains is undefined and document.body does not take up entire screen.

Thanks @gabdallah222!