Persistent Top/Bottom Bar doesn't work

Hello JeansenVaars,
first of all, thank you for the great tool u wrote for FVTT.
Everything works for me, except the "Persistent Top or Bottom Bar".
When I double click or minimize any sheet, it just disappears.
Using FVTT 0.8.9
Window Controls v1.2.0

Philip

Hello @PhilMC157 Thank you for the kudos! Could you share which System are you testing with? It is likely an issue with some specific system. If you have any other worlds or system to test with, would be appreciated the information.

I have found a bug in the module that could be causing this, but it could also be there other reason.

OK, the bug I found is related to Windows that have strange characters in the names, like parenthesis or brackets, cause an issue in Persistent mode

I have released 1.2.1 with such Fix now.

Whatever u did, it is working now. Many thanks.
OS: Win10
Game System: Call of Cthulhu

Glad to hear! Express customer service :D have fun

yes, 100% express service! highly appreciated.


how is the version of dprint and typescript plugin configured

Does this ship with a fixed version of dprint and it's typescript plugin? If so, can I make it use specific versions of these?
Btw. given that there has not been any commits to this repo since 2020, is there another recommended way to use dprint in a project which already uses eslint? Thanks!

@adrian-gierakowski I'd just run eslint and dprint separately.
You can add the command to your linting script alongside eslint in package.json, in your CI, in .pre-commit, etc.
You can take a look at this plugin's config to give you some ideas of what to disable in your own eslint config. Basically anything stylistic that dprint can take care of, to speedup eslint.

Thanks @Avasam, that’s what I ended up doing :)

Hi everybody, I have made a new plugin since this project is dead. Here it is: https://github.com/so1ve/eslint-plugin-dprint-integration. It does not fix dprint plugin typescript's version and supports more kinds of files. And it is also more configurable (you can customize the settings for each file type). If you are interested in it, please try it out and feedback to me, thanks!


SparkNet for CPU-only clusters

Could you provide SparkNet for CPU-only clusters ?

Hi Ravi, we built some jars without CUDA. It should work if you try changing the relevant lines in build.sbt to
resolvers += "javacpp" at "http://www.eecs.berkeley.edu/~rkn/snapshot-2016-03-16-CPU/"

libraryDependencies += "org.bytedeco" % "javacpp" % "1.2-SPARKNETCPU"

libraryDependencies += "org.bytedeco.javacpp-presets" % "caffe" % "master-1.2-SPARKNETCPU"

libraryDependencies += "org.bytedeco.javacpp-presets" % "caffe" % "master-1.2-SPARKNETCPU" classifier "linux-x86_64"

libraryDependencies += "org.bytedeco.javacpp-presets" % "opencv" % "3.1.0-1.2-SPARKNETCPU"

libraryDependencies += "org.bytedeco.javacpp-presets" % "opencv" % "3.1.0-1.2-SPARKNETCPU" classifier "linux-x86_64"

libraryDependencies += "org.bytedeco.javacpp-presets" % "tensorflow" % "master-1.2-SPARKNETCPU"

libraryDependencies += "org.bytedeco.javacpp-presets" % "tensorflow" % "master-1.2-SPARKNETCPU" classifier "linux-x86_64"

Basically, change the URL to snapshot-2016-03-16-CPU and change all of the instances of SPARKNET to SPARKNETCPU.

Great! Thanks. I will try it out.

Closing because this is addressed. Please reopen if you encounter a problem.

Sure, thanks.

Is the March 16 snapshot still the best way to get cpu only?

Yes, it is.

Hi,
I am also trying to build for CPU only clusters. I changed the URL to snapshot-2016-03-16-CPU and change all of the instances of SPARKNET to SPARKNETCPU as instructed above. But it still gives me the below error.
[error] (*:update) sbt.ResolveException: unresolved dependency: org.bytedeco#javacpp;1.2-SPARKNETCPU: not found
[error] unresolved dependency: org.bytedeco.javacpp-presets#caffe;master-1.2-SPARKNETCPU: not found
[error] unresolved dependency: org.bytedeco.javacpp-presets#opencv;3.1.0-1.2-SPARKNETCPU: not found
[error] unresolved dependency: org.bytedeco.javacpp-presets#tensorflow;master-1.2-SPARKNETCPU: not found
Kindly help me with this.
Thanks and Regards,
Sitakanta Mishra

+1


Race condition in downloads when running multiple jobs (manifests as 'file not found')

Hi! Truly truly amazing release. Congratulations!
I've been running into some issues when running multiple folds in parallel some of them fail with this error. Any ideas what I might try? it seems to not do this when running multipel
Traceback (most recent call last):
  File "/aian/scripts/Chai/run_chai.py", line 25, in <module>
    output_paths = run_inference(
                   ^^^^^^^^^^^^^^
  File "/software/envs/chai/lib/python3.11/site-packages/torch/utils/_contextlib.py", line 115, in decorate_context
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/software/envs/chai/lib/python3.11/site-packages/chai_lab/chai1.py", line 271, in run_inference
    chains = load_chains_from_raw(fasta_inputs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/software/envs/chai/lib/python3.11/site-packages/chai_lab/data/dataset/inference_dataset.py", line 164, in load_chains_from_raw
    conformer_generator = RefConformerGenerator()
                          ^^^^^^^^^^^^^^^^^^^^^^^
  File "/software/envs/chai/lib/python3.11/site-packages/chai_lab/data/sources/rdkit.py", line 58, in __init__
    conformers_cache_file = paths.cached_conformers.get_path().as_posix()
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/software/envs/chai/lib/python3.11/site-packages/chai_lab/utils/paths.py", line 51, in get_path
    download(self.url, path=self.path)
  File "/software/envs/chai/lib/python3.11/site-packages/chai_lab/utils/paths.py", line 39, in download
    tmp_path.rename(path)
  File "/software/envs/chai/lib/python3.11/pathlib.py", line 1175, in rename
    os.rename(self, target)
FileNotFoundError: [Errno 2] No such file or directory: '/software/envs/chai/lib/python3.11/site-packages/downloads/conformers_v1.download_tmp' -> '/software/envs/chai/lib/python3.11/site-packages/downloads/conformers_v1.apkl'

hi Ian,
thx for reporting, this part of code is not protected from race conditions, will fix

@arogozhnikov would Chai be interested in a community contribution PR to this issue?

would Chai like a community contribution to close this issue?

fixed in #114  (install new version from github!)


Does calico support to float ip if the docker container restart or transfer another machine?

We discourage people from re-using IPs; Calico allocates IPs for efficient routing (by keeping IPs in the same subnet together on one host).  Re-using an IP on a different host fragments the routing table, which is undesirable.
Is there a particular application that you have in mind or a particular use case that requires re-using an IP?

Closing as stale


⚠ Samsung has degraded performance

In c047be0, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2929 ms

Resolved: Samsung performance has improved in b6e9123.


How to use this list in Selenium

Please provide a basic usage guide on how to feed this list to Selenium and verify the results. Thank you.

You might want to ask that question on either Stackoverflow or the Selenium forum/mail-list...

@niutech also this is highly dependent on the website that you're trying to test?

I've found the example usage in this post: https://wonderproxy.com/blog/big-list-of-naughty-strings/


Improve video sw generator

This PR add support for XRGB32 format to the video sw generator as this is useful to test camera and display pipeline on i.MX RT11XX. It also contains some minor fixes.
The first commit (which adds XRGB fourcc) is part of another PR and could be dropped if that PR is merged first :

include: video: Add XRGB32 pixel format

Hi @loicpoulain ,
Could you help to review this one ?
Thanks

@loicpoulain I made a mistake in the commit "drivers: video: sw_generator: Fix set_format
Instead of moving static const struct video_format_cap fmts[], I dupplicated it. I 've just pushed force to fix this.
Could you please approve the PR again ? Sorry for this !

Added @loicpoulain as the assignee as he is the maintainer of the drivers\video
@danieldegrasse can you give this a review?


iframe responsiveoption

Hi ,
The iframe responsive option just works in Chrome but does not work in Mozilla or IE.
EXAMPLE : The following code will work in chrome, but not in IE or Mozilla.
NOTE : It works fine in IE and Mozilla if I take out the responsive option from the iframe.

Bug reports must include a live demo of the problem. Per our contributing guidelines, please create a reduced test case via CodePen or JS Bin and report back with your link, Bootstrap version, and specific browser and OS details.
This is an automated reply


sched/wdog: fix adding one extra tick to any delay

Summary
This changes tremendously improve Real-Time performance of the OS and apps since till now an extra system tick was added by wd_start() and that lead to wrong timing in the system for all functionality that relies on wdog
Impact
All over the system and apps
Testing
Tested on SAME70-QMTECH board that toggles GPIO periodically. The pulse width and period are right as expected

This is an incorrect change and has has been rejected numerous times.  It is a consequence of faulty testing.  There is an good explanation of why this change is incorrect here:  https://cwiki.apache.org/confluence/display/NUTTX/Short+Time+Delays
This has to be at least the 10th time this change has been suggested and rejected.  The most recent was just a couple of months ago.  I will try to find it for your.
If this change were merged, it might improve timing in your faulty test case, but will introduce fatal timing errors in other cases.
THIS MUST NOT BE MERGED!!!

I can't find the most recent discussions.  I can't remember if they were email discussions or PR discussions.  There are many other discussions with people are confused themselves into trying to remove that +1 which is just totally wrong.
Perhaps we should put some comments there to prevent this from happening yet again in the future?

BTW, you can't get the more accuracy than one tick.. Sleep one tick is between 0-1 tick with your patch, Sleep one tick is between 1-2 tick without your patch. So there isn't much difference from the accuracy perspective. But, most people expect the real sleep should be longer than request.

I did find the last time this came up.  Here https://github.com/apache/incubator-nuttx/pull/4805, #4805
Please read the comments there too.  There many other discussions in the old Google and Yahoo! groups as well.  Like https://groups.google.com/g/nuttx/c/iMvPKunE2VA/m/YAOmm_FsBgAJ , https://nuttx.yahoogroups.narkive.com/v1gmmM8U/inaccurate-watchdog-delay , to mention a couple more.

I can't find the most recent discussions.  I can't remember if they were email discussions or PR discussions.  There are many other discussions with people are confused themselves into trying to remove that +1 which is just totally wrong.
Perhaps we should put some comments there to prevent this from happening yet again in the future?

Yes. Comment would be fine. But without this change the POSIX timers and timerfd are running with errors and that also seems not to be fine. I agree that things like sleep or delay may have +1 (actually +N) accuracy, but I do not expect timers to have so bad accuracy especially for periodic timers. Let's not merge this change and I will think how timers can be fixed.

@gregory-nutt please send me the link to explanation and I will insert it into the code.

Adding one or not has nothing to do with accuracy.  The accuracy will be the same in either case.  The only thing that changes in the mean error.  If you don't add one, the error will lie in -1 to 0 ticks (which can be fatal).  If you do add one, the error will lie within 0 and +1 ticks.  Same accuracy.
timerfd is newer and perhaps has an error.  I am unfamiliar with the design.  wdog is 100% correct, if there is a problem with POSIX timers or timerfd, they should be fixed.  wdogs should not be changed due to errors in other timers.
Here is a two sentence summary that could be used as a comment:  "The contract with the use is that the wdog will delay FOR AT LEAST as long as requested, but may delay long due to variety of factors.  The wdog has no knowledge of the the phase of the system timer when it is started: The next timer interrupt may occur immediately or may be delayed for almost a full cycle. In order to meet the contract requirement, the requested time is also always incremented by one so that the delay is always at least as long as requested."

Yes. The operation of wdog and delays is fully understood and I 100% agree with that. The timerfd was introduced recently, but they are implemented 90% the same a POSIX timers and POSIX timers rely on wdog so currently have accumulative if periodic timers are used. I think that is bad and should be fixed. The first expiration of a POSIX timers can have +1 tick, but all subsequent should not. I will try to see how that can be fixed. Maybe we can add extra path from systick interrupt and introduce separate timer recalculation path.

Probably the fast fix is to subtract 1 tick from delay is timer reoccurrence handler :)
Seems to be very simple and elegant and should give desired behavior

Following up in https://github.com/apache/incubator-nuttx/pull/5424

When I said that the tests that most people run are "faulty", the usual problem is that they are starting the watching timer in phase with the system time, essentially at phase 0.  That is not a random start time, but is a fixed worst case start time and results in the largest error each time.  That is a consequence of the faulty test.  If the wdog is started at random times, you would see that the behavior is more or less perfect.
The way to avoid accumulating errors from wdog times (which have inherent time errors anyway) is to use the current time to determine that time of the next tick.
For example, don't do the moral equivalent of:
  for (; ;)
    {
       delay(x);
    }

That might causes a loop with a period of x+1 on a system that not busy.  It would then run synchronous with the system time in that case ("faulty").  On a busy system, the period could be nearly random, which is maybe worse.
But if you do something logically equivalent to:
  clock_t last_time = current_time;
  for (; ; )
    {
      clock_t next_time = last_time + x;
      clock_t current_time = clock_systime_ticks();
      int ticks = next_time - current_time;
      last_time = next_time;
      delay(ticks);
  }

That is crappy code (any maybe not even correct), but you get this idea.  You track the time that you want using the current time error for corrections.  This may result in with a potentially variable number of ticks.  And the time will never drift.
If the delay is one tick to large, it will be one tick smaller next time.  This should stabilize quickly to a good periodic timer and is better resistant to system load.
You can even do some dithering to get effectively higher resolution.  For example, I could generate a period event that is 2.5 x the system timer (although each period could differ by one tick).

That is crappy code (any maybe not even correct), ...

It is certainly not correct.  What we want is an error based on the time that we wanted and the time that we got, then to apply the error to the delay.  Maybe this is closer:
  clock_t last_time = current_time;
  for (; ; )
    {
      clock_t next_time = last_time + x;
      clock_t current_time = clock_systime_ticks();
      int error= next_time - current_time;
      last_time = next_time;
      delay(x + error);
   }

So after x ticks elapse, and current time is one more the expected time, then the next delay would be x - 1

Yes. I got the idea. I'm familiar with time drift compensation techniques. But the case that I'm trying to fix is next. I'm having a system with 10ms systick. I want to organize a periodic event (for example send a message) with 30ms. To use this I'm arming periodic POSIX timer with 30ms period and have a task that is waiting for a signal published by POSIX timer. When signal is received, the message is sent. I assume that I can achieve better or less accuracy by setting task priority depending on the load of my system. But what I'm getting is a message with 40ms period not depending from task priority. I do not see any reasons for that, but that is how currently it works. So this is not a sleep() use case.

I'm late to the party but I just wanted to add that I was also confused by the + 1 tick in the past and I remember writing to ask about it. I think it might be in the old Google Group. I don't have the link handy at this time. What Greg is describing above sounds a little like a Bresenham-style algorithm. It works for drawing slanted lines on a graphic display but also works for things like fitting a time intervals that don't divide easily. In my case, it turned out that I needed a much higher resolution timer and for that I ended up using one of the chip's timer peripherals to produce an interrupt (zero-latency in my application). I recognize that that is not always an option but may be something to consider. Anyway this PR is closed so this is a moot point now.

You are welcome to participate in discussion https://github.com/apache/incubator-nuttx/pull/5424


Carthage 0.15.2 Failed to read file or folder at..

I am having trouble using EarlGrey with Carthage. I managed to build it with carthage by specifying master branch as source but then when I try to run it I get " Failed to read file or folder at"
which I found similar to issue https://github.com/Carthage/Carthage/issues/1096
I was looking at EarlGrey-Info.plist and did not find  CFBundlePackageType  property with FMWK value instead there is APPL.
Should we create another .plist for the xcscheme for Carthage or can we just change APPL to FMWK?

APPL is not a supported package type by Carthage so I'm guessing we'd have to change to FMWK.

+1

Even without Carthage, I think APPL is wrong because EarlGrey is not an app.

CFBundlePackageType (String - iOS, OS X) identifies the type of the bundle and is analogous to the Mac OS 9 file type code. The value for this key consists of a four-letter code. The type code for apps is APPL; for frameworks, it is FMWK; for loadable bundles, it is BNDL. For loadable bundles, you can also choose a type code that is more specific than BNDL if you wan
https://developer.apple.com/library/ios/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html#//apple_ref/doc/uid/20001431-111321

True, I have forked EarlGrey and commited FMWK to my master - will now try to build my tests with it. I will let you know today if it is all fine.

+1

I created a pull request. Carthage works fine now. I am not sure why second file was also included into the merge. If it is my overlook just let me know.

You sign the CLA and you're good to go :) Thank you for doing this!

Closing this as the PR has been merged =)
Thank you once again!


Feature request: Allow custom mount point and folder name for static content

Right now static content is always read from static and mounted at the root. It would be useful to be able to decide through command line parameters:

where the static content is read from, eg:

    cargo web start --static-folder=assets

where the static content is mounted in the server

    cargo web start --static-mount=/assets

This among other things would make it easier to have files that can be read from a desktop version of an application and the wasm one while testing from the same folder using the same relative paths.
For example in the examples above one might have assets to an application stored in an assets folder. When reading them compiling an application as desktop one can read the files using File::open or any other file reading facilities as:
    File::open("assets/image.png").unwrap()

And from the web as:
    load_img("assets/image.png")

Where load_img is for example a function using something like: https://gist.github.com/kngwyu/a92b784195aab433143a582b248f4112  to read an image asynchronously.
This allows to have resources in any folder and to have the paths stored for example in constants or config files that are the same for both a desktop and web version of the same application.
If this is of any interest I can look into sending a PR

Definitely! Although instead of putting those on the command line they should be specified in Web.toml. (In general I'd like to never have to require the users to pass any special parameters to cargo web start for it to work properly.)


Ternary plot scrollbar is hidden

Make the scrollbar for the ternary plot visible by giving a maximum width

This is a bug of the plot.


Variables are throwing runtime errors when using ternary ifs with nullable result

Bicep version
v0.21.1
Describe the bug
After refactoring our templates, some of our variables are triggering errors during the deployments with the following pattern Unable to process template language expressions for resource '/subscriptions/id/resourceGroups/rg/providers/provider/resource/resourcename' at line '1' and column '2254'. 'The template variable 'variable' is not found. Please see https://aka.ms/arm-syntax-variables for usage details..
To Reproduce
@allowed([
  'Standard_LRS'
  'Standard_GRS'
  'Standard_ZRS'
  'Premium_LRS'
])
@description('Redudancy of the storage account')
param st_type string = 'Standard_LRS'

@minLength(3)
@maxLength(24)
@description('Name of the storage account to create')
param st_name string = length(replace(replace(resourceGroup().name, 'rg', 'st'), '-', '')) > 24 ? replace(replace(replace(resourceGroup().name, 'rg', 'st'), '-', ''), '', '') : replace(replace(resourceGroup().name, 'rg', 'st'), '-', '')

@description('Location of the storage account')
param st_location string = resourceGroup().location

@description('Tags to apply on the resource')
param tags object = resourceGroup().tags

@description('Switch to enable public access to the resource')
param isPublic bool = true

@description('Allow the use of account keys to the storage')
param allow_shared_key_access bool = true

@description('Switch to enable hierarchic namespace and allow datalake on the storage account')
param hierarchic_namespace_enabled bool = false

@description('Switch to configure public access to the account')
var publicNetworkAccess = (isPublic ? 'Enabled' : 'Disabled')
@description('Switch to configure default network action')
var defaultNetworkAction = isPublic ? 'Allow' : 'Deny'
@description('Configure default tls version')
var default_tls_version = 'TLS1_2'
@description('Switch to configure hierarchic namespace')
var is_hns_enabled = hierarchic_namespace_enabled == false ? null : true

resource storageAccountName_resource 'Microsoft.Storage/storageAccounts@2021-08-01' = {
  name: st_name
  location: st_location
  kind: 'StorageV2'
  tags: tags
  sku: {
    name: st_type
  }
  properties: {
    isHnsEnabled: is_hns_enabled
    allowSharedKeyAccess: allow_shared_key_access
    publicNetworkAccess: publicNetworkAccess
    supportsHttpsTrafficOnly: true
    allowBlobPublicAccess: false
    minimumTlsVersion: default_tls_version
    networkAcls: {
      defaultAction: defaultNetworkAction
    }
  }
}

@description('Name of the storage account that is created')
output st_name_output string = st_name
output st_endpoints_output object = storageAccountName_resource.properties.primaryEndpoints
output st_id_output string = storageAccountName_resource.id

Additional context
When putting the ternary condition in front of the isHnsEnabled property, the deployment run successfully.
If the ternary if used for the variable only returns non-nullable values (like for defaultNetworkAction), the error does not appear at runtime.
For the example given, we could use a false instead of a null for the Hns property. However for resources like Microsoft.Web/sites, we don't have the luxury to pass anything other than null for either WindowsFxVersion or LinuxFxVersion depending on the os of the app service plan.
It would be very useful to be able to have nullable variables passed to properties to ignore some properties during deployment.

The repro sample given above compiles with no diagnostics using Bicep 0.21.1. Could you verify the version you're using locally? (The VS Code extension version may not match the version reported by az bicep version.)

The exact version taken from the generated during our CI runs is the following:
"metadata": {
                        "_generator": {
                            ...
                            "version": "<IP_ADDRESS>444"
                            ...
                        }
                    },

The issue is not only local and also happens in our CI/CD pipelines with Microsoft hosted agents.
For example when running the sample on a hosted agent, it compiles to this:
{
    "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
    "contentVersion": "<IP_ADDRESS>",
    "parameters": {
        "st_type": {
            "defaultValue": "Standard_LRS",
            "allowedValues": [
                "Standard_LRS",
                "Standard_GRS",
                "Standard_ZRS",
                "Premium_LRS"
            ],
            "type": "String",
            "metadata": {
                "description": "Redudancy of the storage account"
            }
        },
        "st_name": {
            "defaultValue": "[if(greater(length(replace(replace(resourceGroup().name, 'rg', 'st'), '-', '')), 24), replace(replace(replace(resourceGroup().name, 'rg', 'st'), '-', ''), '', ''), replace(replace(resourceGroup().name, 'rg', 'st'), '-', ''))]",
            "minLength": 3,
            "maxLength": 24,
            "type": "String",
            "metadata": {
                "description": "Name of the storage account to create"
            }
        },
        "st_location": {
            "defaultValue": "[resourceGroup().location]",
            "type": "String",
            "metadata": {
                "description": "Location of the storage account"
            }
        },
        "tags": {
            "defaultValue": "[resourceGroup().tags]",
            "type": "Object",
            "metadata": {
                "description": "Tags to apply on the resource"
            }
        },
        "isPublic": {
            "defaultValue": true,
            "type": "Bool",
            "metadata": {
                "description": "Switch to enable public access to the resource"
            }
        },
        "allow_shared_key_access": {
            "defaultValue": true,
            "type": "Bool",
            "metadata": {
                "description": "Allow the use of account keys to the storage"
            }
        },
        "hierarchic_namespace_enabled": {
            "defaultValue": false,
            "type": "Bool",
            "metadata": {
                "description": "Switch to enable hierarchic namespace and allow datalake on the storage account"
            }
        }
    },
    "variables": {
        "publicNetworkAccess": "[if(parameters('isPublic'), 'Enabled', 'Disabled')]",
        "defaultNetworkAction": "[if(parameters('isPublic'), 'Allow', 'Deny')]",
        "default_tls_version": "TLS1_2",
        "is_hns_enabled": "[if(equals(parameters('hierarchic_namespace_enabled'), false()), null(), true())]"
    },
    "resources": [
        {
            "type": "Microsoft.Storage/storageAccounts",
            "apiVersion": "2021-08-01",
            "name": "[parameters('st_name')]",
            "location": "[parameters('st_location')]",
            "tags": "[parameters('tags')]",
            "sku": {
                "name": "[parameters('st_type')]"
            },
            "kind": "StorageV2",
            "properties": {
                "isHnsEnabled": "[variables('is_hns_enabled')]",
                "allowSharedKeyAccess": "[parameters('allow_shared_key_access')]",
                "publicNetworkAccess": "[variables('publicNetworkAccess')]",
                "supportsHttpsTrafficOnly": true,
                "allowBlobPublicAccess": false,
                "minimumTlsVersion": "[variables('default_tls_version')]",
                "networkAcls": {
                    "defaultAction": "[variables('defaultNetworkAction')]"
                }
            }
        }
    ],
    "outputs": {
        "st_name_output": {
            "type": "String",
            "value": "[parameters('st_name')]",
            "metadata": {
                "description": "Name of the storage account that is created"
            }
        },
        "st_endpoints_output": {
            "type": "Object",
            "value": "[reference(resourceId('Microsoft.Storage/storageAccounts', parameters('st_name')), '2021-08-01').primaryEndpoints]"
        },
        "st_id_output": {
            "type": "String",
            "value": "[resourceId('Microsoft.Storage/storageAccounts', parameters('st_name'))]"
        }
    }
}

But the deployment errors out with this error: Unable to process template language expressions for resource '/subscriptions/id/resourceGroups/rg-dev-devops-testing-we/providers/Microsoft.Storage/storageAccounts/stdevdevopstestingwe' at line '77' and column '5'. 'The template variable 'is_hns_enabled' is not found. Please see https://aka.ms/arm-syntax-variables for usage details.'. Click here for details

Thanks for the compiled template, @GABRIELNGBTUC! I was able to reproduce the error when deploying the template.
It looks like ARM will block variables whose value is a null literal but will permit expressions that evaluate to null, though (as you found out) such an expression will cause a deployment error if the variable is dereferenced from within a resource body.

@GABRIELNGBTUC we've found a workaround. It's tricky but it works for us.
var nullable = {
  throughput: database.?Throughput[?environmentName].?Throughput
  throughputOverride: database.?Throughput.?TenantOverrides[?tenantCode][?environmentName].?Throughput
}

...

resource
...
    options: {
      throughput: nullable.throughputOverride ?? nullable.throughput
    }
 ...

This example does not cover all use cases because sometimes it's more complex than this, e.g. when you can not pass null to a resource parameter.

The fix is already checked in and is awaiting deployment.

The fix has been rolled out to all regions.


GMail fails to fetch from hotmail.com account since Jun 7, 2016

Turned out outlook.com (or whatever Microsoft's email service) changed their setting. As suggested in this post, manually enable pop back did the work for me.

GMail says Error: Server is temporarily unavailable. Mail from this account has not been retrieved since June 9. Needs a deeper look.

This seems to be fixed.


Allow launching apps by URL

Mobile platforms allow opening other apps by specific URLs, e.g. http:// URLs would open the browser, mailto: URLs an email app, tel: the dialer, etc. Apps can also register for custom URL schemes.
For example, the corresponding iOS would be UIApplication.
This could be made available by a method on the app object, e.g. app.open(url) or app.lauch(url).

This is an easy to implement feature. Do we have a proposed API for this feature?

app.launch(url) this is now available on all platforms.


Full runtime config support

Configs are loaded at runtime.
Module configs are kept, still having higher priority.
Configs now are read in the following order, the later ones take priority:

mix configs

config :my_app, MyMailer, # the configs

module configs

defmodule MyMailer do
  use Swoosh.Mailer, otp_app: :my_app, # other configs
end

function configs

MyMailer.deliver(email, the_custom_configs)

system env
All the {:system, "ENV_VAR"} are finally loaded

close #84

@stevedomin please take another look

extracted the config parsing into a function, calling it parse_config because it's taking both compile time and run time into account
the only thing being checked at compile time is that otp_app is set, adapter is no longer checked
adapter is fetch!'ed at run time

Looks good!

@princemaple pretty interesting article about config in Elixir libraries from @michalmuskala: http://michal.muskala.eu/2017/07/30/configuring-elixir-libraries.html


Version bump Hyperfoil to 0.11 to overcome a memory leak in a driver.

This PR looks to bring in a fix for a memory leak.

Missing update in deployments/requirements.yaml ?
$ cat deployment/requirements.yaml
- src: hyperfoil.hyperfoil_setup
  version: 0.9.1
- src: hyperfoil.hyperfoil_shutdown
  version: 0.9.1
- src: hyperfoil.hyperfoil_test
  version: 0.9.1

I think the version of Hyperfoil can progress independently of the Ansible scripts. But in anycase we can change the commit to include these scripts. To pick up any new features. I'll push another commit.


Feature/ar he fix

Hebrew translation yml had :en as the locale key.

This PR includes #81, so I just applied it myself. Thanks for noticing!


drivers: serial: lpc11u6x: allow to configure data polarity

This patch adds support for the rx-invert and tx-invert device-tree properties to the uart_lpc11u6x driver for USARTs 1, 2, 3 and 4.
Note that this feature is not supported by USART 0.

I used this feature to verify the ws2812_uart LED strip driver (https://github.com/zephyrproject-rtos/zephyr/pull/72713)  on a lpcxpresso11u68 board.


Cannot use an expression of which the static type is a union of iterable types in a foreach statement

Description:
$title.
Steps to reproduce:
public function main() {
    map<int>|map<string> m = {a: 1};

    foreach int|string item in m {

    }
}

Affected Versions:
slbeta3-rc5

Tracked in #35557.


Improvements to the loop ordering heuristic

[ ] Intersection loops above non-intersection loops in nests that exceed input depth
[ ] Beyond that, Sparse loops above dense loops in nests that exceed input depth
[ ] Beyond that, concordant traversal

This is too complicated for right now


[See nested exception: java.sql.SQLSyntaxErrorException: Unknown column 'IS_VOLATILE' in 'where clause']

[See nested exception: java.sql.SQLSyntaxErrorException: Unknown column 'IS_VOLATILE' in 'where clause']

你这个不是SQL异常吗，数据库表里面没加这个字段吧。看不出来和这个框架有什么联系。

We can not debug with these information. Please submit better description of your problem.

It has been resolved because the project has two different versions of packages.We have import packages using maven, but there are also all conflicts in lib.


Added handling class modifiers when creating new character status, mo…

…dified api to return category ids for class modifiers and skills instead of category dtos

Contains backend implementation for: https://github.com/adamskibicki/levelling-assistant/issues/25


new G1 rules

This pull requests adds a number of new G1 rules. In the process of adding them, some changes needed to be made to the G1 UL parser

@kirk-microsoft - I think if you rebase and pick up Heinz's fix and the test should pass


bug() - mockDomSource chaining select() bug fix

WIP -  still failing test can't work out how to curry the select

@staltz sorted but Travis isn't able to boot up the iphone versions it seems!!

Let's ignore iphone versions for now. It's clearly not an error from our side (I've seen it happen in other PRs).
Thanks for this PR!


If A Field Is A String And A Value Is A Bool, Set The String Value Of The Bool

This PR is more tolerant of "bare" (unquoted) default values which represent boolean values. If the value is true or false, defaultValue will be set to "true" or "false".

@joefitzgerald Is this a fix for #31

Yes, but obviously that wasn't reported at the time I submitted this PR.


Updates angular_1_router.js to commit bbc56b0

fixes #6

angular introduced different behavior which requires extra configuration for files, closing until figured out


Revert merge annotations to the implicit root context

This PR fixes #558 reverting #527. A proper fix I propose is to move approot from Location to Server struct. I can take care of this in the next few days. @aledbf what about the proposal?
@gianrubio FYI

This change is

Coverage increased (+0.01%) to 44.193% when pulling 239166b4b78a9bf3de0bbf2d4a059658b28ef7a9 on jcmoraisjr:jm-ann-approot-1 into 7ca7652ab26e1a5775f3066f53f28d5ea5eb3bb7 on kubernetes:master.

/lgtm

thanks @jcmoraisjr


[Bug] [share_plus] Not working in iPad

Platform
iOS 15.5
Plugin
share_plus
Version
4.0.10
Flutter SDK
2.10.5
Steps to reproduce
Just create share option.
Code Sample
No response
Logs
[Default] Task Runner[2857]/1#4 LF=0 couldn't find entitlement CopresenceCore.Entitlement.publicAPI error nil
[LayoutConstraints] Unable to simultaneously satisfy constraints.
	Probably at least one of the constraints in the following list is one you don't want.
	Try this:
		(1) look at each constraint and try to figure out which you don't expect;
		(2) find the code that added the unwanted constraint or constraints and fix it.
	(Note: If you're seeing NSAutoresizingMaskLayoutConstraints that you don't understand, refer to the documentation for the UIView property translatesAutoresizingMaskIntoConstraints)
(
    "<NSAutoresizingMaskLayoutConstraint:0x2800903c0 h=-&- v=--& _UIActivityContentNavigationBar:0x10810b830.minY == 0   (active, names: '|':UILayoutContainerView:0x108126c40 )>",
    "<NSAutoresizingMaskLayoutConstraint:0x280093ed0 h=-&- v=--& _UIActivityContentNavigationBar:0x10810b830.height == 50   (active)>",
    "<NSLayoutConstraint:0x280086260 V:[_UIActivityContentNavigationBar:0x10810b830]-(0)-[UIFocusContainerGuide:0x281ce80f0'UINavigationControllerContentFocusContainerGuide']   (active)>",
    "<NSLayoutConstraint:0x280086710 UIFocusContainerGuide:0x281ce80f0'UINavigationControllerContentFocusContainerGuide'.bottom == UILayoutContainerView:0x108126c40.bottom   (active)>",
    "<NSLayoutConstraint:0x2800f90e0 V:|-(0)-[UILayoutContainerView:0x108126c40]   (active, names: '|':UIView:0x107c68960 )>",
    "<NSLayoutConstraint:0x2800fab70 UILayoutContainerView:0x108126c40.bottom == UIView:0x107c68960.bottom   (active)>",
    "<NSLayoutConstraint:0x280088c80 'UIView-Encapsulated-Layout-Height' UIView:0x107c68960.height == 0   (active)>"
)
Will attempt to recover by breaking constraint
<NSLayoutConstraint:0x280086260 V:[_UIActivityContentNavigationBar:0x10810b830]-(0)-[UIFocusContainerGuide:0x281ce80f0'UINavigationControllerContentFocusContainerGuide']   (active)>
Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKitCore/UIView.h> may also be helpful.

### Flutter Doctor

```shell
[✓] Flutter (Channel stable, 2.10.5, on macOS 12.4 21F79 darwin-x64, locale en-IN)
    • Flutter version 2.10.5 at /Users/user2/fvm/versions/2.10.5
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 5464c5bac7 (3 months ago), 2022-04-18 09:55:37 -0700
    • Engine revision 57d3bac3dd
    • Dart version 2.16.2
    • DevTools version 2.9.2

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/user2/Library/Android/sdk
    • Platform android-31, build-tools 31.0.0
    • ANDROID_HOME = /Users/user2/Library/Android/sdk
    • ANDROID_SDK_ROOT = /Users/user2/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.4.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.11.2

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

[✓] VS Code (version 1.68.1)
    • VS Code at /Users/user2/Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.44.0

[✓] Connected device (1 available)
    • MY's iPad (mobile) • 00008030-001965503CC3C02E • ios • iOS 15.5 19F77

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

• No issues found!

`// _onShare method:
final box = context.findRenderObject() as RenderBox?;
await Share.share(
text,
subject: subject,
sharePositionOrigin: box!.localToGlobal(Offset.zero) & box.size, // add this
);`
My bad this is due to not adding the required parameter.

Not working for iPad Pro (12.9-inch) (5th generation) both simulator and physical device.


Starry AI classified as a phising website

Seems quite legit based on reviews.

Will look into it - do you have a URL to look at? (Searching for starry in the all.json list brings up nothing, so not sure which domain it is)

It seems like this is already fixed. Closing it.


Angular + Material update from v18 to v19

This is the update for Angular and Material to new version 19.
It seems to work really well.
It's also part of caring about software to update regularly to latest versions :)

Awaiting for that merge so I may work on the mire-than-twi guests connection


Submissions Stuck for Competition 4430

Dear Codabench Team,
We are the moderators of competition 4430 and are facing significant issues with the platform's performance. These issues are impacting our ability to efficiently manage the competition, particularly given the scale of our challenge, which involves almost 700 students. Below, we outline the main concerns:
1. Submissions Stuck in the "Submitting" Phase
Submissions are often stuck in the "submitting" phase for extended periods. For example, this happened last night (7 PM to 7 AM). New submissions began processing and scoring properly after 7 AM but old ones did not. Worker logs show no significant issues except for occasional failures to unpack bundle data:
an2dl-worker3  | [2024-11-15 11:11:07,170: INFO/ForkPoolWorker-11] Getting bundle https://miniodis-rproxy.lisn.upsaclay.fr/coda-v2-prod-private/prediction_result/2024-11-15-1731666877/be333d307345/prediction_result.zip?AWSAccessKeyId=EASNOMJFX9QFW4QIY4SL&Signature=y%2B5f998wuOiJIl%2Ff7YXQ%2B65FdAw%3D&Expires=1732100954 to unpack @ input/res
an2dl-worker3  | [2024-11-15 11:11:07,302: INFO/ForkPoolWorker-11] Failed. Retrying in 60 seconds...

Our server resource usage (RAM, CPU, disk, network) appears normal during these periods. Of course, we tried restarting the workers but with no effect. How can we determine if the delays are due to Codabench platform issues or worker-related problems? What actions can we take to resolve these delays?
2. Performance Issues in Submission Management
The "Submissions" section got extremely slow to load. The issue is still present when filtering submissions by user or status, making it impractical to properly sort and manage them.
3. Student Quota Management
Codabench enforces a 15GB storage limit for each user. However, there is no option to delete old submissions to free up storage space. We understand that this feature is still under development, but we ask if there is a way to address deletions at this scale adequately.
These issues are critical to maintaining service uptime for our students. Thank you in advance for your assistance.
Best regards,
Alberto

I close this issue to keep track of it on #1666


Converting invalid to property to match Flow checklist

Connected to #29

This change is

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 3 committers have signed the CLA.:white_check_mark: web-padawan:x: manolo:x: tomivirkkiYou have signed the CLA already but the status is still pending? Let us recheck it.

Reviewed 3 of 3 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable

Reviewed 3 of 3 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable


Added support for Android concurrent connections (multiple networks)

Impovements on this forks
For apps targeting Android 12 (API level 31) or higher, devices that support concurrent peer-to-peer and internet connections can maintain simultaneous Wi-Fi connections to both the peer device and the primary internet-providing network, making the user experience more seamless.
We add support for Android concurrent connections, routing all data traffic to the peer-to-peer network connection selecting the correct network based on the host DHCP address or subnet address.
This change is essential to open a tcp socket and send data towards ioT devices that expose a WiFi network without internet access.
See: https://developer.android.com/about/versions/12/behavior-changes-12#concurrent-connections.
Executed tests
I've tested this changes on three devices - all works great:

Google Pixel 8 - Android 14
Samsung A22 - Android 13
Redmi Note 7- Android 10

React Native version is 0.74.1

If nothings happens in the next weeks I will be tempted to start of a fork of this project but in the mean timeI will use the patch strategy: https://medium.com/@yusufsancakk/comprehensive-guide-to-patching-react-native-packages-f7f73836ce6c

Hi @vricosti the project seem not maintained too much unfortunately. I've made my fork, and now i'm using that fork on my personal package.json.
"react-native-tcp-socket": "github:smartmedev/react-native-tcp-socket",

Hi @Rapsssito ! I've just removed the changes from README.md so you can merge the PR

I can not get a connection to my peer-to-peer device while being connected to the network with internet access via Wifi.
Does the concurrent network behaviour only applies to have multiple connections using Wifi or also connections via Ethernet (USB adapter)? In my case I'm using a peer-to-peer connection to my external device using an ethernet-to-USB adapter. The device is giving IP address using a DHCP server.
While my phone has an active wifi connection, I can not connect to the socket on my external device using the device IP address. If I disconnect wifi, the device gets instantly connected to my phone.
Using Samsung Galaxy A13 and Huawei Mate 20 lite.


Help a beginner maybe?

Hi.
New to GitHub as well as iOS dev.
Need help on how to implement the wobbleview in an app. From basics like where to write the code.
thanks.

Read about using custom views on the internet, there is sooo many tutorials! Look at Ray Wenderlich :)


[WIP] Reusable command buffers

This PR introduces a type-safe API for reusable command buffers through a type parameter on CommandBuffer.
Currently, only HAL support exists, I have not yet updated the backends or examples. This will be trivial on Vulkan, however I have not investigated other backends yet. I am aware that Metal does not natively support reusable command buffers, so we will have to emulate them there. See #1588.
I may extend this PR to include support for secondary command buffers as well, hence the branch name.

Uh oh, seems for some reason #[derive] let me do something it shouldn't have. Will have to rethink how this works a bit.


chore: Replaced versioned URLs with new ones

Description
I have replaced the decommissioned versioned URLs with the correct new URLs based on the provided list.
PR fixes following issue(s)
Fixes https://github.com/appsmithorg/appsmith/issues/25513
Type of change

Bug fix (non-breaking change which fixes an issue)
Chore (housekeeping or task changes that don't impact user perception)

@somangshu - The changes look good to me. Could you please go ahead and do the needful for merging?


Add the ability to change / disable pre-implemented keyboard shortcuts.

I'd love to see the ability to remap / disable some pre-implemented keyboard shortcuts such as CTRL+Z, CTRL+Y etc.
Usage example: In my application, I want to run some methods before and after the base.Undo() event, which is called by the CTRL+Z shortcut, but sadly, there's no way to catch it.
Another idea would be to add a Undone / Redone event to the editor, but I think shortcut remapping would also do the trick.

I'd really like to use AvalonEdit in my application, but I need to handle Undo/Redo outside the scope of any one control.  Is there a way to get AvalonEdit to stop intercepting Ctrl-Z when it has focus so that my window-level input binding handles it?  Otherwise I don't think it's going to be possible for me to use AvalonEdit at all.

		var handler = (TextAreaDefaultInputHandler)textEditor.TextArea.ActiveInputHandler;
		handler.Detach();
		RemoveBinding(ApplicationCommands.Undo);
		RemoveBinding(ApplicationCommands.Redo);
		handler.Attach();

		void RemoveBinding(ICommand command)
		{
			foreach (var binding in handler.InputBindings.ToList()) {
				if (binding.Command == command)
					handler.InputBindings.Remove(binding);
			}
			foreach (var binding in handler.CommandBindings.ToList()) {
				if (binding.Command == command)
					handler.CommandBindings.Remove(binding);
			}
		}

Hope this helps...
Alternatively, you could implement your own TextAreaInputHandler(s)...


Switch from Selenium to Cuprite

Looks like a significant performance enhancement is possible: https://janko.io/upgrading-from-selenium-to-cuprite/

I don't think we're going to do this. Looks like there's a fair amount of work involved, and system specs are working well right now with Selenium.


Large FileVar in Jobs not possible

Environment

Python version: 3.10.2
Nautobot version: 1.3.0

Steps to Reproduce

Create a Job with a FileVar, e.g.:

class UploadJob(Job):
    source_file = FileVar(description="Test large uploads")

    class Meta:
        name = "Upload Job"

    def run(self, data, commit):
        return super().run(data, commit)

Run Job via webinterface and upload a large file (e.g. 20mb are sufficient)

Expected Behavior
Job should run without errors.
Does run successfully with small files.
Observed Behavior
Job fails with:
Environment:

Request Method: POST
Request URL: http://localhost:8000/extras/jobs/plugins-nautobot_goenet_ssot-jobs-uploadjob/run/

Django Version: 3.2.13
Python Version: 3.10.2
Installed Applications:
['django.contrib.auth',
 'django.contrib.contenttypes',
 'django.contrib.sessions',
 'django.contrib.messages',
 'django.contrib.staticfiles',
 'django.contrib.humanize',
 'cacheops',
 'corsheaders',
 'django_filters',
 'django_jinja',
 'django_tables2',
 'django_prometheus',
 'mptt',
 'rest_framework',
 'social_django',
 'taggit',
 'timezone_field',
 'nautobot.core.apps.NautobotConstanceConfig',
 'nautobot.core',
 'django.contrib.admin',
 'django_celery_beat',
 'db_file_storage',
 'nautobot.circuits',
 'nautobot.dcim',
 'nautobot.ipam',
 'nautobot.extras',
 'nautobot.tenancy',
 'nautobot.users',
 'nautobot.utilities',
 'nautobot.virtualization',
 'django_rq',
 'nautobot.third_party.drf_spectacular',
 'drf_spectacular_sidecar',
 'graphene_django',
 'health_check',
 'health_check.storage',
 'django_extensions',
 'nautobot.core.apps.ConstanceDatabaseAppConfig',
 'django_ajax_tables',
 'debug_toolbar',
 'nautobot_goenet_ssot.NautobotGoenetSsotConfig']
Installed Middleware:
['debug_toolbar.middleware.DebugToolbarMiddleware',
 'django_prometheus.middleware.PrometheusBeforeMiddleware',
 'corsheaders.middleware.CorsMiddleware',
 'django.contrib.sessions.middleware.SessionMiddleware',
 'django.middleware.common.CommonMiddleware',
 'django.middleware.csrf.CsrfViewMiddleware',
 'django.contrib.auth.middleware.AuthenticationMiddleware',
 'django.contrib.messages.middleware.MessageMiddleware',
 'django.middleware.clickjacking.XFrameOptionsMiddleware',
 'django.middleware.security.SecurityMiddleware',
 'nautobot.core.middleware.ExceptionHandlingMiddleware',
 'nautobot.core.middleware.RemoteUserMiddleware',
 'nautobot.core.middleware.ExternalAuthMiddleware',
 'nautobot.core.middleware.ObjectChangeMiddleware',
 'django_prometheus.middleware.PrometheusAfterMiddleware']

Traceback (most recent call last):
  File "/home/jcrystall/.cache/pypoetry/virtualenvs/nautobot-AA8H3BzY-py3.10/lib/python3.10/site-packages/kombu/serialization.py", line 39, in _reraise_errors
    yield
  File "/home/jcrystall/.cache/pypoetry/virtualenvs/nautobot-AA8H3BzY-py3.10/lib/python3.10/site-packages/kombu/serialization.py", line 210, in dumps
    payload = encoder(data)
  File "/home/jcrystall/.cache/pypoetry/virtualenvs/nautobot-AA8H3BzY-py3.10/lib/python3.10/site-packages/nautobot/core/celery/__init__.py", line 97, in _dumps
    return json.dumps(obj, cls=NautobotKombuJSONEncoder)
  File "/usr/lib/python3.10/json/__init__.py", line 238, in dumps
    **kw).encode(obj)
  File "/usr/lib/python3.10/json/encoder.py", line 199, in encode
    chunks = self.iterencode(o, _one_shot=True)
  File "/usr/lib/python3.10/json/encoder.py", line 257, in iterencode
    return _iterencode(o, 0)
  File "/home/jcrystall/.cache/pypoetry/virtualenvs/nautobot-AA8H3BzY-py3.10/lib/python3.10/site-packages/nautobot/core/celery/__init__.py", line 75, in default
    return DjangoJSONEncoder.default(self, obj)
  File "/home/jcrystall/.cache/pypoetry/virtualenvs/nautobot-AA8H3BzY-py3.10/lib/python3.10/site-packages/django/core/serializers/json.py", line 105, in default
    return super().default(o)
  File "/usr/lib/python3.10/json/encoder.py", line 179, in default
    raise TypeError(f'Object of type {o.__class__.__name__} '

During handling of the above exception (Object of type TemporaryUploadedFile is not JSON serializable), another exception occurred:
  File "/home/jcrystall/.cache/pypoetry/virtualenvs/nautobot-AA8H3BzY-py3.10/lib/python3.10/site-packages/django/core/handlers/exception.py", line 47, in inner
    response = get_response(request)
  File "/home/jcrystall/.cache/pypoetry/virtualenvs/nautobot-AA8H3BzY-py3.10/lib/python3.10/site-packages/django/core/handlers/base.py", line 181, in _get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/home/jcrystall/.cache/pypoetry/virtualenvs/nautobot-AA8H3BzY-py3.10/lib/python3.10/site-packages/django/views/generic/base.py", line 70, in view
    return self.dispatch(request, *args, **kwargs)
  File "/home/jcrystall/.cache/pypoetry/virtualenvs/nautobot-AA8H3BzY-py3.10/lib/python3.10/site-packages/nautobot/utilities/views.py", line 94, in dispatch
    return super().dispatch(request, *args, **kwargs)
  File "/home/jcrystall/.cache/pypoetry/virtualenvs/nautobot-AA8H3BzY-py3.10/lib/python3.10/site-packages/django/views/generic/base.py", line 98, in dispatch
    return handler(request, *args, **kwargs)
  File "/home/jcrystall/.cache/pypoetry/virtualenvs/nautobot-AA8H3BzY-py3.10/lib/python3.10/site-packages/nautobot/extras/views.py", line 1041, in post
    job_result = JobResult.enqueue_job(
  File "/home/jcrystall/.cache/pypoetry/virtualenvs/nautobot-AA8H3BzY-py3.10/lib/python3.10/site-packages/nautobot/extras/models/jobs.py", line 536, in enqueue_job
    func.apply_async(args=args, kwargs=kwargs, task_id=str(job_result.job_id), **celery_kwargs)
  File "/home/jcrystall/.cache/pypoetry/virtualenvs/nautobot-AA8H3BzY-py3.10/lib/python3.10/site-packages/celery/app/task.py", line 575, in apply_async
    return app.send_task(
  File "/home/jcrystall/.cache/pypoetry/virtualenvs/nautobot-AA8H3BzY-py3.10/lib/python3.10/site-packages/celery/app/base.py", line 788, in send_task
    amqp.send_task_message(P, name, message, **options)
  File "/home/jcrystall/.cache/pypoetry/virtualenvs/nautobot-AA8H3BzY-py3.10/lib/python3.10/site-packages/celery/app/amqp.py", line 510, in send_task_message
    ret = producer.publish(
  File "/home/jcrystall/.cache/pypoetry/virtualenvs/nautobot-AA8H3BzY-py3.10/lib/python3.10/site-packages/kombu/messaging.py", line 166, in publish
    body, content_type, content_encoding = self._prepare(
  File "/home/jcrystall/.cache/pypoetry/virtualenvs/nautobot-AA8H3BzY-py3.10/lib/python3.10/site-packages/kombu/messaging.py", line 254, in _prepare
    body) = dumps(body, serializer=serializer)
  File "/home/jcrystall/.cache/pypoetry/virtualenvs/nautobot-AA8H3BzY-py3.10/lib/python3.10/site-packages/kombu/serialization.py", line 209, in dumps
    with _reraise_errors(EncodeError):
  File "/usr/lib/python3.10/contextlib.py", line 153, in __exit__
    self.gen.throw(typ, value, traceback)
  File "/home/jcrystall/.cache/pypoetry/virtualenvs/nautobot-AA8H3BzY-py3.10/lib/python3.10/site-packages/kombu/serialization.py", line 43, in _reraise_errors
    reraise(wrapper, wrapper(exc), sys.exc_info()[2])
  File "/home/jcrystall/.cache/pypoetry/virtualenvs/nautobot-AA8H3BzY-py3.10/lib/python3.10/site-packages/kombu/exceptions.py", line 21, in reraise
    raise value.with_traceback(tb)
  File "/home/jcrystall/.cache/pypoetry/virtualenvs/nautobot-AA8H3BzY-py3.10/lib/python3.10/site-packages/kombu/serialization.py", line 39, in _reraise_errors
    yield
  File "/home/jcrystall/.cache/pypoetry/virtualenvs/nautobot-AA8H3BzY-py3.10/lib/python3.10/site-packages/kombu/serialization.py", line 210, in dumps
    payload = encoder(data)
  File "/home/jcrystall/.cache/pypoetry/virtualenvs/nautobot-AA8H3BzY-py3.10/lib/python3.10/site-packages/nautobot/core/celery/__init__.py", line 97, in _dumps
    return json.dumps(obj, cls=NautobotKombuJSONEncoder)
  File "/usr/lib/python3.10/json/__init__.py", line 238, in dumps
    **kw).encode(obj)
  File "/usr/lib/python3.10/json/encoder.py", line 199, in encode
    chunks = self.iterencode(o, _one_shot=True)
  File "/usr/lib/python3.10/json/encoder.py", line 257, in iterencode
    return _iterencode(o, 0)
  File "/home/jcrystall/.cache/pypoetry/virtualenvs/nautobot-AA8H3BzY-py3.10/lib/python3.10/site-packages/nautobot/core/celery/__init__.py", line 75, in default
    return DjangoJSONEncoder.default(self, obj)
  File "/home/jcrystall/.cache/pypoetry/virtualenvs/nautobot-AA8H3BzY-py3.10/lib/python3.10/site-packages/django/core/serializers/json.py", line 105, in default
    return super().default(o)
  File "/usr/lib/python3.10/json/encoder.py", line 179, in default
    raise TypeError(f'Object of type {o.__class__.__name__} '

Exception Type: EncodeError at /extras/jobs/plugins-nautobot_goenet_ssot-jobs-uploadjob/run/
Exception Value: Object of type TemporaryUploadedFile is not JSON serializable

@jcrystall Try adding the following to your nautobot_config.py:
DATA_UPLOAD_MAX_MEMORY_SIZE = 1024 * 1024 * 20  #20M
FILE_UPLOAD_MAX_MEMORY_SIZE = DATA_UPLOAD_MAX_MEMORY_SIZE
The default for Django is 2.5mb.

I'm aware of that setting, but I thought, maybe this is not the intended behavior, at least with the current error message.
I tried to serialize the file similar to nautobot/extras/jobs.py#L352 which crashed the server instance without any error message (maybe not enough memory available).
With a TemporaryUploadedFile the file is in the already iiuc. Would it be possible to use this in a FileProxy or is this a bad idea somehow?

@jcrystall I was talking with another maintainer, The two settings I sent do resolve the issue, but you have other options.
Instead of using the FIleVar with the FileProxy, you can create a real file model that stores the location to the file, and then use the ObjectVar. OR you can create a view that takes the JSON from your file and stores it in a JSONField then having your job use that JSONField.

@smk4664 That might be an option, actually keeping the uploaded files wouldn't be the worst idea in my use case. Thanks!

@jcrystall Is it safe to close this?

Didn‘t get to trying it yet, but the first solution is definitely going to work.


A previously d CSS does not Hot-unload when removed from a View

With the current implementation, there is no signal to the CSS resource when a View is being detached and hence the CSS is never being unloaded (currently that's by design). Therefore removing a <require from="file.css"> from a HTML template has no effect, but making said css file empty, does.

How is this going, figured out a clever solution ?
Great work on this module btw 👍

Thanks! To answer your question: not yet. We're thinking about adding some features to Aurelia to make HMR overall better and easier, but it's not the top priority right now.

Ok, Keep up the good work 👍


[on hold] Vendor Furo so that we can change its Python code

Motivation
We need to change Furo's Python code to work around https://github.com/Qiskit/qiskit_sphinx_theme/issues/328. Its call to _compute_navigation_tree with a maxdepth=-1 results in a 3.5 hour build for Terra because Terra has so many pages. While https://github.com/Qiskit/qiskit_sphinx_theme/pull/451 was able to fix the HTML page sizes being huge, it did not fix the build performance because Furo's Python code would still run, and then only be overridden by our code after.
I have not been able to figure out how to disable/override Python code from an inherited Sphinx theme. I couldn't get monkeypatching to work either. This line causes Sphinx to run all of Furo's setup, including the slow _compute_navigation_tree line:
https://github.com/Qiskit/qiskit_sphinx_theme/blob/10fff40263d084e9f09fde008914b3aea31730a5/src/qiskit_sphinx_theme/theme/qiskit-sphinx-theme/theme.conf#L2
Pre-processing the TOC Tree before it gets to Furo in https://github.com/Qiskit/qiskit_sphinx_theme/pull/474 helped, but it still took 1.5 hours (vs. 3.5 hours), which is too slow. We're planning on restructuring Terra docs to have fewer HTML pages. But even with that, we still will want to make local docs development faster. With local docs, we want to set the navigation_depth to 1 and only use a value like -1 in production builds.
Our hope is that https://github.com/pradyunsg/furo/pull/674 will be accepted, but there is no guarantee and the timeline is out of our control. So, this fork unblocks allowing us to tweak Furo's Python code to avoid the call to _compute_navigation_tree.
If https://github.com/pradyunsg/furo/pull/674 is merged, we will strongly consider reverting this PR.
Fork strategy
We keep a strong emphasis on separating what is base Furo vs. our customization, along with keeping the # of customizations as low as possible.
This PR adds 58 new files, but 57 of them should never have custom changes from us. We make that clear with comments at the top of each file like // This file is vendored from Furo. It should have no changes.. For example, styling changes should never happen in the folder assets/styles/furo, only in our custom files at the root of assets/styles.
This makes it much easier to stay in sync with upstream Furo.
How to sync
We have a new file furo-sync.txt where we write the commit from Furo from the last time we synced.
As before, when we sync, we look closely at every change Furo has made and update our vendored code. This is the same before, only now we need to check more files than before.
Code tweak: only run Furo setup when relevant
We change furo_py/__init__.py to skip its setup when Pytorch is used and when the docs builder is not HTML (e.g. docstest).
Also closes #314
Closes https://github.com/Qiskit/qiskit_sphinx_theme/issues/314 because this hooks up our CSS and JavaScript file to Furo's _add_asset_hashes that adds hashes to the file names so that they are invalidated properly on changes.

Going to close for now. We only want to set navigation_depth for dev builds. Prod should still use -1. Qiskit devs have signed off on the plan to speed things up by reducing the # of HTML pages for API docs.
Hopefully https://github.com/pradyunsg/furo/pull/674 is merged. If not, we can speed up dev builds by using sphinx-remove-toctrees. Fully vendoring Furo is not worth the cost solely to speed up dev builds. While navigation_depth is nicer than sphinx-remove-toctrees, the latter is fine enough for dev builds.


Fine Tuning in PHP

Can you give an example in php when using the fineTunes resource - this is not working:
model.json
[
  {"prompt": "What is Jack Black", "completion": "A comedian"},
  {"prompt": "What is Jack Black", "completion": "A funny guy"}
]

test
public function test_open_ai_fineTuning_test(): void
    {

        try {
            $model= 'curie';
            $result = OpenAI::fineTunes()->create([
                'training_file' => storage_path('/ai/model.json'),
                'model' => $model,
                'n_epochs' => 4,
                'batch_size' => null,
                'learning_rate_multiplier' => null,
                'prompt_loss_weight' => 0.01,
                'compute_classification_metrics' => false,
                'classification_n_classes' => null,
                'classification_positive_class' => null,
                'classification_betas' => [],
                'suffix' => null,
            ]);
            $result = OpenAI::completions()->create([
                'model' => $model,
                'prompt' => 'Who is Jack Black?',
            ]);
        }catch(ErrorException $e){
            $this->assertFalse(true,message: 'code is not working: ' .$e->getMessage());
        }
        if (
            str_contains(haystack: $result['choices'][0]['text'], needle: 'funny guy') ||
            str_contains(haystack: $result['choices'][0]['text'], needle: 'comedian')){
                $this->assertTrue(condition: true, message: 'model was finetuned');
            }else{
            $this->fail('Model Was not fine tuned');
        }
    }
//result: code is not working None is not of type 'string' - 'suffix'

moving to open ai laravel issue board


feat: improved documentation of add-to-existing-project

Added manual installation steps to the doc.

Decided to merge these into one PR since there is not many changes made.


Add command option for sort

Add a command line option for sort. Either ASC for ascending (oldest to newest) or DESC for descending (newest to oldest).

Added in v0.3.0


Running same plot set against against multiple OBS datasets causes files to be overwritten

If you run:
diags --outputdir ~/tmp/diagout/set4 --model path=/space1/test_data/climate_output/,climos=yes --obs path=/space1/test_data/obs/,filter="f_startswith('NCEP')",climos=yes --package AMWG --set 4  --seasons DJF
diags --outputdir ~/tmp/diagout/set4 --model path=/space1/test_data/climate_output/,climos=yes --obs path=/space1/test_data/obs/,filter="f_startswith('ERA40')",climos=yes --package AMWG --set 4  --seasons DJF

on AIMS4, you will be left with 4 combined output files:
set4_Global_DJF_OMEGA-combined.png
set4_Global_DJF_RELHUM-combined.png
set4_Global_DJF_T-combined.png
set4_Global_DJF_U-combined.png

which are based off of the ERA40 dataset (or whichever you run second). It seems like the "easy" fix would be to include what OBS dataset is used in the filename, to prevent the runs from overwriting each other.

Short term fix: don't specify outputdir or make a subdirectory with a different name for each obs.

@mcenerney1 Yeah... looking into this further, I realized I was being dumb, and should just use the metadiags script, which handles a lot of this. It also crashes horribly, but that's a separate problem.

Nevertheless, this is a bug - we should never overwrite files unless we know that the new file is basically the same, i.e. the same plot set and the same data.

Agreed.


fix(multi-select): improve arrow rotation

PR Checklist
Please check if your PR fulfills the following requirements:

[x] The commit message follows Conventional Commits
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[x] Bugfix
[ ] Feature
[ ] Refactoring (no functional changes, no api changes)
[ ] Other... Please describe:

What is the current behavior?
Closes #330
What is the new behavior?
Does this PR introduce a breaking change?

[ ] Yes
[x] No

Other information

Thank you very much!


Instruments wants permission to analyze other processes

DTServiceHub: Instruments wants permission to analyze other processes. Please enter an administrator username and password to allow this.
Username (pronebird): Password:

Failed to authorize rights (0x20) with status: -60007.
instruments: Instruments wants permission to analyze other processes. Please enter an administrator username and password to allow this.
Username (pronebird): pronebird

Snapshot is dead.

@pronebird Could you provide more information? Is that a beta version of Xcode? Has it worked before?

it's Xcode 7 (beta 5). Works with Xcode 6.4 command line tools.

snapshot doesn't support the new Xcode beta as it will soon be updated to support the new UI Tests: https://github.com/KrauseFx/snapshot#note-support-for-ui-tests-with-xcode-7

Got it.

Hi! I'm using Xcode 6.4 + OS X Yosemite with same result :(
Looks like you may need to grant permission for Instruments to analyze other processes.
Please Ctrc + C and run this command: "instruments -w 'iPad Air (8.4 Simulator)' -D '/tmp/snapshot_traces/trace' -t 'Automation' /tmp/snapshot/build/Caponate.app -e UIARESULTSPATH '/tmp/snapshot_traces' -e UIASCRIPT '/Users/mobimento/Desktop/generators_dev/iOSGen/jobs/27404/Project/Caponate/deliver/snapshot_Caponate.js' -AppleLanguages '(en-US)' -AppleLocale 'en-US' "

We are executing Snapshot inside a Runtime.exec() from a Tomcat Server v7.0. We need to programatically execute snapshot (and Instruments) without this grant permission dialog. Any idea?
Thanks!

@pronebird Same problem like me? :S

@osrufung I am afraid not, my issue was related to Xcode 7 beta. Xcode 6.4 works fine. I do run it from console though. Probably your Tomcat server executes command line from some other user that did not give sufficient permissions to instruments. I'd try su -l or something like that and switch to the user that has permissions to run instruments.

@pronebird user executing Tomcat server is the same as Instruments permissions. We use the launchctl system to start Tomcat.

Finally I've solved this problem. 🎉 I've changed my LaunchDaemon script by a LaunchAgent inside ~/Library/LaunchAgents running in the User Login event.
Maybe Xcode+Instruments running in "Daemon Mode" of Launchd is not the best idea. :-(


Update HCO Current State Flow for AL

Design or Research
Update the current state & clinical working lab flow for Baptist.
Tasks

[ ] Synthesize notes
[ ] Update our diagram/flows based on our notes
[ ] Share the notes & Miro board with the rest of our team for their review
[ ] Send back to CDC for their review (EOD Monday)

Additional Context
Add any other context or screenshots about the work here.

To discuss during our next Office Hours (Wed)

"Current State: end-to-end" reviewed with Manjula during Office Hours 04/24/2024.


[Rolemaster Unified Official] Spell casting and defense improvements

Submission Checklist
Required

[x] The pull request title clearly contains the name of the sheet I am editing.
[x] The pull request title clearly states the type of change I am submitting (New Sheet/New Feature/Bugfix/etc.).
[x] The pull request makes changes to files in only one sub-folder.
[x] The pull request does not contain changes to any json files in the translations folder (translation.json is permitted)

New Sheet Details

The name of this game is: <   >  (i.e. Dungeons & Dragons 5th Edition, The Dresden Files RPG)

The publisher of this game is: <   > (i.e. Wizards of the Coast, Evil Hat)

The name of this game system/family is: <   > (i.e. Dungeons & Dragons, FATE)

[ ] I have followed the Character Sheets Standards when building this sheet.

[ ] I have authorization from the game's publisher to make this an official sheet on Roll20 with their name attached.
[ ] This game is not a traditionally published game, but a copy of the game rules can be purchased/downloaded/found at: <   >
[ ] This sheet is for an unofficial fan game, modification to an existing game, or a homebrew system.

Changes / Description

2024-7-16

Display "No Voice" instead of "none" in spells
Show all the modifiers in the casting log all the time.
Can edit spell names
Spell results show RR targets for F, Fm, I and Im spells.
No PP spells now longer check or require PP
Cap passive dodge & passive block at 50
Fix calculation of partial dodge when encumbered (Thanks @filroden)
No stats is equal to a 50.  Makes NPCs super easy.

Character Sheet Info Roll20 Internal Use only.


I do not  want to focus the database update

like the title say,how can i do

Are you kidng?

Got to be kidng


Add podLabels

Hello! 👋🏻
Some environments often enforce labeling policies that don't allow to run workloads without certain mandatory labels.
This PR adds the ability to configure additional labels in the chart values for the pod template spec of the daemonset.

May I ask to bump the helm chart version?


Ability to read the duration of an audio file without playing it

Ability to read the duration of an audio file without playing it
Full Description
It would be great if the duration of an audio file got from assets, URIs and locally stored audio could be got without playing it.
The current method used to get the duration of an audio file after playback has begun can be retained and a separate method can be implemented to get the file's duration. A new method will eliminate the need for a breaking change for the current method used to get the audio file's duration. You could probably refer to the FFProbe class from the FFMpegKit library's docs for ideas. I do not have further knowledge to implement such a feature.
Also, due to encoding, some audio files continue to play even after their total duration has been reached. This causes min >= max error when using Slider widgets in the app. This problem does not occur on media players used in a PC environment or the music player that comes bundled with some Android devices (such as a Samsung A20). Is it possible to workaround this problem?
Platforms
All platforms currently supported by audioplayers

+1

See: #683 #1039 #1215 #1167 #1033


How to install?

Hi @SunDwarf how i can install this? there's a guide to do it?
Regards!

https://github.com/SunDwarf/OWAPI/issues/1
Read these comments, there's an explanation on how to install this.

It may be good to create an Install.md. @SunDwarf
You need Python 3 and an instance of Redis running on the default port (6397?).
What are you running this on? I can write a guide for Ubuntu 14.04 (what I use to run my instance of it).

@azah im running ubuntu 14.04 too.

apt-get python3 wont work because it's 3.4.
You can build your own 3.5 in /opt/ or wherever, or you can use Felix Krull's PPAs.
sudo add-apt-repository ppa:fkrull/deadsnakes
sudo apt-get update
sudo apt-get install python3.5
sudo apt-get install redis-server

python3.5 -m pip install -r requirements.txt
PYTHONPATH=. asphalt run -l uvloop config.yml

and just run that with screen/tmux.


Regression in npm variable substitution on Windows with 5.2.0

cross-env version: 5.2.0
node version: 8.9.4
yarn version: 1.3.2

Relevant code or config

What you did: Using cross-env to generate parameters from npm environment variables.
Problem description: Variable substitution not happening in version 5.2.0

Suggested solution: Restore behavior present in 5.1.6

+1

I'm afraid that I don't have time to dedicate to this package and nobody has made any pull requests to fix this so no there are no releases planned.


Fix store borrow verification

fix verification of store_borrow locations in the MemoryLifetimeVerifier
document that a store_borrow location must not be modified by other instructions in SIL.rst

@swift-ci test

LGTM

LGTM


232 Major Release / Summer '21 🌞 ⛵ 🌊

Critical Changes
Changes
Issues Closed
New Metadata
Deleted Metadata
Definition of Done
Refer to Definition of Done to see any additional details for the items below:

[ ] Any net new LWC work has JEST test coverage 50% or above
[ ] Default Sa11y tests pass for all LWC components
[ ] 🔒 Secure both Front-end (LWC) & back-end (Apex) as necessary
[ ] 🔑 Grant users access in Permission Sets (Object, Field, Apex Class) as necessary
[ ] Link the pull request and work item by PR comment and Chatter post respectively, e.g. GUS: W-0000000: Work Name
[ ] Make sure that ACs are updated (if any gaps)
[ ] All acceptance criteria have been met

[ ] Developer
[ ] Code Reviewer

[ ] Pull Request contains draft release notes
[ ] Labels, help text, and customer facing messages are reviewed by Docs
[ ] QE story level testing completed

Unaggregated Pull Requests

W-9203973 - prerelease org creation fails for OutboundFundsModuleNPSP [PR52]

@jstvz Can you approve this PR? These are just automation changes that we were waiting to merge until 232 packages for OFM and NPSP was completed (no 232 managed release for this repo)


Chat tooltips are offset in 6.2.2

Describe the bug
Offset of the interactive link.

Screenshot on the modpack
Screenshot on vanilla

Modpack version
6.2.2 for 1.21.1
Launcher
Modrinth App
Confirm

[X] This bug report is about an issue with the modpack itself, I have not modified the mods nor added any resource packs. If this is not the case, I know that I should post the issue to modpack's Discord support channel instead.

Additional context

Thanks, that bug is caused by Controlify. No known fix yet, but it has been reported.

Fixed in v6.2.3.


Does this work with react native?

Hey, i’m looking to use this library’s it’s the rnfirebase.io library, i’m not sure if this works with it tho. I really hope so because this is exactly the type of library i’m looking for!

It does not work, I'm trying it now.

There's a warning on the initialize method type. So I need to patch it using patch-package.

diff --git a/node_modules/firebase-firestorm/lib/store.d.ts b/node_modules/firebase-firestorm/lib/store.d.ts
index 426b4f1..1ab573c 100644
--- a/node_modules/firebase-firestorm/lib/store.d.ts
+++ b/node_modules/firebase-firestorm/lib/store.d.ts
@@ -1,11 +1,12 @@
 import * as firebase from 'firebase/app';
 import { IFireormConfig, IStore, IRepository } from './types';
+import { FirebaseFirestoreTypes } from '@react-native-firebase/firestore';
 /**
  * Initializes firestorm with an instance of firestore.
  * @param firestore A firestore instance.
  * @param config Configuration options for firestorm.
  */
-export declare const initialize: (firestore: firebase.firestore.Firestore, config?: IFireormConfig | undefined) => void;
+export declare const initialize: (firestore: FirebaseFirestoreTypes.Module, config?: IFireormConfig | undefined) => void;
 /**
  * Resets the store
  */

Experimental decorator error

I've installed @babel/plugin-proposal-decorators
Then on babel.config.js
"plugins": [
        ["@babel/plugin-proposal-decorators", { "legacy": true }]
]


Added Storage manager

What kind of change does this PR introduce?
Added the ability to manage buckets and files
Bug fix, feature, docs update, ...
What is the current behavior?
It dose not exist
Please link any relevant issues here.
What is the new behavior?
The library can manage the files on supabase trought the endpoint
Feel free to include screenshots if it includes visual changes.
Additional context
I added this because i need it for a project and so i trough you may enjoy an additional features on this library.
Add any other context or screenshots.

Hey @azvaska,
Thank you for your Pull Request and for supporting this library! We have acknowledged the Pull Request and will review it within the next day.

Anyone still working on this?

Okay! @awaska do you mind if I fix this?
@abreumatheus tomorrow is a public holiday where I'm based and I can look into it then.
Thanks for your patience

Yes i'm sorry now i can't work on this so do whatever you want

Okay! @awaska do you mind if I patch this?
@abreumatheus tomorrow is a public holiday where I'm based and I can look into it then.
Thanks for your patience

I think i already fixed most of the issue on my fork but i don't know if i pushed on the right fork, if you want you can take the fixes from my fork

@J0 @azvaska Thank you guys for the amazing work, i'll be following the new PR. 😁

Hey  @azvaska,
Did you happen to know where I might find the MediaFileUploadGeneratorAsync and GDriveHandler classes? Can't seem to find them within the PR. No worries if they aren't implemented yet. Would just like to check.
Thanks again for doing this! It's great work :)

It was a custom class for my client for gdrive, i don't know if i can send you that, basically you need an async generator that returns chunks of data, bases on the size of the parameter chunk

Oh no worries, all good then. Thanks much! Will work with what's available.


Stop autoplay

I'd like to stop autoplay on swipe with mouse. It is currently not possible if pauseOnHover is enabled since any pause issued while hovering will be undone once hovering stops.
Setting pauseOnHover to false with slickSetOption is also ineffectual since the hover events are only bound on startup.
I propose to separate a temporary pause and a complete stop of autoplay into separate values or check the state of pauseOnHover in mouseenter.slick and mouseleave.slick before pausing/unpausing.

Hit this today, if you pause the carousel with slick pause and then mouse out, the pause is undone by the mouse out.

@DavidZidar there were some bugs with autoplay , but they are fixed in master now, hang tight for a release and you'll have more luck with your task :)


Push along with build step

My usage of this plugin is as follows:
step 1. Pre-build image using build and cache-from:
          cache-from:
            - foo:1234.dkr.ecr.us-west-2.amazonaws.com/foo-build:foo-${BUILDKITE_BRANCH}
            - foo:1234.dkr.ecr.us-west-2.amazonaws.com/foo-build:foo-master

step 2. wait
step 3. Push the pre-built image using push:
          push:  foo:1234.dkr.ecr.us-west-2.amazonaws.com/foo-build:foo-${BUILDKITE_BRANCH}

It feels a little redundant to bring up a whole step just to push the image that was built in step 1. Is it possible to push the same image to multiple tags in step 1?

I just saw this: https://github.com/buildkite-plugins/docker-compose-buildkite-plugin/pull/224 -- any plans on getting that in here?

Seems like it's in 3.1 just no docs on it: https://github.com/buildkite-plugins/docker-compose-buildkite-plugin/releases/tag/v3.1.0

Ah yes, I've been using it. Forgot I had this issue open.


ValueError while finetuning

I'm using the following code to fine-tune embedder,

import flash
from flash import download_data
from flash.vision import ImageClassificationData, ImageEmbedder

datamodule = ImageClassificationData.from_folders(
    train_folder="assets/classes/train/",
    valid_folder="assets/classes/val/",
    test_folder="assets/classes/test/",
)

# 3. Build the model
embedder = ImageEmbedder(backbone="resnet18")

# 4. Create the trainer. Run once on data
trainer = flash.Trainer(max_epochs=1)

# 5. Train the model
trainer.finetune(embedder, datamodule=datamodule, strategy="freeze_unfreeze")

# 6. Test the model
trainer.test()

# 7. Save it!
trainer.save_checkpoint("image_embedder_model.pt")

Unfortunately it throws the following error,
/home/oggie/anaconda3/envs/pose/lib/python3.8/site-packages/pl_bolts/utils/warnings.py:30: UserWarning: You want to use `wandb` which is not installed yet, install it with `pip install wandb`.
  stdout_func(
/home/oggie/anaconda3/envs/pose/lib/python3.8/site-packages/pl_bolts/utils/warnings.py:30: UserWarning: You want to use `gym` which is not installed yet, install it with `pip install gym`.
  stdout_func(
GPU available: True, used: False
TPU available: None, using: 0 TPU cores
/home/oggie/anaconda3/envs/pose/lib/python3.8/site-packages/pytorch_lightning/utilities/distributed.py:49: UserWarning: GPU available but not used. Set the --gpus flag when calling the script.
  warnings.warn(*args, **kwargs)
Traceback (most recent call last):
  File "/home/oggie/Workspace/Python/KapschUI/embedded_train.py", line 20, in <module>
    trainer.finetune(embedder, datamodule=datamodule, strategy="freeze_unfreeze")
  File "/home/oggie/anaconda3/envs/pose/lib/python3.8/site-packages/flash/core/trainer.py", line 90, in finetune
    return super().fit(model, train_dataloader, val_dataloaders, datamodule)
  File "/home/oggie/anaconda3/envs/pose/lib/python3.8/site-packages/pytorch_lightning/trainer/trainer.py", line 468, in fit
    self.accelerator_backend.setup(model)
  File "/home/oggie/anaconda3/envs/pose/lib/python3.8/site-packages/pytorch_lightning/accelerators/legacy/cpu_accelerator.py", line 49, in setup
    self.setup_optimizers(model)
  File "/home/oggie/anaconda3/envs/pose/lib/python3.8/site-packages/pytorch_lightning/accelerators/legacy/accelerator.py", line 140, in setup_optimizers
    optimizers, lr_schedulers, optimizer_frequencies = self.trainer.init_optimizers(model)
  File "/home/oggie/anaconda3/envs/pose/lib/python3.8/site-packages/pytorch_lightning/trainer/optimizers.py", line 30, in init_optimizers
    optim_conf = model.configure_optimizers()
  File "/home/oggie/anaconda3/envs/pose/lib/python3.8/site-packages/flash/core/model.py", line 153, in configure_optimizers
    return self.optimizer_cls(filter(lambda p: p.requires_grad, self.parameters()), lr=self.learning_rate)
  File "/home/oggie/anaconda3/envs/pose/lib/python3.8/site-packages/torch/optim/sgd.py", line 68, in __init__
    super(SGD, self).__init__(params, defaults)
  File "/home/oggie/anaconda3/envs/pose/lib/python3.8/site-packages/torch/optim/optimizer.py", line 47, in __init__
    raise ValueError("optimizer got an empty parameter list")
ValueError: optimizer got an empty parameter list

Process finished with exit code 1

Hi @Zumbalamambo, this is because you are freezing the backbone (resnet18 here), hence the optimizer receives an empty parameter list while finetuning. A couple of points to note, the default epoch at which it unfreezes in the freeze_unfreeze strategy is 10. Also, you could add a head to your ImageEmbedder Model by embedder = ImageEmbedder(backbone="resnet18", embedding_dim=1024).

@kaushikb11 thank you! Is it possible to increase the input size of the ImageEmbedder

@Zumbalamambo What do you mean by input size of the ImageEmbedder? If you mean the Input size of the images, we have default preprocessing transforms in place to resize your input image data :)

@kaushikb11 thank you! I have one another doubt, how do you determine the value of embedding_dim? I used vgg16 and selected an embedding_size of 4096 but then it threw the following error ,
RuntimeError: mat1 and mat2 shapes cannot be multiplied (4x512 and 4096x4096)

Hi @Zumbalamambo, I have patched a fix in PR #154. Thanks!

@kaushikb11 thank you! :) May I know how I can apply the latest fix? I have installed pytorch-flash  using pip

Hi @Zumbalamambo, follow the below commands :)
git clone https://github.com/PyTorchLightning/lightning-flash.git
cd lightning-flash
# install in editable mode
pip install -e .


GLib-CRITICAL (collision with pnquant?)

sharp is used by gulp-responsive and resulting images are piped to imagemin-pngquant.
An error occurs when the quality string for pngquant contains a too narrow range (e.g. '80-90'):
events.js:141
      throw er; // Unhandled 'error' event
      ^
Error: Command failed: /home/user/test/node_modules/pngquant-bin/vendor/pngquant --output /tmp/06882c02-6fe8-41d9-b706-3e8ab3eb2f17 /tmp/13322606-798c-4f90-b540-e384134c9280 --quality 90-100 --speed 3

    at /home/user/test/node_modules/execa/index.js:170:11
    at process._tickCallback (node.js:385:9)

(sharp:57559): GLib-CRITICAL **: g_hash_table_lookup: assertion 'hash_table != NULL' failed

(sharp:57559): GLib-CRITICAL **: g_hash_table_lookup: assertion 'hash_table != NULL' failed

Note the last two log lines where sharp is mentioned.

This error suggests the node process exited whilst libvips was in the middle of processing an image.
sharp runs libvips tasks on the libuv-managed threadpool, which doesn't wait for threads to join/complete when shutting down the node process. What you're seeing is one libvips thread attempting to read data from another thread that's already been destroyed due to the process exiting.

So this is a pngquant issue as pngquant binary seems to exit with error code and
imagemin-pngquant fails and the main script exits with an error.

The warning you're seeing is a side effect of processing images with sharp/libvips at the same time as something else calling process.exit, be that pngquant or anything else.

I notice imagemin-pngquant uses a Promise-based API. Perhaps you need to provide a .catch( ... ) handler for any rejection?

.catch is indeed used in the imagemin-pngquant module.
According to the error variable, pngquant binary exited with a specific code (https://github.com/pornel/pngquant#--quality-min-max).
The plugin should handle this instead failing.


Feature/actor ttl

Description
Please explain the changes you've made
Issue reference
We strive to have all PR being opened based on an issue, where the problem or feature have been discussed prior to implementation.
Please reference the issue this PR will close: #[issue number]
Checklist
Please make sure you've completed the relevant tasks for this PR, out of the following list:

[ ] Code compiles correctly
[ ] Created/updated tests
[ ] Extended the documentation

Codecov Report

Merging #6 (64ecba3) into master (83247f4) will decrease coverage by 0.42%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master       #6      +/-   ##
==========================================
- Coverage   89.43%   89.01%   -0.43%
==========================================
  Files          52       52
  Lines        2158     2157       -1
==========================================
- Hits         1930     1920      -10
- Misses        228      237       +9

Impacted Files
Coverage Δ

dapr/actor/runtime/manager.py
93.97% <ø> (ø)

dapr/actor/runtime/remindable.py
85.71% <ø> (ø)

dapr/actor/runtime/_reminder_data.py
100.00% <100.00%> (ø)

dapr/actor/runtime/_timer_data.py
100.00% <100.00%> (ø)

dapr/actor/runtime/actor.py
98.36% <100.00%> (ø)

ext/flask_dapr/flask_dapr/actor.py
52.27% <0.00%> (-5.69%)
:arrow_down:

ext/dapr-ext-fastapi/dapr/ext/fastapi/actor.py
54.76% <0.00%> (-4.55%)
:arrow_down:

dapr/actor/runtime/_type_utils.py
95.45% <0.00%> (-2.28%)
:arrow_down:

dapr/actor/id.py
76.00% <0.00%> (-0.93%)
:arrow_down:

dapr/clients/grpc/_state.py
91.11% <0.00%> (-0.89%)
:arrow_down:

... and 1 more

Continue to review full report at Codecov.

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

@chinzhiweiblank can you make the changes, but then actually close this Pull request and open it again dapr/python-sdk:master instead?
I just rebased your branch feature/actor_ttl against the latest protos from my branch for PR https://github.com/dapr/python-sdk/pull/326
It would be great if you could update the docs strings in your branch. Then close this PR and reopen the PR against the upstream repo's master branch.
Thanks for the help!


[WIP] Add OpenAPI specification

Codecov Report

Merging #395 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #395   +/-   ##
=======================================
  Coverage   56.59%   56.59%
=======================================
  Files          25       25
  Lines        1433     1433
=======================================
  Hits          811      811
  Misses        576      576
  Partials       46       46

Continue to review full report at Codecov.

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


🤔S2-2.0版本明细表列头分组后导出的格式和表格的格式不一致，如何能保持表头和CSV导出的一致

🏷 Version

Package
Version

@antv/s2
2.0

@antv/s2-react
next

@antv/s2-vue

Sheet Type

[√ ] PivotSheet
[√ ] TableSheet
[ ] GridAnalysisSheet
[ ] StrategySheet
[ ] EditableSheet

🖋 Description
S2明细表列头分组后表格的样式

S2明细表列头分组后导出的excel样式

😊 Expected Behavior
😅 Current Behavior

https://codesandbox.io/p/sandbox/flamboyant-greider-z9zhfg?layout=%257B%2522sidebarPanel%2522%253A%2522EXPLORER%2522%252C%2522rootPanelGroup%2522%253A%257B%2522direction%2522%253A%2522horizontal%2522%252C%2522contentType%2522%253A%2522UNKNOWN%2522%252C%2522type%2522%253A%2522PANEL_GROUP%2522%252C%2522id%2522%253A%2522ROOT_LAYOUT%2522%252C%2522panels%2522%253A%255B%257B%2522type%2522%253A%2522PANEL_GROUP%2522%252C%2522contentType%2522%253A%2522UNKNOWN%2522%252C%2522direction%2522%253A%2522vertical%2522%252C%2522id%2522%253A%2522clv60mghm0006356fa4tre6sm%2522%252C%2522sizes%2522%253A%255B100%252C0%255D%252C%2522panels%2522%253A%255B%257B%2522type%2522%253A%2522PANEL_GROUP%2522%252C%2522contentType%2522%253A%2522EDITOR%2522%252C%2522direction%2522%253A%2522horizontal%2522%252C%2522id%2522%253A%2522EDITOR%2522%252C%2522panels%2522%253A%255B%257B%2522type%2522%253A%2522PANEL%2522%252C%2522contentType%2522%253A%2522EDITOR%2522%252C%2522id%2522%253A%2522clv60mghm0002356fa5ie1obs%2522%257D%255D%257D%252C%257B%2522type%2522%253A%2522PANEL_GROUP%2522%252C%2522contentType%2522%253A%2522SHELLS%2522%252C%2522direction%2522%253A%2522horizontal%2522%252C%2522id%2522%253A%2522SHELLS%2522%252C%2522panels%2522%253A%255B%257B%2522type%2522%253A%2522PANEL%2522%252C%2522contentType%2522%253A%2522SHELLS%2522%252C%2522id%2522%253A%2522clv60mghm0003356f7n5wcapz%2522%257D%255D%252C%2522sizes%2522%253A%255B100%255D%257D%255D%257D%252C%257B%2522type%2522%253A%2522PANEL_GROUP%2522%252C%2522contentType%2522%253A%2522DEVTOOLS%2522%252C%2522direction%2522%253A%2522vertical%2522%252C%2522id%2522%253A%2522DEVTOOLS%2522%252C%2522panels%2522%253A%255B%257B%2522type%2522%253A%2522PANEL%2522%252C%2522contentType%2522%253A%2522DEVTOOLS%2522%252C%2522id%2522%253A%2522clv60mghm0005356fbn7wcbn2%2522%257D%255D%252C%2522sizes%2522%253A%255B100%255D%257D%255D%252C%2522sizes%2522%253A%255B50%252C50%255D%257D%252C%2522tabbedPanels%2522%253A%257B%2522clv60mghm0002356fa5ie1obs%2522%253A%257B%2522tabs%2522%253A%255B%257B%2522id%2522%253A%2522clv60mghm0001356f2s364nkk%2522%252C%2522mode%2522%253A%2522permanent%2522%252C%2522type%2522%253A%2522FILE%2522%252C%2522filepath%2522%253A%2522%252Fsrc%252Findex.ts%2522%252C%2522state%2522%253A%2522IDLE%2522%257D%255D%252C%2522id%2522%253A%2522clv60mghm0002356fa5ie1obs%2522%252C%2522activeTabId%2522%253A%2522clv60mghm0001356f2s364nkk%2522%257D%252C%2522clv60mghm0005356fbn7wcbn2%2522%253A%257B%2522id%2522%253A%2522clv60mghm0005356fbn7wcbn2%2522%252C%2522tabs%2522%253A%255B%257B%2522type%2522%253A%2522UNASSIGNED_PORT%2522%252C%2522port%2522%253A0%252C%2522id%2522%253A%2522clv612h6w00ty356f2qxv8zkd%2522%252C%2522mode%2522%253A%2522permanent%2522%252C%2522path%2522%253A%2522%252F%2522%257D%255D%252C%2522activeTabId%2522%253A%2522clv612h6w00ty356f2qxv8zkd%2522%257D%252C%2522clv60mghm0003356f7n5wcapz%2522%253A%257B%2522tabs%2522%253A%255B%255D%252C%2522id%2522%253A%2522clv60mghm0003356f7n5wcapz%2522%257D%257D%252C%2522showDevtools%2522%253Atrue%252C%2522showShells%2522%253Afalse%252C%2522showSidebar%2522%253Atrue%252C%2522sidebarPanelSize%2522%253A15%257D

下周处理该问题, 看起来是 BUG

下周处理该问题, 看起来是 BUG

默认导出功能可以修复和1.5版本的就好了

mark

本地该如何处理？

fixed https://github.com/antvis/S2/pull/2674

:tada: This issue has been resolved in version @antv/s2-v2.0.0-next.18 :tada:
The release is available on:

npm package (@next dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This issue has been resolved in version @antv/s2-react-v2.0.0-next.17 :tada:
The release is available on:

npm package (@next dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

------------------ 原始邮件 ------------------
发件人:                                                                                "antvis/S2"                                                                                @.>;
发送时间: 2024年4月26日(星期五) 下午5:10
@.>;
<EMAIL_ADDRESS>主题: Re: [antvis/S2] 🤔S2-2.0版本明细表列头分组后导出的格式和表格的格式不一致，如何能保持表头和CSV导出的一致 (Issue #2664)
@antv/s2-react-v2.0.0-next.17 🎉
版本已升级，问题依然存在！
Message ID: @.***>


[PostgreSQL] Use SQL instead of psql for create and drop DB

db create & db drop can be used without PostgresSQL client (psql)
ensure drop db errors are displayed to the user

Related to https://github.com/gobuffalo/gobuffalo/issues/26 & #122.

Ping @markbates. :)

Awesome! Thanks! Now if we can only get rid of the tools for mysql and sqlite we'll be golden! :)


osmo routed half swap fees

Closes: #XXX
Description

For contributor use:

[ ] Targeted PR against correct branch (see CONTRIBUTING.md)
[ ] Updated relevant documentation (docs/) or specification (x/<module>/spec/)
[ ] Added a relevant changelog entry to the Unreleased section in CHANGELOG.md
[ ] Re-reviewed Files changed in the Github PR explorer

Going to just close and redo on the post-refactor branch

Not included in 9.0?


Typing error in WebResearchRetriever

System Info
langchain 0.0.292
The type of text_splitter must be TextSplitter and not RecursiveCharacterTextSplitter
class WebResearchRetriever(BaseRetriever):
    ...
    text_splitter: **TextSplitter** = Field(
        RecursiveCharacterTextSplitter(chunk_size=1500, chunk_overlap=50),
        description="Text splitter for splitting web pages into chunks",
    )

Who can help?
@hwchase17
Information

[ ] The official example notebooks/scripts
[ ] My own modified scripts

Related Components

[ ] LLMs/Chat Models
[ ] Embedding Models
[ ] Prompts / Prompt Templates / Prompt Selectors
[ ] Output Parsers
[ ] Document Loaders
[X] Vector Stores / Retrievers
[ ] Memory
[ ] Agents / Agent Executors
[ ] Tools / Toolkits
[ ] Chains
[ ] Callbacks/Tracing
[ ] Async

Reproduction
Use WebResearchRetriever with a simple TextRetriver. It's run.
Now make lint => Error
Expected behavior
No error with make lint
Pull request here

It's merge


Sync git hooks when config file path changed (#21619)

Backport #21619 .
A patch to #17335.
Just like AppPath, Gitea writes its own CustomConf into git hook scripts too. If Gitea's CustomConf changes, then the git push may fail.
Co-authored-by: techknowlogick<EMAIL_ADDRESS>

make L-G-T-M work


add random content directly to url

add random url content directly with flag rc,  should works with -r flag

Hi @smileboywtu, thank you for the PR.
Could you give me a brief use case that requires this new option?
By the way, it looks it's no longer "random" if users can set a particular string.

i use gotty to manage our develop environments, which contains 500 virtual machines,  i make it login quickly and easily , but i need to audit user's operation, so i give a account to every user and use broswer session id as audit filename,  then collect audit file and analyze, and therefore i need to give every user a different url and port number

I think its a good option. I need it .

If it named CustomUrl or CustomPrefix much better then "RandomContent".


06_pytorch_transfer_learning.ipynb

06: pytorch transfer learning
https://www.learnpytorch.io/06_pytorch_transfer_learning/
practioner's -> practitioners
practioner's -> practitioner's
see's -> sees
to included -> to include
customising -> customise
furture -> future
there was 5,288,548 -> there were 5,288,548
friends -> friend's

Thank you!