[Bug] - iMOD Python breaks upon import with Python 3.13

Bug description
Python 3.13 has been released since 1 month. I got a report from that iMOD Python broke import with Python 3.13.
Steps to reproduce

What error message do you get?

Can you create a minimum reproducible example?# script.py
import imod

Desktop (please complete the following information):

OS: [e.g. Windows 11]
iMOD Python Version [e.g. 0.18.0]

Additional context
Add any other context about the problem here. The more information you can
provide us, the quicker we respond and fix the problem.
Refinement

[ ] Update TeamCity pipeline to also include python 3.13
[ ] Fix failing import (Path as context manager)
[ ] Create PR on conda repodata patches to limit use to python 3.12 up to iMOD Python 0.18.1. See docs on how to do this here.

@JoerivanEngelen I looked into it and we are not able to support python 3.13 just yet.
The import of imod fails when it tries to install the dependencies, specifically when it installs the Numba package.
Numba doesn't support python 3.13 because on of its dependecies doesnt support it yet.
For now we can only clearly mention in the documentation that we don't support 3.13 at the moment

Ah thanks for looking into this. In my quick search on the internet I read that numba already has some pre-releases out for python 3.13, so I expect it won't take too long for them to release a new version that supports python 3.13.
I must say this error message looks quite clumsy though, since apparently Path objects cannot be used as contexts since python 3.9(!). It's also throwing warnings. I'll create a subissue for this specific error, as it is still worthy to fix but maybe less critical now.


Conditional ImageJ Legacy imports and an imagej legacy CI job

This PR does two things:

Re-introduces legacy type mappings, conditional on the presence of imagej-legacy.
Adds a Github actions job for testing that imagej-legacy works.

TODO: Do the imports actually need to be conditional? Or can we just always have them there, but know that they'll fail if someone tries using them without imagej legacy...
Closes #94

Codecov Report
Base: 92.34% // Head: 92.05% // Decreases project coverage by -0.28% :warning:

Coverage data is based on head (2f99afc) compared to base (a943c73).
Patch coverage: 46.15% of modified lines in pull request are covered.

:exclamation: Current head 2f99afc differs from pull request most recent head 9858c60. Consider uploading reports for the commit 9858c60 to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #121      +/-   ##
==========================================
- Coverage   92.34%   92.05%   -0.29%
==========================================
  Files          41       41
  Lines        3501     3526      +25
==========================================
+ Hits         3233     3246      +13
- Misses        268      280      +12

Impacted Files
Coverage Δ

tests/widgets/test_result_runner.py
75.51% <29.41%> (-24.49%)
:arrow_down:

src/napari_imagej/java.py
95.46% <66.66%> (-0.29%)
:arrow_down:

src/napari_imagej/types/mappings.py
98.30% <80.00%> (-1.70%)
:arrow_down:

src/napari_imagej/__init__.py
75.00% <100.00%> (+0.80%)
:arrow_up:

src/napari_imagej/widgets/result_tree.py
92.10% <0.00%> (+1.75%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

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


Support ES2015 Sets/iterables in ng-repeat

Currently if I put an ES2015 Set into ng-repeat I get no result (as the instance has no enumerable properties).
I have to use Array.from to convert Sets to arrays all the time. However, this call is not supported by Chrome until recently (even though the Set API existed long ago).
Theoretically this can be a generic implementation for (incl. Arrays), but I forsee issues with change detection, so I guess a Set-specific implementation might be suffice.

As explained in #14123 this is not so much about ngRepeat as it is about $watchCollection which is used under the hood.
If we want to support for Set, Map etc, we should probably do it in $watchCollection instead.

How far do we want to take support for this for?  What I mean by that is I was tinkering with supporting Symbol.iterator in both $watchCollection and the ngRepeatAction that handles changes, however IE11 does implement some ES6 data structures (Map, Set), but does not provide any implementation of Symbol, so there's no iteration protocol available.
We could try to fall back to forEach in those cases since it is available, however I'm unsure if we should restrict that operation to only Map and Set, or allow iteration of any object that provides forEach with the assumption that the callback would receive value, key as arguments.
Opinions?

We talked about it with @petebacondarwin a couple of weeks ago. We thought about using forEach on every object that has it available, but decided against it. The plan is to (initially at least) support Map and Set only (checking via something like $window.Set && xyz instanceof window.Set) and iterate over values for Set and keys/values for Map.

I was supposed to put together a POC PR, but got caught up in other things.
I won't complain if anyone beats me to it :smiley:

@gkalpak What's the gain of not supporting all iterable structures?

@mgol, one problem is how to detect iterables (e.g. Symbol is not always available/implemented, although Set/Map might be).
Another problem is that different iterables might need to be iterated over differently. E.g. for Set we iterate over the values (similar to how we handle Arrays). The iterator for Map returns a [key, value] pair, but we want to treat it similarly to how we handle Objects, i.e. not use [key, value] as the value, but interpret key as the key and value as the value.
--
If anyone has suggestions on how to overcome these, that would be awesome, of course :smiley:

Couldn't one declare that if one wants to use iterables such as Set and Map, they use ES compliant versions & if the browser isn't compliant, to use a polyfill as far as any built-in support goes? This would thwart any issues from imperfect implementations found in IE or Safari.

@wesleycho So the bigger challenge is that as @gkalpak was alluding to, the Symbol.iterator for a given object may not return values that are useful in the context of an ngRepeat for what they want to accomplish.
For example, Array.prototype[Symbol.iterator] returns an iterator containing only the values, not the indexes.  Set.prototype[Symbol.iterator] does the same, but we likely want to just provide the value as both the key and value such that the (key, value) notation still works.  Map.prototype[Symbol.iterator] on the other hand returns exactly what we need, so that case is easy.
There's also the question of supporting user generated iterables; do we require them to conform to a specific iterator contract for ngRepeat?
We could also choose to not follow the iteration protocol of using Symbol.iterator and instead always use the .entries method if it exists and returns an iterator since that follows what we want in all of the built in cases.

I think iterating over the result of calling entries sounds like a great idea.

I agree, I like the entries proposal.

So I started tinkering with this and could some input on a question related to $watchCollection.  Both the new and old values are provided to any registered listeners on change, however the old value is really more of the internal representation so that newValue !== oldValue is always true after the first change.
You can already see behavior where we change an arrayLike item into a true array and pass that as the old value
http://jsfiddle.net/rogqp47y/37/
The question is when it comes to iterables - what do we do?  I feel like the expectation can't be that we maintain the behavior of the original collection, however there is already precedent with arrayLike items for not providing the same type of items.  We can't simply transform it into an object since a Map with objects as keys is an iterable.  As a result, we end up needing to implement something like a Map polyfill in Angular in order to support all the variants of keys that we might run into when providing the old value.
Thoughts?

Since there is already the precedent that we convert the passed in value to one of the supported object (i.e. we convert array-like objects to arrays), I think it is reasonable to do the same with iterables.
If we decide to go with entries(), that means that for all (non-array) iterables, we will return the same representation: an array of [key, value] pairs.
--
Another idea is to have an extra prerequisite, that iterables passed to $watchCollection, should support creating a new instance by calling the constructor with the original iterable as argument. E.g.:
var iter1 = /* some iterable */
var iter2 = new iter1.constructor(iter1);

Another idea is to have an extra prerequisite, that iterables passed to $watchCollection, should support creating a new instance by calling the constructor with the original iterable as argument.

Is that a common thing? Like would that be following some specification for these kinds of collections?

Accepting an iterable as constructor argument is according to the specification for Set, Map, WeekSet and WeakMap, but I don't think it is mandatory for all iterables. (For example this is not the case for Array.)

@gkalpak this would also be good to support Immutable.js objects.

Here's a package that might work for those coming to this issue via google: https://www.npmjs.com/package/ng-next

@gkalpak I like this idea; I think it’s a reasonable constraint / expectation. For example a subclass of Set not maintaining Set’s constructor contract is kind of zalgo-y to begin with, and it’s fair not to support it (since how would you?).
re: WeakMap and WeakSet, I think you probably already know this and were just listing them as examples of the precedent for the new Collection(iter) contract, but just in case, I will point out that they are not iterables.


Some suggestions and bugs...

Hello,
Great job on this plugin, it looks very promising and already has some features that are superior to Sylvanaar's Lua plugin that I was using until now... :)
Here is some feedback (I'll probably edit this message as I go):
Bugs:

[ ] local a = function(...) isn't recognized as a function, contrary to local function a(...). (screenshot)
[ ] Blacklisting parameter hints (right click on them) doesn't work (no function name detected ,as far as I can tell)
[ ] When a variable (let's say a) is detected as being a string, for instance, autocompleting a: gives nothing, but a. lists all applicable string methods (with a string argument as first parameter). This should be the reverse: propose autocompletions on a: and not a., and remove the first 's' argument as it is passed implicitely with the colon call.
[ ] Type info doesn't fully propagate, apparently. For instance, if function a returns a string, and b returns a(), then if c = b(), c won't be automatically recognized as a string.
[x] Typo: it's "Tail call" not "Trail call".

Modifications:

[ ] private support in @field. Which would autocomplete inside the class, but not anywhere else
[ ] Improve the stdlib documentation by writing the parameters etc. in the emmylua doc format (with @return, type hinting, etc.)
[x] Alt-Enter support on standalone function names, not only on table methods or function arguments. Right now we have to type --- @return ... manually.
[ ] Support backticks (`) in comments/documentation to make it clear it's a piece of code or code reference.

New:

[x] Semantic highlighting support. See this video by JetBrains
[ ] metamethods name autocompletion (__index, __tostring, etc. The standard ones)
[ ] Custom postfix completions?
[ ] Propose to refactor things like string.find(str, pattern) into str:find(pattern)
[ ] Custom class constructor hint support (maybe @constructor?).
The class system I'm using is like: function MyClass:new(arg1, arg2...) (not init) called implicitely by the MyClass table __call, so it'd be helpful if local test = MyClass("hello", 42) would be recognized as calling the constructor, thus proposing parameters autocompletion etc.
[ ] LuaCheck static analysis support (parsing its output to add inline annotations, for instance)
[x] More refactoring options like "Introduce variable" (like Sylvanaar's in this video), methods, etc.
[ ] More code style options (about indenting, especially)
[ ] English documentation too :D

Also, regarding the plugin itself, you should add support for automatically report crashes to you (bug tracker in JetBrains I think?). Sylvanaar's plugin (and others) are able to do that, so they gather user-reported bugs automatically (they just have to click a button to send a report when something goes wrong, and you get the backtrace)

Thanks for your suggestions and bugs reporting. With typo and documentation I want to say : Sorry for my poor english..., documentation may be comes late
Some of those bugs/suggestions already in my plans.

No problem, thanks and good luck :)

Added:

[ ] Table of type support. For instance: Vehicle[] would be for a table of Vehicle instances. Useful for pairs() where the variables would get auto-typed as Vehicle.

Full useage of @return annotation is : ---@return MyType1[|MyType2],  Separated by |

About multiple inheritance please see this issue #11

For the return values, I was talking about multiple return values support, not mixed type support. For instance :
---@param a number
---@return number, number
function foo2(a)
  return a-1, a+1
end

Regarding multiple inheritances, it can be bad sometimes, but there are good use cases as well :)
But yes, having interfaces support (in the class system I'm using I have classes, singletons, multiple inheritances, and interfaces)

oh, that's my mistake. useage shoud be like this
---@param a number
---@return number|string, number|string|table
function foo2(a)
  return a-1, a+1
end

but it doesn't work, seems like a bug, let me fix

oh okay thanks :)


Make StorageClass and ReplicaCount configurable in Helm Charts

When installing Longhorn from Rancher's UI there's no way to configure how many replicas are created. This results in single node systems having 3 replicas for each volume, and 3 pods for the drivers/provisioner.
Would it make sense to have this value be configurable ?

@gabrielcalderon Yeah, we will add the option to configure numberOfReplicas for the default storage class longhorn in the next release.

Great to hear! 👍


Create Add New Project wizard in Visual Studio to add a Deployment Framework project to a solution

Create Add New Project wizard in Visual Studio to add a Deployment Framework project to a solution.  To access the feature, open a BizTalk solution, select the solution and choose Add New Project.  Under BizTalk projects select the Deployment Framework for BizTalk Project.
This work item was migrated from CodePlex
CodePlex work item ID: '6572'
Vote count: '1'

[UnknownUser@5/6/2010]
Resolved with changeset 44320.

[UnknownUser@5/19/2010]

[UnknownUser@5/19/2010]
Associated with changeset 45625.

[UnknownUser@5/19/2010]

[UnknownUser@5/21/2010]
Associated with changeset 45760.

[zhcheah@6/4/2010]
Not working in Visual Studio 2005. Can't find any 'Deployment Framework' under Biztalk projects. Please help.

[UnknownUser@6/13/2010]
Associated with changeset 47154.

[UnknownUser@6/25/2010]

[UnknownUser@2/21/2013]

[UnknownUser@5/16/2013]

Issue closed by tfabraham with comment
Included and working for VS 2005, 2008 and 2010


Update icons

Besides visual refresh I suggest to switch to vector images instead of raster.
There are many open source icon sets, for example Breeze from KDE, Adwaita (GNOME), Elementary. Libreoffice ships various icon themes

Vector icons are good for fractional scaling: displays with high DPI usually configured with 125%, 150% zoom


Can't install addon to HA from store

I added the repository but installation gives the following error:
Can't install ghcr.io/tydom2mqtt/tydom2mqtt:master: 500 Server Error for http+docker://localhost/v1.47/images/create?tag=master&fromImage=ghcr.io%2Ftydom2mqtt%2Ftydom2mqtt&platform=linux%2Farm64: Internal Server Error ("Head "https://ghcr.io/v2/tydom2mqtt/tydom2mqtt/manifests/master": unauthorized")
Installation of other add-ons works well.

Pulling the image directly with docker leads to the same issue:
docker pull ghcr.io/tydom2mqtt/tydom2mqtt:main Error response from daemon: Head "https://ghcr.io/v2/tydom2mqtt/tydom2mqtt/manifests/main": unauthorized
Seems the image is not available as public anymore.

I have same issue here, I cannot install Addon with same error


Add notes on fixing ephemeris ingest problem

This doesn't document the circuitous path I took in finding the exact problem, but does document the issue, expected signature, and processing fix.

I pushed 214fdc91 direct to master as an update to this procedure.


Model Compiler - Documentation

Creating NNEF Model from caffe or tensor flow model
NNEF to NNIR Flow documentation missing
Layers supported for NNEF

added in #88

PR #88 merged.


Update README

clarify the API is separate from Lens Protocol
Lens Protocol - open source contracts
Lens API - service offered by Aave Companies to make interacting with contracts easy :)

Thank you for clarifying it @oneski :)
Merged.


When loading tests, check if the test directory exists.

This prevents an uncaught exception if you have a test type in one site, and not another.
As an example, in Site #A, a user has an "acceptance" suite that they don't have in Site #B. When Codeception loadTests() is called, it iterates through the 'tests' array in config, in each site directory, and crashes if the directory doesn't exist.
Let me know if this needs more clarification.

This is a great PR which I'd love to merge - but it's got unrelated fixes/changes involved.
Could you:
git checkout -b check_directory_exists jayhealey/master && git push origin check_directory_exists (note tested but should work!)
so there's a branch containing only that fix, I can then merge the pull request.


Guidance for use in a monorepo

I'm struggling to find any guidance or best practises on how or if pipenv should be used in a monorepo. Is the only way to use pipenv to have module specific  pipenv files? Are there any tools that would facilitate running tests, creating the required pipenvs (virtualenvs) and then running them and on success creating packages across all modules in a repo?

@grahamhar I have the same request! We are using pipenv to manage dependencies in the Openverse API monorepo (https://github.com/wordpress/openverse-api) but are struggling to decide how to manage a dependencies like pre-commit, black and flake8 which should belong to the entire repository rather than each individual project we are developing inside the monorepo.
Furthermore, if someone is trying to use a single editor instance to work on the entire repo (which is common for monorepos), which Python interpreter should they use so that their language server works properly? Under the current set up we have there will be an individual virtualenv per project in the monorepo, but you can only point the editor to a single interpreter, not one per folder.
I've searched around a lot for ideas and there doesn't appear to be anyone discussing this use case outside of this issue.
I wonder if the maintainers have any insight into this as the issue has been in triage for quite some time!

@sarayourfriend sounds like what you are looking for is possibly the category feature request being tracked in:  https://github.com/pypa/pipenv/issues/4745

A bit, but not quite. We have two different Pipfiles in our repository, with this structure:
| api
|-- Pipfile
| ingestion_server
|-- Pipfile

Where would we put something like these meta, devex focused dependencies that are required by both projects? We could duplicate them, but then upgrading their versions, especially with an automated tool like dependabot, would be a chore (it opens two PRs to update the same dependency across both Pipfiles instead of just once across everything in the repo).
We could have a top-level Pipfile with these dependencies. Maybe that is the correct solution. I'm just not sure. We haven't had a lot of time to dig into this on Openverse recently so it's fallen by the wayside. Maybe the categories would help but I'm not seeing right away how they would in our particular situation (thought they do seem useful for a flat-structured project with a single Pipfile and will look forward to the feature for those projects).


Support for .with_variant() types

Checklist

[X] There are no similar issues or pull requests for this yet.

Is your feature related to a problem? Please describe.
When using BigIntegers in sqlalchemy together with "with_variant", e.g. Column(BigInteger().with_variant(Integer, "sqlite")) the error "Could not find field converter for column id (<class 'sqlalchemy.sql.type_api.Variant'>)" is thrown.
Describe the solution you would like.
No response
Describe alternatives you considered
Using form_overrides seems to work fine as workaround however native support would be much appreciated :)
Additional context
No response

Hey @DanielSchiessl ,
I've spent some time but I could not find a sane way to solve this, the issue is, as you might already know, you're creating a new type dynamically which is not defined within SQLAdmin.
If you know or could find any way to get the column type for the variant, please update this issue, otherwise we can close this as the workaround is to define the for_overrides and work around this.


Public User Cache in AuthenticationService

Taking a closer look, the AuthenticateUser in that class should already do everything necessary. Closing as resolved


Green screen integration

Is there in plan to add a green screen integration with webgl ?
Thank you.

I'm not sure what would be the goal of handling green screens. The purpose of this demo is to show that we can replace the background without relying on physical backdrop. So basically if you have a green screen, it should work with this demo out of the box.
If what you have in mind is rather to replace the background with green pixels, this could be done easily by using a green background image or by replacing the background replacement shader with one that just put green pixels instead. I don't plan to add this feature in the demo as I don't see any use case where putting green pixels would be the real end goal.


Error Running BC16 CU2 Tests without Timeout

Describe the issue
After installing the microsoft tests with "Import-TestToolkitToBcContainer" and loading the tests in "AL Rest Runner". We start the automated tests running "Run-TestsInBCContainer" (Complete Script file is attached). After some hours we are getting the following error:
ClientSession State is TimedOut (Wait time 3 seconds)
at AwaitState, C:\ProgramData\NavContainerHelper\Extensions\BC16CU2\PsTestTool-6\ClientContext.ps1: line 201
at InvokeInteraction, C:\ProgramData\NavContainerHelper\Extensions\BC16CU2\PsTestTool-6\ClientContext.ps1: line 216
at ScrollRepeater, C:\ProgramData\NavContainerHelper\Extensions\BC16CU2\PsTestTool-6\ClientContext.ps1: line 413
at Run-Tests, C:\ProgramData\NavContainerHelper\Extensions\BC16CU2\PsTestTool-6\PsTestFunctions.ps1: line 662
at , : line 57
Scripts used to create container and cause the issue
`Import-Module NavContainerHelper

$LicenseFile = "<Path>\BC16.flf"

#Create Docker Container
$DockerImage = "mcr.microsoft.com/businesscentral/onprem:16.2.13509.13779-w1"
$Username = '<user>'
$Password = '<password>'
$SecurePassword = ConvertTo-SecureString -String $Password -AsPlainText -Force
$ContainerName = "BC16CU2"

$Credentials = new-object -typename System.Management.Automation.PSCredential -argumentlist $Username, $SecurePassword
$SqlCredentials = new-object -typename System.Management.Automation.PSCredential -argumentlist "sa", $SecurePassword

New-NavContainer -containerName $ContainerName -accept_eula -licenseFile $LicenseFile -imageName $DockerImage `
-auth NavUserPassword -Credential $Credentials -alwaysPull:$true -doNotExportObjectsToText:$true -updateHosts `
-accept_outdated -memoryLimit 16G -useBestContainerOS -includeAL -isolation hyperv

#Import Tests
Import-TestToolkitToBcContainer -containerName $ContainerName -sqlCredential $SqlCredentials -credential $Credentials

#Run AL Test Tool Runner in UI and load all tests
# do it via UI

#Run tests
Run-TestsInBCContainer -containerName $containerName -XUnitResultFileName "C:\ProgramData\NavContainerHelper\$ContainerName\my\results-default.xml" -testSuite "DEFAULT" -credential $Credentials -tenant 'default' -AppendToXUnitResultFile:$True -company 'CRONUS International Ltd.' -debugMode`

Full output of scripts
See attachment:
[Output.zip](https://github.com/microsoft/navcontainerhelper/files/4886500/Output.zip)

...

I don't download and unpack .zip files - could you include them here (marked with Insert Code)
thanks

I've updated the issue. Should I also include the output with "Insert Code"? That would be (70.000 Lines)

The recommended way of running the tests is not to load everything into the DEFAULT Test suite - but instead run Run-Tests with -extensionId for every single test app. This also means that you do not have to open the UI.
We might very well have timeouts with very long running interactions - I will probably not have the time to troubleshoot that, when this is not the way to do it.

Thanks in advance. That solves our problem. We will now run the tests per "extensionId". We did not know that this would be possible.


[PYTORCH]Reduce_ops support added

Fixed reduce_sum
Fixed reduce_prod
argmin
argmax
std
variance
@masahi please help to review and merge this PR.  Thanks in advance.

@siju-samuel please fix the CI error

"Test code" doesn't mean code quality can be low. Add blank lines following established python style convention. Each functions are supposed to have two blank lines between them

@masahi Thanks a lot for the review. Updated.

@siju-samuel sorry my PR https://github.com/apache/incubator-tvm/pull/5306 was just merged and has conflict with this one. Can you rebase?

@siju-samuel sorry again, I just found a typo bug in our qnn test https://github.com/apache/incubator-tvm/blob/03cbf78e3e8cc910c5a9c95cd3fcafa19959644f/tests/python/frontend/pytorch/qnn_test.py#L399
Can you change pt_result there to tvm_result?

thanks @masahi, Done. Please have a look

Thanks!


[BEAM-2994] Prepare for a switch to ParDo based implementation

Coverage decreased (-0.01%) to 69.673% when pulling acd7aae362c5b317008af999c4ed0cda89e1cb50 on sberyozkin:tikaio into d60b29ff71b70affbf536eac3cb6dcc95ff67616 on apache:master.

Coverage decreased (-0.02%) to 69.543% when pulling 07805a571ef1485066e08485389c5d7344ceb1b4 on sberyozkin:tikaio into a92c45f9347e326e71afdc9057cac7e053b6c3e6 on apache:master.

Coverage decreased (-0.02%) to 69.522% when pulling 16352c78aeba2e7c25197d2df8fc12806f5f4dce on sberyozkin:tikaio into aa2604a39f6f9a6f7d3273b61f224dbac358bb69 on apache:master.

I've dealt the above review comments (I'm a bit surprised though I can not find my last comment where I committed to dealing with them, may be I got confused but I'm nearly certain I saw it in this page :-)).
TIKA-2472 will address the missing Metadata#hashCode.
For the moment ParseResult returns a copy of Metadata to address a non-mutability constraint, I was not sure if overriding all the Metadata setters was the better option or not, as it could introduce the sync issues with future Tika releases adding some new setters; that said - it's probably unlikely to occur soon, so if preferred then I can follow this approach if returning a copy does not look great...
thanks

To clarify: elements that go into a PCollection must not be modified, even though they can be in principle modifiable Java types. So returning a copy is reasonable.

Also would recommend to create a Coder for ParseResult rather than keeping it Serializable. Java serialization is wicked slow, so this is another benefit that TikaIO can provide for a user. Create an AtomicCoder for it, and register it using something akin to https://github.com/apache/beam/blob/master/sdks/java/io/amqp/src/main/java/org/apache/beam/sdk/io/amqp/AmqpMessageCoderProviderRegistrar.java

Thanks for continuing doing the high quality reviews and reminding me of some effective Java ideas, I'll keep ploughing along...

Hi Eugene, I've typed the shortcut code (ParseAll -> ParseFiles) as you suggested earlier, a shortcut looks nice for the simple cases. I suppose I'd need to introduce something similar to MatchConfiguration to propagate it from ParseAll to ParseFiles ?

Or may be we can just keep a shortcut as simple as possible at the moment, if users will want to customize then they'd start with an expanded ParseFiles, I guess something like ParseConfiguration can easily be introduced later on without affecting anything. So, unless you think introducing ParseConfiguration should be done earlier rather than later, I'll consider that the only major pending item is to make sure ParseResult can be reported in the case of the parsing failures, with the configuration improvements to follow at some later stage

Don't bother with MatchConfiguration. The purpose of Parse is to provide a shortcut for one common use case - it saves only 2 lines of code. Adding more configuration to it negates the advantage.

Yeah, I was slowly getting to a similar conclusion myself...

Hi Eugene, thanks. And sorry, could not resist squeezing one more push into tikaio:-), it's to do with not failing the pipeline in case of the parse errors, as you suggested earlier. I thought it was a breaking kind of change so it would be rather done now, the configuration improvements can be incrementally applied later. Have a look please, hope that looks reasonable enough. FYI. I'm away from this eve till Mon eve so won't be able to react to the comments till next Tue. If my last commit only requires minor tweaks to make it right, then may be combine them with the other touch-ups you've had in mind. Thanks.

Yeah, I actually also implemented failure handling similarly to what you did while merging the PR, but didn't finish it yesterday. It requires a bit more twiddling to get equality and hash code to work properly, because Throwable doesn't implement either of these things properly. I'm finishing this up right now and will merge soon.


[Question] Change the default arrows

I want to know if it's possible to change the arrows for a image sprite.
I know I can change the 'content' and replace it for a image,  but is it possible to change for a image sprite?
Instead of being transparent and when I hover the image has 100% opacity, I want to use a new sprite when I hover and click.

Found my answer in here https://github.com/kenwheeler/slick/issues/577


[BUG] forget Variable Name

after saving a new working makro it looks fine and works
i make some changes saved and it randomly forgets the name of the variable somtimes only somtimes it forgets variable name 1 sometimes 2 somtimes both other times variables are deleted
somtimes the name of the makro gets Blank . "now i know it will not save anymore ---- only relog helps"
but if variables are lost the name are not blanked out
all tests out of combat
if i dont make changes do the makro it works fine but markos change

THis is a duplicate of #899 Please add any further information you have to that thread.  Until I can replicate this I cannot fix it.


Rename NumericUpDown to NumberBox

As the title says, I think it would be better to rename to the NumberBox control as is now the WinUI standard. NumericUpDown could be preserved for now just as DropDown is.
Edit: After further review of the code it seems NumberBox should also port over from WinUI. There is a lot of functionality that can be gained in doing so.

NumericUpDown is basicaly a TextBox inside of ButtonSpinner with some glue. And in some places it's hard to modify it.

What do you think about bringing over the NumberBox ported from WinUI and having it along-side the existing NumericUpDown?

@robloo only if we will deprecate NumericUpDown. These two are the same control but with different implementation.


js-ipfs v0.24.0 pre-release testing

Same situation as: https://github.com/haadcode/ipfs-log/issues/108

[ ] Update to use latest js-ipfs init (published since v0.23)

Closing as obsolete. Working great with 0.27.0 😄

👌🏽


Explicitly uncurry rescript-apollo-client

Purpose
To allow pre-Rescript v11 projects to use this library without reconfiguring ppx flags or setting "uncurried": false in one's rescript.json (previously the now deprecated bsconfig.json).
Background
This exists as a subsequent step following an intermediate config-only solution wherein this library temporarily supports the "uncurried": false flag to quickly get this working with Rescript ≥ 11.
Caveats
This required the installation of @rescript/core, a new library that deprecates the old Js library that shipped with Rescript originally. Though this libary is an explicit install now, it will be folded into the Rescript ecosystem and shipped out in later releases.
For now, this was added to avoid a strange error wherein Js.Dict.map relied on a curried implementation.
In contrast, RescriptCore.Dict.mapValues does not.
This will need some testing against the EXAMPLES since it is not working correctly but I've done some preliminary testing against an external project of mine and appears to compile correctly.

In general, are we ready to cut a release of the previous stuff so that we're clear for this to be merged in when ready? I have been hesitant due to the requirement of a dev build of graphql-ppx, but open to anyone's thoughts. FWIW, every merge to master publishes a dev package in this repo. You can give the current version at try which is currently 3.2.1-ea2f9b7.0

Probably should have @illusionalsagacity in that last comment

In general, are we ready to cut a release of the previous stuff so that we're clear for this to be merged in when ready?

I tried out 3.2.1-ea2f9b7.0, a check of some queries & mutations looks good. I didn't have to make any code changes at all for it to compile / run on 10.1.4.

I have been hesitant due to the requirement of a dev build of graphql-ppx, but open to anyone's thoughts.

I've been using 1.2.4-1345e061.0 for some time, but I bumped that version in EXAMPLES and the devDependencies because the peerDependencies for graphql-ppx in the 1.2.3 release is wrong (only allows ^9.1.3 but 10 works fine) and to allow reproduction of that issue. Since I'm already using a dev build of graphql-ppx I can't really say for sure it's not required but I don't think it would be

We've been using 4.0.0 for a minute now, haven't noticed any regressions.
I've managed to get a build published of my graphql-ppx pr to @illusionalsagacity/graphql-ppx 2.0.0-f885fc66.0 if anyone needs to use that for testing their own upgrades.


MSVCR110.dll is missing error message on Windows

user email

I'm excited by the potential of how Tagui can relieve my hospital colleagues from repetivtive administrative tasks.
Unfortunately, my office notebook kept prompting the error message "MSVCR110.dll is missing" even though I have followed the setup guide and remedy steps as described in the following link :
https://github.com/kelaberetiv/TagUI#set-up
May I know if you can kindly advise me on other follow up actions which I need to do in order to run Tagui without the above error? Thanks.

Thanks for trying out TagUI! I assume you have tried the following troubleshooting steps. Can you try installing again, and make sure the x86.exe version is chosen? Then restart computer to see if that works.
Install this from Microsoft website (choose vcredist_x86.exe) - this file is required to run the PHP engine.
That file is a dependency for PHP that comes packaged with TagUI for Windows. I'm also copying Alvin, who is interning with me on RPA and TagUI, so that he can work together with you if you run into issues.
If that works, you can try out the tutorial below or the flow examples in tagui\src\samples folder to get an introduction to using the software.
https://github.com/kelaberetiv/TagUI/blob/master/src/media/RPA Workshop.md


Splicework

@dlasky @anthonykoerber @shuwen
outstanding splicing issue are tough to isolate and may be unlikely to occur in the wild so may as well get these significant fixes in (before hiatus)

Wrong branch...


Making the outline command view state dependent is confusing

Testing microsoft/vscode#133901
Hiding the command is confusing since it force me to think about whether the outline view is visible before I open the command palette. Since we are not saving anything I would always include the command.

Same should be done for Variables window then too. Each of those windows should receive focus even if they are already displayed.


Error in SteamWorks.SteamUGC.SetItemTitle api

Hello,
thank you for your work.
I really like this project,but i have some error when i use SteamWorks.SteamUGC.SetItemTitle
This is my code

(async () => {
  if (SteamWorks.SteamAPI.IsSteamRunning()) {
    let ECreateItem_Result = await SteamWorks.SteamUGC.CreateItem(APP_ID, 0);
    console.log(ECreateItem_Result);
    if (ECreateItem_Result.m_eResult == 1) {
      console.log('fileId', ECreateItem_Result.m_nPublishedFileId);

        const updateHandler = SteamWorks.SteamUGC.StartItemUpdate(
        APP_ID,
        ECreateItem_Result.m_nPublishedFileId
      );
      console.log('updateHandler', updateHandler);

      let SetItemTitle = SteamWorks.SteamUGC.SetItemTitle(
        updateHandler,
        'TestTile'
      );

      const SetItemVisibility = SteamWorks.SteamUGC.SetItemVisibility(
        updateHandler,
        0
      );
      console.log(SetItemVisibility);
      let EItemUpdate_Res = await SteamWorks.SteamUGC.SubmitItemUpdate(
        updateHandler,
        'change_note'
      );
      console.log(EItemUpdate_Res);
    }
  }
})();

i got the result
fileId<PHONE_NUMBER>
updateHandler<PHONE_NUMBER>
false
Call result timed out after 10 seconds!
undefined

the SetItemTitle  reutrns false and the SubmitItemUpdate returns undefined,It looks like the handle returned by StartItemUpdate is not correct,because in SteamworksPy i got the handle number is<PHONE_NUMBER>997400523, it is very long
Is there any way to make it work?
Thanks!

My guess is that because the handle is returned as a unsigned long long (64 bit) it was being truncated to fit in the JS number type (32 bit). With 1.2.0, I added the conversion from unsigned long long to BigInt, which should fix this issue.


Tides of Vengeance

Description

Provide a description of what your changes do.

This pull request introduces the upcoming raids Crucible of Storms and the Battle of Dazar'alor to the bot. You'll be able to see all of the raid kills from normal up to mythic including the AOTC and Cutting Edge achievements.
Testing Instructions

Give us step by step instructions on how to test your changes.

This cannot be merged until the Blizzard API supports these two raids. As they have both not been released this PR will remain pending until the data has been surfaced.
Additional Notes

Anything else that will help us test the pull request.

It would be nice in the future if I could make these updates and then only display the data once the API begins support, that way I can make updates in my own time and not have to worry about the API changing.

This needs to be split into multiple PR's as the raids don't release at the same time.


Inject Controller from ViewB into ViewA

Hi
I have a ViewA.fxml which includes ViewB.fxml in the fxml code.
Each view has it's own Controller ViewAController and ViewBController. Both are annotated with @Dependent
They both are initialized correctly. How can I access from ViewAController methods the instance of ViewBController? If I do it with @Inject, I will not get the Bean which is initialized by JavaFx rather the Bean from Quarkus which has no injected view objects.
It would be nice if a working example would be available in the repository.

If I do it like this it seems to work:
FXMLLoader fxmlLoader = new FXMLLoader(getClass().getResource("ViewB.fxml"));
fxmlLoader.load();
fxmlLoader.getController().accessViewBControllerMethods();

Hello,
do you have a sample project somewhere that I can have a look at ?

I managed to have the issue here using FxView and Dependent.
Works with Singleton though (no proxy)

In JavaFX, you can inject controller of the included view using @FXML, with adding Controller as a suffix to the injected controller name. Something like:
ViewA.fxml:
<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.scene.layout.BorderPane?>
<BorderPane xmlns:fx="http://javafx.com/fxml" fx:controller="a.b.ViewAController">

        <fx:include fx:id="viewB" source="viewB.fxml"/>

</BorderPane>

ViewA.fxml:
<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.scene.layout.BorderPane?>
<BorderPane xmlns:fx="http://javafx.com/fxml" fx:controller="a.b.ViewBController">

</BorderPane>

ViewAController.java:
public class ViewAController {
    @FXML ViewBController viewBController; // (viewB + Controller)
}

@CodeSimcoe thank you, with @Singleton instead of @Dependent it works like a charm
@Eng-Fouad thank you as well, I didn't know I can do it like this as well. But the singleton way works for me, since there I have all the Beans injected the Quarkus way.


[Question] Multiple datatables on one view

I want to display multiple datatables on the one view. The datatables are unrelated to each other.
I was hoping to setup a route for my datatables
Route::resource('dashboard', 'DashboardController');
Route::prefix('datatables')->group(function(){
    Route::get('products', 'datatables\ProductController');
    Route::get('users', 'datatables\ProductController');
});

Then when I go to my dashboard controller I would be able to pass my datatables to my view that would use the datatables routes to fetch the data. So my dashboard controller would look something like this
public function index(ProductsDataTable $productDatatable, UsersDataTable $userDatatable)
{
    $user = Auth::user();

    $products = $user->products;

    return view('admin.dashboard', compact('products', 'user', 'productDatatable', 'userDatatable'));
}

Obviously this isn't working but is there a way to achieve something similar or how can I get two unrelated datatables on the one page.
Is there a way of achieving something like this?

Homestead
php 7
laravel 5.4
Laravel-Datatables 7

Unfortunately, DataTable service class is designed to handle single instance. However, I think we can make a workaround for it by adding additional query param in our request for us to identify which class is being requested to handle the request.
Maybe something like below:
public function index(ProductsDataTable $productDatatable, UsersDataTable $userDatatable)
{
    if (request()->has('product') {
        return $productDatatable->render('view');
    }

    if (request()->has('user') {
        return $productDatatable->render('view');
    }

    $user = Auth::user();

    $products = $user->products;

    return view('admin.dashboard', compact('products', 'user', 'productDatatable', 'userDatatable'));
}


Change BASE_CONTAINER to BASE_IMAGE

Pull Request

https://github.com/Senzing/docker-hello-world/pull/5


Outdated UI flow?

I believe this is not the current workflow anymore - when I click on my gateway I do not see the remove option.
Thanks!

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

ID: 20180bfa-f4ab-224a-d089-58a06dbf4ac3
Version Independent ID: f4ab3a3c-397d-01d1-f6d2-05e9085770a1
Content: Manage an on-premises data gateway
Content Source: data-integration/gateway/service-gateway-manage.md
Technology: on-premises-data-gateway
GitHub Login: @arthiriyer
Microsoft Alias: arthii

@aceccare Are you clicking on the ellipses on the right side of grayed-out area around the icon name as shown in the figure in the article? The remove option is still there.

Hi @aceccare -
This issue has been closed due to lack of information. If you have more information to provide, please reopen this issue.


Set CI in next branch

Delivers https://www.pivotaltracker.com/story/show/162452107
Depends on #1899
This also enables failure notifications for the next branch. These failure notifications work:

No notifications sent on success. Sample CI workflow (check notification channels).
Notifications sent on failure. Sample CI workflow (check notification channels).

TODO:

[ ] Rebase on master once #1899 is merged
[ ] Squash&merge

Please notice that this branch starts from e55f0147 that is equivalent to https://github.com/aeternity/epoch/pull/1899 (27ab1ad65da0ec22524729a5d2a93e4bb0288b32), so rebasing will fix the conflict.


Update resources.md

added awesome apps
new codelabs

cc @sarahxxu for review

thanks a lot for adding the resources. I'm not crazy about the wording "Awesome Apps" bc there's no equivalence in the industry imho -- how about "Sample Apps" instead? cc @icaraps

I'm fine with that as well. Awesome Apps is inspired from https://github.com/markusthoemmes/awesome-openwhisk :)

+1 to keep it "awesome apps" , this is open source related

Florian Schaulin, AIOE Developer Enablement<EMAIL_ADDRESS>C +41 79 6580560

From: Stephan Ringel<EMAIL_ADDRESS>Sent: Tuesday, May 19, 2020 5:27 PM
To: AdobeDocs/project-firefly<EMAIL_ADDRESS>Cc: Subscribed<EMAIL_ADDRESS>Subject: Re: [AdobeDocs/project-firefly] Update resources.md (#27)
I'm fine with that as well. Awesome Apps is inspired from https://github.com/markusthoemmes/awesome-openwhiskhttps://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmarkusthoemmes%2Fawesome-openwhisk&data=02|01|fschauli%40adobe.com|3c59c6f939b448af5c8a08d7fc09179e|fa7b1b5a7b34438794aed2c178decee1|0|0|637254988284147048&sdata=5EYBx0ONyDlofsg3iE943F2rhnDJ9LBlgw86CNaxeD4%3D&reserved=0 :)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FAdobeDocs%2Fproject-firefly%2Fpull%2F27%23issuecomment-630896790&data=02|01|fschauli%40adobe.com|3c59c6f939b448af5c8a08d7fc09179e|fa7b1b5a7b34438794aed2c178decee1|0|0|637254988284147048&sdata=ctUJwgS6kAvW1T0XCKFC%2BlUtfpYRhSicMh62CkwYzCY%3D&reserved=0, or unsubscribehttps://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAH2RHRN2KE56VM7OEXQXGFDRSKQMVANCNFSM4NE3CXKA&data=02|01|fschauli%40adobe.com|3c59c6f939b448af5c8a08d7fc09179e|fa7b1b5a7b34438794aed2c178decee1|0|0|637254988284157040&sdata=aB1NJnH9qCuzGfEy2fYzvmvCWOkO5T%2Bv7r271TM6gbY%3D&reserved=0.

I lean towards "Sample App" bc that's more industry-standard to me and prob more meaningful and more searchable to readers. people are more likely to search for "sample app" than "awesome apps" (the later is mostly mobile app recommendations btw.
for reference, that's what microsoft, google and ibm call them too.

https://developer.android.com/samples
https://cloud.ibm.com/docs/services/assistant?topic=assistant-sample-apps
https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/open-and-run-a-sample-app

quite some good arguments indeed 🙂🙂

Florian Schaulin, AIOE Developer Enablement<EMAIL_ADDRESS>C +41 79 6580560

From: Sarah Xu<EMAIL_ADDRESS>Sent: Tuesday, May 19, 2020 5:50 PM
To: AdobeDocs/project-firefly<EMAIL_ADDRESS>Cc: Florian Schaulin<EMAIL_ADDRESS>Comment<EMAIL_ADDRESS>Subject: Re: [AdobeDocs/project-firefly] Update resources.md (#27)
I lean towards "Sample App" bc that's more industry-standard to me and prob more meaningful and more searchable to readers. people are more likely to search for "sample app" than "awesome apps" (the later is mostly mobile app recommendations btw.
for reference, that's what microsoft, google and ibm call them too.

https://developer.android.com/sampleshttps://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdeveloper.android.com%2Fsamples&data=02|01|fschauli%40adobe.com|96c5000d4083457f355d08d7fc0c682e|fa7b1b5a7b34438794aed2c178decee1|0|0|637255002525417899&sdata=ZHqBCvW6gv75dkxccbkZZ8FOG2YpOkkixZ9CH53UUGM%3D&reserved=0
https://cloud.ibm.com/docs/services/assistant?topic=assistant-sample-appshttps://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcloud.ibm.com%2Fdocs%2Fservices%2Fassistant%3Ftopic%3Dassistant-sample-apps&data=02|01|fschauli%40adobe.com|96c5000d4083457f355d08d7fc0c682e|fa7b1b5a7b34438794aed2c178decee1|0|0|637255002525417899&sdata=SGpHwU75i%2BjP8PUFjZrMAyNg6hJ5P5j4MZo5WhAAZHU%3D&reserved=0
https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/open-and-run-a-sample-apphttps://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fpowerapps%2Fmaker%2Fcanvas-apps%2Fopen-and-run-a-sample-app&data=02|01|fschauli%40adobe.com|96c5000d4083457f355d08d7fc0c682e|fa7b1b5a7b34438794aed2c178decee1|0|0|637255002525427885&sdata=Se9J5GxY4sAZmnCo5qqA4kzWixhCc7koOKIC3LhNt10%3D&reserved=0

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FAdobeDocs%2Fproject-firefly%2Fpull%2F27%23issuecomment-630910913&data=02|01|fschauli%40adobe.com|96c5000d4083457f355d08d7fc0c682e|fa7b1b5a7b34438794aed2c178decee1|0|0|637255002525427885&sdata=Fse1ZpXLQm73UD20S23YtB2rsd1Yl7LCvnPEpVM9vSU%3D&reserved=0, or unsubscribehttps://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAH2RHRIZ3Z3LZDNB5FMRVLTRSKTFXANCNFSM4NE3CXKA&data=02|01|fschauli%40adobe.com|96c5000d4083457f355d08d7fc0c682e|fa7b1b5a7b34438794aed2c178decee1|0|0|637255002525427885&sdata=%2FbHZGn22%2BDFieVm%2F7zbaoR7vP7FgQ2og9g7bPpGUUBc%3D&reserved=0.

updated and merging ;)

Awesome 👍


Add unit test for PHP LRO

Current coverage is 83.86% (diff: 100%)

Merging #928 into master will increase coverage by <.01%

@@             master       #928   diff @@
==========================================
  Files           337        337
  Lines         13072      13075     +3
  Methods           0          0
  Messages          0          0
  Branches       1720       1721     +1
==========================================
+ Hits          10963      10966     +3
  Misses         1672       1672
  Partials        437        437

Powered by Codecov. Last update 0bd605e...64178e7

LGTM for the issues I called out - let @shinfan also approve.

Added the incomplete operation case and restructured test.snip, PTAL


UPDATE_SYNC_ERRORS sending wrong action payload after ARRAY_REMOVE

Bug Report
Step to reproduce:

Create A field array, which has required field inside.
Add two new Records
Remove one of the Record

Current behaviour:
Look at the action UPDATE_SYNC_ERRORS are sending payload of two records in the particular field instead of one record.
As result, the form syncErrors will have two records instead of one.
Expected Behaviour:
Action UPDATE_SYNC_ERRORS should be sending payload of just one existing record, instead of two Record, which one of the record should be deleted.

Think this might relate to #2666

is this issue fixed? any workaround?

Think this might relate to #2666

is this issue fixed? any workaround? I am seeing this issue in 8.2.0


does not work on mac mojave chrome Version 74.0.3729.131 (Official Build) (64-bit)

In case of bug report, please fill this template and remove italic lines
Otherwise, clear all and type :)
Tab Modifier version
Browser: Chrome or Opera
chrome
Extension version: X.Y.Z
Can be found here: chrome://extensions/?id=hcbgadmbdkiilgpifjgcakjehmafcjai
Expected behavior
select tab I want to reaname
write click on extension
fille in new name
What do you expect?
tab to display the name I entered before
Actual behavior
the old name is still displayed
What actually happen?
Steps to reproduce the behavior
Please describe the steps to help me to reproduce the actual behavior

Can you go the options page > settings > export and paste the JSON content here please.
Best

I think I haven seen this bug before.
Cause is that the contextMenu was created every time when the background script (re)loaded. Since it isn't persistent, this happen constantly.
So I put it like this:
chrome.runtime.onInstalled.addListener(function (details) {
		// create on intall and add listener every time; see: https://stackoverflow.com/questions/26245888/adding-context-menu-item-on-a-non-persistent-background-script
		chrome.contextMenus.create({
				id: 'rename-tab',
				title: 'Rename Tab',
				contexts: ['all']
		});

Will do a PR anyway. Let's see whether this solves this issue.


GraphQLLocatedError: 'str' object has no attribute 'items' In Dashboard V2

What I'm trying to achieve
Add Products
Steps to reproduce the problem
using new dashboard

follow https://docs.getsaleor.com/en/latest/customization/docker.html
add product type
add product like so:

save product
click on product to edit it
???
error

What I expected to happen
Product to be added and functional
Screenshot of error

System information
Docker Version | 18.09.0
API version | 1.39
Go version | go1.10.4
OS type | linux
OS | Debian GNU/Linux 9 (stretch)
Architecture | amd64
Kernel version | 4.9.0-8-amd64
Browser: Chrome Version 69.0.3497.100 (Official Build) built on Debian stretch/9.5, running on Debian stretch/9.8 (64-bit)

looks like it only occurs on products that also cause  #3873

Restarting the docker-compose stack fixes it 2 out of 3 times (random chance), fixes it for all instances of that error, error does not occur again until the stack is restarted again, then theres another 1 third chance of the error occuring on any product

I think it's a duplicate of #3873.


Fix HEV checks for get_hev_configuration and set_hev_configuration

Signed-off-by: Avi Miller<EMAIL_ADDRESS>

Looks good to me. Tested with HEV and non-HEV bulbs.

Released.

Awesome, thanks!


[Editor] Wait for 'pagerendered' to switch to editing mode

The focus can potentially be stolen when the DOM is modified when adding a new canvas element for the page being redrawn.

/botio integrationtest


Test the mod works with other carpet extensions in the carpet eco-system

Following #57, we should support the major carpet eco-system mods.
The list of main extensions are listed in the carpet mod wiki.
This will be relevant for each support we make, so the mod needs to work with the supported versions provided for each extension:

#45
#46
#47

For 1.19.3, this will be done with v1.0.0-alpha.1

Mods needing to support for 1.19.3:

[ ] Carpet extras
[ ] Carpet autocrafting table
[ ] Carpet fixes
[ ] Carpet skyblock
[ ] Carpet TIS addition
[ ] Mini Tweaks
[ ] Discarpet
[ ] Ivan Carpet Addition
[ ] Totos Carpet Tweaks
[ ] Essential Addons
[ ] Carpet Shadow
[ ] Carpet TCTC Addition

Few issues so far. Main issues which are solvable:

Update gradle.properties to use carpet 1.4.96 or later, but keep the fabric mod json file saying 1.4.91>= as that is earliest version of carpet for 1.19.3
Use fabric API locally. It isn't needed for the mod to work by itself, but some of the mentioned mods above need it

Struggling to get it to work locally now for some reason...I've changed the fabric.mod.json file anyway as supporting latest carpet for 1.19.3 should be enforced in my opinion.

My local build won't redownload the dependent carpet version! So I've forced it to use it with the build itself. Now getting a some mixin issues. This is with all the mods running. Going to do it one at a time instead.

Carpet shadow is currently broken, so ignoring compatibility for now

All mods work individually by themselves, so all good 😄


Add Assimilation checks to Colonization

Pull request summary
Description:

I have added assimilation checks to the three colonization directives and the strategist
This is an attempt to getting Overmind to play better when neighboring other Overmind users.
I am open to additional things you want me to try and get this implemented on - I have only thought about the colonization directives - or if there is better ways for my code.
Added:

Assimilation checks to the following directives which checks if they are in a room owned or reserved by another assimilated user:

colonize.ts
incubate.ts
outpost.ts

Added Assimilation check in strategist.ts to penalize the expansion room score if its owned or reserved by another assimilated user.

Changed:

Modified the following directives:

colonize.ts
incubate.ts
outpost.ts

Modified the strategist.ts

Removed:

None

Fixed:

None

Testing checklist:

[ ] Changes are backward-compatible OR version migration code is included
Not sure how to check this?
[x] Codebase compiles with current tsconfig configuration
[x] Tested changes on PUBLIC server OR changes are trivial (e.g. typos)
Still currently testing strategist.ts, will update once done - looking for feedback currently

It might be better to not reformat all of the imports?

IDE formatted it when adding new imports automatically
I'll roll back those chunks

Might as well add a low conflict mode where it plays nice with non-overminds too.
A setting for growing empires to avoid pissing people off

Something like the mode discussed here?
#106

Not really. Basically a mode where invading other players space is prevented. Low-conflict mode where you don't try and expand/mine from other players territory.
So basically this mode, but for all players not just assimilated. Should be flag check of "if assimilated or in lowConflict mode"

This type of feature you're suggesting would need it's own PR,  I do not intend to add a blacklist/whitelist for the player, I don't think it suits this codebase?
It's ultimately Muons decision so we'll have to wait for him to have enough free time to review

Sure, happy to add it after your merge. I'm saying a setting to treat all other players reasonably well is a good stealth mode during a colony growing phase. Don't want your level 4 rooms picking fights over remotes with a level 8 room nearby.

I agree @MatthewARoy

Also it's just not very effective. A lower level room is going to be wasting precious resources trying to fight an RCL 8 room that just spawns a single 50 part creep to defend it's remote. You'll lose that fight every time and drain your room.
Much better to try and claim uncontested resources.
I'd propose having a new bot setting definition that describes it's behavior (not in this PR, but in general going forward)

ExpansionPolicy: How aggressively it expands, does it attempt to settle near enemy rooms etc.

Least aggressive is maintains a couple room buffer, only expands out of existing RCL 7 rooms that can defend.
Most aggressive is that it'll attempt to expand to best possible spots, including into enemy remotes and from low RCL rooms. Tigga-esq

MiningPolicy: where it attempts to mine.
HarassmentPolicy: Will it actively attempt to damage enemies around it?
DefensePolicy: What level of response to harassment. Too high and rooms will starve themselves responding to small threats. Too low and you'll get harassed to death. Blacklist is a great example of how we could differentiate threats (eg policy of level 5 response for blacklist, level 2 for normal, level 0 for whitelist).

Universal whitelist/blacklist helps define behavior for all of these, where assimilation is considered whitelist. End-level behavior for whitelist could be as far as assisting in ally roombuilding/defending.


Issue on legion_prof installation

Issue
When I tried to install legion_prof with following command (in Windows platform),
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
cargo install --locked --all-features --path legion/tools/legion_prof_rs

It will output an error as,
error[E0432]:unresolved import `winapi::um::winuser`
-->C: \Users\home\.cargo\registry\src\index,crates,io-6f17d22bba15001f\eframe-0.25.0\src\native\app icon.rs:83:9
83 use winapi::um::winuser;
                    no `winuser` in `um`
note:found an item that was configured out
-->C:\Users\home\.cargo\registry\src index,crates.i0-6f17d22bba15001f\winapi-0.3.9\src\um\mod.rs:290:37
290 #[cfg(feature ="winuser")] pub mod winuser;
note: the item is gated behind the `winuser` feature
-->C:\Users\home\.cargo\registry\src\index,crates.io-6f17d22bba15001f\winapi-0.3.9\src\um\mod.rs:290:7
290 #[cfg(feature ="winuser")] pub mod winuser;

Solution
How can I walked by is manually updating a depdent crate version and installing w/o --locked.

add eframe = "0.28.1" in deps\legion\tools\legion_prof_rs\Cargo.toml: [dependencies]
run cargo install --all-features --path . in the same dir

I'm not sure if there is a more elegant approach or fix for this? Or is just my misoperation?

Unfortunately, Windows is not a platform that we test regularly, so things may be broken there.
I would actually be shocked if eframe 0.28 works for you. The version of eframe needs to match egui, and egui 0.26 was already having issues that I haven't been able to resolve yet. I presume that the larger egui community tests on Windows, so there may be a different version fix that would work (keeping egui at 0.25 but changing something else). But I'm not on a Windows machine so I cannot test that for you.
I think the options are:

Fiddle around with versions until you find something that works with egui 0.25.
Use a Linux/Mac machine to run the profiler for now. (Note that you can always run the viewer inside of a web browser. It's just the offline processing portion that you will need to move to Linux/Mac.)

At some point I may be able to fix newer egui versions, but I was pretty stuck the last time I looked and the available documentation did not indicate how to resolve my problems.

I see. For option 2 do you mean using archive mode? I could try it later, but for now windows legion_prof works fine, so I'm good anyway :-)

I suppose if things work for you, you can just keep on doing what you're doing. 😀
For 2, archive mode would work, or you can serve the live profile (if you can provide an SSH tunnel). You will either need a machine with a working viewer or else to upload the archive to a server with the appropriate CORS headers set and then use the online viewer at https://legion.stanford.edu/prof-viewer/?url=... (where ... is your URL and must end in a /).


App Store two-factor auth

The Apple Dev Program now requires two-factor auth to be enabled, in order to enroll.
But it appears that connecting the iOS App Store via App Center doesn't yet support two-factor auth?
I think I'm blocked from publishing to the app store then?  Any workarounds?

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

ID: edcd9010-7381-ef0a-85ee-3289b742c8de
Version Independent ID: 63c5a53d-e211-a17e-e0c0-27638748da7d
Content: Publish to iTunes - Visual Studio App Center
Content Source: docs/distribution/stores/apple.md
Service: vs-appcenter
GitHub Login: @pnghub
Microsoft Alias: gned

Thx for the feedback Kirk. You are right in that iOS App Store updates via App Center does not currently support two-factor auth and will need to use the App store directly for store publishing in this scenario. This item is in the backlog, though we do not have an ETA yet. Your feedback is appreciated and will help us with data to build a case for getting this higher up in the priority order.

@kirk-marple The comments feature of our documentation is intended to enable customers to suggest changes to the docs or ask clarifying questions about the docs.
App Center support is provided directly from within the App Center portal. Any time you need help, just click the blue chat button in the lower-right corner of any page and our dedicated support team will respond. For additional information, see the App Center Help Center.

@jwargo Understood, but my point for posting it here was that it likely needs to be documented, given anyone following the instructions to create a new Apple Dev Program account would run into the same problem.   I'll followup with support to see about any workarounds.

@kirk-marple yes, absolutely - just ask Support to mark it needing a doc update and we'll update the docs based on the results you get from your support call.

Is there a doc update for how we are supposed to set up Apple Store with App Center?
Does App Center no longer support  Apple Store now that 2FA is required?

@Eric-Dunaway we're working on a doc update.

I've ran into the same problem and I am blocked... It would be really good if App Center supports 2FA.

That's the workaround? Are you joking?
App-specific passwords don't seem to work either for whatever reason.
Glad I'm just getting around to looking at VSAC. Doesn't seem to be a viable option at the moment.

@gtbuchanan No, we're not - that's the current work-around.  Unfortunately, when Apple changes their requirements or systems, it takes us some time to adjust. We're working on a solution, please be patient.

I understand. My astonishment is based on the fact that Apple had 2FA and app-specific passwords long before they made it required (circa 2015). Just seems like this could have been avoided or made more clear up front. Nonetheless, I'm glad it's being looked at.

However, old Apple IDs can still connect to App store connect without two-factor authentication.

Does this mean that I can establish the connection to App Store connect with an Apple ID that is not enrolled in any kind of Developer Account?

I'm shocked that Microsoft can say that AppCenter supports Apple AppStore or TestFlight integrations. You guys should be ashamed.

@gabors The comments feature of our documentation is intended to enable customers to suggest changes to the docs or ask clarifying questions about the docs. We understand that its inconvenient when issues like this arise, but all we can do is react to the changes Apple made to their systems.
We'll fix this as quickly as we can.  In the mean time, please be constructive with your feedback.

@gabors @thchia @gtbuchanan @kirk-marple @Eric-Dunaway @BorlandFA @raju-eitr Support for Two Factor Authentication (2FA) available now - read the documentation. Use the support chat button in the lower-right corner of any App Center page if you have any issues.

Nice work. Will try it out.

This isn't working for me. I have to reconnect the account every day by entering the two factor code.
The build fails with this error (wasting my free build minutes in the process!).
##[error]{"release_notes":"Layouts tweaks","destinations":[{"id":"00000000-0000-0000-0000-000000000000","name":"iTunes Connect users","message":"Failed to publish to store. Error: Service Connection is not valid. Please use PATCH to update the connection","code":"unauthorized"}],"code":"partially_succeeded","message":"Release notes string or mandatory update boolean were successfully updated, but failed to distribute to some or all of the destinations."}

@stevehurcombe The comments feature of our documentation is intended to enable customers to suggest changes to the docs or ask clarifying questions about the docs.
App Center support is provided directly from within the App Center portal. Any time you need help, just click the blue chat button in the lower-right corner of any page and our dedicated support team will respond. For additional information, see the App Center Help Center.

Thanks !

@jwargo it appears app-specific passwords are no longer working. I've generated a few different ones and use it with an Apple ID (email), and each returns the following error:

Ooops, wrong username or password.

Any thoughts?

User menu (upper right corner) > Account settings > Developer account (Pencil icon) Edit action > If you will see "Inactive" in red then navigate to 3 dots menu and reconnect


Not working with RubyMine 7

Installed and executed. Can't find anything in the whole project. Looks like it doesn't work with RubyMine7

Here's the stack trace...
Failed to run RuboCop command - is it (or bundler) installed? (SDK=/Users/tonycoco/.rbenv/versions/2.2.0/bin): Cannot run program "bundle" (in directory "/Users/tonycoco/Sites/ember-training/contacts-api"): error=2, No such file or directory
com.intellij.execution.process.ProcessNotCreatedException: Cannot run program "bundle" (in directory "/Users/tonycoco/Sites/ember-training/contacts-api"): error=2, No such file or directory
	at com.intellij.execution.configurations.GeneralCommandLine.createProcess(GeneralCommandLine.java:290)
	at io.github.sirlantis.rubymine.rubocop.RubocopTask$runViaCommandLine$1.invoke(RubocopTask.kt:126)
	at io.github.sirlantis.rubymine.rubocop.RubocopTask$runViaCommandLine$1.invoke(RubocopTask.kt)
	at io.github.sirlantis.rubymine.rubocop.RubocopTask.parseProcessOutput(RubocopTask.kt:58)
	at io.github.sirlantis.rubymine.rubocop.RubocopTask.runViaCommandLine(RubocopTask.kt:126)
	at io.github.sirlantis.rubymine.rubocop.RubocopTask.run(RubocopTask.kt:51)
	at io.github.sirlantis.rubymine.rubocop.RubocopAnnotator.doAnnotate(RubocopAnnotator.kt:134)
	at io.github.sirlantis.rubymine.rubocop.RubocopAnnotator.doAnnotate(RubocopAnnotator.kt)
	at com.intellij.codeInsight.daemon.impl.ExternalToolPass.c(ExternalToolPass.java:186)
	at com.intellij.codeInsight.daemon.impl.ExternalToolPass.access$400(ExternalToolPass.java:43)
	at com.intellij.codeInsight.daemon.impl.ExternalToolPass$1.run(ExternalToolPass.java:122)
	at com.intellij.util.ui.update.MergingUpdateQueue.execute(MergingUpdateQueue.java:320)
	at com.intellij.util.ui.update.MergingUpdateQueue.execute(MergingUpdateQueue.java:310)
	at com.intellij.util.ui.update.MergingUpdateQueue$2.run(MergingUpdateQueue.java:254)
	at com.intellij.util.ui.update.MergingUpdateQueue.flush(MergingUpdateQueue.java:269)
	at com.intellij.util.ui.update.MergingUpdateQueue.flush(MergingUpdateQueue.java:227)
	at com.intellij.util.ui.update.MergingUpdateQueue.run(MergingUpdateQueue.java:217)
	at com.intellij.util.concurrency.QueueProcessor.runSafely(QueueProcessor.java:238)
	at com.intellij.util.Alarm$Request$1.run(Alarm.java:351)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
	at com.intellij.util.concurrency.QueueProcessor$RunnableConsumer.consume(QueueProcessor.java:298)
	at com.intellij.util.concurrency.QueueProcessor$RunnableConsumer.consume(QueueProcessor.java:295)
	at com.intellij.util.concurrency.QueueProcessor$2$1.run(QueueProcessor.java:110)
	at com.intellij.util.concurrency.QueueProcessor.runSafely(QueueProcessor.java:238)
	at com.intellij.util.concurrency.QueueProcessor$2.consume(QueueProcessor.java:107)
	at com.intellij.util.concurrency.QueueProcessor$2.consume(QueueProcessor.java:104)
	at com.intellij.util.concurrency.QueueProcessor$3$1.run(QueueProcessor.java:215)
	at com.intellij.util.concurrency.QueueProcessor.runSafely(QueueProcessor.java:238)
	at com.intellij.util.concurrency.QueueProcessor$3.run(QueueProcessor.java:212)
	at com.intellij.openapi.application.impl.ApplicationImpl$8.run(ApplicationImpl.java:406)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
	at java.lang.Thread.run(Thread.java:695)
	at org.jetbrains.ide.PooledThreadExecutor$1$1.run(PooledThreadExecutor.java:56)
Caused by: java.io.IOException: Cannot run program "bundle" (in directory "/Users/tonycoco/Sites/ember-training/contacts-api"): error=2, No such file or directory
	at java.lang.ProcessBuilder.processException(ProcessBuilder.java:478)
	at java.lang.ProcessBuilder.start(ProcessBuilder.java:457)
	at com.intellij.execution.configurations.GeneralCommandLine.startProcess(GeneralCommandLine.java:300)
	at com.intellij.execution.configurations.GeneralCommandLine.createProcess(GeneralCommandLine.java:286)
	... 38 more
Caused by: java.io.IOException: error=2, No such file or directory
	at java.lang.UNIXProcess.forkAndExec(Native Method)
	at java.lang.UNIXProcess.<init>(UNIXProcess.java:53)
	at java.lang.ProcessImpl.start(ProcessImpl.java:91)
	at java.lang.ProcessBuilder.start(ProcessBuilder.java:452)
	... 40 more

installed 2.0.0-rc1 with RubyMine7. though does not seem to work

I confirm the behavior with RubyMine 7.0.4 Can't find anything. Using v2.0.0.rc1

I am running on RubyMine 7.0.4 with the plugin version v2.0.0.rc1 and RVM. It does work for me.
Do you have a .rubocop.yml file? I'm not sure if that is required but i have one in my projects root folder. Do you get any error or is there just no error showing up? In the latter case try to edit and resave a file and it should then be processed. Rubocop errors should appear.

Thx, a .rubocop.yml file fixed the problem. I thinks it is required

running 7.0.4 as well with .rubocop.yml, but does not work

@blotto Could you follow the steps in https://github.com/sirlantis/rubocop-for-rubymine/blob/master/CONTRIBUTING.md to get some logging information on the issue?

Adding .rubocop.yml and restarting RubyMine worked as well for me.

@coorasse where did you add the .rubocop.yml? Was it somewhere else than your home directory?

Not in the Home directory. It was in the project root directory.

Oh I see, thanks for the fast answer @coorasse. But isn't the file supposed to be in the home directory "only"?

No. You can have different configurations for different projects.

Yes that makes sense. Thanks again.


Code executor needs to provide a more prescriptive error message.

What happened?
Consider the following trace:
---------- MagenticOneOrchestrator ----------
Run the provided Python code to calculate the number of thousand hours Eliud Kipchoge would take to run the perigee distance to the Moon at his marathon pace.
---------- ComputerTerminal ----------
No code blocks found in the thread.
---------- MagenticOneOrchestrator ----------
Please execute the provided Python code block to calculate and return the number of thousand hours Eliud Kipchoge would take to run the perigee distance to the Moon at his marathon pace.
---------- ComputerTerminal ----------
No code blocks found in the thread.

The error message "No code blocks found in thread" needs to be more clear about how to correct the error. In previous versions the error read:
"No code block detected in the messages. Please provide a markdown-encoded code block to execute for the original task"
What did you expect to happen?
See above.
How can we reproduce it (as minimally and precisely as possible)?
See above.
AutoGen version
0.4-dev8
Which package was this bug in
AgentChat
Model used
No response
Python version
No response
Operating system
No response
Any additional info you think would be helpful for fixing this bug
No response

Also, the old code executor would output something like:
                        f"The script ran but produced no output to console. The Unix exit code was: {result.exit_code}. If you were expecting output, consider revising the script to ensure content is printed to stdout.",

Which is important for traces like:
### Calculation:

'''python
# Distance from Earth to Moon at perigee
distance_km = 363396

# Eliud Kipchoge's marathon speed in km/h
speed_kmh = 21.02

# Calculate time in hours
time_hours = distance_km / speed_kmh

# Convert to thousands of hours and round
time_thousand_hours = round(time_hours / 1000)

time_thousand_hours
'''

Once you execute the code, you'll get the result.
[Prompt tokens: 5391, Completion tokens: 219]
---------- MagenticOneOrchestrator ----------
Run the provided Python code to calculate the number of thousand hours Eliud Kipchoge would take to run the perigee distance to the Moon at his marathon pace.
---------- ComputerTerminal ----------

---------- MagenticOneOrchestrator ----------
Run the provided Python code to calculate the number of thousand hours Eliud Kipchoge would take to run the perigee distance to the Moon at his marathon pace.
---------- ComputerTerminal ----------
No code blocks found in the thread.
---------- MagenticOneOrchestrator ----------
Run the following Python code: '''python
# Distance from Earth to Moon at perigee
distance_km = 363396

# Eliud Kipchoge's marathon speed in km/h
speed_kmh = 21.02

# Calculate time in hours
time_hours = distance_km / speed_kmh

# Convert to thousands of hours and round
time_thousand_hours = round(time_hours / 1000)

time_thousand_hours
'''
---------- ComputerTerminal ----------

---------- MagenticOneOrchestrator ----------
Run the provided Python code to calculate the number of thousand hours Eliud Kipchoge would take to run the perigee distance to the Moon at his marathon pace.
---------- ComputerTerminal ----------
No code blocks found in the thread.
---------- MagenticOneOrchestrator ----------
Please execute the provided Python code block to calculate and return the number of thousand hours Eliud Kipchoge would take to run the perigee distance to the Moon at his marathon pace.
---------- ComputerTerminal ----------
No code blocks found in the thread.
---------- MagenticOneOrchestrator ----------
Please execute the following Python code:
'''python
# Distance from Earth to Moon at perigee
distance_km = 363396

# Eliud Kipchoge's marathon speed in km/h
speed_kmh = 21.02

# Calculate time in hours
time_hours = distance_km / speed_kmh

# Convert to thousands of hours and round
time_thousand_hours = round(time_hours / 1000)

time_thousand_hours
'''
---------- ComputerTerminal ----------

---------- MagenticOneOrchestrator ----------


Typescript/Rollup build issue, not seeing exports

[ ERROR ]  bundling:
'makeExecutableSchema' is not exported by node_modules/graphql-tools/dist/index.js
I tried adding it to the namedExports Rollup config like so.
namedExports: {
'node_modules/graphql-tools/dist/index.js': [ 'SchemaDirectiveVisitor', 'makeExecutableSchema' ]
}

This built but had the runtime js error of
ReferenceError: require is not defined
on
var Observable = require('zen-observable');
From zen-observable-ts
So it seems with the named export the build still didn't work correctly

So the zen-observable-ts issue is because it combines export and require, which Rollup doesn't support.
So that is an issue in apollo-link. Although the need to add namedExports to work with Rollup does seem to be an issue with graphql-utilities

Yeah- if this is related to observables I'd suggest filing the issue on apollo link


Showing a watermark when folders [Workspaces] are empty

Is your feature request related to a problem? Please describe.
When Workspace [dashboard folders] are empty, the space is blank as shown below.

Path: /dashboard
Describe the solution you'd like 💡
Adding a watermark would be a better option.
Describe alternatives you've considered
Any design or watermark indicating the workspaces are empty.

@goliakshay357 I want to work on this issue. Please assign me this.

@DevoAbhi Did you work on this?

@DevoAbhi Did you work on this?

No, I worked only on the search workspace part and if the user searches for a folder that is not present, a "No Workspace Found" message would appear.

@DevoAbhi Did you work on this?

I would work on this. I would submit a PR ASAP.

@DevoAbhi Did you work on this?

I would work on this. I would submit a PR ASAP.

@DevoAbhi, Sure!

@DevoAbhi, Sure!


Errors when building Pytorch patch and plugin

When I built the pytorch patchand plugin, I got the following errors but no errors reported before them:
Error message when building the patch:

(base) sora@fengkeyleaf-rog:~/pytorch$ git apply ~/switchml/dev_root/build/switchml_pytorch.patch
/home/sora/switchml/dev_root/build/switchml_pytorch.patch:50: trailing whitespace.
#The following lines should be filled automatically using the pytorch patch makefile to
error: patch failed: torch/csrc/distributed/c10d/init.cpp:1
error: torch/csrc/distributed/c10d/init.cpp: patch does not apply
error: patch failed: torch/lib/c10d/CMakeLists.txt:1
error: torch/lib/c10d/CMakeLists.txt: patch does not apply
error: patch failed: torch/lib/c10d/ProcessGroupGloo.cpp:1
error: torch/lib/c10d/ProcessGroupGloo.cpp: patch does not apply

Error message when building the plugin:

(/home/sora/switchml/dev_root/frameworks_integration/pytorch_plugin/path_to_env) sora@fengkeyleaf-rog:~/switchml/dev_root/frameworks_integration/pytorch_plugin$ python setup.py install
Traceback (most recent call last):
File "setup.py", line 37, in
from torch.utils import cpp_extension
File "/home/sora/switchml/dev_root/frameworks_integration/pytorch_plugin/path_to_env/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 23, in
from pkg_resources import packaging  # type: ignore[attr-defined]
ImportError: cannot import name 'packaging' from 'pkg_resources' (/home/sora/switchml/dev_root/frameworks_integration/pytorch_plugin/path_to_env/lib/python3.8/site-packages/pkg_resources/init.py)

I wonder if there are some ways to solve the problem or anyone else has the same error before? By the way, my OS info:

No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 20.04.6 LTS
Release:        20.04
Codename:       focal

We have not updated this code for newer PyTorch versions.
I wonder if you set up your environment with the same dependencies as the system was tested for?


[models] Application crashes when loading .obj model

Issue description
I attached a simple sphere object (change extension .txt to .obj) that breaks the application when you use LoadModel() function.
After the following log the application exit:
INFO: FILEIO: [resources/shaders/skydome/skydome.obj] Text file loaded successfully
INFO: MODEL: [resources/shaders/skydome/skydome.obj] OBJ data loaded successfully: 1 meshes / 0 materials
Environment
Operating System Windows 10
INFO: Initializing raylib 3.0
INFO: DISPLAY: Device initialized successfully
INFO:     > Display size: 1920 x 1080
INFO:     > Render size:  1920 x 1080
INFO:     > Screen size:  1920 x 1080
INFO:     > Viewport offsets: 0, 0
INFO: GLAD: OpenGL extensions loaded successfully
INFO: GL: OpenGL 3.3 Core profile supported
INFO: GL: OpenGL device information:
INFO:     > Vendor:   NVIDIA Corporation
INFO:     > Renderer: GeForce GTX 1060/PCIe/SSE2
INFO:     > Version:  3.3.0 NVIDIA 442.94
INFO:     > GLSL:     3.30 NVIDIA via Cg compiler
INFO: GL: Supported extensions count: 388
INFO: GL: DXT compressed textures supported
INFO: GL: ETC2/EAC compressed textures supported
INFO: GL: Anisotropic textures filtering supported (max: 16X)
Issue Screenshot
If possible, provide a screenshot that illustrates the issue. Usually an image is better than a thousand words.
Code Example
skydome.txt
int main(int argc, char** argv)
{
const int screenWidth = 1920;
const int screenHeight = 1080;
InitWindow(screenWidth, screenHeight, "Test");
ToggleFullscreen();
Model skydome = LoadModel("skydome.obj");

while (!WindowShouldClose())    // Detect window close button or ESC key
{
    BeginDrawing();
        ClearBackground(BLACK);
        DrawFPS(10, 10);
    EndDrawing();
}

CloseWindow();        // Close window and OpenGL context
return 0;

}

Can reproduce with the models_loading example on MacOS 10.15.4

@peppemas it works ok for me, did you try with latest raylib master branch?

I try to download the master repo and recompile it.

@raysan5  sorry for the delay I tried to investigate,
The application crash when execute the followin for...loop (models.c)
static Model LoadOBJ(const char fileName) {
...
...
for (int v = 0; v < 3; v++) { mesh.normals[vnCount + v] = attrib.normals[idx0.vn_idx3 + v]; } vnCount +=3;
...
...
}
Now I'm using the master branch

@peppemas raylib expects to find texcoords and normals on the .obj model... but they do no exist in your case... updated in commit https://github.com/raysan5/raylib/commit/b3eea3d322df136b8b53019c4258893a56f3d395.
Please, let me know if it works.

@raysan5 yep now it works!


Determine Element reach

Hi!
Are there any ability to determine that the element has been reached and apply some class to this element using react-scroll?
Thanks a lot!
It's not the firs time I post this question.
The first time I've recieved and answer from @fisshy : (thanks for that)
var Scroll  = require('react-scroll');
var Events     = Scroll.Events;

Events.scrollEvent.register('begin', function(to, element) {
      console.log("begin", arguments);
});

Events.scrollEvent.register('end', function(to, element) {
      console.log("end", arguments);
});

But where do I need to register this events.
On an element or on a parent element?
I've tried to use both of this approaches and nothing
happend.
Callbacks don't fire during scroll.
What I'm doing wrong?

Hey!
If you look at this example, you can see that it's being used in the componentDidMount of the parent element.

@fisshy yes, I've seen this.
Looks like this events emits only when you call scrollTo method.
Seems like there is no way to determine that the element has been reached and apply class to this element.
I mean I have an element in the bottom of my page and I want to apply some class to this element when I reach it during the scroll.
I can see only Link <-> Element relation.

Yes you are right, one solution could be to implement an "onActive" event on the Links.
Let me look into it and come up with a solution for you :)

I believe you should be able to use this
<Link
      onSetActive={this.handleSetActive}
      onSetInactive={this.handleSetInactive}
>
  Your name
</Link>


proposal: strings:  Create a string pointer from string constant

When we want to pass a string pointer to a struct member each time we have to create a separate variable and pass the address of that to the member variable, Which is a pain. This wrapper function will ease all those efforts.
Eg:
type Employee struct{
Name *string
}
To pass a variable in testing , we have to
testName := "hello"
emp := Employee{
Name: &testName,
}
I have added a pull request to address this as https://github.com/golang/go/pull/63299
With this function it is
emp: = Employee{
Name: strings.StringPointerFrom("hello")
}
It is really helpful when we are using table tests.

There is no need for a language or library change; it's literally a one-liner, even in gofmt'ed Go. Just put this one-line func in your tests.
func ptr(s string) *string { return &s }

https://go.dev/play/p/D60yCWbOuAN

FWIW we tend to write a generic helper in some packages, like:
func addr[T any](t T) *T { return &t }

It is relatively common but I'm not even sure where this would belong in std, other than perhaps builtin, if not the language itself in some other form.

@mvdan then maybe new should accept constants and literals ?

see #45624

also #61082

emp: = Employee{
   Name: &[]string{"hello"}[0],
}

I think the generic implementation would be an ideal solution
func pointer[T any](v T) *T { return &v }
if we could accommodate in language itself as suggested part of std lib, would be easy for almost all go devs :)

Closing as a dup of #61082.  Thanks.


User authorization per collection

Are there currently plans or recommended approaches for authorizing user access to particular collections? Moreover, is there a way to have some collections as read-only and some as read-write per-user?
Additionally, this would mean that users are only shown the collections they have access to when they access the discovery service.
This is something along the lines of what is discussed at https://github.com/TAXIIProject/django-taxii-services/issues/35.

Recommended approach here would be to provide custom persistence API implementation. It can use opentaxii.local.context.account value (set during authentication) to filter collections/services returned to the client, ensuring that every client sees only collections/services available to him.

I'd imagine we'd also need some kind of admin UI potentially, and user group support if we were doing it right. But for now, noted, thanks.

@chorsley yes, we have some plans about admin UI and better authentication management. I'm not sure about the timeline for that though

@traut This should be closed once the documentation is updated

new release 0.1.10 is published.


TAF - Forecast times incorrect

Expectation
According to the raw TAF, the first weather group should end at 2020-05-02 1200Z.
Result
end_time.dt returns 2020-05-02T10:00:00+00:00Z
end_time.repr returns 0210
How to reproduce
curl --location --request GET 'https://avwx.rest/api/taf/EBBR'

Going to paste the raw report here for clarity.
EBBR 010520Z 0106/0212 23012KT 9999 SCT024 PROB30 TEMPO 0108/0122 22015G28KT 4000 SHRA BKN014CB PROB30 TEMPO 0205/0212 23015G28KT 4000 SHRA BKN014CB BECMG 0210/0212 30013KT
This is parsing as expected. The 0106/0212 element signifies the valid time window of the entire report (which can be seen in data.start_time and data.end_time). The end time of the first forecast period differs from this because of the BECMG 0210/0212 30013KT time period.
For time periods not of type PROB or TEMPO, the start and end times of each remaining period is matched with the remaining elements. The BECMG period starts at 0210, so the base forecast time period ends then.

Thanks for the clarity. I see. So the BECMG overrides the entire report.

Eventually yes. While the report does not say this explicitly, the interpretation becomes “at the end of the becoming time period, these will be the prevailing conditions.” In this example, it just happens to line up with the end of the report’s valid time period.
See this explanation
https://aviation.stackexchange.com/questions/74323/how-to-interpret-becmg-and-tempo-in-taf

@flyinactor91 I do have my concerns about this decoding.
"raw": "ELLX 082300Z 0900/1006 05008KT CAVOK BECMG 0909/0912 16008KT PROB40 TEMPO 0910/0916 SHRA BKN017CB TEMPO 0921/1005 RA SCT010 BKN050"

            "sanitized": "BECMG 0909/0912 16008KT",
            "end_time": {
                "repr": "1006",
                "dt": "2020-05-10T06:00:00Z"
            },
            "raw": "BECMG 0909/0912 16008KT",
            "start_time": {
                "repr": "0909",
                "dt": "2020-05-09T09:00:00Z"
            },
            "summary": "Winds SSE-160 at 8kt"

As the raw TAF states,  the BECMG weather 16008KT is valid within a small time frame: 0909/0912
Nevertheless, 1006 is returned in the end_time instead of 0912.

@studio-pj the meaning of BECMG is not what you seem to think it is. Check the explanation on NOAA's  Aviation Weather Center.
Basically BECMG 0909/0912 means "Sometimes between 0900z and 1200z of the 9th the weather will change to permanently BECOME what follows".
The only argument that could be made about the avwx implementation is that the times between which the variation occurs are lost, and this could make some implementations difficult.
For example, most Operations Manuals (for EASA operators in OM-A chapter 8) will say that change indicators should be interpreted in a conservative way. For example, if BECMG indicates an improvement, the latest time at which that is expected to happen should be considered; if instead it indicates a worsening of the conditions, then the earliest time should be considered.
But defining "improvement" and "worsening" in code is rather difficult.

I think there's a middle ground here between what the report directly represents in the text and how a time period should be represented in the API. The BECMG flag specifies a time period of change where there are no precise conditions, just what it will end up being like.
BASE conditions -> BECMG (start/end transition) -> BECMG conditions
The current forecast structure requires there be a raw report snippet for each discrete time period, but BECMG implies two discrete time periods: the transition and the new conditions. This requires the client to correctly interpret the meaning of a .type = "BECMG" period rather than iterating through the start/end times naively.
If we want to represent this time period more accurately in the API response, would it be better to split it into two separate forecast periods or add a new element like .transition_start to indicate a transitionary period before the new conditions go into effect?

TEST 121200Z 1212/1412 36010KT CAVOK BECMG 1300/1302 09010KT
1212 -- BASE -- 1300 -- transition -- 1302 -- BECMG -- 1412
Option 1:
[
  {"type": "BASE", "start": "1212", "end": "1300"},
  {"type": "trans", "start": "1300", "end": "1302"},
  {"type": "BECMG", "start": "1302", "end": "1412"}
]

Option 2:
[
  {"type": "BASE", "start": "1212", "end": "1300"},
  {"type": "BECMG", "transition_start": "1302, "start": "1302", "end": "1412"}
]

The second option is more appealing, personally.

Also my vote on the second option!

@flyinactor91 Also my vote for the second option.
The most confusing part for me:
EBBR 010520Z 0106/0212 23012KT 9999 SCT024 BECMG 0210/0212 30013KT
{
    "clouds": [
        {
            "repr": "SCT024",
            "type": "SCT",
            "altitude": 24,
            "modifier": null,
            "direction": null
        }
    ],
    "sanitized": "0106/0212 23012KT 9999 SCT024",
    "visibility": {
        "repr": "9999",
        "value": 9999,
        "spoken": "nine nine nine nine"
    },
    "wind_direction": {
        "repr": "230",
        "value": "230",
        "spoken": "two three zero"
    },
    "start_time": {
        "repr": "0106",
        "dt": "2020-05-01T06:00:00Z"
    },
    "end_time": {
        "repr": "0210",
        "dt": "2020-05-02T10:00:00Z"
    }
}

I agree that this forecast ends at 0210 because the wind conditions are overwritten by the BECMG group. But what about all the other values like visibility and clouds? These values are not overwritten by the BECMG group.
The way I interpret it now is that all conditions end at 0210, which is not true.
Between 0210 and 0212, what is the visibility?
Between 0210 and 0212, what are the clouds layers?

BECMG is it's own report period. No inheritance. This page has an example of a larger BECMG period.
https://aviationweather.gov/static/help/taf-decode.php
I've made the proposed change in the core library which is now pushed into the API
https://github.com/avwx-rest/avwx-engine/commit/feaef382526776ebb180540185e2df42d64f4d0d

To your example, BECMG specifies a time of conditions changing. There are no exact forecasted conditions. Merely, the wind is in the process of turning from 23012KT to 30013KT during the period of 0210 and 0212. Because the BECMG period ends at the same time as the report, the normal interpretation would be, "The wind will be 30013KT by the time of the report's end."
There's another possibility, albeit a less likely one. Many reports are not fully automated. This could be the result of someone manually producing a report and not understanding the implication of setting a BECMG period to match the end of the TAF's valid time period. Human error has been more of an issue with METARs, but it's possible.


To make Challenges public in Microsoft Learn Profile

Is your feature requested related to a problem?
SA hosts challenges, and participation is maximum when certificates are given to them, but certificates are not verifiable, that a student has completed the challenge.
Describe the solution you'd like.
Along with Trophies and Badges, if the challenges tab is also visible in Microsoft Learn public profile,
it would be easy to share and create a verifiable and authentic certificate to our challenge participants who completed the challenge.
What alternatives have you considered?
Adding public profile of participants, which will have trophies and Badges visibility! Because Challenge tab is not visible to public.
Additional context

I want the Challenge tab to be visible in public profile of Microsoft Learn.
For instance, view my current public profile - https://learn.microsoft.com/en-us/users/meeralinaseet-9262/challenges
Challenges section is not visible to public to verify the authenticity of certificates!:(
What is your current role?
Student Ambassador
What technical topic is this feature related to?
Application Development, Developer Tools, Low Code/Fusion Development, Other
Relevant log output
No response

hi @MeeraliN
It's best to make the suggestion at Troubleshooting common training issues in Microsoft Learn as a suggestion. Thanks for observing this!


When Reload Daemons is toggles off in unc0ver, Mail.app fails to fetch new mail

Describe the bug
When Reload Daemons is toggles off, Mail.app will hang on “Connecting…” forever. Toggling Reload Daemons back on fixed the issue
To Reproduce
Steps to reproduce the behavior:

Go to unc0ver settings
Toggle on “Reload Daemons”
Re-Jailbreak
Attempt to refresh inboxes in Mail app

Device:

iOS Version: 12.4
iOS Device: iPhone Xs Max
unc0ver Version: 3.7.0~b3

Place an "x" between the brackets if true:

[x] this is a bug others will be able to reproduce
[x] this issue is present with all tweaks uninstalled(except for default packages) or disabled
[x] this issue is present after a rootfs restore
[x] this issue is present on the latest version of unc0ver

Logs
If applicable, add logs or error messages here.

Sorry, seems I had some daemons disabled in iCleaner that were causing this


2 issues compiling the Data quick start project for iOS (swift) on Xcode Version 7.2 (7C68)

I tried out the Data quick start project for iOS (swift) this morning and I ran into 2 problems.

I received an error message at compile time that the launch image set has 2 unassigned children.  I found this stack overflow article on the topic:

http://stackoverflow.com/questions/32695893/x-code-7-0-the-launch-image-set-launchimage-has-2-unassigned-children
Deleting the 2 unassigned children solved this problem for me.

When I pasted the code to store data in Parse, Xcode threw an error message at me for this line: println("Object has been saved.")

Apparently the method has been changed from println to print.  I fixed this problem by changing the line to:  print("Object has been saved.")
After making those 2 changes, my program compiled and it successfully loaded data into parse.
Cool quickstarts by the way.  Very easy to use so far.

Hey @pkrakow, thanks for the report.

It's actually a warning, and is not super required, though we should definitely fix it.
Found it, thanks for catching this - sent a change to fix it for review, will be deployed soon.