fix: update ambianic edge version in python package metadata in setup…

….cfg

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

In the file src/ambianic/pipeline/avsource/gst_process.py:

Line 10:1: E402 module level import not at top of file

:tada: This PR is included in version 1.0.6 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Error while getting preview/thumbnail images

My actions before raising this issue

[X ] Read/searched the docs
[ X] Searched past issues

Hi,
After creating some tasks with a thousand images(many over 10Mb), the task list takes 1 minute to load, it's the timeout for the
https:///api/v1/tasks/4/data?type=preview
request timeout.
Expected Behaviour
When opening the task list, it should open quickly and show a preview in all tasks.
Current Behaviour
It takes 1 minute (timeout on https:///api/v1/tasks/4/data?type=preview) to load the task list and then fails to show the preview image.
Possible Solution
I don't know what is causing this.
Steps to Reproduce (for bugs)

Create a task with lots of images (lots with over 10Mb)
Create tasks with images bigger than 10Mb
Go to Task list
It will take 1 minute to open and fail to show previews

Context
This makes listing the tasks to take a long time, and we aren't sure if it only affects that.

Kubernetes
Operating System and version (e.g. Linux, Windows, MacOS):
Linux
Code example or link to GitHub repo or gist to reproduce problem:
Other diagnostic information / logs:
Request Method: GET
Status Code: 504

DEBUG - 2021-10-06 09:22:06,077 - worker - Sent heartbeat to prevent worker timeout. Next one should arrive within 480 seconds.
2021-10-06T09:22:06.083781565Z
2021-10-06 09:28:11,608 DEBG 'rqworker_low' stderr output:
DEBUG - 2021-10-06 09:28:11,605 - worker - Sent heartbeat to prevent worker timeout. Next one should arrive within 480 seconds.
2021-10-06 09:28:11,610 DEBG 'rqworker_low' stderr output:
INFO - 2021-10-06 09:28:11,606 - worker - Cleaning registries for queue: low
2021-10-06T09:28:11.610350578Z
2021-10-06 09:28:35,051 DEBG 'rqworker_default_1' stderr output:
DEBUG - 2021-10-06 09:28:35,049 - worker - Sent heartbeat to prevent worker timeout. Next one should arrive within 480 seconds.
2021-10-06 09:28:35,052 DEBG 'rqworker_default_1' stderr output:
INFO - 2021-10-06 09:28:35,049 - worker - Cleaning registries for queue: default
2021-10-06T09:28:35.052129582Z
2021-10-06 09:28:47,387 DEBG 'runserver' stderr output:
[Wed Oct 06 09:28:47.384893 2021] [wsgi:error] [pid 1227:tid<PHONE_NUMBER>66272] [client <IP_ADDRESS>:53832] Timeout when reading response headers from daemon process 'localhost:8080': /tmp/cvat-server/htdocs/api, referer: https:///tasks
2021-10-06 09:28:47,393 DEBG 'runserver' stderr output:
[Wed Oct 06 09:28:47.393103 2021] [wsgi:error] [pid 1227:tid<PHONE_NUMBER>91840] [client <IP_ADDRESS>:53834] Timeout when reading response headers from daemon process 'localhost:8080': /tmp/cvat-server/htdocs/api, referer: https:///tasks
2021-10-06 09:28:51,178 DEBG 'rqworker_default_0' stderr output:
DEBUG - 2021-10-06 09:28:51,175 - worker - Sent heartbeat to prevent worker timeout. Next one should arrive within 480 seconds.
2021-10-06T09:28:51.178283501Z
Next steps
You may join our Gitter channel for community support.

5472x3078 for example.
I think it's related to jobs with many images, it fails creating the preview image.

@azhavoro Hello, we appear to be experiencing the same issue. Often the thumbnails do not load at all and show as broken. We also see these errors in the server console:
[wsgi:error] [pid 14191:tid<PHONE_NUMBER>86944] [remote <IP_ADDRESS>:47759] mod_wsgi (pid=14191): Queue timeout expired for WSGI daemon process 'localhost:8080'.

[wsgi:error] [pid 1904:tid<PHONE_NUMBER>28256] [client <IP_ADDRESS>:40311] Timeout when reading response headers from daemon process 'localhost:8080': /tmp/cvat-server/htdocs/api

Any ideas what may be happening? Most our images are 720p

Hi,
We have the same issue with image previews on an AWS Fargate instance with an EFS volume attached. We only have a few images (about 10, resolution 3024 × 4032) and only 2 tasks. The first requests are fine, but the next requests end with a timeout (we have the timeout set to 90 seconds).
If I disconnect the EFS volume and save the data directly to the Fargate instance, everything is fine and the image previews load correctly.
BTW: same issue is here - https://github.com/openvinotoolkit/cvat/issues/3019

Can this lead to CVAT being slow? Does it wait until the timeout before rendering tasks page?

I do see after upgrade to the latest version and what was the fix that was applied to resolve it ?


preprocessing

Hi, thanks for this nice repo. I wanted to test out training on a folder with audio, but do you have an easy way to preprocess audiofiles into tfrecords? Any hint on how to use the dataprep.py?

Hi, I anonymized the Colab script I use for preprocessing and added it here to the repo. Hope this helps!

Thank you, I will give it a go!


potential BUG: conda executable path

Hi,
I was having trouble with running the fpocketR, and narrowed down the problem to posket.run_fpocket().
the bash command there is (line 100):
    bash_command = f'conda run -n fpocketR fpocket -f {pdb} -k {chain} -l {state} -m {m} -M {M} -i {i} -D {D} -A {A} -p {p} -w p'

In my case the program was unable to invoke conda, so I had to explicitly give it a path to my conda executable:
    conda_executable = "/home/user/miniconda3/bin/conda"
    bash_command = f'{conda_executable} run -n fpocketR fpocket -f {pdb} -k {chain} -l {state} -m {m} -M {M} -i {i} -D {D} -A {A} -p {p} -w p'

I don't know if this was specific to my case, but wanted to let you know about the potential bug.
Best,
Tomasz

I haven't found a better way to implement the fpocket subprocess yet, hopefully, this isn't a widespread issue. Thanks


Adding a direct include for gevv_vvv_vari.hpp

Summary:
Clean up code.
Intended Effect:
Add include for gevv_vvv_vari.hpp
How to Verify:
Look at file diff. Only changes 1 line.
Side Effects:
None.
Documentation:
None.
Reviewer Suggestions:
Anyone.

OK by me.  I guess the include-what-you-use tests in cpplint only deal with the std lib --- makes sense.


Add example of API docs

Signed-off-by: Jason Lowe-Power<EMAIL_ADDRESS>

BTW, Ayaz: Here's an example of how to use readthedocs to automatically create API docs. See index.rst for the examples. There are a few new requirements to get it to build.
See https://docs.readthedocs.io/en/stable/intro/getting-started-with-sphinx.html for details.
Also, there's a way to call the sphinx things from markdown, but I don't remember how. You should put the detailed API documentation at the end of each of the pages on Artifacts/Run/Tasks.

Working on #7

Should we close this PR?

@ayaz91, has this been manually merged? I think that this PR can be closed.

Yeah, this should be closed now. This other PR is based on this for RTD stuff


Bugfix: update of a entity not working as the name is not read correctly

When I retrieve an entitiy via get_entity method, I cannot update it, as the name in the url is empty. I tested a service with API v1beta3.
I fixed this behavior and tried to add tests for update_entity.

@simonswine,
Hi, are you planning to revisit this patch?

Hi @abonas,
Thanks for reminding me, this commit should address all of your concerns...
Cheers... simonswine


[YUNIKORN-386] Passed spark appID in annotation

@yangwwei, @TaoYang526  can you please helm me with the review?

hi @kingamarton  could u pls fix the remaining issue in this PR?

hi @kingamarton could u pls fix the remaining issue in this PR?

Sure, I deleted the failing TestGetApplicationIDFromPod from the application_test, because there is a test case for that method in utils_test.go. That test case belongs to the utils_test and not to application_test, so I kept this last one.


Deprecate on everything

🤖 AutoRest automatic publish job 🤖
> will publish once PR gets merged

🤖 AutoRest automatic feature coverage report 🤖
feature set version 2.3.1
❌ General: 0%
no tests were run for this category
❌ Azure: 0%
no tests were run for this category

🤖 AutoRest automatic feature coverage report 🤖
feature set version 2.3.1
❌ General: 0%
no tests were run for this category
❌ Azure: 0%
no tests were run for this category

🤖 AutoRest automatic feature coverage report 🤖
feature set version 2.3.1
❌ General: 0%
no tests were run for this category
❌ Azure: 0%
no tests were run for this category


Fix noisy tests

Describe the bug
We have multiple unit tests that, while not returning errors, are logging to our test suite after being run. This might confuse contributors who are seeing passing tests that return with errors/warnings.
https://travis-ci.org/wayfair/awesome-learning/builds/572909100
Expected behavior
Tests should return nothing or an error (and fail the test.)
Links
https://travis-ci.org/wayfair/awesome-learning/builds/572909100

Can i work on this?

Closed via #32


[stable/rabbitmq-ha] Pod Disruption Budget added.

Signed-off-by: Andrey Voronkov<EMAIL_ADDRESS>
What this PR does / why we need it:
Pod Disruption Budget is an essential thing for high availability.
Special notes for your reviewer:
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md

/assign
/ok-to-test

/lgtm
Thanks!


Thread safety

Things that need improvement:

[ ] threadsafe configuration
[ ] threadsafe delivery of messages

Without these improvements only really simple apps can be implemented with this gem.

Configuration: because the configuration is managed globally (e.g Facebook::Messenger.config.access_token=), instead of per instance, it's not possible to use this gem in the scenario where the application might connect at the same time to multiple pages. For instance, think about using something like Sidekiq.
Ideally, the subscription code should be something like
subscription = Facebook::Messenger::Subscriptions.new(
  access_token: '...',
  app_secret: '...',
  verify_token: '...'
)
subscription.create

Message delivery: again, because we can't guarantee one access token in a particular delivery, the global access token could leak into a delivery for another page. We should be able to explicitly pass access_token in the deliver method.
Is it something the admins are in accordance?
I'm not sure I'll have the time myself to open a PR soon, but I'll leave this issue registered here and try to get to it.

Thanks @kurko! We've only needed simple bots so far, but this would be a great improvement. We could probably even keep the existing API for simple use cases by just building it on top of a subscription model like that. We'd be very happy for pull requests (from you or anyone else or even ourselves when we need it)! :cake: will be had!

Just learned about thread safety in Ruby. I was doing Facebook::Messenger.config.access_token = XXX before every call to the API. Please don't laugh. 😂
I added it to my tasks list. I'll do it if no one does before I get to it.

Cool @sorich87!

👍
@sorich87 be careful with that. If you're using Sidekiq (which I believe is the best approach) or something that multi-threaded, you'll send messages to the wrong users randomly 😁

@kurko yes, I'm using Sidekiq. For now, there's a very very small chance that different messages are queued simultaneously. But fixing it is high on my tasks list. Thanks 😄

@kurko @jgorset what about using Thread.current like I18n does? https://github.com/svenfuchs/i18n/blob/aee7b3f6072fba3f54798a280bd6007536b039cd/lib/i18n.rb#L17. It looks like it won't require much changes. Any drawback?

Maybe! What would it be like to use the library with that change, @sorich87?
I like @kurko's idea of initializing something with an access token, but it can't be Subscription; that's something you do only once to hook the page up to your Facebook application (and it's even possible to do that by clicking a button in the application settings on developers.facebook.com now).
What about Bot, though? It's a module now, but if we make it a class we can instantiate it with the necessary configuration:
# Old
Facebook::Messenger.configure do |config|
  config.access_token = ENV['ACCESS_TOKEN']
  config.verify_token = ENV['VERIFY_TOKEN']
end

Bot.on :message do |message|
  Bot.deliver recipient: message.sender,
    message: {
      text: 'Hello, human!'
    }
end

# New?
bot = Bot.new(access_token, verify_token)
bot.on :message do |message|
  Bot.deliver recipient: message.sender,
    message: {
      text: 'Hello, human!'
    }
end

What do you think?

I think New? is good and it can be backwards-compatible.

On second thought, that interface doesn't really solve the use case of using the same bot across multiple pages very well. You'd have to initialize a bunch of bots and register the same methods on each of them, which seems a weird thing to do:
pages.each do |access_token, verify_token, app_secret|
  bot = Bot.new [...]

  bot.on [...]
end

You'd be able to make your bot behave differently for each page with this approach, but that's probably not a good idea anyway (and if one absolutely must it's still possible to do by checking Incoming::Message.recipient).
It would also be tricky to get Facebook::Messenger::Server to play nice with this approach because it needs verify_token and app_secret to handle incoming messages.
We might instead consider to allow the configuration of multiple pages:
Facebook::Messenger.configure do |config|
  pages.each do |access_token, verify_token, app_secret|
    config.pages.add access_token: access_token, verify_token: verify_token, app_secret: app_secret
  end
end

Bot.on :message do |message|
  Bot.deliver recipient: message.sender,
    message: {
      text: 'Hello, human!'
    }
end

I'd be interested to hear whether the above would solve your use case, @kurko.

Maybe! What would it be like to use the library with that change, @sorich87?

@jgorset the change would be this https://github.com/botamp/facebook-messenger/commit/e70210b44a533ae8c100ad2f1a4dbd446bd24527. And you would use it like:
Facebook::Messenger.configure do |config|
  config.verify_token = ENV['VERIFY_TOKEN']
  config.app_secret = ENV['APP_SECRET']
end

Bot.on :message do |message|
  page = Page.find_by(facebook_id: message.recipient.id)
  Facebook::Messenger.config.access_token = page.access_token
  Bot.deliver recipient: message.sender,
    message: {
      text: 'Hello, human!'
    }
end

So it doesn't change the existing API.
It seems like your last example of configuration per page may work well too. How would the bot know which page config to use when delivering a message? Where would that be setup? By passing the page ID to Bot.deliver?

It would be great to see this feature.
I don't know if I'm technical enough to do it myself, but if one of you send me pointers I'd be happy to try.

I'm not sure that'll work, @sorich87, because Facebook::Messenger::Server (the layer that ends up calling the code you registered with Bot.on) needs the verify token to accept subscriptions and the app secret to verify the integrity of incoming messages. It'll have to be configured earlier, then, like in my example.

How would the bot know which page config to use when delivering a message? Where would that be setup? By passing the page ID to Bot.deliver?

Yeah. We could pass the Facebook Page ID to Incoming::Message, Incoming::Postback etc., but with the current interface we can't really get around having the developer pass it to Bot.deliver themselves:
Bot.on :message do |message|
  Bot.deliver {
    page: message.page,
    recipient: message.sender,
    message: {
      text: 'Hello, human!'
    }
  }
end

I can't think of a lot of use cases for responding to a different user on a different page, though, so that's getting pretty verbose. Maybe we could introduce a convenience method on Incoming::Message, Incoming::Postback etc. called reply that would just take care of that for you?
Bot.on :message do |message|
  message.reply message: 'Hello, human'
end

What do you think, guys?

Feel free to have a go at it, @echan00!

needs the verify token to accept subscriptions and the app secret to verify the integrity of incoming messages

yes, you're right. In my use case, it's just one app for multiple page so I was overlooking the fact it could be multiple apps.

I think I like it. What do you think?

That would be great! You can't send to another user on a different page anyway since the recipient ID is page-scoped (unless I don't understand how PSID work).

That would be great! You can't send to another user on a different page anyway since the recipient ID is page-scoped (unless I don't understand how PSID work).

Right, but if you're managing multiple pages you might have saved the PSID of another user to forward the message to or something. Not really a common use case, but something that you'd still be able to do with Bot.deliver on your own.

Hi guys! First of all, thanks for the great work with the gem.
I'm currently using it in a project where we will allow users to configure their own bot and link it to a Facebook page they manage.
I found this older fork and I thought it was a clean approach.
So the changes I came up with to make it work with multiple bots are here: https://github.com/hyperoslo/facebook-messenger/compare/master...pjpires:master
and one would integrate it in a project like this: https://gist.github.com/pjpires/cae50d83bdb4bac0425c608ca2673384
With this, users could leverage the config_provider_class to implement their one mechanisms to save tokens for each bot (in my case, I'm storing them in a bots table in the DB. Also, keep in mind that in my implementation it requires each Facebook page to subscribe a single bot in the app, as I store the page_id in the bot model.
I would like to ask your thoughts on it, because doing it this way it would be retro-compatible with single bot implementations. And as we're picking tokens on every request/response, I think we would avoid thread safety.

That's neat, @pjpires! I think that is exactly the approach we should take to enable bots to be used across several pages. If anyone's willing to make a pull request from that implementation I'd be happy to accept it.

This is #84!


Any way to get the behavior of python.linting.ignorePatterns?

I have a submodule of code that I have no control over, and it generates thousands of problems. I can't figure out how to exclude it from Pylance linting.
Setting python.analysis.diagnosticMode to openFilesOnly is as close as I can get to a reasonable workaround, but it is less than completely satisfying for various reasons.
This is submitted as a question, not an issue, because I have to believe that my ignorance is the problem - it seems like this is something so obvious that it is being dealt with properly somewhere, somehow, by more intelligent people than me.

Pylance is based on the Pyright type checker, which supports some additional configuration options that are not (currently) exposed via VS Code settings. You can create a "pyrightconfig.json" file at the top level of your workspace and include an "ignore" section that lists the subdirectories you'd like Pyright/Pylance to ignored. All diagnostics in those files will be suppressed. For more details about the "pyrightconfig.json" file, refer to this documentation.

@erictraut thanks, trying this with a pyrightconfig.json that has nothing in it except an ignore specification. I'm hoping that all the other settings in use by vs code are unchanged by the presence of the file.


error while loading shared libraries

I used Heroku for a Ruby on Rails project, and it used Imagemagick. Defining your buildpack in .buildpacks causing both convert and vips to not working properly, they like missing certain libraries.
And when I deploy, there is this message:
mkdir: cannot create directory `/tmp/build_4cc397ece100458644ba66d1b0f47dbc/.profile.d': File exists
Using release configuration from last framework ().
Only when I removed the buildpack from my .buildpacks, convert can work as intended.

I still see the same error message

How is your .buildpacks file? Can you make an example project public?


DILCISVocabulariesIP.xml: change vocabulary name

All over the place we call Content Information Type Specification, whereas in DILCISVocabulariesIP.xml it is called ContentTypeSpecification (VocabularyContentTypeSpecification).
It should be changed for coherence purposes.

Fixed by #458


Warning: Failed prop type: Invalid prop testID of type number supplied to Text, expected string.

Prerequisites
Please answer the following questions for yourself before submitting an issue.

[ x] I am running the latest version
[ x] I checked the documentation and found no answer
[ x] I checked to make sure that this issue has not already been filed
[ x] I'm reporting the issue to the correct repository (for multi-repository projects)

Warning: Failed prop type: Invalid prop testID of type number supplied to Text, expected string.
at node_modules\react-native\Libraries\LogBox\LogBox.js:173:8 in registerError
at node_modules\react-native\Libraries\LogBox\LogBox.js:59:8 in errorImpl
at node_modules\react-native\Libraries\LogBox\LogBox.js:33:4 in console.error
at node_modules\expo\build\environment\react-native-logs.fx.js:27:4 in error
at node_modules\prop-types\checkPropTypes.js:20:6 in printWarning
at node_modules\prop-types\checkPropTypes.js:82:22 in checkPropTypes
at node_modules\react\cjs\react.development.js:1714:20 in validatePropTypes
at node_modules\react\cjs\react.development.js:1813:21 in createElementWithValidation
at node_modules\react-native-modal-dropdown\components\ModalDropdown.js:465:6 in _renderItem
at node_modules\react-native\Libraries\Lists\VirtualizedList.js:2089:20 in CellRenderer#render
at node_modules\react-native\Libraries\Renderer\implementations\ReactNativeRenderer-dev.js:12478:21 in finishClassComponent
at node_modules\react-native\Libraries\Renderer\implementations\ReactNativeRenderer-dev.js:12403:43 in updateClassComponent
at node_modules\react-native\Libraries\Renderer\implementations\ReactNativeRenderer-dev.js:19181:22 in beginWork$1
at node_modules\react-native\Libraries\Renderer\implementations\ReactNativeRenderer-dev.js:18085:22 in performUnitOfWork
at node_modules\react-native\Libraries\Renderer\implementations\ReactNativeRenderer-dev.js:18013:38 in workLoopSync
at node_modules\react-native\Libraries\Renderer\implementations\ReactNativeRenderer-dev.js:17977:18 in renderRootSync
at node_modules\react-native\Libraries\Renderer\implementations\ReactNativeRenderer-dev.js:17674:33 in performSyncWorkOnRoot
at node_modules\react-native\Libraries\Renderer\implementations\ReactNativeRenderer-dev.js:5321:31 in runWithPriority$argument_1
at node_modules\scheduler\cjs\scheduler.development.js:653:23 in unstable_runWithPriority
at node_modules\react-native\Libraries\Renderer\implementations\ReactNativeRenderer-dev.js:5316:21 in flushSyncCallbackQueueImpl
at node_modules\react-native\Libraries\Renderer\implementations\ReactNativeRenderer-dev.js:5304:28 in flushSyncCallbackQueue
at node_modules\react-native\Libraries\Renderer\implementations\ReactNativeRenderer-dev.js:17125:30 in scheduleUpdateOnFiber
at node_modules\react-native\Libraries\Renderer\implementations\ReactNativeRenderer-dev.js:7267:16 in classComponentUpdater.enqueueSetState
at node_modules\react\cjs\react.development.js:471:2 in Component.prototype.setState
at node_modules\react-native-modal-dropdown\components\ModalDropdown.js:197:9 in show
at node_modules\react-native-modal-dropdown\components\ModalDropdown.js:185:8 in _button.measure$argument_0
at node_modules\react-native\Libraries\BatchedBridge\MessageQueue.js:462:4 in __invokeCallback
at node_modules\react-native\Libraries\BatchedBridge\MessageQueue.js:127:6 in __guard$argument_0
at node_modules\react-native\Libraries\BatchedBridge\MessageQueue.js:364:10 in __guard
at node_modules\react-native\Libraries\BatchedBridge\MessageQueue.js:126:4 in invokeCallbackAndReturnFlushedQueue

@vitorcalvi This can be easily fix by wrapping the value using String(value) to always convert it to string type.


HyperV?

Is there a particular reason why you are having people set up the demo DC on HyperV instead of on an Azure VM?

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

ID: 938c7dba-41d9-92c4-fb2f-feeba1878c13
Version Independent ID: b221ae33-5625-b912-839c-14aeef5ac744
Content: Tutorial:  Integrate a single AD forest to Azure using password hash sync (PHS)
Content Source: articles/active-directory/hybrid/tutorial-password-hash-sync.md
Service: active-directory
GitHub Login: @billmath
Microsoft Alias: billmath

@DrEnnui Thank you for your feedback . We will investigate and update the thread.

@DrEnnui We checked the tutorial and found that there is no specific reason to use hyperV . However , It is mentioned in the tutorial because most of the people who would like to test this would not like to test it in production and use one virtual environment or the other and Windows 10 provides you the flexibility of HyperV available readily on your desktop . So one can even follow this on a laptop with enough RAM easily . Alternatively you can run a bare metal server and configure a Windows Domain controller anywhere to follow this tutorial . We just require a machine which is a domain controller in order to go through this tutorial completely. Hope the clarification helps.

Yeah, yeah, yeah, I already know all of that, but why not just have them
use an ARM template in Azure?  Not everyone who wants to learn this stuff
has 20 years of dealing with Microsoft services, and it would make more
sense to me to give students another opportunity to put their hands on the
product that you are trying to teach them to use.
On Mon, Mar 18, 2019 at 8:34 AM ShashiShailaj-MSFT<EMAIL_ADDRESS>wrote:

@DrEnnui https://github.com/DrEnnui We checked the tutorial and found
that there is no specific reason to use hyperV . However , It is mentioned
in the tutorial because most of the people who would like to test this
would not like to test it in production and use one virtual environment or
the other and Windows 10 provides you the flexibility of HyperV available
readily on your desktop . So one can even follow this on a laptop with
enough RAM easily . Alternatively you can run a bare metal server and
configure a Windows Domain controller anywhere to follow this tutorial . We
just require a machine which is a domain controller in order to go through
this tutorial completely. Hope the clarification helps.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/azure-docs/issues/27198#issuecomment-473962794,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AguNt486BjLnJMl8ssQF9xPNSwhvzozKks5vX7H3gaJpZM4b0Z5w
.

@DrEnnui Yes , you are right . It is certainly an idea worth exploring . I will engage the content authors to have this idea reviewed and the content updated as per required changes. this may take some time.
Thank you.

@billmath Could you please have a look at this request by @DrEnnui ? As per him we can improve this document by providing some way to create a Domain controller in azure by using ARM templates rather than suggesting to use HyperV on their machines . It would be great if you could review the feasibility of this request.
Thank you.

@DrEnnui Thank you for the feedback.  At this time we are focused on other things, so there is limited bandwidth to add this.  However, I do encourage you to create a doc on this and submit it via a PR.  Thanks!
#please-close


Create a Nagios System Configuration Tool

Create a Nagios System Configuration Tool (script) to help setup/configure new systems host.cfg files for Nagios to monitor
ask questions then generate the host.cfg file
test and enable monitoring

User: nagios
Location: /usr/local/nagios/Nagios_System_Configuration_Tool/Nagios_System_Configuration_Tool.sh
This script will collect information from the user about the new system to monitor
it will create a new nagios configuration file, test it and enable it for monitoring in Nagios
Example:
~$ /usr/local/nagios/Nagios_System_Configuration_Tool/Nagios_System_Configuration_Tool.sh
###################################################
Welcome to the Nagios System Configuration Tool
###################################################
This script will enable monitoring for the following standard services:
Current Load, Current Users, Disk Space Root Partition, PING, RAM, SSH, Total Processes, Zombie Process
If additional services are required or changes to the default thresholds then manual configuration of the host.cfg file will be necessary.
This script assumes the client system already has the plugins installed and configured
What is the hostname of the system?
My_New_Server
What is the IP address of the system?
<IP_ADDRESS>
Is check_mem installed on the system?
y
Would you like to enable mouse of Nagios Graphs?
y
Is the host system pingable? (ICMP is enabled)
y
Would you like to setup the icons?
y
Would you like to see a like of all availble icons?
y
aix
amiga
ansible
apple
....
Please type the name of the icon you'd like to use (exact spelling)
Ubuntu
Would you like to enable notifications?
n
Would you like to add description information for this system?
y
Please provide description information
This is a test machine
Would you like to enable checking for Operating System patches?
y
Which package manager service would you like to monitor?
Your options are: DNF, APT, YUM, ZYPPER, MAC, PKG
apt
##################################################
Hostname: My_New_Server
IP Address: <IP_ADDRESS>
Enable check_mem: yes
Enable Nagios Graphs: yes
Host is pingable: yes
Enable Icons: yes Ubuntu
Enable Notifications: no
Add Description Info: yes This is a test machine
Operating System patches yes apt
##################################################
Is the above information correct?
y
Create configuration file...
Conducting Pre-flight checks...
Pre-flight checks have all passed
Nagios has been restart, have a nice day!


Force Download Complete Article by Default (Feature request)

Actual behaviour
Some articles are capped because blog owners don't allow RSS readers to pull in the entire content.
Hoped for behaviour
Miniflux pulls in the entire article (including pictures).
Reasons

I do not want to leave miniflux to keep on reading
I use an RSS app connected to Miniflux to be able to read offline. It is so annoying when you read an article and then after the first paragraph you can't continue...

Is just ticking the box for Full Article Download when adding a feed not working?

Sure is, but I migrated (together with a few hundred feeds) from feedafever. And I dread the idea to have to go through them all manually.
Also, I think it would bw nice to have this option on by default.
Derek W<EMAIL_ADDRESS>schreef op 21 april 2017 18:36:00 CEST:

Is just ticking the box for Full Article Download when adding a feed
not working?
--
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
https://github.com/miniflux/miniflux/issues/674#issuecomment-296240445

--
Sent from my Android device with K-9 Mail. Please excuse my brevity.

I dread the idea to have to go through them all manually

Should be able to do that with a fairly simple SQL query. Something like:
update `feeds` set `download_content` = 1 where `download_content` = 0;

This feature is not enabled by default because that generate a lot more HTTP requests.

There's also the risk that it will get your IP blocked, which is something you really want to avoid for your feed reader hosted on a static IP…


Correct exception type

Hi, shouldn't \Ublaboo\DataGrid\Exception\DataGridException  extend \LogicException instead of \Exception?
Because I don't want to propagate nor catch those exceptions, they appear to be in methods like setSortable or setRenderer and my IDE (PhpStorm) is always reporting there is exception that is not handled, but those kind of exceptions are logic exceptions, only if there is a serious bug caused by code, the exceptions should be thrown, and there is no reason to catch them, only avoid them.

I'm in. cc @paveljanda @f3l1x

It is a good idea. But sadly, not all those exception are Logic. Some could be Runtime.

@paveljanda that's cool, because runtime exception is also ignored by default in phpstorm


Fix WP Background color with Full Page Image, font readability

Fixed in https://github.com/fps-solutions/FPS-Photo-Form/issues/3


French and German translation

We need a simple translation (French and German) for the following sentence
This coupon can be applied when other coupons are present
It is needed for a new translation key admin.coupon.field.stackable.title. The context is the creation of a new Coupon that can be stacked onto an already applied discount Coupon.

Ping @mickaelandrieu
Ping @hacfi

ping @fweber-de

@mmoreram we also need the Catalan translation!

@alch There I go!

"Ce coupon peut être appliqué quand d'autres coupons sont présents."

@mickaelandrieu I will add the translation, my friend :D Thanks!

happy to help ;)

@mmoreram Dieser Gutschein kann nur in Verbindung mit anderen Gutscheinen eingelöst werden
But attention: this is how i understand the sentence, this coupon can only be used if, and only if other coupons are used
If it means it can be used in combination, although other coupons are present, but also standalone, then i would say
Dieser Gutschein kann **auch** in Verbindung mit anderen Gutscheinen eingelöst werden

@fweber-de is right. Hmmm, in english could be...
`This coupon can be applied even when other coupons are present*

Then it would be my second translation :)

See #471

:+1:

@mmoreram sorry, so I've updated my translation.

I can review all the German translations within in the next two weeks. I might post a question here to discuss possible misunderstandings.

@hacfi certainly a good idea, 4 eyes might see better than 2 ;)

Solved by #469

@xphere  => @mmoreram have used the first (not as good) translation, can you update to the my last suggestion ? (the meaning is totaly different)


refactor(curriculum): update lessons for arrow function music player project

Summary of changes
A lot of campers on the forum and discord are confused on how arrow functions work. Since arrow function play a major role in this certification, I have added lessons to break it down a little bit better.
Checklist:

[x] I have read and followed the contribution guidelines.
[x] I have read and followed the how to open a pull request guide.
[x] My pull request targets the main branch of freeCodeCamp.
[x] I have tested these changes either locally on my machine, or GitPod.

I spotted one omission. Other than that, I'll be happy to approve.


chore: bdd-sbhg-1575420256 to 0.0.1

chore: Promote bdd-sbhg-1575420256 to version 0.0.1

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


[New Release] Action tag

type CountModel struct {
    Reducer
    State int
    Increase *rematch.Action `action:"IncreaseMethod"`
}
func (c *CountModel) IncreaseMethod(s, payload int) int {
    return s + payload
}
// main
c := &CountModel{State: 0}
store.New(c)
store.Dispatch(c.Increase.With(10))
assert.Equal(store.StateOf(c), 10)

Codecov Report

Merging #56 into master will not change coverage.
The diff coverage is 100%.

@@          Coverage Diff          @@
##           master    #56   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files           8      8
  Lines         211    226   +15
=====================================
+ Hits          211    226   +15

Impacted Files
Coverage Δ

v2/rematch/rematcher.go
100% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


DMV without gold POS

I noticed that dmv_flow is initialized with dmv_viterbi. However, the latter is trained on (gold) POS. Thus, I suspect that dmv_flow is not completely POS-free. If I am right, I wonder how to replicate the unsupervised dependency parsing results in the paper (which says that "While, traditionally, DMV is trained using gold POS tags as observed syntactic categories, in our approach, we treat each tag as a latent variable").

Hi, in experiments we replaced the TAG column in the training file with POS tags predicted from our HMM unsupervised tagger, for both dmv_viterbi and dmv_flow. Feel free to send me email if you want the training file we used for dmv_flow, or you can try obtaining unsupervised tags from the HMM tags first.

It makes sense now. Many thanks!


Task/dashboard example config

adds yml config file for nyc_taxi dataset.
To run: python dashboard.py --config nyc_taxi.yml

Looks good; I'm happy to merge it whenever you say it's ready.  I think it's much more readable and maintainable with the dataset-specific stuff moved to the .yml file. Two small points:

Should the "plots:" section of the config file be changed to "projections:"?  That bit only specifies which fields will be used to make the projection, not other things that affect the plot, so I'd think projection would be more accurate.  That said, for plots it's clear that there will be multiple choices set up that each result in different plots, whereas that may not be clear for projections.

It's a shame that Pandas apparently requires the filetype to specified in the read call (pd.read_csv).  Seems like with Pandas having so many different file reading functions, there would be a wrapper that dispatches to the correct one based on the filetype, but I can't find one. :-(  So this example will only work with CSV files for now.  Extending it to work with others is not difficult, of course, but it would add complexity that we really want to put off onto some other library, not this example!

Brendan and I just discussed this, and agree that "axes:" is much clearer than either "plots:" or "projections:".

Wouldn't the initial_extent depend on the value of "axes:"?  In this particular case, both pickups and dropoffs cover the same geographical region, but in the general case with arbitrary columns projected onto the plot, the axis ranges should be different for each plot...

Can you move the download script back? I was planning on having that be for all example data, not just this example.

Do you mean, you would have that file be general, handling different downloads via e.g. passing a URL, or do you mean that information about all downloads would be put into that single file?  The current download script seems heavily tied to Taxi, doing various specific processing, so it might be better to have a high-level script that the user calls once that simply calls specific scripts like this, one per dataset...

The current one is heavily tied to taxi, just because that's the only dataset we have. Only 16 of those lines are specific to the taxi dataset though. I think having one download script that is just appended to with more example datasets as needed is a fine solution. It also makes more sense, as we could use the taxi dataset for more than one example (and we should, rather than pollute the users disk with too many datasets). Bokeh does the same thing.

Well, there are only 37 non-whitespace lines in the download script, which leaves 21 not having to do with the taxi data, and 16 having to do with it, by your count.  So it's largely a wash.  But I do agree that we'll want that dataset for use in other examples.

moved download script and repointed yml config appropriately

regarding initial_extent, these value ARE dependent on the first set of axes in the axes list. Putting extents there seem nice because i could then zoom to different location when axes are changed...not sure if that would be a desired feature, but seems an appropriate property for each set of axes.  May that could come in a separate PR

Sounds good.  A separate PR would be fine for that.


train bytetrack_s_mot17 issue

Hello! I tried to train bytetrack_s_mot17(YOLOXs) twice, and both time the AP is 0.593(MOT17 Train), however AP=0.639 when using the provided weight.I train and test like this (with 8 K80 GPUs):
python tools/train.py -f exps/example/mot/yolox_s_mix_det.py -d 8 -b 48 --fp16 -o -c pretrained/yolox_s.pth python tools/track.py -f exps/example/mot/yolox_s_mix_det.py -c pretrained/trained.pth.tar -b 1 -d 1 --fp16 --fuse
Train on CrowdHuman, MOT17, Cityperson and ETHZ, evaluate on MOT17 train.Is there anything different or needs to be changed when training bytetrack_s_mot17(YOLOXs)?  Please help me, thanks a lot!@ifzhang

I notice that in paper "...with batch size of 48....The initial learning rate is 0.001",but in yolox_s_mix_det.py, line 29
self.basic_lr_per_img = 0.001 / 64.0
The learning rate here is divided by 64, it's the same as YOLOX, but YOLOX's batchesize is 64 and bytetrack's is 48. so should it be replaced by 48 here?

I notice that in paper "...with batch size of 48....The initial learning rate is 0.001",but in yolox_s_mix_det.py, line 29
self.basic_lr_per_img = 0.001 / 64.0
The learning rate here is divided by 64, it's the same as YOLOX, but YOLOX's batchesize is 64 and bytetrack's is 48.
And in before_train function(trainer.py, line 154),
self.lr_scheduler = self.exp.get_lr_scheduler(             self.exp.basic_lr_per_img * self.args.batch_size, self.max_iter         )
So should it be replaced by 48 here?


Hash out details for CLI input/output, resource input/output and result output in fn commands

kpt fn commands involve the following:

Resources: How are resources read and written out
StructuredResult: How are structured results written out (No reading here)
CLI output: How is the CLI output written

Some of kpt fn commands can be composed together, for ex. kpt fn source| kpt fn eval| kpt fn sink..... or kpt fn render| kpt live apply. All the above are controlled by the CLI flags, so we need to ensure they are consistent across the commands and also offers enough flexibility to meet user's need.

/cc @frankfarzan @Shell32-Natsu @mengqiy @phanimarupaka

/cc @frankfarzan

#2010
The usage of commands in pipe should also be considered as a part of this design.

@phanimarupaka since we are addressing all of these as part of out-of-place, I am assigning it to you.

This has been addressed and released as part of out-of-place hydration story.


Reconcile developer and master branches

The intent of this pull request is to bring the master branch up-to-date with the incremental changes from the developer branch. This is so that the new features from #21 by @DanieleFasano may be merged without having to manage conflicts twice.
The useful changes for the average user in these updates is the partial port of spiralmoments, to a sub-module as part of wakeflow. The port is intended to be user-friendly (unlike the original code), and mostly used to create line-of-sight peak velocity maps and wake-shape projections as seen in Calcino et al. (2022).
The other functional but completely half-baked change is the capability to smooth the results between the linear and non-linear regimes through re-weighting the solutions with a logistic function. This is not rigorously motivated or particularly well-implemented and so it should be used with caution. For this reason turning it on will be left as a developer parameter only. Note that it also requires using the polar grid for now.
For now this is a draft PR as I will be making the changes neater and ready for users to actually use (or hidden appropriately). The documentation and testing may also need to be updated, which I will do before merge to the master branch.

spiralmoments sub-module is now in a a good enough state for the master branch. It is documented through docstrings, but currently NOT unit-tested.
Next is to look at the rest of the changes, and make sure everything is clean and not broken.


Automatic commit of package [python-pylero] release [0.0.5-1].

Created by command:
/usr/bin/tito tag

tito seems cool, didn't hear that earlier.

maybe you need to push tags as well?

Yes, I need do test on my own repo first before push tag and release.

Tito is cool but some manual edit still required
https://github.com/rpm-software-management/tito


Use new BandedMatrix \ for large bandwidth solves

I think the following timing suggests that we would perform significantly better using truncation and banded matrix :
#HelmholtzDirichlet.jl example
@time ∂u∂n = ⨍[G]\uiΓ   # 6.882111 seconds (20.04 M allocations: 4.365 GB, 10.21% gc time)
cfs=pad(coefficients(uiΓ,rangespace(⨍[G])),100)
@time ⨍[G][1:100,1:100]\cfs  # 0.786749 seconds (2.67 M allocations: 525.196 MB, 10.94% gc time)

It's based on LU, so there may be inaccuracies introduced, but in this case they match to 8.9e-12

For k=0.1 the two are tied!  (Probably the cost is dominated by constructing the operator)
@time ∂u∂n = ⨍[G]\uiΓ    # 0.001622 seconds (9.53 k allocations: 871.625 KB)
@time u=⨍[G][1:10,1:10]\cfs  # 0.001138 seconds (4.63 k allocations: 306.406 KB)

It could even use a Cholesky factorization for (formally) positive definite fundamental solutions.

I think the new qrfact mitigates the benefits of doing this automatically.


Problem with hover tooltips

Prerequisites

[X] I have searched for duplicate or closed issues
[X] I have validated any HTML to avoid common problems
[X] I have read the contributing guidelines

Describe the issue
When you hover over an element, the tooltip shows, but does not hide when going away from the element. I am using the below.
Reduced test cases
I am including the following files:
JS: https://twbs-bootstrap.netlify.app/docs/5.1/dist/js/bootstrap.bundle.min.js and https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.0/jquery.min.js
CSS: https://twbs-bootstrap.netlify.app/docs/5.1/dist/css/bootstrap.min.css
HTML code:
Test
JS code:
$(function() {
  $('body').tooltip({selector: "[title]:not(svg *)", trigger: "hover", delay: { show: 1000, hide: 0 }});
});

What operating system(s) are you seeing the problem on?
Windows, macOS, Android, iOS, Linux
What browser(s) are you seeing the problem on?
Chrome, Safari, Firefox, Microsoft Edge, Opera
What version of Bootstrap are you using?
main branch

The code worked well in v5.1.3.

Our hover tooltips look fine at https://twbs-bootstrap.netlify.app/docs/5.1/components/tooltips/#enable-tooltips.

Could you please try my code at codepen.io or jsfiddle.net? Did I made something wrong?

@mdo Were there any changes to the tooltip functionality since v5.1.3?

From what I read in the description of this ticket, this feels related to: https://github.com/twbs/bootstrap/issues/35202

My issue is probably caused by a regression, since it worked fine in v5.1.3.

@AgentSmith0 Does this CodePen recreate your issue? (equivalent CodePen with 5.1.3)

@julien-deramond Probably, but I think my code should also work with the main branch... Your code isn't doing exactly the same as mine, so there need to be an other solution I hope.

@julien-deramond Yes, this recreates my issue. Thank you!

I think we do not understand the problem well so I will explain the problem in more detail:
The problem is that when we click on other tooltips that are not custom and then move the mouse out of it, the tooltips element is still there and it disappears if we click elsewhere.
But this does not happen in the tooltips that we made as a custom, and it closes after the mouse exits our tooltips element (hover).
Here is a video that conveys the point to some extent:
https://user-images.githubusercontent.com/54350937/166414093-7098dd12-d274-467e-8962-0c631d0e219e.mp4

Not exactly, this is just a side effect. The real problem is that hover tooltips do not hide when going away with the cursor. Just compare the two codepens by julien-deramond.

@mohammadizanloo55 Try this is works.
The reason behind this, is that title attribute is removed after initialization (first refactoring PR of tootlip. Till then title was just blanked)

@mohammadizanloo55 Try this is works. The reason behind this, is that title attribute is removed after initialization (first refactoring PR of tootlip. Till then title was just blanked)
ref: #34519 _fixTitle

Thanks for your explanation, your example worked for me

Why has this issue been closed?

Because you thumb up without any answer :smile:

It should be possible to use the title attribute in some way as selector.

It is being handled by js, and doesn't seem right to keep an empty attribute. More or less it is a fallback way.
However we are open to suggestion/PRs

There must be some workaround...

//one way
$('body').tooltip({selector: ".tooltip", trigger: "hover", delay: { show: 1000, hide: 0 }});

//other way
$("[title]").each(()=>this.addClass('tooltip-extra-class'))
$('body').tooltip({selector: "[title]", trigger: "hover", delay: { show: 1000, hide: 0 }});
});

Does any of these works for you?

Since title is an optional attribute of buttons, whatever the “other libraries” are doing seems weird if they are based only on the presence/absence of title
I am interested to provide me, a CodePen with the real use case using these “other libraries”.
PS: another workaround is to make an empty title attr during show
$('[title]').on('tooltip.bs.show, ev => {
   ev.target.attr('title','')
});


Replace dispatch queue based locking with os_unfair_lock

Using os_unfair_lock/unlock is an order of magnitude faster than dispatch_async when the resource is not heavily contended.
I am providing a reference implementation where I am keeping the value in a CurrentValueSubject to facilitate subscribing to value changes with Combine. This might come in handy later.
The issue with concurrent queues is that they can lead to thread explosions and they are not entirely cheap either. An unfair lock is an excellent tool to increase efficiency without changes to any dependency.

Thanks @ronnyf for your advice, I'm not sure how much of a performance gain there is to rewrite since most of the heavy computation is done on the WebRTC side.
I could do a experimental re-write of the StateSync class to use os_unfair_lock, but I'm not sure if there will be a noticeable overall performance gain.

Sorry I missed this notification. Let me take a look and report back.

State lock is now using os_unfair_lock so I will close this.


chore: docs typo

too to tool
Please provide a paragraph or two giving a summary of the change, including relevant motivation and context.
Checklist:
Remove the checklist to signal you've completed it. Enable auto-merge if the PR is ready to merge.

[ ] If the pull request requires a cryptography review (e.g. cryptographic algorithm implementations) I have added the 'crypto' tag.
[ ] I have reviewed my diff in github, line by line and removed unexpected formatting changes, testing logs, or commented-out code.
[ ] Every change is related to the PR description.
[ ] I have linked this pull request to relevant issues (if any exist).

this line has now been removed - but thank you for this nevertheless!!


Fix redirecting after select class for add product

Fix redirecting after select class in modal on product add by handling ajax requests.
Fixes #1509
Pull Request Checklist

[x] Privileged views and APIs are guarded by proper permission checks.
[x] All visible strings are translated with proper context.
[x] All data-formatting is locale-aware (dates, numbers, and so on).
[x] Database queries are optimized and the number of queries is constant.
[x] The changes are tested.
[x] The code is documented (docstrings, project documentation).
[x] Python code quality checks pass: pycodestyle, pydocstyle, pylint.
[x] JavaScript code quality checks pass: eslint.

Codecov Report

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

@@            Coverage Diff             @@
##           master    #1512      +/-   ##
==========================================
+ Coverage   82.57%   82.57%   +<.01%
==========================================
  Files         131      131
  Lines        5664     5665       +1
  Branches      643      643
==========================================
+ Hits         4677     4678       +1
  Misses        823      823
  Partials      164      164

Impacted Files
Coverage Δ

saleor/dashboard/product/urls.py
100% <ø> (ø)
:arrow_up:

saleor/dashboard/product/views.py
70.76% <100%> (+0.07%)
:arrow_up:

Continue to review full report at Codecov.

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


[SPARK-13651] Generator outputs are not resolved correctly resulting in run time error

What changes were proposed in this pull request?
Seq(("id1", "value1")).toDF("key", "value").registerTempTable("src")
sqlContext.sql("SELECT t1.* FROM src LATERAL VIEW explode(map('key1', 100, 'key2', 200)) t1 AS key, value")

Results in following logical plan
Project [key#2,value#3]
+- Generate explode(HiveGenericUDF#org.apache.hadoop.hive.ql.udf.generic.GenericUDFMap(key1,100,key2,200)), true, false, Some(genoutput), [key#2,value#3]
   +- SubqueryAlias src
      +- Project [_1#0 AS key#2,_2#1 AS value#3]
         +- LocalRelation [_1#0,_2#1], [[id1,value1]]

The above query fails with following runtime error.
java.lang.ClassCastException: java.lang.Integer cannot be cast to org.apache.spark.unsafe.types.UTF8String
	at org.apache.spark.sql.catalyst.expressions.BaseGenericInternalRow$class.getUTF8String(rows.scala:46)
	at org.apache.spark.sql.catalyst.expressions.GenericInternalRow.getUTF8String(rows.scala:221)
	at org.apache.spark.sql.catalyst.expressions.GeneratedClass$SpecificUnsafeProjection.apply(generated.java:42)
	at org.apache.spark.sql.execution.Generate$$anonfun$doExecute$1$$anonfun$apply$9.apply(Generate.scala:98)
	at org.apache.spark.sql.execution.Generate$$anonfun$doExecute$1$$anonfun$apply$9.apply(Generate.scala:96)
	at scala.collection.Iterator$$anon$11.next(Iterator.scala:370)
	at scala.collection.Iterator$$anon$11.next(Iterator.scala:370)
	at scala.collection.Iterator$class.foreach(Iterator.scala:742)
	at scala.collection.AbstractIterator.foreach(Iterator.scala:1194)
        <stack-trace omitted.....>

In this case the generated outputs are wrongly resolved from its child (LocalRelation) due to
https://github.com/apache/spark/blob/master/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/Analyzer.scala#L537-L548
How was this patch tested?
(Please explain how this patch was tested. E.g. unit tests, integration tests, manual tests)
Added unit tests in hive/SQLQuerySuite and AnalysisSuite

cc @cloud-fan @gatorsmile

Can one of the admins verify this patch?

ok to test

LGTM

Test build #2610 has started for PR 11497 at commit abf868f.

Test build #2610 has finished for PR 11497 at commit abf868f.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

retest this please

I ran this test 5 times in my development machine and it failed once. It looks like an intermittent failure. Also i verified the plan for the failing test.
Project [(id#0L % cast(2 as bigint)) AS key#1L,if (isnull(cast(id#0L as int))) null else UDF(cast(id#0L as int)) AS UDF(id)#2]
+- Range 0, 10, 1, 32, [id#0L]

There is no Generate in the plan and so the fix shouldn't affect this testcase.

retest this please

Test build #52432 has started for PR 11497 at commit abf868f.

Test build #52432 has finished for PR 11497 at commit abf868f.

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

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

Merged build finished. Test PASSed.

LGTM, cc @davies (who fixed this special case before)

@cloud-fan Can we trigger a test please ?

test this please

retest this please

Test build #52540 has started for PR 11497 at commit 93d6e69.

Test build #52540 has finished for PR 11497 at commit 93d6e69.

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

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

Merged build finished. Test PASSed.

Merging into master, thanks!

@cloud-fan @davies @gatorsmile Thank you !!


Bugfixes for doubleclick and codecell undef outputs

Closing as this was subsumed by other PRs that have been merged.


Line number off by one with #!/usr/bin/env node

The line numbers reported by jscs are off by 1 whenever a file includes #!/usr/bin/env node at the top of the line.
example jscs file:
{
    "disallowSpacesInFunctionDeclaration": {
        "beforeOpeningRoundBrace": true
    },
    "disallowSpacesInNamedFunctionExpression": {
        "beforeOpeningRoundBrace": true
    },
    "requireSpacesInFunctionDeclaration": {
        "beforeOpeningCurlyBrace": true
    },
    "requireSpacesInNamedFunctionExpression": {
        "beforeOpeningCurlyBrace": true
    }
}

file to be linted:
#!/usr/bin/env node

function foo () {
	return 1;
}

The console reporter reports on the correct line, but the line numbers in other reporters is off.

Great!


[DX] Insert dispatcher inside entities no matter what and log a warning

Today if you instantiate a "DomainModel" this way:
$some = new Thing();

No dispatcher is automatically inserted inside the object. It may lead to a headache in understanding what's wrong (besides it's actually pretty obvious 😅 ).
A fix to that could be to inject the dispatcher in the model on flush no matter what, but to log a warning and add a special warning part in the profiler.

After discussion, we decided that insert the dispatcher no matter what can lead to dangerous and complex scenarios.
So now the behaviour is to throw an exception if the kernel is in debug mode at doctrine flush time


MaterialApp vs. Theme interoperability

Placing a Theme widget above MaterialApp has no effect because MaterialApp overrides the parent theme with its own Theme widget.
Theme(
  data: customTheme, // has no effect
  child: const MaterialApp(home: MyHomePage()),
)

On the other hand, placing a Theme widget below MaterialApp results in the theme not being applied to everything, such as the root Navigator. Thus, showLicensePage() would bypass the custom theme, for example.
MaterialApp(
  home: Theme(
    data: customTheme, // does not apply to the entire app
    child: const MyHomePage(),
  ),
)

This makes it hard to implement a generic/custom Theme widget that operates well with MaterialApp. Currently, the Yaru theme (which resolves the system accent color under the hood) uses the builder pattern to hand over ThemeData instances that can be passed to MaterialApp.theme and MaterialApp.darkTheme:
YaruTheme(
  builder: (context, yaru, child) => MaterialApp(
    theme: yaru.theme,
    darkTheme: yaru.darkTheme,
  )
)

It would be nicer and more intuitive if MaterialApp would respect a Theme placed above it and we could simply use:
YaruTheme(child: MaterialApp())

See also: https://github.com/ubuntu/yaru.dart/issues/219
/cc @domesticmouse
Steps to Reproduce

Execute flutter run on the code sample
Click the Licenses button

Expected results:
Red theme
Actual results:
Blue theme

Code sample

import 'package:flutter/material.dart';

final redTheme = ThemeData(
  colorScheme: ColorScheme.fromSeed(seedColor: Colors.red),
);

void main() {
  // runApp(
  //   Theme(
  //     data: redTheme, // has no effect
  //     child: const MaterialApp(home: MyHomePage()),
  //   ),
  // );

  runApp(
    MaterialApp(
      home: Theme(
        data: redTheme, // does not apply to the entire app
        child: const MyHomePage(),
      ),
    ),
  );
}

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

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(title: const Text('Home')),
      body: Center(
        child: ElevatedButton(
          onPressed: () => showLicensePage(context: context),
          child: const Text('Licenses'),
        ),
      ),
    );
  }
}

Logs

[✓] Flutter (Channel stable, 3.3.8, on Ubuntu 22.10 5.19.0-23-generic, locale en_US.UTF-8)
    • Flutter version 3.3.8 on channel stable at /home/jpnurmi/.fvm/versions/stable
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 52b3dc25f6 (4 days ago), 2022-11-09 12:09:26 +0800
    • Engine revision 857bd6b74c
    • Dart version 2.18.4
    • DevTools version 2.15.0

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /home/jpnurmi/Android/Sdk
    • Platform android-31, build-tools 31.0.0
    • ANDROID_SDK_ROOT = /home/jpnurmi/Android/Sdk
    • Java binary at: /home/jpnurmi/Android/android-studio/jre/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • Chrome at google-chrome

[✓] Linux toolchain - develop for Linux desktop
    • Ubuntu clang version 15.0.2-1
    • cmake version 3.24.2
    • ninja version 1.11.0
    • pkg-config version 0.29.2

[✓] Android Studio (version 2020.3)
    • Android Studio at /home/jpnurmi/Android/android-studio
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)

[✓] VS Code
    • VS Code at /snap/code/current
    • Flutter extension version 3.52.0

[✓] Connected device (2 available)
    • Linux (desktop) • linux  • linux-x64      • Ubuntu 22.10 5.19.0-23-generic
    • Chrome (web)    • chrome • web-javascript • Google Chrome 107.0.5304.110

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

Hey Hans, this issue is a result of us looking at YaruTheme from the yaru package and asking about the awkward integration approach. I feel like this might need some review. Thanks!

Reproducible using the code sample provided above.

flutter doctor -v
[✓] Flutter (Channel stable, 3.3.8, on macOS 13.0 22A380 darwin-arm, locale en-GB)
    • Flutter version 3.3.8 on channel stable at /Users/nexus/dev/sdks/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 52b3dc25f6 (5 days ago), 2022-11-09 12:09:26 +0800
    • Engine revision 857bd6b74c
    • Dart version 2.18.4
    • DevTools version 2.15.0

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
    • Android SDK at /Users/nexus/Library/Android/sdk
    • Platform android-33, build-tools 33.0.0
    • Java binary at: /Users/nexus/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/213.7172.25.2113.9123335/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)
    • All Android licenses accepted.

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

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

[!] Android Studio
    • Android Studio at /Applications/Android Studio Preview.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    ✗ Unable to find bundled Java version.
    • Try updating or re-installing Android Studio.

[✓] Android Studio (version 2021.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)

[!] Android Studio
    • Android Studio at /Applications/Android Studio Preview 2.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    ✗ Unable to find bundled Java version.
    • Try updating or re-installing Android Studio.

[✓] Android Studio (version 2021.3)
    • Android Studio at /Users/nexus/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/213.7172.25.2113.9123335/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)

[✓] Android Studio (version 2021.3)
    • Android Studio at /Users/nexus/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/213.7172.25.2113.9014738/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)

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

[✓] Connected device (3 available)
    • iPhone 14 Pro (mobile) • 4F72110C-F38B-4CF9-93C4-4D6042148D28 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-16-1 (simulator)
    • macOS (desktop)        • macos                                • darwin-arm64   • macOS 13.0 22A380 darwin-arm
    • Chrome (web)           • chrome                               • web-javascript • Google Chrome 107.0.5304.110

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 2 categories.

[!] Flutter (Channel master, 3.6.0-3.0.pre.1, on macOS 13.0 22A380 darwin-arm64, locale en-GB)
    • Flutter version 3.6.0-3.0.pre.1 on channel master at /Users/nexus/dev/sdks/flutters
    ! Warning: `flutter` on your path resolves to /Users/nexus/dev/sdks/flutter/bin/flutter, which is not inside your current Flutter SDK checkout at /Users/nexus/dev/sdks/flutters. Consider adding /Users/nexus/dev/sdks/flutters/bin to the front of your path.
    ! Warning: `dart` on your path resolves to /Users/nexus/dev/sdks/flutter/bin/dart, which is not inside your current Flutter SDK checkout at /Users/nexus/dev/sdks/flutters. Consider adding /Users/nexus/dev/sdks/flutters/bin to the front of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision cb224d10e3 (5 hours ago), 2022-11-13 21:57:38 -0500
    • Engine revision b7567b92c7
    • Dart version 2.19.0 (build 2.19.0-394.0.dev)
    • DevTools version 2.19.0
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
    • Android SDK at /Users/nexus/Library/Android/sdk
    • Platform android-33, build-tools 33.0.0
    • Java binary at: /Users/nexus/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/213.7172.25.2113.9123335/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)
    • All Android licenses accepted.

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

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

[!] Android Studio
    • Android Studio at /Applications/Android Studio Preview.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    ✗ Unable to find bundled Java version.
    • Try updating or re-installing Android Studio.

[✓] Android Studio (version 2021.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)

[!] Android Studio
    • Android Studio at /Applications/Android Studio Preview 2.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    ✗ Unable to find bundled Java version.
    • Try updating or re-installing Android Studio.

[✓] Android Studio (version 2021.3)
    • Android Studio at /Users/nexus/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/213.7172.25.2113.9123335/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)

[✓] Android Studio (version 2021.3)
    • Android Studio at /Users/nexus/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/213.7172.25.2113.9014738/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)

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

[✓] Connected device (3 available)
    • iPhone 14 Pro (mobile) • 4F72110C-F38B-4CF9-93C4-4D6042148D28 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-16-1 (simulator)
    • macOS (desktop)        • macos                                • darwin-arm64   • macOS 13.0 22A380 darwin-arm64
    • Chrome (web)           • chrome                               • web-javascript • Google Chrome 107.0.5304.110

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 3 categories.

My understanding is (@jpnurmi please correct me) is that the theme parameters that YaruTheme sets are dependent on the state of the Linux system that the program is running on. I believe YaruTheme figures out the theme color of the system and reflects that into the running system. This requires the following code:
YaruTheme(
   builder: (context, yaru, child) {
     return MaterialApp(
       theme: yaru.theme,
       darkTheme: yaru.darkTheme,
       home: Scaffold(
         appBar: AppBar(
           title: Text('Yaru Theme'),
         ),
         body: Container(),
       ),
     );
   }
 );

Note that the YaruTheme object has to use a builder to surface the YaruThemeData (named yaru in the above sample) to inject the run time appropriate values for MaterialApps theme and darkTheme constructor parameters.
This feels overly complex.

Yes, exactly. Yaru-themed apps follow the system accent color that is configurable in Ubuntu 22.04 and later.

Sorry, I'm still not clear on exactly what the problem is. Is that the Yaru dark and light themes need to depend on information that must be retrieved from the OS? If it was that, then Yaru.darkTheme or Yaru.lightTheme constructors could look the OS-specific information up. Is it that the Yaru themes depend on values computed by the default Material light and dark themes?

The system accent color is not only resolved on startup but may also change at runtime.
The problem is that we cannot have a Theme widget that works out of the box but we have to hand over light and dark ThemeData instances that the user has to forward to MaterialApp which feels a bit cumbersome.
If there was Theme.maybeOf() and MaterialApp would use it like this, we could make it work without asking the user to wire it up:
diff --git a/packages/flutter/lib/src/material/app.dart b/packages/flutter/lib/src/material/app.dart
index af32411d6d..cfa0c52cf6 100644
--- a/packages/flutter/lib/src/material/app.dart
+++ b/packages/flutter/lib/src/material/app.dart
@@ -927,7 +927,7 @@ class _MaterialAppState extends State<MaterialApp> {
     } else if (highContrast && widget.highContrastTheme != null) {
       theme = widget.highContrastTheme;
     }
-    theme ??= widget.theme ?? ThemeData.light();
+    theme ??= widget.theme ?? Theme.maybeOf(context) ?? ThemeData.light();
     final Color effectiveSelectionColor = theme.textSelectionTheme.selectionColor ?? theme.colorScheme.primary.withOpacity(0.40);
     final Color effectiveCursorColor = theme.textSelectionTheme.cursorColor ?? theme.colorScheme.primary;

Yes, similar to how MaterialApp rebuilds when the platform brightness changes.

If I'm understanding this correctly, you want to configure a MaterialApp with ThemeData objects that depend on system properties that MaterialApp doesn't know about, like the "system accent color".  If you wrote:
MaterialApp(
  theme: Yaru.buildTheme(),
   ...
)

then presumably Yaru.buildTheme() could look up whatever system colors it needs and create a matching ThemeData object. But the MaterialApp would not be rebuilt if those system colors changed.
If that's correct, then I suppose if we gave ThemeData objects an optional ChangeNotifier valued rebuildWhen property then you could configure that to notify the MaterialApp when the system colors changed?

If that's correct, then I suppose if we gave ThemeData objects an optional ChangeNotifier valued rebuildWhen property then you could configure that to notify the MaterialApp when the system colors changed?

I stumbled across this GitHub issue; it seems very near to what I'm looking to achieve. I'm adding the below (motivation and my current solution) to inform any future design work.
I would like an entire Flutter app to change color scheme based on which mode it is in; for the sake of discussion, think of "mode" as either user or superuser. Someone who is a superuser can toggle the app into user mode at any time.
Having visually distinctive colors for the two modes is a nice feature, and being able to painlessly re-skin the whole app would be very nice.
I wrapped MaterialApp in a ListenableBuilder whose listenable is a ValueNotifer that carries a mode enum (user or superuser). MaterialApp's theme switches on the ValueNotifier's value to be either the user theme or the superuser theme.
In initial testing, this seems to just work so far. When the value changes, the whole app rebuilds. I'm still looking for gotchas.
Any future Flutter work to make this sort of behavior less roll-your-own (and probably more performant!) would be welcome!


implement package

Resolves: #1
Sample screenshot from data obtained from agent in ros-sports/rcss3d_nao

@ros-sports/soccer_vision_3d_rviz_markers please review when available.

Once this is merged, what's your estimate timeframe for releasing this?

Once this is merged, what's your estimate timeframe for releasing this?

Once the release repo is set up (https://github.com/ros2-gbp/ros2-gbp-github-org/pull/77), I plan on releasing into ROS2 rolling.


Aroostook County: Find town election websites and ballot information

https://www.maine.gov/local/county.php?c=aroostook

This page has links to websites for some towns in Aroostook County: https://www.aroostook.me.us/links/municipalities.html


how to train

would you release the training code? thank you

Hi, thanks for your interest. We can't promise immediate release of the training code. However, it's based on the diffusers library for fine-tuning SD v1.5 and the hyperparameters used are described in the paper, so it shouldn't be hard to reproduce it.

@foivospar @aagainbeyond2 i am trying to reproduce it and it seems to be working-ish but also so hard to tell without having the same exact dataset (it also takes an insanely long amount of time to converge, 15k steps at bs=64 with lr=2e-4 it is still so far off but compared to probably 5 epochs on 42M + 15 epochs on the HQ it is not tht much).
https://github.com/isidentical/diffusers/pull/3

Have you been able to reproduce the training successfully? If so, could you please share it?

+1


How to load obj as non-grouped?

Hello, I have problems with single load OBJ. Need load obj without partition. But with it I have problems. I not found in internet how unify OBJ. I have no enough memory build octree per every group, so need load obj as one part.

Currently there's no such a feature in tinyobjloader.
We may doable to create non-grouped mesh using custom parsing function callback, but for a while you need to create non-grouped .obj in modeler/exporter level.

You can now use callback AP and design your own data structure(i.e. load meshes without grouping)I in develop branch https://github.com/syoyo/tinyobjloader/tree/develop/examples/callback_api

develop is now merged into master and you can use callback API by default. This should solve your problem.


The silent installation options to be reduced only to install Gauge

Proposed behavior
The single binary of gauge is to be used on CI. Choco installer also uses the single binary. Hence the silent installation option in windows installer will be removed.
Current behavior
Currently there is a silent installation option.
Related to #963

The silent install is a default behavior for the nsi exe files, not sure if we can remove it. We add some custom things to allow the user to install plugins along with gauge (in silent mode). We can remove that.


Support aliasing dependencies

For example:
https://esm.sh/swr?alias=react:preact/compat

And in combination with ?deps:
<EMAIL_ADDRESS>
Especially useful for react -> preact :-)
Also, do you accept sponsorship anywhere?

@lucacasonato thanks, it is a great idea, i will add this feature in few days!  and thanks vary much for the kind sponsorship ask but i can't accept it since github Sponsors doesn't work in my country :(

@lucacasonato thanks, it is a great idea, i will add this feature in few days!  and thanks vary much for the kind sponsorship ask but i can't accept it since github Sponsors doesn't work in my country :(

can't accept it since github Sponsors doesn't work in my country :(

Aw, that's very unfortunate. If I can help out in any other way (hosting infrastructure cost for example), please hit me up on Discord. And once Sponsors becomes available on your country, please ping me!

Could be possible expanded to have official deno packages used.
<EMAIL_ADDRESS>

@lucacasonato @shadowtime2000 Aliasing can work now, pls try https://esm.sh/swr?alias=react:preact/compat

@ije This looks like it's broken deps in some of my projects.
https://esm.sh/wouter?deps=react@alpha
/* esm.sh -<EMAIL_ADDRESS>*/
export * from<EMAIL_ADDRESS>export { default } from<EMAIL_ADDRESS>
I might be remembering incorrectly, but I thought deps was passed into the exports in these statements: ie: v44/wouter?deps=react@alpha?

@mashaal alias is different with deps, it is used to replace deps as Luca asked, you can use the deps as before that allows you control the dependencies with specific version

but yes the URL is changed when you passed ?deps

Can I specify aliases for the dependency of dependency?
Example:
graphiql
deps:

@graphiql/react
react
react-dom
...and more

@graphiql/react
deps:

react
react-dom
...and more

import GraphiQL from "https://esm.sh/graphiql?alias=react:preact/compat,react-dom:preact/compat";

Or you may need the scope of the alias.
import GraphiQL from "https://esm.sh/graphiql?alias=react:preact/compat,react-dom:preact/compat,@graphiql/react^react:preact/compat";


Feat: disabling keys to open multiple files at once

From the readme:

Moreover, you can open several files at one go! Navigate to an entry and hit either b (open in same window), s (open in split), v (open in vertical split) or t (open in tab) for marking it. You can mark several entries and also mix different markers. Afterwards execute all the markers in the order they were given via .

What startify gives me is a consistent interface for editing my config files. Having the ability to write vim, hit enter and then one single letter to go edit one of my many bookmarked files is pure gold for me. And, it is close to be the only thing I use vim-startify to do, thus, I would like to have keys available that are intuitive to use with a certain bookmark, like 'v' for .vimrc.
My wish: To be able to disable mappings. First and foremost the ones discussed in the block of text appearing first in this post. I could even very much like to be able to use every possible key as a shortcut. I can use ctrl-d and ctrl-u to scroll, and those two mappings is all I need.

Can we have the option to disable the v,s,t,b keys?
Can we have the option to use every letter on the keyboard for shortcuts?

Hi. Sorry for the late response, but I was away for some time.
You can't disable the mappings per se, but you can simply overwrite them. See :h g:startify_custom_indices.
Then there is :h g:startify_list_order. So you can reorder the shown lists.
Now you could use a combination of both. Let's assume you always have 2 bookmarks. With z you want to open ~/.zshrc and with v you want to open ~/.vim/vimrc.
let g:startify_bookmarks = ['~/.zshrc', '~/.vim/vimrc']
let g:startify_list_order = [ 'bookmarks', 'files', 'dir', 'sessions' ] " show bookmarks first
let g:startify_custom_indices = [ 'z', 'v' ]

Now you could use z and v as intended. Would this be a solution to you?

Hi. No problem  :)
I have always had this:
let g:startify_list_order = [ 'bookmarks', 'files', 'sessions', 'dir' ]
let g:startify_bookmarks = [ '~/.vimrc', '~/.bashrc', '~/.zshrc', '~/.tmux.conf', '~/.gitconfig' ]
let g:startify_custom_indices = ['v', 'b', 'z', 't', 'g']

But this is not overwriting anything :(
v still works as "mark for opening in vsplit".

The latest commit should fix this.
But I just read in another issue that you'd like to have bookmarks at the bottom. I probably really go for this way:
let g:startify_bookmarks = [ '~/foo', { 'b': '~/bar' } ]

This is the only sane way I see at the moment since it doesn't break backwards-compatability.

The above mentioned change to g:startify_bookmarks is in effect now!

Great!
Thank you :) This is exectly what I wanted.


Support Capture and Authorize in Demo App

Summary of changes

In demo app, either capture or authorize an order based on the original intent
Related to: https://github.com/paypal/iOS-SDK/pull/153

Checklist
~- [ ] Added a changelog entry~
Authors

List GitHub usernames for everyone who contributed to this pull request.

@sshropshire
@KunJeongPark

@scannillo I added a group of radio buttons to each payment method demo for now. It doesn't look great, but we've talked about migrating to Jetpack Compose soon. We should be able to get some better styling down the line:


Dynamically retrieve correct IP address

When I create a container it shows the ip address.  I can retrieve that ip address with the below command.
cmd="az container show \
-n $CONTAINER \
--query ipAddress.ip \
-o tsv \
-g $RG"

The problem is, that is not the ip address under which the container actually runs.  When checking container logs in azure portal, I see the error that says the server is trying to connect to my database under a different ip.  I need that ip to be able to configure server firewall.
ip at creation 52.XXX.XXX.X
ip at runtime 65.xx.xxx.xxx
  az sql server firewall-rule create \
  -g $DB_RG \
  -s $DB_SERVER \
  -n $FIREWALL_RULE \
  --start-ip-address $IP \
  --end-ip-address $IP

How to retrieve the correct ip dynamically so it can be set in create-container script?

container

I found this in the docs
Which would solve the general problem. Still would want to know if there is a way to be more explicit about it. Also, wondering if this general solution is still open to security vulnerabilities?
az mysql server firewall-rule create --name allAzureIPs --server <mysql-server-name> --resource-group myResourceGroup --start-ip-address <IP_ADDRESS> --end-ip-address <IP_ADDRESS>

@shortpoet Apologies for the delayed response. I see that this issue is opened long time ago and no further activity had taken place. So, wanted to check if you are still looking for assistance on this query? Please let us know.

Thank you for getting around to this! I would have to rerun that command to see if there is still as issue. Will try and get to it soon.


Missing cmd shortcuts in Terminal

Ctrl+A: Selects all text on the current line. Press Ctrl+A again to select all text in the CMD buffer.
Shift+Left Arrow/Right Arrow: Extend current selection by one character to the left or right.
Shift+Ctrl+Left Arrow/Right Arrow: Extend current selection by one word to the left or right.
Shift+Arrow Up/Arrow Down: Extend current selection by one line up or down. The selection extends to the same position in the previous or next line as the position of the insertion point in the current line.
Shift+Home: Extend current selection to the beginning of a command. Press Shift+Home again to include the path (e.g., C:\Windows\system32) in the selection.
Shift+End: Extend current selection to the end of the current line.
Ctrl+Shift+Home/End: Extent current selection to the beginning or end of the screen buffer (respectively).
Shift+Page Up/Page Down: Extend current selection by one page up or down.
None of these work

I believe most of these are covered by the other issues mentioned. Thanks for the request!


Fixes and improvements

ola..
I was battling to find a nice tool to handle icon/splash generation for a few PhoneGap projects when I came across crgen. really nifty little utility, by the way, it's been a great help so far. :)
there were a few issues I needed to fix first, so I thought it would be quicker to fork it and make the changes I needed myself. this here PR is just in case you'd like to pull them into your main project as well.

I've made changes to the following main points:

-p, --platforms CLI argument is now passed through correctly to the image generation module
-R, --resize CLI argument resizes the provided splash screen source image before cropping
removed unused "exports" from the settingsManager module

er... just realised I haven't updated the tests yet. I'll do that this evening and push the extra commits.

important note: I should've read Jimp's docs first, but what I had implemented here with checking the target image size, then resizing the source splash screen prior to cropping is actually a silly way of doing it..
as I noticed in one of the other currently open PRs for this project, it's better to simply replace image.crop() with image.cover(),
if you do look through your PRs, you may want to at least grab some of my fixes from the following commits in my fork then:

the "platforms" argument fix
initial "resize" argument and Jimp cover() efficiency tweak

I've got a bunch of other things planned for my fork of the project (including a TS refactor), so it may diverge quite a bit from what you've got here. in light of my recent discoveries, you probably shouldn't accept this PR as-is after all..
let me know if you'd like to join forces and get it all into the original repo. 🖖