Added command to get list of country names

Was missing for countries. We have this for Landkreise and US states.

Codecov Report

Merging #184 (7a9c866) into master (9c3a3bc) will decrease coverage by 0.14%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #184      +/-   ##
==========================================
- Coverage   86.71%   86.57%   -0.15%
==========================================
  Files           5        5
  Lines         956      946      -10
==========================================
- Hits          829      819      -10
  Misses        127      127

Impacted Files
Coverage Δ

oscovida/oscovida.py
85.06% <0.00%> (-0.17%)
:arrow_down:

oscovida/plotting_helpers.py
100.00% <0.00%> (ø)

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 9c3a3bc...7a9c866. Read the comment docs.

[Discussed in meeting on Monday.]


Test and update R3 Corda platforms code to work with JAVA 14 version upgrade

Description
As a developer I want to test and update code so that the R3 Corda platforms code works with JAVA 14 version upgrade
Acceptance Criteria

The DLT platforms works with the JAVA 14 version upgrade
The supplychain application works with the JAVA 14 version upgrade

This can be tested via

Will be taken up when Corda supports JAVA 14

Will be taken up when Corda supports JAVA 14

Closing this issue and will be worked upon with Corda 5


Get onAddClick prop to allow for custom onClick functionality

The add button in the ListView component should use the onClick functionality via a prop for allowing it to be customized based on segments & IDEs.

Not needed. Already implemented.


Cannot use 'in' operator to search for 'Array' in undefined

Hi !
I'm trying to create a web component using Polymer 3 and when i import anime.js using import 'animejs'; i got the following error message.
Uncaught TypeError: Cannot use 'in' operator to search for 'Array' in undefined
    at Object.$jscomp.polyfill (anime.min.js:113)
    at anime.min.js:128

I'm getting this error in materialize-css package -- would you be able to fix it in there and push an update? Or how can I get this error fixed without an update? I see this error everytime I run my angular app


(4h,P2) Enable (a subset of) Intl tests in Node-ChakraCore

@jackhorton Some Intl.NumberFormat tests (etc.) should pass at this point, but not all tests. Depending on a variety of factors, it may not yet make sense to do this. If so, we can delay this work.
/cc @digitalinfinity

Started work on this and it's a bit nitpicky. As expected, some tests that should work were written to match WinGlob behavior and will need to be written to accommodate a broader range of acceptable outputs.

@kfarnung this is done now right?

I'll call that done for the purposes for this issue.


to download the "binary"

It is no longer possible to download the "binary" version of the key.

https://developer.spotify.com/technologies/libspotify/keys/
Is there another way to add the key?

Unfortunately not that I'm aware of.


Pass email address to error callback

I just broke my API thinking that the arguments passed to the error callback had the email address in them.
Use case: logging failed authentication attempts
Is this something that could be added in the 2.x branch?

In your case is the email used as the username or how is it related to the authentication?

ah sorry, yes it's a username. The auth is email:password.


Issue with lightningmdb luarocks package

It looks like all LMDB/Torch tests are failing with a SEGFAULT (HDF5 tests pass). This seems to be a regression in the current version of the lightningmdb wrapper on Luarocks registry. The latest version of Github is working. I have filed an issue on shmul/lightningmdb#10.
@gheinrich https://github.com/NVIDIA/DIGITS/pull/541#issuecomment-175047706

Assuming they don't get this fixed immediately, how can we fix this from our end?

I'm attempting to fix it with https://github.com/lukeyeager/DIGITS/commit/772c444bbbc880bd85e026a608c9d6f4c1e56425. Let's see how the TravisCI build goes ...

My build passed. Looks like yours did too (except for the timeout failure). So it looks like either upgrading or downgrading will work, as you guessed.
In general, I would lean towards downgrading and fixing our requirements to known good versions. But I guess we're already building bleeding-edge for all of our Torch components already. So let's go with your version, since it updates the documentation as well.
BTW, is there no parallel to a pip requirements.txt file for luarocks?

Thanks. I don't mind either way. I have opened PR #545 if you still want to take mine.
I don't know of a luarocks equivalent to pip -r requirements.txt. That could be done with a script?

Some were indeed broken, but as far as I know, <IP_ADDRESS>-1 solves them all. I uploaded it to the main luarocks site a couple of days ago and it is listed there now.
@shmul https://github.com/shmul/lightningmdb/issues/10#issuecomment-177136607

Should we switch back to using the luarocks website now? Both are "bleeding-edge" options, but maybe waiting for them to be posted on the main luarocks site is a tiny bit less "bleeding-edge"?

I agree we should switch, for the next package,


Suggestion/Request

Would it be possible to split the wars won notification and be able to have that post to a specific channel separately from the on hold/losing/tied notifications?

Should be added now as beta, command is ~warnoti <group> where groups could be main, hold, and loss

Added ~warnoti <group> to commands, groups include main, hold, loss, and wins


Fix collections typing

As i wrote in chat, all the casts to List are very fragile and have side effects with different variable types.
Fixes embedding/ crop test.
Also some refactoring/ removed out-commented code/ useless if/else statements.

@DerMascha I'm so sorry, I have to rollback this PR. I made a mistake to run through all the examples.
When you want to make changes in tf.net, please make sure you can run all the examples.


[Proposal] Allow setting roomdesc to ROs

This is just a proposal feel free to close it if this was intended not to be for ROs

ROs used to be allowed to set roomdescs, but this was changed since
roomdescs appear both in the list of rooms and when searching for the room
on Google.

Oh?

Yes, this used to be a thing.

So should I close it?

I don't think the policy of this is going to change. There's enough leaders to do this and it's not like the roomdesc needs to be changed often.

Fair enough


Move ownership to JuliaGeo

I'm curious: will you prefer to deal with just the raster format in this repository? If so, a more suggestive name (e.g. Rasterio, or GDALRaster) might be better -- feel free to go wild with the naming! It'll also help you scope the responsibility to something more manageable?

[x] Provide test/runtests.jl
[x] Decide on scope of repository (and rename accordingly)
[ ] Register in METADATA
[ ] Move ownership to JuliaGeo

I think since what I've currently got in here is a solid (but not perfect) interface to raster I/O using GDAL, it's a good idea to clean it up and rename it to something (RasterIO.jl?) and then we have room for a GDAL.jl package which implements an API for a wider range of GDAL functionality.

I want to bump this discussion again. I haven't been super active in JuliaGeo stuff for a while, so I'm happy to transfer this to JuliaGeo or wherever else you would like it.

Hi Will, are you aware of the more recent developments in visr/GDAL.jl and yeesian/ArchGDAL.jl? They currently provide a quite extensive wrapping of GDAL/OGR.
I guess this package either can be updated, or explicitly unmaintained/archived, with links to alternatives. What is your preference?

This package was incredibly helpful in bootstrapping the design for GDAL.jl and packages that builds upon it, like ArchGDAL.jl which offers a more comprehensive scope of the functionality available in GDAL.
My suggestion at this point will first be decide if (i) you still want to maintain this package, and (ii) what functionality you wish to provide in it. If you don't wish to maintain this package, you won't have to do anything here.
If you wish to maintain a package for rasters, my recommendation is to re-write it to use either GDAL.jl or ArchGDAL.jl for building the gdal binaries, because Martijn and I intend to continue maintaining binaries and updating for subsequent versions of GDAL, and we'll be happy to pool efforts together.
It's also worth thinking about what user experience you'll like to achieve in this package that isn't otherwise provided by other packages, and use that as your guiding philosophy for deciding your priorities regarding this package.

Ah, yes. I hadn't been following the various updates very closely. I'll add a statement about the deprecation of this package to the README and point them to the more modern packages.
I just noticed that RasterIO is listed here: https://github.com/JuliaGeo/meta/wiki/Existing-Libraries and I don't want anyone to think they should be using this to handle raster data in Julia

Thanks Will! I've updated the wiki accordingly.

Yeah indeed wanted to echo @yeesian that this package was incredibly helpful in bootstrapping the other efforts, so thanks for that!


Updates to VAT Number functionality.

Hello,
Made some changes to this that I hope you can review and include. This is to add VAT Number to orders when enabled and a small change to the validation of VAT Number.

Updated to now create an order attribute for VAT Number that is saved on Checkout.
VAT Number added to Order slips, invoices and order confirmation.
Removed SOAP check on VAT Number as found it caused issues and was unreliable.

Thanks again for this - sorry it took me a while to merge, it simply dropped of my todo list.
I've given it a quick test and it's working as expected.


add brittle test with race condition

reproducing #1011
Run the changed test. It repeats the same test 100 times. This fails for me like this:
mvn test -Dtest=CompletableFutureAssert_isCompletedExceptionally_Test

[ERROR]   CompletableFutureAssert_isCompletedExceptionally_Test.should_pass_if_completable_future_will_complete_exceptionally[88]
Expecting
  <CompletableFuture[Incomplete]>
to be completed exceptionally

[ERROR]   CompletableFutureAssert_isCompletedExceptionally_Test.should_pass_if_completable_future_will_complete_exceptionally[89]
Expecting
  <CompletableFuture[Failed: java.lang.RuntimeException]>
to be completed exceptionally

As you can see the first message makes sense, the future is incomplete. In the second case, the error says "expecting ... to be completed exceptionally, but it shows [Failed: java.lang.RuntimeException]"
Not sure if or how this can best be fixed, probably just a hint in the message might work.

needless to say, this is not to be merged, and can be closed without further comment


"Insert Content" overlay modal improvements

Adds filter textbox to the "Insert Content" modal and sets the overlay to position="center".
My reason for this is when you have more than (say 6) the "position=target" overlay feels crowded and difficult to find a content-type.  When set to "position=center" the modal is larger (easily displays 9 items) and with the filter enabled it looks friendlier.
Maybe this could be a prevalue config option? e.g. Picker = small or large?
or could be dynamic, e.g. when there are over 6 content-types available, it auto switches from small to large?
Any thoughts?

This PR is initially intended for discussion.  It's totally open to community feedback.

You got a screenshot of before / after?

@mattbrailsford LOL, I was literally just preparing them 😄
"position=target"

"position=center" + "filter" enabled

Interesting that the centre one doesn't expand to 4 items wide.
 Was thinking about expanding after a set amount, but not sure it's really going to give you anything (it's still 3 items wide) and the center one gives you more space around items.

So, the "position=center" + "filter" overlay looks pretty dreadful when you have a nested Stacked Content. 😖

Since we're exploring the idea of leveraging Content Templates (aka Blueprints), see #20 - that would superseded this PR.  I'll leave this PR open until we progress further with #20 - just wanted to make of a note of it here.

Closing this PR. The feature has been superseded by PR #23


Some submitted emails are not being processed.

Hello Microsoft,
A great day to all of you.
I have manually reported several emails but I was a bit surprised that some of the emails were not being processed/reflected in the User-reported messages. Here is what I found out :

Dragging an email as an attachment to the report email works perfectly, and is reflected in the user-reported messages.
Using the MSReport button also works 100%.
Creating a report email and "attaching" an eml file to the report email does not work sometimes.

After some investigation, I found out that some eml files, which are perfectly viewable in outlook, seem to be unacceptable/unprocessable by report mechanism. I say that they are unprocessed because they do not reflect in the "user-reported" messages.
That being said, is there any difference between a dragged email and an "attached" eml file? What headers are important in making sure that the eml is processable by the system? Or did I miss something in the configuration.
Thank you very much.
PS : I can freely share the "failing" eml file contents if you need them for testing. Thank you.

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

ID: 5b12c078-eccb-7786-dec6-ea1bdb91d088
Version Independent ID: aa1e8002-a8db-383e-cbeb-abf92c033bd3
Content: Manually submit messages to Microsoft for analysis - Office 365
Content Source: microsoft-365/security/office-365-security/submit-spam-non-spam-and-phishing-scam-messages-to-microsoft-for-analysis.md
Product: m365-security
Technology: mdo
GitHub Login: @siosulli
Microsoft Alias: siosulli

I just want to update this with my reproduction steps which are as follows :

Using MAC-Outlook, save an email as an eml file.
Open a browser and open Outlook on the web.
Using OWA, create a draft email for<EMAIL_ADDRESS>with a valid subject and an empty body.
Click on the attach button (DO NOT DRAG THE EML FILE.) and attach the eml file saved using MAC-for-Outlook.
Send the email.
Wait for 30-60 minutes and check the user-reported messages count.

I have tried this 4 times and have found these steps capable of reproducing my reported issue. Thank you.

@yogkumgit
Any updates on this matter?
Thank you.

@chrisda  @andypunt
I sincerely apologize for having to mention you on this comment. I checked the history of the document and found several commits by both of you. Again I apologize profusely for having to mention you in this ticket.
As you can see, we have been trying to integrate our solution with the Microsoft solution. Unfortunately, we have seen little to virtually zero progress. This ticket, and the updated comment I made are the reasons why our integration efforts are not progressing.
Due to some time limitations, I am thinking that a short conversation with any MS dev would be truly helpful. Is there any chance I can ask for clarification from the developers of the "phishing-report" solution that microsoft has? So far, the method described in the link below does not work if the eml is file is generated (via outlook) and attached (not dragged) to a report email   :
https://docs.microsoft.com/en-us/microsoft-365/security/office-365-security/submit-spam-non-spam-and-phishing-scam-messages-to-microsoft-for-analysis?view=o365-worldwide
Moreover, submission to custom mailbox by manually attaching an eml file does not work as well. As described in the link below :
https://docs.microsoft.com/en-us/microsoft-365/security/office-365-security/user-submission?view=o365-worldwide
I am not discounting the fact that I may be doing it wrong. But so far, the results have been consistent. "Attaching-by-dragging an email." works. But "manually attaching an eml file." does not work it seems.
Thank you again for your time, patience and understanding regarding this matter.
More power.

You should open a case with support to get help on this. This path should only be used for help for things like clarity on documentation.

@glr0221 Thank you for your feedback. This sounds like an issue with your tenant and we recommend you open a support ticket with Microsoft (via the need help section on the admin center).
After consulting, If you think there are changes required in the document, let us know.
Thanks
Sri

@yogkumgit There are no changes required in the document and the issue can be closed.

@msbemba Thank you very much for the contribution and sharing this explanation. @glr0221 Hope this comment is helpful for you. If you see a documentation update is required, please feel free to open an issue for the same. We proceed here to close it. Thanks for taking out some time to open the issue. Appreciate and encourage you to do the same in future also.


Can't apply editor layouts saved in other languages

Ubuntu 17.04 - Build: b034c4e
Issue description:
When saving an editor layout, you will only be able to apply it in the language that you saved it.

Confirmed, I experienced this a while ago.


tests: Increase unit test coverage of pkg/metricsstore

In this PR:

adding tests to pkg/metricsstore
removing fake.go which was not used

ref https://github.com/openservicemesh/osm/issues/1489
Please mark with X for applicable areas.

New Functionality      [ ]
Documentation          [ ]
Install                [ ]
Control Plane          [ ]
CLI Tool               [ ]
Certificate Management [ ]
Networking             [ ]
Metrics                [ ]
SMI Policy             [ ]
Security               [ ]
Tests / CI System      [ ]
Other                  [ ]

Please answer the following questions with yes/no.

Does this change contain code from or inspired by another project? If so, did you notify the maintainers and provide attribution?

Please answer the following questions with yes/no.

Does this change contain code from or inspired by another project? If so, did you notify the maintainers and provide attribution?

I know the answer, though we should answer this explicitly for every PR.


Text editor not responding to backspace/space

Bug on Chrome (Windows 10) where text input struggles a bit:

Space bar double-tap reverts cursor to beginning of line

Space bar only fires when cursor is not at the end of the line

Backspace not working, have to use Delete as an alternative

Here's what I mean... (!):
https://drive.google.com/file/d/0BxZ-5bz5B_I5NG1HMUxaQ3kzWFU/view

I have noticed same (or similar) behavior on other browsers as well and it can be also reproduce in the WYSIWYG component demo page https://miztroh.github.io/bower_components/wysiwyg-e/ (which means we are most likely not breaking it in our code).
@liliankasem, @deadlyfingers, @fredbeast: I think our options are either to look for a better WYSIWYG editor or alternatively allow users to author the HTML content in some other (external) editor and just paste in the generated HTML.

@vjrantal we might remove this in favour of simple textbox to paste in preformatted HTML content. (The HTML entities could then be encoded/decoded for edit or preview mode)

Now updated: https://github.com/vjrantal/badge-builder/pull/128


UIAutomator connection through TCP/IP

Hi,
I have a requirement that, will need to connect to the tablet(Android) using TCP/IP like
[adb connect ] using the uiautomator
From the documentation, I can see that we'll need to provide the tablet's serial number. which is as below:
from uiautomator import Device
d = Device('014E05DE0F02000E', adb_server_host='<IP_ADDRESS>', adb_server_port=5037)
Could you pls explain, how can I provide the IP address of the tablet in UIAutomator and automate using TCP/IP ?
Thanks,
Senthil

Are you mean adb connect ?

I mean, as how adb commands can be invoked from the PC using 2 modes

using Serial number
using IPAddress of tablet "adb connect "

My requirement is as below:
I am using UIAutomator for automating the testcases for the tablet(which runs on Android).

UIAutomator works fine, if we use serial number of the tablet.
from uiautomator import Device
d = Device('014E05DE0F02000E')
Now, I have a scenario where tablet has only IPAddress(no USB connection) and we need to connect the tablet using IPAddress and execute the testcases using UIAutomator
Could you please let me know if this is possible?

it seems you need to learn the command  adb connect

Hi shengxiang,
Thanks for the reply.
I think, my explanation of the problem was not clear, let me rephrase below:
Is it possible to use uiautomator over TCP/IP?

yes the answer has already told you.

Hi Shengxiang,
Thanks for the reply.
From the uiautomator documentation: https://github.com/xiaocong/uiautomator
from uiautomator import Device
d = Device('014E05DE0F02000E', adb_server_host='<IP_ADDRESS>', adb_server_port=5037)
I am unable to understand what IP address is for adb_server_host, where should I run adb, in the android tablet?
If you can explain me, what IP is <IP_ADDRESS> and where is it configured, it can help me to configure appropriately.
Also, I would like to know where to provide the Device(tablet android) IP address in the PC side of UIautomator.

First need to ask you a question, how did you make you phone over TCP/IP?

I have an Android tablet, which gets ipaddress when connected over wifi or an ethernet cable.
I can see the ipaddress of the tablet in the (Settings-->About --> Status --> IP address)

checkout this repo https://github.com/mzlogin/awesome-adb/blob/master/README.md

Hi,
Link was useful for adb commands.
Could you pls let me know, how to use Uiautomator with IPaddress of the tablet from PC side with an example.

中文可以吗？给你发的那个链接里面写的很清楚了都

Hi,
I found a fix, made a slight tweak in adb.py and init.py and it worked.
Thanks, nice chatting with you.

Hi,
I found a fix, made a slight tweak in adb.py and init.py and it worked.
Thanks, nice chatting with you.

Please, I'm facing the same issue you were facing. Please can you tell me how you have done to overcome it ?

Hi senthilcomm,
I'm facing the same issue here. Can you please help?
Thanks


Fix #812 - Fix PSMODULEPATH in PnP Powershell Commands wix installer

Hi @ZeBobo5, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
The agreement was validated by Microsoft and real humans are currently evaluating your PR.
TTYL, MSBOT;

That's interesting, as this causes no issues for me. Given the hierarchy of the path PS will/should resolve the module anyway. The module is auto loaded the moment I enter one of the cmdlets in it.
$env:PSModulePath returns
C:\Users\erwin\Documents\WindowsPowerShell\Modules;C:\Program Files\WindowsPowerShell\Modules;C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules\;C:
\Program Files\OfficeDevPnP\;C:\Program Files (x86)\Microsoft SDKs\Azure\PowerShell\ServiceManagement

Straight after opening PowerShell Get-Module returns:
ModuleType Version    Name                                ExportedCommands
---------- -------    ----                                ----------------
Binary     <IP_ADDRESS>    Jump.Location                       {Get-JumpStatus, Set-JumpLocation}
Script     0.6.0      Jump.Location
Manifest   <IP_ADDRESS>    Microsoft.PowerShell.Management     {Add-Computer, Add-Content, Checkpoint-Computer, Clear-Content...}
Manifest   <IP_ADDRESS>    Microsoft.PowerShell.Utility        {Add-Member, Add-Type, Clear-Variable, Compare-Object...}
Binary     <IP_ADDRESS>    PSReadline                          {Get-PSReadlineKeyHandler, Get-PSReadlineOption, Remove-PSReadlineKeyHandler, Set-PSRead...

After entering Connect-SPOnline
ModuleType Version    Name                                ExportedCommands
---------- -------    ----                                ----------------
Binary     <IP_ADDRESS>    Jump.Location                       {Get-JumpStatus, Set-JumpLocation}
Script     0.6.0      Jump.Location
Manifest   <IP_ADDRESS>    Microsoft.PowerShell.Management     {Add-Computer, Add-Content, Checkpoint-Computer, Clear-Content...}
Manifest   <IP_ADDRESS>    Microsoft.PowerShell.Utility        {Add-Member, Add-Type, Clear-Variable, Compare-Object...}
Binary     <IP_ADDRESS>    OfficeDevPnP.PowerShell.Commands    {Add-SPOContentType, Add-SPOContentTypeToList, Add-SPOCustomAction, Add-SPOEventReceiver...
Binary     <IP_ADDRESS>    PSReadline                          {Get-PSReadlineKeyHandler, Get-PSReadlineOption, Remove-PSReadlineKeyHandler, Set-PSRead...

Then if I check for the path of the module I see:
PS C:\> Get-Module OfficeDevPnP.PowerShell.Commands | select Path

Path
----
C:\Program Files\OfficeDevPnP\PowerShell\Modules\OfficeDevPnP.PowerShell.Commands\OfficeDevPnP.PowerShell.Commands.dll

Can you please double check on your environment? I applied your proposed change to the setup and it actually fails on my environment. E.g. it adds the path as proposed to the PSModulePath environment variable, but PowerShell fails to resolve the module automatically. E.g. I'm inclined not to merge this pull request.

Given that the problem seems not to reproducible and the provided fix is generating new problems I'm going to close this PR for now. If later on this change needs to be revisited then we can simply open the PR again.

I have the same experience with all computers I have setup. Both win 8.1, win 7 and win 10.
Installing is fine.
checking the psmodulepath in environmental settings:
c:\program files\officedevpnp is added at the end.
officedevpnp cmdlets is not available in Powershell ISE.
Changing the psmodulepath in environmental settings to:
c:\program files\officedevpnp\powershell\modules
officedevpnp is available in Powershell ISE
This step should be avoided.
And it is only a windows environmental setting that needs to be changed. nothing else.


Minimum precision with trim

I would like to format my numbers using 0,0.00[0000] but cannot find the correct combination of parameters.
I'm currently using {matissa:2, trimMatissa:true} but that also trims two zeros after the decimal point, which I need.
Explicit examples of what conversion I would like to achieve
1 -> 1.00
1.0 -> 1.00
1.00 --> 1.00
1.000 --> 1.00
1.001 --> 1.001
1.000001 --> 1.000001
1.0000009 --> 1.000001

Hi, I'm not sure this is achievable today, but surely it's a something to implement :smile:

Any update regarding this?


Put doesn't work on Windows on the Framework getting started page.

Yes! There's no mention in the docs of the fact that Framework only supports Mac and Linux, at least I didn't see it.
I just tried and follow the Getting Started instructions on my Windows machine and things just didn't work. I had had to search the Github-issues to get a clue as to why it didn't.


Review of fixed source bank model developments

The suggested changes have been made. Assigned review back to @simondrichards to accept.

Further corrections to the formatting have been added.
Agreed that the sampling time for the fixed source case is now "folded" into the transport time and it probably does not make sense to take individual timings of these and sum them over all samples, however this is a choice for the OpenMC community and as you state should be raised in the pull request.

Thanks @davidjohnlong - looks good.


Exploding Brains in Julia

Title
Exploding Brains in Julia
Short description and the goals for the OHBM BrainHack
Particle simulations are used to generate visual effects (in movies, games etc...). In this project, I want to explore how we can use magnetic resonance imaging (MRI) data to generate interesting visual effects by using (2D) particle simulations. My aim is to convert my previous efforts (see 2020 OpenMR Benelux, 2020 OHBM Brainhack) to the Julia programming language. Why Julia? Because Julia offers convenient parallelization methods. This is very important for speeding up particle simulations,
A compilation of my efforts so far can be seen at: https://youtu.be/_5ZDctWv5X4
I am planning to sophisticate the particle simulations and create new animations :)
Link to the Project
https://github.com/ofgulban/exploding_brains
Image for the OHBM brainhack website
https://raw.githubusercontent.com/ofgulban/exploding_brains/master/visuals/example-17.gif
Project lead
@ofgulban
Main Hub
Glasgow
Other Hub covered by the leaders

[X] Glasgow
[ ] Asia / Pacific
[ ] Europe / Middle East / Africa
[ ] Americas

Skills

language
level of expertise required

Julia (necessary)
beginner

Python (would be useful)
confirmed

C++ (would be useful)
confirmed

Matlab (would be useful)
confirmed

Recommended tutorials for new contributors

[X] Set up a brainhack friendly computing environment
[X] A introduction to Bash
[X] Python: Writing a script
[ ] Python: Data analysis with Python
[X] Python: Visualisation
[ ] Machine learning basics
[ ] BIDS
[ ] Machine learning for neuroimaging
[X] VCS: Using Git and Github
[ ] VCS: Data management with Datalad
[ ] Virtualization
[ ] High Performance Computing: Oracle cloud resource

Good first issues

Install Julia
Run example scripts in julia (will be provided soon.)

Twitter summary
Learn how to create exploding brain animations from your own MRI data! Now using @JuliaLanguage !!
https://github.com/ofgulban/exploding_brains
@ofgulban
#OHBMHackathon #Brainhack #OHBM2022
Short name for the Discord chat channel (~15 chars)
exploding_brains
Please read and follow the OHBM Code of Conduct

[X] I agree to follow the OHBM Code of Conduct during the hackathon

Hi @ofgulban, have you thought about applying for the brainhack cloud for your project? You could get a vm to run your julia script collaboratively there...

Hi @likeajumprope , thanks for highlighting the brainhack cloud. I just did not have time to look into this yet, I will get informed before the event. This could be extremely handy for simulating larger amounts of particles.

Thank you for submitting the project! We have 35 projects right now, woohoo! But that means the projects pitches will have to be short. We will give you tomorrow 2 minutes to pitch your project, you can have one slide or no slides!
If you decide to use a slide, please include the link to the slide here.
And don't worry, you will still have more time to talk about your project during the BrainHack :-)

@djarecka thanks, here is my one slide: https://docs.google.com/presentation/d/1sGADh-oOxEPOsZyFgW9C6jgZ-0qG9VnIIRMNavd7oyo/edit?usp=sharing

@ofgulban I am interested in your work and I am wondering if I can ask some questions during lunch/evenings. Are you available today? My brainhack discord ID is soichih

Hi @soichih , of course, sorry I just saw now. My discord name is ofgulban, I will message you


Add missing AV link

@altsou please confirm this is the intended missing link to add
closes https://github.com/MicrosoftDocs/OfficeDocs-SkypeForBusiness/issues/9390

Learn Build status updates of commit fdc6022:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

Teams/rooms/update-management.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel

Learn Build status updates of commit db7a9dc:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

Teams/rooms/update-management.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel

@altsou PR has been copyedited and is ready for final review, could you please check and merge? Thanks!

@tiburd Can you help me getting the right person to review? Thanks

Reviewing with the team to verify link. It seems that link was never present, so I'm making sure the suggested link is correct.

Link is correct.

@scanum Not sure I can merge myself. Verified that link is correct. Are you able to merge to main?

Hi @tiburd Hope all is well, is this something you can help with? Thanks!


Horizontal Scrolling in Internet Explorer

Bug report
Viewport doesn't scale on Internet Explorer. On smaller screens, some columns are hidden from view until you horizontally scroll. This is not the behavior that is exhibited in Chrome.
Background
I was in a Retro today where someone using IE on a Ford laptop was not able to see all of the retro columns. As the user was non-technical, they were very confused/frustrated. We discovered that they had to horizontally scroll to see the remaining column. To solve it, we had them open the retro in Chrome.
What is the actual(incorrect) behavior?
The page isn't contained within the viewport on IE. Horizontal scrolling is required to view all columns. Excess whitespace is present at the left margin of the page.
What is the expected(correct) behavior?
All 4 retro columns should fit on the user's screen. Horizontal scrolling is not intuitive for non-technical users (most IE users)
Please provide your browser and OS versions:
Windows 10 + Internet Explorer
Include any logs/screenshots below:

Story
**As a non-technical user
**I need the entire UI to fit on my screen
**So that I can participate in the
Acceptance Criteria
**Given I am using IE on a Ford laptop (13" screen)
**When I join a retro
**Then I should see all 4 retro columns
Notes
This issue can easily be solved by instructing the user to open the retro in Chrome. However, many users in non-technical parts of Ford use IE as their default/only browser. The quality of their experience with this tool hinges upon the IE user experience.

Thanks Max! I just submitted something that could possibly fix this, I had a similar issue to this on chrome when scrolling horizontally.

This issue looks solved to me on Internet Explorer v11


FD extras

Added centred FD shortcuts for so=1, fd_o=2 (.dxc,...) that some people may need

we can land this as soon as travis behaves again

Merged.


[TW#20536] warning: undefined variable `MD5_OPT'

If CONFIG_PARTITION_TABLE_MD5=y then on every boot the following warning appears:
.../esp-idf/components/partition_table/Makefile.projbuild:16: warning: undefined variable `MD5_OPT'
This file needs to define MD5_OPT as empty in this case.

Thanks @slcasner ! I happened to make an unrelated change that provided an opportunity to fix this.
(This change also happened to break make 3.81 support, a fix for that is coming shortly!)


Input for LSST:UK Science Requirements Document

Draft text added: https://lsst-uk.atlassian.net/wiki/spaces/LUSCSWG/pages/614465537/LSST+UK+Science+Requirements+Document


why kubernetes images url format is <registry_url>/<image_name>:<image_tag>

what happend
here is kubespray images.list , and generate by manage-offline-container-images.sh
$ cat temp/images.list |grep registry.k8s.io
registry.k8s.io/pause:3.7
registry.k8s.io/coredns/coredns:v1.9.3
registry.k8s.io/dns/k8s-dns-node-cache:1.21.1
registry.k8s.io/cpa/cluster-proportional-autoscaler-amd64:1.8.5
registry.k8s.io/metrics-server/metrics-server:v0.6.2
registry.k8s.io/sig-storage/local-volume-provisioner:v2.5.0
registry.k8s.io/ingress-nginx/controller:v1.5.1
registry.k8s.io/sig-storage/csi-attacher:v3.3.0
registry.k8s.io/sig-storage/csi-provisioner:v3.0.0
registry.k8s.io/sig-storage/csi-snapshotter:v5.0.0
registry.k8s.io/sig-storage/snapshot-controller:v4.2.1
registry.k8s.io/sig-storage/csi-resizer:v1.3.0
registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.4.0
registry.k8s.io/kube-apiserver:v1.25.5
registry.k8s.io/kube-controller-manager:v1.25.5
registry.k8s.io/kube-scheduler:v1.25.5
registry.k8s.io/kube-proxy:v1.25.5

why only kubernetes images url format is <registry_url>/<image_name>:<image_tag>
$ cat temp/images.list |grep registry.k8s.io/kube
registry.k8s.io/kube-apiserver:v1.25.5
registry.k8s.io/kube-controller-manager:v1.25.5
registry.k8s.io/kube-scheduler:v1.25.5
registry.k8s.io/kube-proxy:v1.25.5

$ cat temp/images.list |grep registry.k8s.io/pause
registry.k8s.io/pause:3.7
root@node50:~/kubespray/contr

i don't know why container images can have two format, but I think Kubernetes image should also comply with the common image address standard---format2.
format1: <registry_url>/<image_name>:<image_tag>

format2: <registry_url>/<project_name>/<image_name>:<image_tag>

kubespray offline design
in offline environment, kubespray let user use a local registry url with kube_image_repo: "{{ registry_host }}"  variable

However, because the kubernetes image uses a chaotic image format, it is difficult to align：

eg : i can't config kube_image_repo: "<IP_ADDRESS>", if i push registry.k8s.io/pause:3.7--><IP_ADDRESS>/kube/pause:3.7（harbor）, Kubeadm will not find this image address, it only find <IP_ADDRESS>/pause:3.7
what the problems
when i want push all images to offline harbor registry, This mix of image lists in different formats can lead to confusion， and it's hard  for push shell scripts to Handle this situation.
and final it cause me must use docker registry (registry:2), because harbor only support format2.
suggest
registry.k8s.io/kube/pause:3.7
registry.k8s.io/kube/kube-apiserver:v1.25.5
registry.k8s.io/kube/kube-controller-manager:v1.25.5
registry.k8s.io/kube/kube-scheduler:v1.25.5
registry.k8s.io/kube/kube-proxy:v1.25.5

and final it cause me must use docker registry (registry:2), because harbor only support format2.

that sounds like a missing flexibility in harbor.

suggest

it does make sense to have the subpath consistency, but we cannot just move the images to the new location.
they likely have to be mirrored first, and if we decide to migrate users to the new location it will be a long process.

kubespray offline design

kubespray uses kubeadm and kubeadm's imageRepositry API field can technically accept a "repo/path" format and not only "repo". the problem will be with coredns images that will become "repo/path/coredns" which will not be valid unless you pushed coredns to that path instead of "repo/coredns". the kubeadm API has individual field for DNS that can be used to override the coredns image path, though.

that sounds like a missing flexibility in harbor.
yes ,but i think harbor will not support push image without project name, it have a web ui to list and manage all projects, no project name will  cause the ui list to become confused.

it does make sense to have the subpath consistency

there just have 6 images use short format, and only k8s have this short format ,hope have a change in furture
root@node51:~# kubeadm config images list
I0117 09:21:50.999039 1387839 version.go:256] remote version is much newer: v1.26.0; falling back to: stable-1.25
registry.k8s.io/kube-apiserver:v1.25.5
registry.k8s.io/kube-controller-manager:v1.25.5
registry.k8s.io/kube-scheduler:v1.25.5
registry.k8s.io/kube-proxy:v1.25.5
registry.k8s.io/pause:3.8
registry.k8s.io/etcd:3.5.6-0
registry.k8s.io/coredns/coredns:v1.9.3

kubespray uses kubeadm and kubeadm's imageRepositry

yes ,So this is the problem caused by inconsistency

Those 6 images are available in two formats, however this is not up to registry.k8s.io, it's up to SIG release publishing them in the backing store.
Harbor should fix this, because it's fully in compliance with OCI distribution to just have host/image:tag AFAIK, and Kubernetes has been doing this a long time. registry.k8s.io has the exact same image names as k8s.gcr.io, by design.

FYI @kubernetes/sig-release @kubernetes/release-engineering
Kubernetes does not currently plan to remove the short format for consistency reasons, it has been around a long time.
You could file a bug with kubernetes/release and kubernetes/kubeadm to ask the respective projects to switch to only the nested format, but it will remain for all existing Kubernetes minor versions, and registry.k8s.io infrastructure will remain unchanged.


Can't handle link press

Would be nice to have an onLinkPress event.

@simonemarinelli what links?

Before video start (title and icons)

During video playing (YouTube logo)

At the end of the video (related videos)

Share links


Move safe_decode_json to a Felix-independent module

So that networking-calico can reliably use it

Are there any UTs of these functions?  If so, they're probably in the wrong file now.

Sure, I'll look into that.

In fact there are no UTs of the functions that I've moved.  They are covered indirectly by higher-level Felix UTs.

Fine, don't think we need to add any just because they've been moved

Could this be merged now?


Eliminate pbl

Version control code should be self-hosted. We can drop support for non-Git VCS systems.

Closed in https://github.com/raxod502/straight.el/commit/dc38416725d206703b3920f1e41d2bd33942290a. But due to the pluggable VC backend system, we don't even have to drop support for non-Git VCS!


Add snippets for Automatic completion

This will add snippets for automatic completion function in cfg file.
ONE-vscode-DCO-1.0-Signed-off-by: Seojeonguk<EMAIL_ADDRESS>

From #59


Update main readme to reflect changes and release the new 2.x version

as per title

We are tracking the release at https://github.com/sighupio/product-management/issues/224


Figure caption

Clarify the functions shown in the benchmark figure

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

Comparison is base (72554fa) 100.00% compared to head (bcccfba) 100.00%.

Additional details and impacted files
@@            Coverage Diff            @@
##              main        #7   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            1         1
  Lines           85        85
=========================================
  Hits            85        85

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


Fix empty ccxt_order['trades'] error

Fix empty ccxt_order['trades'] error

Thanks - I don't have time to look at it but since @rvleij approved it, will merge in.

Oh haha, I didn't expect that when I approved it. but I'm running this fix now on Bybit (lots of issues / trial and error, but unrelated) and on Binance, so it's ok. I won't be popular if I break everyones installation though :)


Upload coverage data to coveralls/codecov

Codecov on forks is broken though at the Codecov service level, so we may just need to globally move everything to coveralls.

Mentioned by @ChrisRackauckas in https://github.com/SciML/RootedTrees.jl/pull/170#issuecomment-2256107704

@thazhemadam what would you recommend here?

I think for starters, having codecov run on PRs made directly from within the repos (i.e., not from forks) and on the default branch should prove to be sufficient. I've noticed that the latter doesn't work as intended.
I haven't looked much into Coveralls or their open source plans to comment on that just yet.

Using Codecov at least for pushes to the main branch would already be nice and improve the status quo. Everything in addition would be very nice to have.
Re Coveralls: You have deleted some working Coveralls code from RootedTrees.jl. It is a bit tricky to get correct coverage with parallel builds, but once everything is set up, it woks well. So far, I have not encountered issues with PRs from forks etc.


gitolite config test

Hi,,
Items in my plugin/redmine_git_hosting?tab=gitolite_config_test are mostly with red exclamation marks. I know this is not normal. What did I miss?

My environment seem okay:

Environment:
  Redmine version                3.0.3.stable
  Ruby version                   1.9.3-p484 (2013-11-22) [i686-linux]
  Rails version                  4.2.1
  Environment                    production
  Database adapter               Mysql2
SCM:
  Git                            1.9.1
  Filesystem
  Xitolite                       1.9.1
Redmine plugins:
  clipboard_image_paste          1.10
  progressive_projects_list      2.0.1
  redmine_bootstrap_kit          0.2.3
  redmine_git_hosting            1.1.0
  redmine_spent_time             3.0.1

Thanks.

aha ... after I clicked "install hooks" link ... all turned green except "Gitolite version".
...

What Gitolite version are you using?

Duplicate : https://github.com/jbox-web/redmine_git_hosting/issues/444


Extend FAQ

Not sure if this is the best place for this.

Codecov Report

Merging #1388 (6144091) into main (83d0c13) will increase coverage by 0.00%.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main    #1388   +/-   ##
=======================================
  Coverage   94.29%   94.29%
=======================================
  Files         236      236
  Lines       43418    43418
=======================================
+ Hits        40942    40943    +1
+ Misses       2476     2475    -1

Impacted Files
Coverage Δ

src/fastfield/reader.rs
89.91% <0.00%> (+0.84%)
: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 83d0c13...6144091. Read the comment docs.


Can't connect to any LLM

i have this error which i can't define, I tried working with Ollama or groq, added the API or URL in .env file, same result
Traceback (most recent call last):\n  File \"D:\\CrewAI-Studio\\venv\\lib\\site-packages\\litellm\\llms\\OpenAI\\openai.py\", line 860, in completion\n    raise e\n  File \"D:\\CrewAI-Studio\\venv\\lib\\site-packages\\litellm\\llms\\OpenAI\\openai.py\", line 796, in completion\n    self.make_sync_openai_chat_completion_request(\n  File \"D:\\CrewAI-Studio\\venv\\lib\\site-packages\\litellm\\llms\\OpenAI\\openai.py\", line 657, in make_sync_openai_chat_completion_request\n    raise e\n  File \"D:\\CrewAI-Studio\\venv\\lib\\site-packages\\litellm\\llms\\OpenAI\\openai.py\", line 639, in make_sync_openai_chat_completion_request\n    raw_response = openai_client.chat.completions.with_raw_response.create(\n  File \"D:\\CrewAI-Studio\\venv\\lib\\site-packages\\openai\\_legacy_response.py\", line 356, in wrapped\n    return cast(LegacyAPIResponse[R], func(*args, **kwargs))\n  File \"D:\\CrewAI-Studio\\venv\\lib\\site-packages\\openai\\_utils\\_utils.py\", line 275, in wrapper\n    return func(*args, **kwargs)\n  File \"D:\\CrewAI-Studio\\venv\\lib\\site-packages\\openai\\resources\\chat\\completions.py\", line 829, in create\n    return self._post(\n  File \"D:\\CrewAI-Studio\\venv\\lib\\site-packages\\openai\\_base_client.py\", line 1280, in post\n    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))\n  File \"D:\\CrewAI-Studio\\venv\\lib\\site-packages\\openai\\_base_client.py\", line 957, in request\n    return self._request(\n  File \"D:\\CrewAI-Studio\\venv\\lib\\site-packages\\openai\\_base_client.py\", line 1061, in _request\n    raise self._make_status_error_from_response(err.response) from None\nopenai.AuthenticationError: Error code: 401 - {'error': {'message': 'Incorrect API key provided: NA. You can find your API key at https://platform.openai.com/account/api-keys.', 'type': 'invalid_request_error', 'param': None, 'code': 'invalid_api_key'}}\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n  File \"D:\\CrewAI-Studio\\venv\\lib\\site-packages\\litellm\\main.py\", line 1607, in completion\n    raise e\n  File \"D:\\CrewAI-Studio\\venv\\lib\\site-packages\\litellm\\main.py\", line 1580, in completion\n    response = openai_chat_completions.completion(\n  File \"D:\\CrewAI-Studio\\venv\\lib\\site-packages\\litellm\\llms\\OpenAI\\openai.py\", line 870, in completion\n    raise OpenAIError(\nlitellm.llms.OpenAI.openai.OpenAIError: Error code: 401 - {'error': {'message': 'Incorrect API key provided: NA. You can find your API key at https://platform.openai.com/account/api-keys.', 'type': 'invalid_request_error', 'param': None, 'code': 'invalid_api_key'}}\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n  File \"D:\\CrewAI-Studio\\app\\pg_crew_run.py\", line 53, in run_crew\n    result = crewai_crew.kickoff(inputs=inputs)\n  File \"D:\\CrewAI-Studio\\venv\\lib\\site-packages\\crewai\\crew.py\", line 550, in kickoff\n    self._handle_crew_planning()\n  File \"D:\\CrewAI-Studio\\venv\\lib\\site-packages\\crewai\\crew.py\", line 626, in _handle_crew_planning\n    )._handle_crew_planning()\n  File \"D:\\CrewAI-Studio\\venv\\lib\\site-packages\\crewai\\utilities\\planning_handler.py\", line 39, in _handle_crew_planning\n    result = planner_task.execute_sync()\n  File \"D:\\CrewAI-Studio\\venv\\lib\\site-packages\\crewai\\task.py\", line 192, in execute_sync\n    return self._execute_core(agent, context, tools)\n  File \"D:\\CrewAI-Studio\\venv\\lib\\site-packages\\crewai\\task.py\", line 250, in _execute_core\n    result = agent.execute_task(\n  File \"D:\\CrewAI-Studio\\venv\\lib\\site-packages\\crewai\\agent.py\", line 357, in execute_task\n    result = self.execute_task(task, context, tools)\n  File \"D:\\CrewAI-Studio\\venv\\lib\\site-packages\\crewai\\agent.py\", line 357, in execute_task\n    result = self.execute_task(task, context, tools)\n  File \"D:\\CrewAI-Studio\\venv\\lib\\site-packages\\crewai\\agent.py\", line 356, in execute_task\n    raise e\n  File \"D:\\CrewAI-Studio\\venv\\lib\\site-packages\\crewai\\agent.py\", line 345, in execute_task\n    result = self.agent_executor.invoke(\n  File \"D:\\CrewAI-Studio\\venv\\lib\\site-packages\\crewai\\agents\\crew_agent_executor.py\", line 103, in invoke\n    formatted_answer = self._invoke_loop()\n  File \"D:\\CrewAI-Studio\\venv\\lib\\site-packages\\crewai\\agents\\crew_agent_executor.py\", line 203, in _invoke_loop\n    raise e\n  File \"D:\\CrewAI-Studio\\venv\\lib\\site-packages\\crewai\\agents\\crew_agent_executor.py\", line 125, in _invoke_loop\n    answer = self.llm.call(\n  File \"D:\\CrewAI-Studio\\venv\\lib\\site-packages\\crewai\\llm.py\", line 164, in call\n    response = litellm.completion(**params)\n  File \"D:\\CrewAI-Studio\\venv\\lib\\site-packages\\litellm\\utils.py\", line 960, in wrapper\n    raise e\n  File \"D:\\CrewAI-Studio\\venv\\lib\\site-packages\\litellm\\utils.py\", line 849, in wrapper\n    result = original_function(*args, **kwargs)\n  File \"D:\\CrewAI-Studio\\venv\\lib\\site-packages\\litellm\\main.py\", line 3065, in completion\n    raise exception_type(\n  File \"D:\\CrewAI-Studio\\venv\\lib\\site-packages\\litellm\\litellm_core_utils\\exception_mapping_utils.py\", line 2137, in exception_type\n    raise e\n  File \"D:\\CrewAI-Studio\\venv\\lib\\site-packages\\litellm\\litellm_core_utils\\exception_mapping_utils.py\", line 343, in exception_type\n    raise AuthenticationError(\nlitellm.exceptions.AuthenticationError: litellm.AuthenticationError: AuthenticationError: OpenAIException - Error code: 401 - {'error': {'message': 'Incorrect API key provided: NA. You can find your API key at https://platform.openai.com/account/api-keys.', 'type': 'invalid_request_error', 'param': None, 'code': 'invalid_api_key'}}\n"

is this project still active? or si there any better alternatives

After recent updates to CrewAI, certain components have become dependent on OpenAI. I’ll need to rewrite the LLM integration code to ensure full compatibility with alternative LLM providers.

Just a short shot:
Probably it is a Windows issue? I cloned currently the project into my WSL (Debian distro) and was able to connect first agent to my local ollama instance of openGPT. Only thing I had to pay attention, that I had to prefix the LLM with ollama/ in .env:
OLLAMA_MODELS="ollama/teuken,[...]

Just a short shot:
Probably it is a Windows issue? I cloned currently the project into my WSL (Debian distro) and was able to connect first agent to my local ollama instance of openGPT. Only thing I had to pay attention, that I had to prefix the LLM with ollama/ in .env:
OLLAMA_MODELS="ollama/teuken,[...]

yes I have tried the perfix thing, still not working on windows

Owner

great to hear that, thx


Use db.instance.id instead of specific elasticsearch node name attribute

Changes
As per #725 this PR changes the Elasticsearch semantic conventions to use the db.instance.id attribute instead of db.elasticsearch.node.name.
Merge requirement checklist

[x] CONTRIBUTING.md guidelines followed.
[x] Change log entry added, according to the guidelines in When to add a changelog entry.

If your PR does not need a change log, start the PR title with [chore]

[ ] schema-next.yaml updated with changes to existing conventions.

@lmolkova done!

@estolfo there is still failing check for this PR

@trask marked this as blocked in our board.

I will remove stale label as the issue is blocked and not abandoned.
@trask what was the reason to block it?

I'd suggest waiting to merge this as we are currently revisiting db.instance.id and db.name in the database semconv stability group

I'm ok merging as is, and the database semconv group can refactor as we move forward.

I'd suggest waiting to merge this as we are currently revisiting db.instance.id and db.name in the database semconv stability group

I'm ok merging as is, and the database semconv group can refactor as we move forward.

Thanks @trask , moving out of blocked.
@estolfo can you resolve the conflicts please?


Update get_drise_saliency_map function

Description
Update the get_drise_saliency_map function for consistent naming convention and ordering of parameters, as well as additional behaviour for the num_classes parameter when no model is passed in.

Checklist
As per #32, this PR includes:

Re-ordering of optional parameters to after required parameters,
Updating all parameters and references to use snake_case,
Default handling of the num_classes parameter when no model is passed in i.e. default to 87 classes from the COCO dataset that the pre-trained model was trained on.

[X] I have updated tests for all changes.
[X] Documentation was updated if it was needed.

@microsoft-github-policy-service agree company="Microsoft"


Minor update

@adshar,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

#sign-off

@adshar : Thanks for your contribution to the Azure documentation! The author, @adshar, has been notified to review your proposed change.

@adshar Authors are not allowed to update their own content in the public repository. I'm  closing this pull request so that you can update the article in the private repository. Thanks.


iphone issue

In my iphone, video is getting freeze but in android it is working properly.
Any suggestion for iphone?
Thank you.

Hi @ashique12009 can you provide a bit more detail?

What browser are you using on iPhone? Can you try the Chrome browser for iOS?
Are you using the code snippet we provided? Can you include your code?
Which model are you running (image, pose)?
Can you open the model using the directly link to the model you get once you export it? (this link is the one at https://teachablemachine.withgoogle.com/models/YOUR_MODEL_ID)

[Solved] -- Working code example at the end --
Hello everyone,
after I experienced exactly the same bug with Safari in iOS and got stuck for days as how I get it running on an iPhone, here is the solution:

Problem: Webcam Canvas freezes after one frame or stays black.

Solution tested on an iPhone 11 Pro, iPhone 8, iPad Pro 2, macOS Safari, Chrome, Firefox, Opera

Cause: The camera video stream generated in JavaScript is not added to the HTML DOM.
Or rather: It is added too late. For users who experience the same problem in a different application, here is a short explanation of the approach - the camera stream for iOS Safari must be set up this way:
(it will run on all other devices and operating systems as well, this is not a compromise, but only an extension of the current approach)

initialize video stream object in JS: let webcam = new tmImage.webcam(1800, 800, flip);
add video object to the DOM: document.getElementById('webcam-container').appendChild(webcam.webcam);
set video attributes "muted" and "playsinline" (otherwise the autoplay will be stopped by iOS)
start webcam video: webcam.play();

In the example snippet you can copy on the TM-Page:
First the video is started and then the video object is added to the DOM. Also the two attributes are missing. Therefore Safari automatically blocks the video stream and blocks the "autoplay" of the stream. Result: Video is frozen or stays black.
Working code/ adaptation of the code snippet:
Since I've been looking for a solution for days and hate to read long explanations, tinker the solution together myself and then get error messages again - here the adapted version of the TM code snippet that makes the camera stream work:
Replace/adapt the init function with this:
async function init() {
        const modelURL = URL + 'model.json';
        const metadataURL = URL + 'metadata.json';

        // load the model and metadata
        // Refer to tmImage.loadFromFiles() in the API to support files from a file picker
        // or files from your local hard drive
        model = await tmImage.load(modelURL, metadataURL);
        maxPredictions = model.getTotalClasses();

        // convenience function to setup a webcam
        const flip = true; // whether to flip the webcam
        webcam = new tmImage.Webcam(1800, 800, flip); // width, height, flip
        await webcam.setup({ facingMode: "environment" }); // use "user" to use front-cam on mobile phones

        // append elements to the DOM --> **before starting the webcam**
        document.getElementById('webcam-container').appendChild(webcam.canvas);

        // grab video-object in any way you want and set the attributes --> **"muted" and "playsinline"**
        let wc = document.getElementsByTagName('video')[0];
        wc.setAttribute("playsinline", true); // written with "setAttribute" bc. iOS buggs otherwise :-)
        wc.muted = "true"
        wc.id = "webcamVideo";

        // only now start the webcam --> **after video-object added to DOM and attributes are set**
        webcam.play();
        window.requestAnimationFrame(loop); // update canvas by loop-function
    }

All right you beautiful people out there - I hope I could help you! This approach has been working for me personally beautifully since intensive testing! Let me know if you have any questions!
I wish you a great day - best greetings from Germany!
Oh: @HalfdanJ - if the solution works for others as well - maybe you can change the code in the Github snippet and on the website to make it work out-of-the-box? Thanks! :-)

[Solved] -- Working code example at the end --
Hello everyone,
after I experienced exactly the same bug with Safari in iOS and got stuck for days as how I get it running on an iPhone, here is the solution:

Problem: Webcam Canvas freezes after one frame or stays black.
Solution tested on an iPhone 11 Pro, iPhone 8, iPad Pro 2, macOS Safari, Chrome, Firefox, Opera
Cause: The camera video stream generated in JavaScript is not added to the HTML DOM.
Or rather: It is added too late. For users who experience the same problem in a different application, here is a short explanation of the approach - the camera stream for iOS Safari must be set up this way:
(it will run on all other devices and operating systems as well, this is not a compromise, but only an extension of the current approach)

initialize video stream object in JS: let webcam = new tmImage.webcam(1800, 800, flip);
add video object to the DOM: document.getElementById('webcam-container').appendChild(webcam.webcam);
set video attributes "muted" and "playsinline" (otherwise the autoplay will be stopped by iOS)
start webcam video: webcam.play();

In the example snippet you can copy on the TM-Page:
First the video is started and then the video object is added to the DOM. Also the two attributes are missing. Therefore Safari automatically blocks the video stream and blocks the "autoplay" of the stream. Result: Video is frozen or stays black.
Working code/ adaptation of the code snippet:
Since I've been looking for a solution for days and hate to read long explanations, tinker the solution together myself and then get error messages again - here the adapted version of the TM code snippet that makes the camera stream work:
Replace/adapt the init function with this:
async function init() {
        const modelURL = URL + 'model.json';
        const metadataURL = URL + 'metadata.json';

        // load the model and metadata
        // Refer to tmImage.loadFromFiles() in the API to support files from a file picker
        // or files from your local hard drive
        model = await tmImage.load(modelURL, metadataURL);
        maxPredictions = model.getTotalClasses();

        // convenience function to setup a webcam
        const flip = true; // whether to flip the webcam
        webcam = new tmImage.Webcam(1800, 800, flip); // width, height, flip
        await webcam.setup({ facingMode: "environment" }); // use "user" to use front-cam on mobile phones

        // append elements to the DOM --> **before starting the webcam**
        // document.getElementById('webcam-container').appendChild(webcam.canvas); // just in case you want to use specifically the canvas
        document.getElementById('webcam-container').appendChild(webcam.webcam); // webcam object needs to be added in any case to make this work on iOS

        // grab video-object in any way you want and set the attributes --> **"muted" and "playsinline"**
        let wc = document.getElementsByTagName('video')[0];
        wc.setAttribute("playsinline", true); // written with "setAttribute" bc. iOS buggs otherwise :-)
        wc.muted = "true"
        wc.id = "webcamVideo";

        // only now start the webcam --> **after video-object added to DOM and attributes are set**
        webcam.play();
        window.requestAnimationFrame(loop); // update canvas by loop-function
    }

All right you beautiful people out there - I hope I could help you! This approach has been working for me personally beautifully since intensive testing! Let me know if you have any questions!
I wish you a great day - best greetings from Germany!
Oh: @HalfdanJ or @irealva - if the solution works for others as well - maybe you can change the code in the Github snippet and on the website to make it work out-of-the-box? Thanks! :-)

[Solved] -- Working code example at the end --
Hello everyone,
after I experienced exactly the same bug with Safari in iOS and got stuck for days as how I get it running on an iPhone, here is the solution:

Problem: Webcam Canvas freezes after one frame or stays black.
Solution tested on an iPhone 11 Pro, iPhone 8, iPad Pro 2, macOS Safari, Chrome, Firefox, Opera
Cause: The camera video stream generated in JavaScript is not added to the HTML DOM.
Or rather: It is added too late. For users who experience the same problem in a different application, here is a short explanation of the approach - the camera stream for iOS Safari must be set up this way:
(it will run on all other devices and operating systems as well, this is not a compromise, but only an extension of the current approach)

initialize video stream object in JS: let webcam = new tmImage.webcam(1800, 800, flip);
add video object to the DOM: document.getElementById('webcam-container').appendChild(webcam.webcam);
set video attributes "muted" and "playsinline" (otherwise the autoplay will be stopped by iOS)
start webcam video: webcam.play();

In the example snippet you can copy on the TM-Page:
First the video is started and then the video object is added to the DOM. Also the two attributes are missing. Therefore Safari automatically blocks the video stream and blocks the "autoplay" of the stream. Result: Video is frozen or stays black.
Working code/ adaptation of the code snippet:
Since I've been looking for a solution for days and hate to read long explanations, tinker the solution together myself and then get error messages again - here the adapted version of the TM code snippet that makes the camera stream work:
Replace/adapt the init function with this:
async function init() {
        const modelURL = URL + 'model.json';
        const metadataURL = URL + 'metadata.json';

        // load the model and metadata
        // Refer to tmImage.loadFromFiles() in the API to support files from a file picker
        // or files from your local hard drive
        model = await tmImage.load(modelURL, metadataURL);
        maxPredictions = model.getTotalClasses();

        // convenience function to setup a webcam
        const flip = true; // whether to flip the webcam
        webcam = new tmImage.Webcam(1800, 800, flip); // width, height, flip
        await webcam.setup({ facingMode: "environment" }); // use "user" to use front-cam on mobile phones

        // append elements to the DOM --> **before starting the webcam**
        // document.getElementById('webcam-container').appendChild(webcam.canvas); // just in case you want to use specifically the canvas
        document.getElementById('webcam-container').appendChild(webcam.webcam); // webcam object needs to be added in any case to make this work on iOS

        // grab video-object in any way you want and set the attributes --> **"muted" and "playsinline"**
        let wc = document.getElementsByTagName('video')[0];
        wc.setAttribute("playsinline", true); // written with "setAttribute" bc. iOS buggs otherwise :-)
        wc.muted = "true"
        wc.id = "webcamVideo";

        // only now start the webcam --> **after video-object added to DOM and attributes are set**
        webcam.play();
        window.requestAnimationFrame(loop); // update canvas by loop-function
    }

All right you beautiful people out there - I hope I could help you! This approach has been working for me personally beautifully since intensive testing! Let me know if you have any questions!
I wish you a great day - best greetings from Germany!
Oh: @HalfdanJ or @irealva - if the solution works for others as well - maybe you can change the code in the Github snippet and on the website to make it work out-of-the-box? Thanks! :-)

@derm1ch1 Thx for your solution. Now，i can use this demo for my iphone safari. But i still cant run it with chrome.
The error message is

I dont know why chrome can not use WebGL2
My iphone version is 14.2

Hey @thedb - that's odd. It works perfect for me in chrome.
Can you give me some more information about your setup/your browser version and you operating system?
I'm using chrome 86.0.4240.198 on macOS 10.15.6.
But in any case I don't think this has something to do with my suggested Safari-iPhone fix - but glad it helped! :-)

@derm1ch1
It's my fault, I didn't describe it clearly
This error is on the chrome of the iphone. And I know the limitation of iphone on webRTC. Thanks for your solution, I have already create pr too : )


production in trinidad.yaml

I try to run trinidad with the yaml value
  "environment: production"

It looks like it ignore this.
Doesn't mattter if i run
jruby -S trinidad

OR
jruby -S trinidad --config

With -e it works fine.
jruby -S trinidad -e production

I guess that's not a valid yaml format. This file works just fine to me:
---
  environment: production

Strange.
context_path in yaml is working fine..

#https://github.com/trinidad/trinidad/wiki/advanced-configuration
config.threadsafe!
environment: production
public: public
jruby_min_runtimes: 1
jruby_max_runtimes: 1
context_path: /zzzz
port: 3000  # port where trinidad is running
ajp:            # ajp configuration section
port: 3031

That config.threadsafe! doesn't belong to the yaml, that's probably why it's not working properly. That's a rails configuration option that you have to set in your app's environment.
Btw, if you set that option, you dont' need jruby_min_runtimes and jruby_min_runtimes either, they are set by trinidad.

Thanks.. Working now..


Scaler performance (dev)

Codecov Report

Merging #248 (8283d78) into dev (bb85a24) will increase coverage by 2.33%.
The diff coverage is 41.66%.

@@            Coverage Diff             @@
##              dev     #248      +/-   ##
==========================================
+ Coverage   43.66%   46.00%   +2.33%
==========================================
  Files          33       33
  Lines        4605     4860     +255
==========================================
+ Hits         2011     2236     +225
- Misses       2594     2624      +30

Impacted Files
Coverage Δ

assemblyline_core/dispatching/dispatcher.py
78.61% <0.00%> (+1.79%)
:arrow_up:

...mblyline_core/scaler/controllers/kubernetes_ctl.py
14.05% <0.00%> (ø)

assemblyline_core/submission_client.py
56.94% <ø> (ø)

assemblyline_core/scaler/scaler_server.py
30.00% <20.00%> (-1.29%)
:arrow_down:

assemblyline_core/ingester/ingester.py
76.02% <80.00%> (-0.19%)
:arrow_down:

assemblyline_core/updater/run_updater.py
27.48% <0.00%> (-0.19%)
:arrow_down:

assemblyline_core/server_base.py
76.77% <0.00%> (-0.15%)
:arrow_down:

assemblyline_core/dispatching/timeout.py
97.29% <0.00%> (-0.08%)
:arrow_down:

... and 2 more

Continue to review full report at Codecov.

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


fix: 🐛 startChangeNotify don't work on iOS Device

There is no way to keep going , because on Objc code "notify" method never return result.

This needs to fix on both sides. I'll submit a new PR for this. Thanks for the heads up.


Added my new file

Added a new file to campare changes before merge with master

Merged from #3 to master

Reopened #3


fix: UX improvements to FieldSelectModel and minor bug fixes

Fixes #238
Fixes #244
Fixes #242
Refactor components to Svelte 5
Hides "Recently used models" group when there are no recently used models.

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


With no special force, ensure serializes to UTC

We didn't actually have any tests previously that ensured we were serializing to UTC?? Or not enough. We add a bunch of test coverage, and then feel comfortable removing these few custom lines that forced UTC on #serializable_hash -- they weren't necessary, we're getting UTC anyway.

Wait, we weren't just changing to UTC, we were also doing .change(usec: 0). It makes no tests fail to stop doing it, but... why were we doing it?
Original commit had comment:

not sure why it won't let us put usec's in a serialized json

https://github.com/jrochkind/attr_json/commit/ef294a5dec5ccf4ce53eebea9e76edbb8f2b100d#diff-953ba3e4ac8cd37d1dfbe5e0c16b16e1027bdf4008778ecff10518b421f71187R75-R79
But... doesn't seem to be an issue anymore? And that comment got erased at some point?

Actually, hmm, .change(usec: 0) seems to actually remove ANY fractional seconds, so attr_json was effectively unable to store fractional seconds!
I guess at some point I thought that was necessary... but if we can eliminate it we should, and  note it in changelog. v2 seems like a good place to do so, indeed.
Good we noticed that!
Looks like rails will cast to whatever precision postgres can support on assignment... but what precision can we support in JSON?  Hypothetically iso8601 may support 6 digits or even 9.... but Rails to_json seems to be truncating to 3 digits?
This is indeed all pretty confusing!


Updated validations.py python script.

Fixed the behavior of validate_user function in validations.py.
Fixes #1

It's a good idea to open an issue first for discussion.

[x] Tests pass
[x] Appropriate changes to README are included in PR

I updated the condition with a regular expressions check to verify the first character of the username was a letter.


With recent release of autorest failed to generate model code for my swagger file

Describe the issue or request
I'm currently use autorest version 3.0.0-beta.20210604.3  in my project to generate the client and models it work fines so far with some small issues I have to do directive transformation
I've just upgraded to recent build of autorest 202206xx and things are broken. The generator can only generate clients but not the model classes
My swagger file is from a vendor product and I think it's not wellform but at least the old version of autorest work with it
I've also tested generation with other tool such as https://github.com/OpenAPITools/openapi-generator and it can generate models with clients
Describe your ideas for solutions
Please consider to support like the old version of autorest
I attach the sample swagger I work with
swagger_input.zip
Add labels

We also have the same issue and are sticking to<EMAIL_ADDRESS>which works.
Is this change "by design" or and bug?

Any news on this subject?


Fix import statement requiring a space afterwards

Twig.js v1.12.0 is failed to properly parse import statement in a case if there is no space between import keyword and filename. Example test file:
{% include"test.twig" %}

(notice no space after include) gives me:
Error compiling twig template index.twig:
TwigException: Unable to parse 'include"test.twig"'

node_modules/map-stream/index.js:103
        throw err
        ^
TypeError: Cannot read property 'length' of undefined
    at Object.e.async.forEach (node_modules/twig/twig.js:1:8309)
    at e.Template.e.parse (node_modules/twig/twig.js:1:77630)
    at e.Template.e.parseAsync (node_modules/twig/twig.js:1:5510)
    at e.Template.<anonymous> (node_modules/twig/twig.js:1:81286)
    at node_modules/twig/twig.js:1:5951
    at Object.e.async.potentiallyAsync (node_modules/twig/twig.js:1:6181)
    at e.Template.render (node_modules/twig/twig.js:1:81231)
    at modifyContents (node_modules/gulp-twig/index.js:90:49)
    at wrappedMapper (node_modules/map-stream/index.js:84:19)
    at Stream.stream.write (node_modules/map-stream/index.js:96:21)

if test file get changed by adding space after import:
{% include "test.twig" %}

it get parsed successfully.

I was sure it would at least throw a syntax error with TwigPHP but it actually works perfectly:
https://twigfiddle.com/v1f4cm

Yes, I forgot to mention a fact that PHP Twig parses this properly, sorry

Example of it not working in twig.js: https://codepen.io/willrowe/pen/VwXMgeo


Noisy OSD Menu Screen

The problem is on a Banggood unit. Let me know if this is an inappropriate place to post.
I need some advice on troubleshooting a noisy OSD Menu screen after power on or switching from video to menu. It is an intermittent problem. The menu picture will clear up after a minute or so. Sometimes it switches just fine without noise. The noise appears as a scrambled picture of the menu with the menu showing up clear for a moment or so. Eventually it all clears up. It's annoying because of the wait. Thanks.

I'm closing this issue. After examining the goggles and board, the layout is a little different from the custom board. It has it's own voltage 5v regulator but the components are the same. Banggood is addressing my issue right now. Whether I get anywhere is another question. Here's a video I sent to them concerning the issue, https://www.youtube.com/watch?v=0m_apSBXDok. In the mean time, I'll think I'll order up a few custom boards and parts from Mouser and bake a couple of these in my reflow oven. Ciao...


clairaut's way  to solve non linear partial differential eqn

I would like to add clairaut's way  to solve non linear partial differential eqn

Go ahead
Deadline 10 May,2021


flannel manifest patching

Hello, i don't see patching of flannel manifest in this project similar to:
https://github.com/geerlingguy/ansible-for-kubernetes/blob/master/cluster-local-vms/tasks/vagrant-setup.yml
How is it possible ?
Is it somehow hidden or not necessary?
Thanks.

That's a good question. I haven't touched the Vagrant configuration inside this project for a year or so, so I'm not even 100% sure it's still working. It might be, I just haven't tried it (focused on the Pis themselves for now...).
If you run the project in Vagrant and see an error, please open up a new issue to follow-up on that.

That's a good question. I haven't touched the Vagrant configuration inside this project for a year or so, so I'm not even 100% sure it's still working. It might be, I just haven't tried it (focused on the Pis themselves for now...).
If you run the project in Vagrant and see an error, please open up a new issue to follow-up on that.


[4.2] SR-8407: NSNumber as? Bool should only work for 0 or 1

NSNumber as? Bool should only work for NSNumber values 0 and 1 to
match Darwin.

@swift-ci please test

@swift-ci please test and merge

@swift-ci please test and merge


default value for javaScriptEnabled is false

This did cost me quite some time, but it turns out the default value for javaScriptEnabled isn't true, but false. So without it, any JavaScript injected through injectJavaScript/injectedJavaScript won't ever make it to the webview.
Ref: https://developer.android.com/reference/android/webkit/WebSettings.html#setJavaScriptEnabled(boolean)

I guess that the default value was referring to defaultProps, not Android one.
static defaultProps = {
  javaScriptEnabled : true,
  scalesPageToFit: true,
};

https://github.com/koenpunt/react-native/blob/master/Libraries/Components/WebView/WebView.android.js#L188

@charpeni probably, but the default prop apparently isn't passed to the native view?

So my change might not be applicable, but there's an issue with it nonetheless.


Cleanup CommandChannel

[error] /home/travis/build/sbt/sbt/main-command/src/main/scala/sbt/internal/ConsoleChannel.scala:43:7: overriding method publishEvent in class CommandChannel of type [A](event: A)(implicit evidence$2: sjsonnew.JsonFormat[A])Unit;
[error]  method publishEvent cannot override final member
[error]   def publishEvent[A: JsonFormat](event: A): Unit = ()
[error]       ^


Add ReadFile runtime functions

Add runtime ReadFile functions to be able to read a file from a path relative to runtime.path.

@sesposito Nice! Looks good to me 👍

@sesposito Nice! Looks good to me 👍


Getting Exception in deleting categories.

Framework Version:0.1.4

Framework Version: 0.1.4
Issue Fixed


Add list of pull requests for a project

Can you expand the middle section, it's a bit small on my laptop.

Could you expand the middle section, because it's a bit small on my laptop.
Furthermore, can you place the owner under the title (that way the owner is showed in all cases).

This looks good to me!


ONNX Runtime inefence time

I use gpu, superglue and superpoint to reason for a long time, they are 837ms and 1234ms respectively. What's the matter? The inference time is loaded here
`auto start_time1 = std::chrono::steady_clock::now();
auto outputTensors = m_session.Run(Ort::RunOptions{nullptr}, m_inputNodeNames.data(), inputTensors.data(),
m_numInputs, m_outputNodeNames.data(), m_numOutputs);
auto end_time1 = std::chrono::steady_clock::now();
auto elapsed_time = std::chrono::duration_cast<std::chrono::microseconds>(end_time1 - start_time1).count();
std::cout << " Inference time: " << elapsed_time << " microseconds" << std::endl;`

@yeluoo here you can find the discussion about inference time.
https://github.com/xmba15/onnx_runtime_cpp/issues/24


Commands: be more explicit about dependencies

On Swift-Foundation targets, FoundationXML is required.  When building
against a custom Foundation and a SDK which does not have Foundation,
FoundationXML will not be tracked properly without the explicit linkage.

@swift-ci smoke test

@swift-ci smoke test linux


Re-do "Emit better error message when assignment precedes T.let declaration"

(Re-do of #3590, which was reverted at #3595 because I forgot to run some internal tests.)
Partially addresses an issue reported at #3482. If a let-less assignment to a variable came before it was "declared" with let, info on the declared type would be missing, so we would default to treating the declared type as NilClass even if that was not the eventually declared type, which resulted in confusing error messages. With this change we check if the type info was missing rather than accepting the default, and produce a more reasonable error message.
It would be nice if we could add some signposts to the error message pointing out the let that conflicts with the assignment, but I think that's probably out of reach without some major work.
Motivation

See #3482
Test plan

See included automated tests.

We have a policy of testing changes to Sorbet against Stripe's codebase before
merging them. I've kicked off a test run for the current PR.  When the build
finishes, I'll share with you whether or how it failed. Thanks!
Stripe employees can see the build result here:
→ https://go/builds/bui_IIIm2mK2mI0ztU


Cannot install pods - project cannot be run on iOS

Hi, when i try to install pods i get this error:
Analyzing dependencies
firebase_auth: Using Firebase SDK version '7.3.0' defined in 'firebase_core'
firebase_core: Using Firebase SDK version '7.3.0' defined in 'firebase_core'
firebase_messaging: Using Firebase SDK version '7.3.0' defined in 'firebase_core'
[!] CocoaPods could not find compatible versions for pod "firebase_auth":
In Podfile:
firebase_auth (from .symlinks/plugins/firebase_auth/ios)
Specs satisfying the firebase_auth (from .symlinks/plugins/firebase_auth/ios) dependency were found, but they required a higher minimum deployment target.

I updated to deploy version 10


PermissionError: [WinError 32] The process cannot access the file because it is being used by another process:

Good Day Thank you for this library it is of great help to us.
I have a question. I keep getting this error when I run the  predictor from this library from EQTransformer.core.predictor import predictor. I have attached a  screen shot of the error. I was just following the tutoial section from your documentation.
Below are some system details of my machine:
OS: Windows 11
GPU: NVIDIA GeForce RTX 3060 Laptop GPU

@mariontan currently EqT does not run on Windows. Can you try it on another mac or linux machine?

Thank you very much @smousavi05. Have you tried using this on Windows Subsystem on Linux?

@mariontan No, I haven't. The core of the code does not have any issue for running on Windows though. The issue is on the auxiliary part of the code creating new folders and arranging the outputs. There is a "/" vs "" discrepancy between path names in windows and Os. So if you know Python or anyone coding Python on Windows, these issues could be easily solved by following the errors messages and doing some simple modifications to the code. I just do not have any Windows machine to do so or test the code.

Thank you very much @smousavi05.

Hello, have you solved your problem? I still don't understand your conversation above. Can you tell me how to solve the problem of "The process cannot access the file because it is being used by another process"?Thanks so much!

me too

Another potential solution would be to just use other implementations of
EQTransformer like SeisBench or BlockyEQTransformer.

Mostafa

On Sat, Apr 27, 2024 at 5:45 AM mengzhu555 @.***> wrote:

Hello, have you solved your problem? I still don't understand your
conversation above. Can you tell me how to solve the problem of "The
process cannot access the file because it is being used by another
process"?Thanks so much!
me too
—
Reply to this email directly, view it on GitHub
https://github.com/smousavi05/EQTransformer/issues/102#issuecomment-2080572212,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADHWAPHK63PTXVDX5KKTJKDY7OMVRAVCNFSM5H2LM6SKU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TEMBYGA2TOMRSGEZA
.
You are receiving this because you were mentioned.Message ID:
@.***>


[Improvement]: Improve optimizing page refresh logic

Search before asking

[X] I have searched in the issues and found no similar issues.

What would you like to be improved?
Now optimizing page has three search boxes:

Optimizer Group
DB Name
Table Name

For DB and table name, the search would occur at every single texting which make it almost unavailable when the page is too large(the backend returns all pages):

I suggest to add a refresh button after table search box and the page refreshes only after clicking refresh botton including optimizer group for uniformity.
The buttom should be grey and unavailble for no search conditions.
How should we improve?
This is a total frontend improvement
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

Subtasks
No response
Code of Conduct

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

Maybe it would be more appropriate to call it a search button rather than a refresh button.

Maybe it would be more appropriate to call it a search button rather than a refresh button.

LGTM


Pass kwargs for ShareLink/Plex queue methods

Allow passing **kwargs to the underlying service call for the ShareLink add_share_link_to_queue() and Plex add_to_queue() plugin methods. My primary reason is to allow differing timeout arguments for different services. Spotify, for example, seems to need a longer timeout when adding playlists with many tracks.

Lint complaints can be more easily cleaned up after #912.

LGTM, thanks.


Bad crash from refactoring on call in object method, tanks language service

const _unused = {
    method() {
        [|this.doThing();|]
    }
}

Request refactorings, and extract to a function at the top-level.
Expected: no crash
Actual: I'm not sure on the specific version, but in the last 9 days or so we started seeing the following crash:
Response received: getApplicableRefactors (7). Request took 5 ms. Success: false . Message: Error processing request. Debug Failure. Expected 146 <= 145
Error: Debug Failure. Expected 146 <= 145
    at assertDiagnosticLocation (node_modules/typescript/lib/tsserver.js:15099:22)
    at Object.createFileDiagnostic (node_modules/typescript/lib/tsserver.js:19847:9)
    at getRangeToExtract (node_modules/typescript/lib/tsserver.js:159474:42)
    at Object.getRefactorActionsToExtractSymbol [as getAvailableActions] (node_modules/typescript/lib/tsserver.js:159273:38)
    at node_modules/typescript/lib/tsserver.js:149548:30
    at getIterator (node_modules/typescript/lib/tsserver.js:562:23)
    at Object.next (node_modules/typescript/lib/tsserver.js:557:35)
    at Object.arrayFrom (node_modules/typescript/lib/tsserver.js:1309:88)
    at Object.getApplicableRefactors (node_modules/typescript/lib/tsserver.js:149544:23)
    at Object.getApplicableRefactors (node_modules/typescript/lib/tsserver.js:165354:32)
    at IpcIOSession.Session.getApplicableRefactors (node_modules/typescript/lib/tsserver.js:176715:53)
    at Session.handlers.ts.Map.ts.getEntries._a.<computed> (node_modules/typescript/lib/tsserver.js:175191:61)
    at node_modules/typescript/lib/tsserver.js:177103:88
    at IpcIOSession.Session.executeWithRequestId (node_modules/typescript/lib/tsserver.js:177094:28)
    at IpcIOSession.Session.executeCommand (node_modules/typescript/lib/tsserver.js:177103:33)
    at IpcIOSession.Session.onMessage (node_modules/typescript/lib/tsserver.js:177129:35)
    at process.<anonymous> (node_modules/typescript/lib/tsserver.js:179764:31)
    at process.emit (node:events:390:28)
    at emit (node:internal/child_process:917:12)
    at processTicksAndRejections (node:internal/process/task_queues:84:21)

Actually I found this while trying to repro a different bug. The one I was looking to repro had the following stack trace:

Original Stack Trace

Debug Failure. False expression.
    at setTextPos (tsserverlibrary.js:12296:22)
    at skipToEndOf (tsserverlibrary.js:145973:25)
    at processChildNodes (tsserverlibrary.js:147468:47)
    at <anonymous> (tsserverlibrary.js:147385:21)
    at visitNodes (tsserverlibrary.js:30662:24)
    at forEachChild (tsserverlibrary.js:30853:21)
    at processNode (tsserverlibrary.js:147382:20)
    at processChildNode (tsserverlibrary.js:147453:21)
    at <anonymous> (tsserverlibrary.js:147383:21)
    at visitNode (tsserverlibrary.js:30657:24)

@mjbvz and I think this actually only repros when working in an anonymous buffer in VS Code. When you ask for a refactoring on an anonymous buffer, we come back with the same buffer name
{
    "renameLocation": {
        "line": 3,
        "offset": 15
    },
    "renameFilename": "c:/Users/drosen/foo.ts",
    "edits": [
        {
            "fileName": "c:/Users/drosen/foo.ts",
            "textChanges": [
                {
                    "start": {
                        "line": 3,
                        "offset": 9
                    },
                    "end": {
                        "line": 3,
                        "offset": 24
                    },
                    "newText": "const newLocal = this.doThing();"
                }
            ]
        }
    ]
}

However, VS Code pops up a notification that "You cannot rename this element" and creates a new buffer with the newText contents. This confuses TSServer a lot, and makes it fail over and over again.

@mjbvz can you transfer this issue to VSCode if appropriate?

@DanielRosenwasser Did this just start happening with the latest insiders?


parse_quote generates bogus Spans

let t: Token![!] = parse_quote! { ! };
println!("{:?}:{:?}-{:?}", t.span, t.span.start(), t.span.end());
assert_ne!(
   t.span.start(),
   t.span.end()
)

When I try this with syn features full,parsing,printing features enabled I still get span locations of bytes(0..0), LineColumn(1,0)-LineColumn(1,0). I looked in the code but there is so much derived code that I can't tell what is happening. Is there any feature of syn that would let me get spans from parse_quote? because this would be really useful for testing and debugging my procedural macro code.

This is compiled in a crate with the following dependencies, in case related dependency feature flags matter:
[dependencies]
quote = "1.0"
proc-macro2 = { version="1.0", features=["span-locations"] }

[dependencies.syn]
version = "1.0"
features = ["full","parsing","printing"]

compiled with nightly version 1.47 and stable 1.45 both with same behaviour.

Alternatively I tried quote and syn::parse2 which exhibits the same behavior.
let q = quote! { ! };
let t: Token![!] = syn::parse2(q).unwrap();
println!("{:?}:{:?}-{:?}", t.span, t.span.start(), t.span.end());
assert_ne!(
   t.span.start(),
   t.span.end()
)

This seems to be the direct result of quote::quote's behavior. There is also quote_spanned which applies a single span to all quoted symbols, so this seems to be the wrong place for a bug report and rather a feature request in quote.


Keep running scripts when one fails

Fixes #894

Coverage remained the same at 25.135% when pulling 7c3a58221798d417bb361cd33961a7be3d632cb9 on marco-c:keep_running into b6e3890957253e18face1d61cb69caeb4a00e87e on mozilla:master.


Development Guide

There is a section in the developer guide:

If you are only interested in building the Karpenter images and not deploying the updated release > to your cluster immediately with Helm, you can run make image # build and push the karpenter images

However there does not appear to be a make image command anymore. I believe the intent is for make build to replace this, but not quite sure.

Looks like this is an issue on what the source of truth is. I'm trying to make a change in https://github.com/kubernetes-sigs/karpenter, but the documentation is for this repo. I'll leave this open in the meantime as it can be quite confusing for a new developer trying to get onboarded to know which one to follow.

The development guide is for the AWS provider. The most up-to-date version for development guide for the upstream project would be https://github.com/kubernetes-sigs/karpenter/tree/main/kwok

We talked about this in the kubernetes slack too. @Pokom I'll close this since you were planning on cutting a PR


long SQL query, sync takes forever

long query took 6594ms:
SELECT dependencies.unit, unhandled_joints.unit AS unit_for_json,
SUM(CASE WHEN units.unit IS NULL THEN 1 ELSE 0 END) AS count_missing_parents
FROM dependencies
JOIN unhandled_joints ON dependencies.unit=unhandled_joints.unit
LEFT JOIN units ON dependencies.depends_on_unit=units.unit
		GROUP BY dependencies.unit
		HAVING count_missing_parents=0
		ORDER BY NULL,

how often does this long query appear?

see #238
compared a freshly installed full node vs the one with a slow sync.
the freshly installed one does around 3 "long query" per second, while the slowly syncing one repeatedly does none for  around 30 seconds.
noted this:
long query took 34477ms:
SELECT DISTINCT unit, content_hash FROM units JOIN messages USING(unit)
			WHERE main_chain_index<=? AND main_chain_index>=? AND sequence='final-bad', 1159625,1159624
load avg: 0, 0, 0

and many of these:
long query took 530ms:
SELECT dependencies.unit, unhandled_joints.unit AS unit_for_json,
				SUM(CASE WHEN units.unit IS NULL THEN 1 ELSE 0 END) AS count_missing_parents
			FROM dependencies
			JOIN unhandled_joints ON dependencies.unit=unhandled_joints.unit
			LEFT JOIN units ON dependencies.depends_on_unit=units.unit

			GROUP BY dependencies.unit
			HAVING count_missing_parents=0
			ORDER BY NULL,
load avg: 0, 0, 0

new version filtered log:
ppgbkonninhcodjcnbpghnagfadnfjck-1509031035036.log

checking the console on v1.11.2 I don't get shown those long queries anymore.
sync still slower than real time.
still getting shown the ...["dependencies"],["saved_private"],["dependencies"],["saved_private"],["dependencies"],... a lot

my issue was solved by one of the last releases. probably can be closed

Fixed in recent versions.


Fixes a case of ungraceful daemon restart + unreachable store

For ungraceful daemon restarts, libnetwork has sandbox cleanup logic to
remove any stale & dangling resources. But, if the store is down during
the daemon restart, then the cleanup logic would not be able to perform
complete cleanup. During such cases, the sandbox has been removed. With
this fix, we retain the sandbox if the store is down and the endpoint
couldnt be cleaned. When the container is later restarted in docker
daemon, we will perform a sandbox cleanup and that will complete the
cleanup round.
Signed-off-by: Madhu Venugopal<EMAIL_ADDRESS>

fixes https://github.com/docker/docker/issues/17413
ping @mrjana @aboch

Nice! LGTM

LGTM


Platform model

Create a Platform model based on https://github.com/unitaryfund/metriq-api/blob/main/metriq-api/models/platformModel.js

Platforms Model is up to date.


Looping action evaluation is not correct

It seems that when an action is being evaluated at a fairly low timescale (0.5 is enough in most cases), the animation suddenly jerks at the point where the animation restarts.
A better timeline representation is needed. This is almost certainly a bug caused by general poor design.

A small video that demonstrates the problem:
walkbug.zip
The animation loops when the left foot reaches the fully forward extended position.


Stereotype changes CPython behaviour

When you type hint an attribute, because of the magic the library does in the background you cannot use class attributes anymore as expected.
Code to reproduce the issue:
Version used: 1.4.2
from stereotype import Model

some_configuration: dict = {"KEY": "value"}

class TestClass(Model):
    some_attr: str
    CLASS_ATTR: str = "KEY"
    @classmethod
    def from_config(cls, param: dict):
        data = param.get(cls.CLASS_ATTR)  # Value of  cls.CLASS_ATTR is lost here
        return cls({"some_attr": data})

TestClass.from_config(some_configuration)

To fix this one would need to remove type hint from CLASS_ATTR: str = "KEY" and the docs says:

All public class attributes that have a type annotation (i.e. the attribute name is followed with a colon) will be converted to model fields, i.e. they can be deserialized from input, serialized to output or be validated. See Fields for information about what types are supported.

Attributes without a type annotation will not be treated as fields and are just static class members. Same applies for attributes with a ClassVar annotation.

Which is somewhat pointing to this but you don't really expect to lose some CPython functionality over type hint, or that type hint decides the functionality, it's kinda weird 👁
Is this something to stay by design or was it overlooked?

Yes, it's definitely by design, the most important core mechanics. :) The whole point of the library is to convert public class attributes with type annotations to model fields - instance attributes for which the library handles conversion and validation. Dataclasses, a Python built-in, do pretty much the same thing, same for similar libraries like Pydantic and attrs, so I wouldn't call it weird. The change of usual class attribute behavior is done in favor of ease of use and (if you know what the library is for) readability.
Also, as the documentation you quoted says, if you want a class attribute with a type annotation, you can do the same you would do for dataclasses - use ClassVar, a Python built-in created specifically for this purpose. Here is an example:
from typing import ClassVar
from stereotype import Model

class MyModel(Model):
    model_field: str  # Model field
    CLASS_ATTR: ClassVar[str] = "KEY"  # Class attribute, because of ClassVar, case doesn't matter
    _private: str = "xyz"  # Class attribute, because of leading underscore
    no_hint = "xyz"  # Class attribute, because of missing type hint

Ah, ok I see now. Yes indeed pydantic has the same behaviour while dataclass does not, it keeps what you would expect from Python thanks for the answer.