Tutorial: How do I create rich schemas for my data?

AKA: introduction to Data Package profiles
Focus on tabular data. Would have to hand-create JTS as there is currently no user interface.  Link to tutorial on validating tabular data.

This issue was moved to frictionlessdata/frictionlessdata.io#61


iTorch histogram demo fails

when running the demo
-- histogram
x=torch.randn(10000)
lx = torch.log(x):add(1)
plot = Plot():histogram(x):histogram(lx):title('Histogram of a gaussian draw'):draw()

it throws an exception:
bad argument #2 to '?' (end range should be greater than start range at /tmp/luarocks_torch-scm-1-4053/torch7/lib/TH/generic/THTensorMath.c:2100)
stack traceback:
[C]: at 0x7f12b92107c0
[C]: in function 'linspace'
/usr/local/share/lua/5.1/itorch/Plot.lua:215: in function 'histogram'
[string "..."]:5: in main chunk
[C]: in function 'xpcall'
/usr/local/share/lua/5.1/itorch/main.lua:179: in function </usr/local/share/lua/5.1/itorch/main.lua:143>
/usr/local/share/lua/5.1/lzmq/poller.lua:75: in function 'poll'
/usr/local/share/lua/5.1/lzmq/impl/loop.lua:307: in function 'poll'
/usr/local/share/lua/5.1/lzmq/impl/loop.lua:325: in function 'sleep_ex'
/usr/local/share/lua/5.1/lzmq/impl/loop.lua:370: in function 'start'
/usr/local/share/lua/5.1/itorch/main.lua:350: in main chunk
[C]: in function 'require'
[string "arg={'/home/psenin/.ipython/profile_default/s..."]:1: in main chunk

hey pavel, that is because lx here has nans

you can verify simply by:
print(lx:min(), lx:max())
or even
print(lx:ne(lx):sum()) -- number of nans present

i see that, it can be something like lx = torch.log(torch.abs(x)), or was that left for the user exercise :)? thanks for the quick response!

pushed a patch that warns the users about nans.


Azure Blob Returned Directly Unprocessed

Following an upgrade to:
ImageProcessor v<IP_ADDRESS>.
ImageProcessor.Web v<IP_ADDRESS>
ImageProcessor.Web.Config v<IP_ADDRESS>
ImageProcessor.Web.Plugins.AzureBlobCache v<IP_ADDRESS>
the images are now being returned directly from the site, unprocessed.
When this is requested:
https://sitedomainname/media/1357/my-image.jpg?anchor=center&mode=crop&width=297&height=152
Instead of being redirected to the cached processed image on the storage account the original image is returned.
It's worth noting that the files are only present on the blob storage, not the local file system, so the image is being picked up from the blob storage but then returned directly not processed. On dev and another copy of the system on Azure where the images are within the site root at the requested URL (so not using ImageProcessor.Web.Plugins.AzureBlobCache) the images are processed correctly.
Cache config is as follows (sorry, can't get it to format this nicely):
<?xml version="1.0" encoding="utf-8"?>
<caching currentCache="AzureBlobCache">
  <caches>
    <cache name="DiskCache" type="ImageProcessor.Web.Caching.DiskCache, ImageProcessor.Web" maxDays="365" browserMaxDays="365">
      <settings>
        <setting key="VirtualCachePath" value="~/app_data/cache" />
      </settings>
    </cache>
  <cache name="AzureBlobCache" type="ImageProcessor.Web.Plugins.AzureBlobCache.AzureBlobCache, ImageProcessor.Web.Plugins.AzureBlobCache" maxDays="365">
      <settings>
        <setting key="CachedStorageAccount" value="DefaultEndpointsProtocol=https;AccountName=accname;AccountKey=acckey" />
        <setting key="CachedBlobContainer" value="cache" />
        <setting key="UseCachedContainerInUrl" value="true" />
        <setting key="CachedCDNTimeout" value="1000" />
        <setting key="CachedCDNRoot" value="https://accname.blob.core.windows.net/" />
        <setting key="SourceStorageAccount" value="" />
        <setting key="SourceBlobContainer" value="" />
        <setting key="StreamCachedImage" value="false" />
      </settings>
    </cache></caches>
</caching>

I'm assuming I've got something configured incorrectly, but I can't for the life of me see what!

On first glance your CDN root is wrong, You're calling the blob storage location not the CDN URL, If you are not using a CDN comment out the setting.

That didn't make any difference. What does CDN root do then? I assumed it specified the base URL to serve the files from (I can't see any other reason ImageProcessor would need to know about the CDN? Surely it would just push files to the BLOB storage and they'd be available via the CDN?).
I've rolled the ImageProcessor DLLs and config back on one instance and still have the same problem, so I think this was a pre-existing problem and nothing to do with the upgrade. I just picked it up when testing afterwards.

Okay, after a bit of playing around I've got it working - the problem was in security.config where I had:
<service prefix="media/" name="CloudImageService" type="ImageProcessor.Web.Services.CloudImageService, ImageProcessor.Web">       <settings>         <setting key="MaxBytes" value="8194304"/>         <setting key="Timeout" value="30000"/>         <setting key="Host" value="https://accname.blob.core.windows.net/media"/>       </settings>     </service>
instead of
<service prefix="media/" name="CloudImageService" type="ImageProcessor.Web.Services.CloudImageService, ImageProcessor.Web">       <settings>         <setting key="Container" value="media"/>         <setting key="MaxBytes" value="8194304"/>         <setting key="Timeout" value="30000"/>         <setting key="Host" value="https://accname.blob.core.windows.net"/>       </settings>     </service>
This was per the documentation for your UmbracoFileSystemProviders.Azure, and I think was probably an older version that's been broken by upgrading at some point?

Yeah, need to update the docs. Working on the latest release of that so will do so once we've finalised.


support kepler.gl filter animate by interval keyframes

Signed-off-by: Shan He<EMAIL_ADDRESS>

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

14 of 18 (77.78%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+2.3%) to 19.033%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

modules/core/src/keyframes/kepler-filter-keyframes.js
6
10
60.0%

Totals

Change from base Build<PHONE_NUMBER>:
2.3%

Covered Lines:
161

Relevant Lines:
680

💛  - Coveralls


How often should the gateway be reconnecting ?

My gateway seems to drop connection every 4-5 hours depending on the time of day and I wanted to check whether this is what others have been experiencing too. This is a painful issue because 2FA with phone alert is not easy to automate and I haven't figured out a way to bypass 2FA for a new user.
Environment
IBeam version: 0.4
Docker image
Additional context
Initially I was using a VM in Singapore, which had arguably higher latency with the IB servers. I have now migrated my VM to a data center in NJ and am testing stability as we speak.

Hey @dedupe1 thanks for reporting your issue. We don't have any concrete data, but from just reading what people write I conclude that the connection drop period varies for different people. 4-5 hours that you're experiencing doesn't sound too unusual. Setting up an automated way around 2FA may be something you may want to look into: https://github.com/Voyz/ibeam/wiki/Two-Factor-Authentication

Hi thank you @Voyz , appreciate the response. And obviously this isn't a bug, its more of 'sanity check' for people doing new installs. Hope others share what they see too.
Here were my updated ping speeds from my US VM . It used to be 200ms from Singapore and now dropped down to ~2ms from the US. I'll report on how frequently I see disconnects after a few more data points:
ping api.ibkr.com
PING e126993.a.akamaiedge.net (<IP_ADDRESS>) 56(84) bytes of data.
64 bytes from a23-49-248-12.deploy.static.akamaitechnologies.com (<IP_ADDRESS>): icmp_seq=1 ttl=56 time=1.45 ms
64 bytes from a23-49-248-12.deploy.static.akamaitechnologies.com (<IP_ADDRESS>): icmp_seq=2 ttl=56 time=1.56 ms
64 bytes from a23-49-248-12.deploy.static.akamaitechnologies.com (<IP_ADDRESS>): icmp_seq=3 ttl=56 time=1.50 ms
64 bytes from a23-49-248-12.deploy.static.akamaitechnologies.com (<IP_ADDRESS>): icmp_seq=4 ttl=56 time=1.56 ms

I'm going to close this issue due to lack of activity. Feel free to reopen if you'd like to continue the discussion 👍 Thanks for participating!


Quiestion: Support for db tables prefix

Hi,
Is there support for adding a prefix to MR tables in the DB?
Keep up the good work!
Thanks,
Nedko

There's support in the EF implementation for using a DB schema.


Template fails because of missing API version when using condition

Bicep version
Bicep CLI version 0.2.472 (73d4e93e9c)
Describe the bug
I have a couple of resources defined with an if-condition. This template is used as a module (not sure if that is important).
If the condition solves to false, i.e. the resource would not be deployed, I get the following error on deployment:
{"error":{"code":"MultipleErrorsOccurred","message":"Multiple error occurred: BadRequest,BadRequest. Please see details.","details":[{"code":"InvalidTemplate","message":"Deployment template validation failed: 'The template resource 'Microsoft.ApiManagement/service/teamsloopsgermanywestcentralapim/namedValues/table-url' reference to 'Microsoft.Storage/storageAccounts/stggermanywestcentral4' requires an API version. Please see https://aka.ms/arm-template for usage details.'.","additionalInfo":[{"type":"TemplateViolation","info":{"lineNumber":0,"linePosition":0,"path":""}}]},{"code":"InvalidTemplate","message":"Deployment template
validation failed: 'The template resource 'Microsoft.ApiManagement/service/teamsloopsfrancecentralapim/namedValues/table-url' reference to 'Microsoft.Storage/storageAccounts/stgfrancecentralac3cef' requires an API version. Please see https://aka.ms/arm-template for usage details.'.","additionalInfo":[{"type":"TemplateViolation","info":{"lineNumber":0,"linePosition":0,"path":""}}]}]}}

To Reproduce

resource storageAccount 'Microsoft.Storage/storageAccounts@2019-06-01'  = if(useTableStorage) {
  name: take('stg${location}${replace(guid(resourceGroup().name, location, 'stg'), '-', '')}', 22) // build unique storage account name from 'stg', location and guid()
  location: location
  kind: 'StorageV2'
  sku: {
    name: 'Standard_ZRS'
    tier: 'Standard'
  }
  properties: {
    supportsHttpsTrafficOnly: true
  }
}

resource table 'Microsoft.Storage/storageAccounts/tableServices/tables@2019-06-01' = if(useTableStorage) {
  name: '${storageAccount.name}/default/${tableName}'
}

resource namedValueTableUrl 'Microsoft.ApiManagement/service/namedValues@2020-06-01-preview' = if(useTableStorage) {
  name: '${apim.name}/table-url'
  properties: {
    displayName: 'table-url'
    value: '${storageAccount.properties.primaryEndpoints.table}${tableName}'
  }
}

Additional context
Is this somewhat related to https://github.com/Azure/bicep/issues/1492 ? While I could use a work around for that issue, I don't see one for this new issue.
Let me know if you need more information. Also happy to jump on a call if needed.
The entire template including the ARM template is actually open: https://github.com/sebader/teams-distributor/tree/main/deployment

Looking further into the generated ARM template, adding the API version here actually fixes it:
From:
"value": "[format('{0}{1}', reference(resourceId('Microsoft.Storage/storageAccounts', take(format('stg{0}{1}', parameters('location'), replace(guid(resourceGroup().name, parameters('location'), 'stg'), '-', '')), 22))).primaryEndpoints.table, variables('tableName'))]"

to
"value": "[format('{0}{1}', reference(resourceId('Microsoft.Storage/storageAccounts', take(format('stg{0}{1}', parameters('location'), replace(guid(resourceGroup().name, parameters('location'), 'stg'), '-', '')), 22)), '2019-06-01').primaryEndpoints.table, variables('tableName'))]"

just tagging @anthony-c-martin  and @majastrz  to see if you could comment on this. thanks! :)

Any progress on the issue?
This can still happens in version 0.4.1272
I'll be happy to provide example, should it be necessary

@shenglol is this a dup of #6008?

@shenglol is this a dup of #6008?

It seems like a duplicate of #6008, and it's fixed in Build #11498 (not official release)

This seems to have made its way onto Azure DevOps build agents resulting in broken production pipelines.

Can someone provide some recent repros? Looking through this issue, it's become unclear what the root issue that this thread is describing.
The conditional evaluation bug is loosely tracked with #3990 and #2371, but is more accurately tracked internally here: https://msazure.visualstudio.com/One/_sprints/taskboard/Azure-ARM-Deployments/One/Custom/Azure-ARM/Nickel?workitem=4830897
However, that is not a new issue or regression.

#6009
Release new version so that we don't get the " requires an API version" error

@sudivate - the failure in your case is a bit different - the apiVersion would make the template pass validation but it will [likely] fail deployment or result in something unexpected in the case where synapse001 is not deployed.
This deployment has a condition on it... https://github.com/Azure/data-product-batch/blob/f639ace2ca46e3b85e3fd381b3cdde4b5ce1b5ea/infra/main.json#L391
This reference to the deployment does not: https://github.com/Azure/data-product-batch/blob/f639ace2ca46e3b85e3fd381b3cdde4b5ce1b5ea/infra/main.json#L2300
So in the case when that synapse001 is not deployed, one of two things will happen - either deployment will fail (because the deployment does not exist) or a reference would be made to an old deployment, not part of this set of deployments.  Not sure if that's intended.
@alex-frankel & @shenglol - I'm not sure #6009 is the right fix as I understand it... adding the apiVersion will fix the preflight error but I think it may cause a false sense of security in thinking that your code is correct when it's likely not.  Generally in this scenario you should have an if() around the reference, and if that's used preflight will short circuit the "false" side of the statement.

"Deployment template validation failed: 'The template output reference to 'Microsoft.Storage/storageAccounts/remehatestdataprocsa' requires an API version.
I have a very simple module
param storageAccountType string
param storageAccountName string
param location string
param resourceTags object
param deployStorageAccount bool
resource storageAccount 'Microsoft.Storage/storageAccounts@2021-08-01' = if (deployStorageAccount) {
name: storageAccountName
location: location
sku: {
name: storageAccountType
}
kind:'StorageV2'
properties: {
azureFilesIdentityBasedAuthentication: {
directoryServiceOptions: 'None'
}
encryption: {
services: {
file: {
keyType: 'Account'
enabled: true
}
blob: {
keyType: 'Account'
enabled: true
}
table: {
enabled: true
keyType: 'Account'
}
queue: {
enabled: true
keyType: 'Account'
}
}
keySource: 'Microsoft.Storage'
}
networkAcls: {
bypass: 'AzureServices'
virtualNetworkRules: [
]
ipRules: [
]
defaultAction: 'Deny'
}
accessTier: 'Hot'
minimumTlsVersion: 'TLS1_2'
allowBlobPublicAccess: false
isHnsEnabled: true
supportsHttpsTrafficOnly: true
allowSharedKeyAccess: true
}
tags: resourceTags
}
resource sabackupcontainer 'Microsoft.Storage/storageAccounts/blobServices/containers@2021-08-01' = if (deployStorageAccount) {
name: '${storageAccount.name}/default/backup'
}
resource rawcontainer 'Microsoft.Storage/storageAccounts/blobServices/containers@2021-08-01' = if (deployStorageAccount) {
name: '${storageAccount.name}/default/raw'
}
resource conformedcontainer 'Microsoft.Storage/storageAccounts/blobServices/containers@2021-08-01' = if (deployStorageAccount) {
name: '${storageAccount.name}/default/conformed'
}
resource modeledcontainer 'Microsoft.Storage/storageAccounts/blobServices/containers@2021-08-01' = if (deployStorageAccount) {
name: '${storageAccount.name}/default/modeled'
}
resource privateEndPoint_1_StorageAccount 'Microsoft.Storage/storageAccounts/privateEndpointConnections@2021-08-01' = if (deployStorageAccount) {
name: 'privateEndPoint_${storageAccount.name}.utcNow()'
parent: storageAccount
properties: {}
}
output accountURL string = storageAccount.properties.primaryEndpoints.dfs
//output storageEndpoint object = storageAccount.properties.primaryEndpoints

when it is enabled it works just fine .. problem is with false. I read this https://github.com/Azure/bicep/commit/fbe7a45ed8c90274902e63551f844a9a47ec94dd but not understand

below is the module
// Storage Account name
var fullStorageAccountName = '${toLower(organisationName)}${toLower(environmentType)}${substring(accountName,0,8)}sa'
// module to deploy - storage account
module sa 'azurestorageaccount.bicep' = {
name: 'storageAccountDeploy'
params: {
storageAccountName: fullStorageAccountName
storageAccountType: storageAccountType
location: location
resourceTags: resourceTags
deployStorageAccount: deployStorageAccount
}
}

@bmoore-msft -- can you look at #3750 and #3990? Do either of those more completely resolve the issue?

I think #3990 would fix this - it's what we currently do for as a workaround... the thing I'm not sure about is if there are unwanted consequences to it (can't think of any off the top).  Technically, one would be that "I want to reference the deployment and I know it exists even if not deployed in this template".  But then the only proper fix for that scenario would be at run-time. Technically I don't think we have a way to author this in bicep if we do #3990 (where as we would do in JSON) but the scenario may be a bit contrived.
3990 should also catch #2371

@alex-frankel thanks https://github.com/Azure/bicep/issues/3750 helped!

Ok, thinking about this more - this may cover all the scenarios...
Conditional Resource – when the resource that makes the run-time call is conditional, the run-time call can be wrapped in the same condition.  It doesn’t matter if this run-time call is for a deployment output or any other resource reference, this scenario can be address by #3990.
The other scenario is a “New vs. Existing” or “Optional Feature” scenario.  New/Existing means I want to sometimes reference a new resource and sometimes use an existing one.  Also, the resource that makes this reference is unconditional (if it were conditional the fix in #3990 supersedes this).  In this case the code that follow the developer’s intent is that the reference() call must have the apiVersion – primarily for the case when the resource already exists and is not being deployed in the current template.  This reference() can be unconditional because the reference() call params is the same in either case.  Adding the apiVersion in this case is required, but it’s not sufficient to correctly author the scenario.  Note also that this scenario is true for any run-time reference/list on any resourceType, not just deployments/modules.
The “optional feature” scenario is when the developer may or may not want to enable a feature (e.g. publicIp, boot diags, replication).  In this case the resource with the optional feature (i.e. the run-time function) does not have a condition, it’s always deployed.  The optional feature (or property) has the condition.  In bicep we’re seeing this implemented via a module in the current template, though this does not have to be the case… it may already exist or be in a template other than the current one.  In this “optional feature” case the developer would need to wrap the optional feature property value in the appropriate condition, bicep cannot assert what this is in all cases.  If the module (or resource) is in the current template and has a condition, this same condition could be used by the compiler.  Adding the apiVersion in this case could be correct or incorrect depending on intent.  So I think we have:

If there is condition is on the resource with the run-time call, wrap the reference/list*() calls in the same condition #3990.
If there is no condition on the resource with the run-time call

check for a condition on the referenced/listed resource

if there is a condition on the referenced resource and there is no condition on the reference (that matches) throw a warning since we do not know the developer’s intent.  The correct fix here could be apiVersion or wrapping in the condition.  If we just add the apiVersion, we may cause a reference to an incorrect resource/deployment.

Resource referenced is not in the template – apiVersion is required, regardless of the developer’s intent (necessary but not sufficient)

Note the “optional feature” scenario may also be combined with New/Existing, for example I want a new PublicIP address an existing one or no publicIp address.  In this case the developer would just combine the two techniques.

Any updates regarding this? I have problems deploying an azure function slot conditionally in Bicep.

Facing this myself... any updates?

This just started happening for me. Here's the snippet that's causing the deployment to fail
Bicep and resulting ARM
output connectionStringSecretUri string = empty(connectionStringSecretVaultId) ? '' : connectionStringSecretDeployment.outputs.secretUri

"connectionStringSecretUri": {
            "type": "String",
            "value": "[if(empty(parameters('connectionStringSecretVaultId')), '', reference('connectionstring-secret').outputs.secretUri)]"
        },

My workaround
output connectionStringSecretUri string = empty(connectionStringSecretVaultId) ? '' : reference(resourceId('Microsoft.Resources/deployments', 'connectionstring-secret'), '2022-09-01').outputs.secretUri

"connectionStringSecretUri": {
            "type": "String",
            "value": "[if(empty(parameters('connectionStringSecretVaultId')), '', reference(resourceId('Microsoft.Resources/deployments', 'connectionstring-secret'), '2022-09-01').outputs.secretUri)]"
        },


Box Tracking

the docs state that Box Tracking can be used by Object Detection or defining an area. has anyone been able to track areas of the screen but not using Object Decection?
thanks
p.s. I am using Mediapipe inside Unity using https://github.com/homuler/MediaPipeUnityPlugin

Hi @chrisError, Could you please elaborate your use case with complete details  Thanks!

Hi, I've been able to use the box tracking to track both face and person detections, you should be able to track pretty much anything. Fair warning though, if the object you're tracking takes up most of the image, the tracking tends to break down a little.

We are closing this issue now due to lack of activity.


about page contains "about" string at bottom left

At the bottom left of the about page appears the string "about page".

This is driven by the block
<main class="main">
  about page
</main>

in layouts/about/single.html. What is the intention of that block here since all the "real" content is added above that part of the final page?

Actually, that part do nothing. Should be deleted. I uploaded new version. Can you check?

I checked the new version, and it works, i.e. the "about page" string does not appear anymore. Thanks!
Looking at the single.html file, however, in line 6 I noticed the end of a span tag, which doesn't have a corresponding starting tag. I guess this line can be deleted.

Ah Ok I'll delete it!


Multithreaded channels

PR Description
Add support to EventChannel for handling events using multiple threads.  The number of threads to use is set when subscribing so can vary per subscriber.
This is more ground work for moving storage over to event channels as requests for data should be handled in parallel.

The number of threads to use is set when subscribing so can vary per subscriber.

For multithreaded channels, might it make sense to have a default function with a Teku wide thread number constant? This way we could maybe optimize the number of threads faster on a process-wide level.

For multithreaded channels, might it make sense to have a default function with a Teku wide thread number constant? This way we could maybe optimize the number of threads faster on a process-wide level.

It's hard to say exactly how this should work out.  For things like storage, the number of threads wouldn't be related to the number of CPU cores because mostly it's doing disk access.  Things that need network access would be different again.


"To Pay" text field is too short, cannot input stealth address with longer characters than normal address

"To Pay" text field is too short, cannot input stealth address with longer characters than normal address

duplicate, see https://github.com/vergecurrency/VERGE/issues/205


A mixed labels display problem.

I have done the chinese labels display. but there are still some little problems.
Some labels in Europ or USA are still English and some are chinese. like the pcitcure below
how to fix this? thank you very much!

@bearnxx

Some labels in Europ or USA are still English and some are chinese. like the pcitcure below
how to fix this? thank you very much!

probably - this is data ( OpenStreetMap ) related problem.
the current 'draft' ( SQL) algorithm for 'chinese labels' / 'name_zh'
          coalesce(NULLIF(name_zh, ''), name) AS name_zh,

And not to many "name:zh" keys in Europe - so we will have to show the default "name" key.

in Hungary ( Europe) we have only 34 !! name:zh key tags : http://taginfo.openstreetmap.hu/keys/name%3Azh
in Swiss : http://taginfo.openstreetmap.ch/keys/name%3Azh
Wordwide OSM Taginfo stat for name:zh : http://taginfo.openstreetmap.org/search?q=name%3Azh
Wordwide map : http://taginfo.openstreetmap.org/keys/name%3Azh#map

More info about OpenStreetMap names:

http://wiki.openstreetmap.org/wiki/Names
http://wiki.openstreetmap.org/wiki/Multilingual_names

The Mapbox definition for name_zh:

"name_zh : Chinese* (if available, otherwise same as name)"

https://www.mapbox.com/vector-tiles/mapbox-streets-v7/

how to fix this? thank you very much!

'Fresno'  - chinese labels
( possible solution )
we can merge the OpenStreetMap data with the Wikidata information.

(osm) Fresno - http://www.openstreetmap.org/node/1956099531
Missing  "name:zh"  key

But

(wikidata) Fresno
https://www.wikidata.org/wiki/Q43301
exist  ->  zh  弗雷斯诺

// Imho :   wikidata integration is in my roadmap


Hard to see span kind in trace view

In this example, the types of spans are hard to see because the "name" field takes up lots of space by default, but offers no additional information because it's only showing the resource name which is always the same.

If I stretch the screen to a full width I can see more details, but I can't see the span kind visually just by looking at the table. I need to click on each item

The name column is resizable. Increasing it will allow you to see more information. And I think there is a tooltip there that displays all text. If there isn't, then one should be added.

Here's the same app traced in a different interface (With the same telemetry).
I can see at a glance what each item is because the event column is the detail. In the Aspire UI there's a lot of duplication because the name column is the same value every time.

Moving to backlog


Adding source and target language parameters into TransformerModel.from_pretrained() function during translation?

I am trying to translate English to Tamil model, model was trained on a custom dataset using fairseq.
Code
model = TransformerModel.from_pretrained(
'en_ta_model',
checkpoint_file='en_ta.pt',
bpe='subword_nmt',
bpe_codes='en_ta_model/codes'
)
Error:
Could not infer language pair, please provide it explicitly
I have used this same script for french, german, russian, etc in past. It never ask for languages explicitly. How to add source and target language parameters into TransformerModel.from_pretrained() function??

@alexeib can you please suggest something?

try adding source_lang and target_lang params to from_pretrained (which correspond to fields in translation task config)?

It's a past issue, but I also had the same problem, so I'll post the code.
model = TransformerModel.from_pretrained(
    'checkpoints',
    'checkpoint_best.pt',
    'tokenized',
    bpe='subword_nmt',
    bpe_codes='code',
    source_lang="en",
    target_lang="de"
)

text = 'Hello'
model.translate(text, beam=5)


Need more information.

Was looking for the same information for SfB 2016 online. A lot of information does not seem to be available. Looking for the updated information for audiostream and audiosignal tables.

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

ID: bc707866-af4d-a003-1e61-97edde268986
Version Independent ID: d803adff-5a3c-12cc-d7c0-c057ed4e98ee
Content: AudioStream table
Content Source: Skype/SfbServer/schema-reference/quality-of-experience-qoe-database-schema/audiostream.md
Product: skype-for-business-itpro
GitHub Login: @SerdarSoysal
Microsoft Alias: serdars

The question is unclear. SfB 2016 is a client.  SfB online is a service that client can use.

Thank you for this feedback and for contributing to the wellness of the content! This is a good idea and we have added it into our backlog for triage and prioritization.


broken with vulcanize 1.14.11

As soon as vulcanize 1.14.11 has released, web-component-shards stopped working correctly.
I tried to debug and managed to find out that commonDeps array is generated, but their imports aren't replaced in "shared.html" file.
It also takes a lot of time and causes CPU performance issues.
My current workaround is to setup "vulcanize": "1.14.8" explicitly (the last working versrion).

Related https://github.com/Polymer/vulcanize/issues/336


Path dependencies that included in the workspace are displayed in the report, even if --all flag is not used

This behavior is correct for virtual workspaces, but otherwise it doesn't match the behavior of cargo.
See:

https://app.codecov.io/gh/time-rs/time
https://github.com/time-rs/time/blob/4e59ade6c9617ae0d2b73c9d5241e9e9f609218b/.github/workflows/build.yaml#L391

For what it's worth, I find it quite nice to have the workspace included. Admittedly this likely wouldn't be the case for non-workspace dependencies.

The problem is that even if --all/--workspace flag is not being used, other crates will be displayed in the report.
If you want to get the coverage of other crates in the workspace (and the workspace is not virtual), you have to use the --all or --workspace flag (like cargo test). Otherwise, the tests will not be run on those crates, so the reported coverage will be lower than it actually is.

Ah, gotcha. The crate I was happy to see it for was a proc macro, which doesn't have tests of its own. Either way I don't mind typing a couple more characters.


For information

Two commits, not sure you will be interested by the second (I added some genericity to try to reuse kvnode on some of my code), the first could be a starting point for update to rust nightly.

Hi @cheme, thank you for contributing! I've been pretty busy this weak, and I'll definitely review this code very soon, but not today :)
Being generic is rarely bad, I still need to figure out how it's going to work for Peer trait. Maybe we should leave Node as a base thingy, but make it generic over ID type. Not sure that we'll need different peer implementations, do you have a use case?
I'll probably understand it once I get some good sleep :)
Cheers
P.S.
No idea why github didn't notify me about this PR by email. Sorry for delay...

accepted first commit (3a98c43ceee83dd03b0c0af11858a3cb6cb98f16) into master, as it seems non-contradictive enough. Will review the remaining later..

Hi again! I've also cherry-picked the last commit (except for commenting stuff). Now it builds, thanks a lot for your efforts! Version 0.0.1 released.
Please rebase, if you want to discuss genericity.
Cheers

Hi,
thanks for looking and updating,
I am currently trying to implement a generic library for implementing
some "distributed table" (not only hash table), and I use for peer and
content a generic interface : KeyVal which only defines a key/id and
the ability to get a socket address, that is why I tried to run it
with KNodeTable (using it as a routing option).
In fact, I had to define an other trait to link it : to convert key to
bigint, so I think part of the generic code is a bit awkward.
I'll let you know if my implementation become clean enough to publish.
Émeric
2015-02-06 19:07 UTC+01:00, Dmitry Tantsur<EMAIL_ADDRESS>
Hi again! I've also cherry-picked the last commit (except for commenting
stuff). Now it builds, thanks a lot for your efforts! Version 0.0.1
released.
Please rebase, if you want to discuss genericity.
Cheers

Reply to this email directly or view it on GitHub:
https://github.com/divius/rust-dht/pull/1#issuecomment-73284204


Checked in 1.4.0 sourcecode builds Pura 1.0

Wanted to build the Pura 1.4.0 release from the checked in sourcecode under Linux. Looks like the code ist the Pura 1.0 release but definitely not 1.4.
I am a bit concerned what I am installing there with 1.4. I have a couple bucks in Pura and most definitely I don't run a wallet I can't vet. Not really the concept of 'Open Source Software' :-(

@finddabug Check here https://bitbucket.org/danman2323/pura-1.5.1/src/master/

@finddabug Check here https://bitbucket.org/danman2323/pura-1.5.1/src/master/

@SemenMartynov  are you still working on Pura core ?

@onlinesolutions Nope.
But you can ask Dan Gross ( https://bitbucket.org/danman2323 )

@SemenMartynov  Thanks for your information.


Question about how to use existing widgets without necessarily creating custom widgets

As someone learning how to use widgets at the moment, I wanted to record a conceptual question I'm wrestling with.  As I've worked through the examples, I feel I understand what interact and interactive are about.  And because you've provided lots of examples for custom widget development, I think that I can see the process I'd undergo to teach myself how to write a custom widget.
However, I don't quite get how to make use of the large collection of widgets included in ipywidgets.  Inspired by @a-campbell's  https://github.com/a-campbell/widgetsapp  I would like to write a simple interactive application in the Notebook which would let me manage a list of items:  view them, delete them, add new ones.  I think that I should be able to piece together a bunch of the existing widgets, populate them with data from Python data structures, and register callbacks written in Python to take action on the data structures.
If I'm correct, having several examples in which some widgets are stitched together combined with some logic written in Python (with no JavaScript) would be super helpful.  (I'm going down the road now of figuring out whether my hypothesis that I can create such an example w/o any JavaScript is correct.)

@rdhyee, yep, here is an example which includes widgets and a matplotlib plot:
%matplotlib notebook
from IPython.html.widgets import HBox, Button
from IPython.display import display
from matplotlib import pyplot as plt

red = Button(description='Make Red')
green = Button(description='Make Green')

fig, ax = plt.subplots()
ax.plot([1,2,3])

def make_red(button):
    ax.lines[0].set_color('red')
    ax.figure.canvas.draw()

def make_green(button):
    ax.lines[0].set_color('green')
    ax.figure.canvas.draw()

red.on_click(make_red)
green.on_click(make_green)
display(HBox([red, green]))

Thanks, @blink1073!  For whatever reason, it was not obvious to me to you could do exactly what you wrote here. :-)

Cheers, I agree, an example like this would certainly help.
Note that the matplotlib figure is not a widget, but exists separately in the "output area".  There are plans to make it a proper widget in the future.

Once I got going with the example provided by @blink1073, I then revisited  ipywidgets/examples/notebooks/Widget Events.ipynb, which I now realize has a lot of information I needed. That is, I then got to understand the usefulness of on_trait_change.

ping @robclewley, this may be of interest to you.

It sounds like this question has been answered. Thanks everyone!


Add support for Laravel 10.

Hi,
Since Laravel 10 has been released, it would be great if this package would support it. Currently composer install is throwing this error:
t1nkl/postgres-pgbouncer-extension[1.0.0, ..., 1.0.1] require laravel/framework ^7.0|^8.0|^9.0 -> found laravel/framework[v7.0.0, ..., v7.30.6, v8.0.0, ..., v8.83.27, v9.0.0, ..., v9.52.0] but it conflicts with your root composer.json require (^10.0).
Guessing it as simple as adding |^10.0 to the src composer.json
ps; seeing you're from UR, hoping you are safe. (Y)

@JessengBijleng Hello.
I'm sorry it took so long before I answered you.
I added laravel 10 support in composer.json file


[feat] finish implementing legal 6502 opcodes

there are a lot of opcodes missing up until this point.
this issue will double up as a checklist for opcodes that i have implemented.


HingoraniCasas importer completes but source doesn't appear in database

I ran an importer for a new source today (HingoraniCasas) and it showed that it successfully completed. However, when I go to look for the source, it is not found within the database.

This issue (which turned out to be a code error) was fixed in #182

As this is fixed, I'm going to go ahead and close this!


Use PHPStorm style gutter highlights

They show error and warning markers in scroll bar, they look pretty neat.

This might conflict with the minimap package.

Well. We already have a minimap package. and a linter binder for minimap. Do we have an option to disable gutter displays? I am a bit busy ATM and can't check

minimap-linter has been working well for me so far :wink:

True true!


Tables can overrun the right margin

I haven't yet tried to reproduce this problem in a small document. Please let me know if you'd like me to try to do this.
Please see the beginning part of the Typst code for a table, and how it renders.
#figure(
  kind: table,
  caption: [Table 1: XML Description Markup])[
  #tablex(
    columns: (auto, auto, auto),
    align: (auto, auto, auto),
    fill: table-fill.with(columns: 3, header-rows: 1),
    header-rows: 1,
    repeat-header: true,
    header-hlines-have-priority: false,
    auto-hlines: true,
    auto-vlines: false,
    (), vlinex(), vlinex(), (),
    [Name], [Markup Example], [Description],
    [Italics], [`''italic text''`], [Two apostrophes on each side of
      some text will result in the contained text being emphasized in
      italics.],
    [Bold], [`'''bold text'''`], [Three apostrophes on each side of some
      text will result in the contained text being emphasized in bold.],
    [Bold italics], [`'''''b+i text'''''`], [Five apostrophes on each
      side of some text will result in the contained text being
      emphasized in bold italics.],
    [Paragraph], [This paragraph just ended.], [A line break is
      interpreted as a paragraph break.],
...

Hi, I couldn't reproduce your issue, but I've pushed a fix to main which might help (with https://github.com/PgBiel/typst-tablex/commit/f00b91c7d9383ebd194fb9e36ee5999339c38891). Can you try and see if the latest version in main makes a difference in your case (possibly fixes the issue)? Maybe also share a minimal repro if possible so I can conduct my own tests. Thanks!

Closing due to inactivity; feel free to reopen if the issue is still reproducible.


repo list allow to open in new tab

repo list should also be as able as build list to open in a new tab

Hello @6543,
I would like to contribute to this issue. How can i get started? :)

@CypherpunkSamurai 👋
https://woodpecker-ci.org/docs/next/development/ui
all the next docu about development is interesting in this case ... but especialy the UI part

Could you please clarify the issue?

The element that is the link is rendered as a button element and not a a element. This is incorrect HTML semantics and reduces accessibility. You can still use middle click because it still triggers the on-click action and programmatically navigates to the page.
This PR fixes the issue though

https://github.com/woodpecker-ci/woodpecker/pull/1602

The element that is the link is rendered as a button element and not a a element.

I agree if you are talking about an add repository button, for example. If this list of repositories is what @6543  meant, thank you for clarifying the task)


No cursor appearing

not completely sure if the issue name is correct, but i'd basically like to ask the user for input, and when using the following command there is no indication for the user that he can start typing (i've noticed that in drun and run the same thing happens, and i'm not sure whether this is intended and if so what's the reasoning behind it)
printf ""|tofi --require-match false --prompt-text "Enter your query: "

Yeah I just haven't implemented a cursor at all at the moment. I'll probably add the option to have one eventually.

Ok, I've added the option to have a text cursor with various styling options in 6c47cf7892d0f212b04e7b798e53c120f51022d7 - you can turn it on with --text-cursor true.
This turned out to be really quite complicated, so the chance of there being bugs is fairly high - testing is much appreciated!

can confirm it works, as expected :)
sorry for the very late reply


Dice Nitro Server (Multi threaded server) Implementation

Added complete wiring & implementation for nitro server.
Wired test setup to use Nitro server, behind a feature flag DICE_TEST_NITRO_SERVER_CORES
Fix integration tests with nitro server
Added make commands for nitro server testing

How to run Nitro Server?
Just pass --cores parameter to existing main.go.
go run main.go --cores 50

How to test Nitro Server?
export DICE_TEST_NITRO_SERVER_CORES=3 # or whatever
make test

You can also use the make command make test-nitro
Current Open Issues

(Blocker) QWATCH is not functioning as expected.
Existing Unit tests are unaffected
Existing Integration are unaffected
(Non-Blocker) Many integration tests are still failing on Nitro mode

Proposal:
Propose to review the overall structure and address any critical concerns. We can merge the current implementation with a few integration tests failing for Nitro mode. We can create new tickets for failing tests in nitro mode and divide and conquer them.
Dice CLI -

Sample Integration Test with new Make command-
 ~/work/code/dice   blue/multithreaded-server  TEST_FUNC=TestGetEx make test-one-nitro
export DICE_TEST_NITRO_SERVER_CORES=3 && go test -v -count=1 --run TestGetEx ./tests/... && unset DICE_TEST_NITRO_SERVER_CORES
starting the test server on port 8739
2024/08/22 18:44:42 INFO Starting Nitro Test Server with Cores= 3="missing value"
2024/08/22 18:44:42 INFO Starting Dice Nitro server on <IP_ADDRESS>=8739
2024/08/22 18:44:42 INFO Initializing Shard pool with Cores = 5
2024/08/22 18:44:42 INFO Nitro server is ready to accept connections
=== RUN   TestGetEx
=== RUN   TestGetEx/GetEx_Simple_Value
=== RUN   TestGetEx/GetEx_Non-Existent_Key
=== RUN   TestGetEx/GetEx_with_EX_option
=== RUN   TestGetEx/GetEx_with_PX_option
=== RUN   TestGetEx/GetEx_with_EX_option_and_invalid_value
=== RUN   TestGetEx/GetEx_with_PX_option_and_invalid_value
=== RUN   TestGetEx/GetEx_with_EXAT_option
=== RUN   TestGetEx/GetEx_with_PXAT_option
=== RUN   TestGetEx/GetEx_with_EXAT_option_and_invalid_value
=== RUN   TestGetEx/GetEx_with_PXAT_option_and_invalid_value
=== RUN   TestGetEx/GetEx_with_Persist_option
=== RUN   TestGetEx/GetEx_with_multiple_expiry_options
=== RUN   TestGetEx/GetEx_with_persist_and_ex_options
=== RUN   TestGetEx/GetEx_with_persist_and_px_options
--- PASS: TestGetEx (14.02s)
    --- PASS: TestGetEx/GetEx_Simple_Value (0.00s)
    --- PASS: TestGetEx/GetEx_Non-Existent_Key (0.00s)
    --- PASS: TestGetEx/GetEx_with_EX_option (2.00s)
    --- PASS: TestGetEx/GetEx_with_PX_option (2.00s)
    --- PASS: TestGetEx/GetEx_with_EX_option_and_invalid_value (0.00s)
    --- PASS: TestGetEx/GetEx_with_PX_option_and_invalid_value (0.00s)
    --- PASS: TestGetEx/GetEx_with_EXAT_option (5.00s)
    --- PASS: TestGetEx/GetEx_with_PXAT_option (5.00s)
    --- PASS: TestGetEx/GetEx_with_EXAT_option_and_invalid_value (0.00s)
    --- PASS: TestGetEx/GetEx_with_PXAT_option_and_invalid_value (0.00s)
    --- PASS: TestGetEx/GetEx_with_Persist_option (0.00s)
    --- PASS: TestGetEx/GetEx_with_multiple_expiry_options (0.00s)
    --- PASS: TestGetEx/GetEx_with_persist_and_ex_options (0.00s)
    --- PASS: TestGetEx/GetEx_with_persist_and_px_options (0.00s)
PASS
2024/08/22 18:44:57 INFO Context closed
2024/08/22 18:44:57 INFO Context closed
ok      github.com/dicedb/dice/tests    15.797s

Will divide and conquer with other codebase optimisations


Improve CLI and add check_dae

This PR improves the CLI experience by having only one command tqec that accept multiple subcommands. It also implements the tqec check_dae subcommand.
Examples:
>>> tqec --help
usage: tqec [-h] {dae2observables,check_dae} ...

The main tqec command-line tool.

options:
  -h, --help            show this help message and exit

subcommands:
  {dae2observables,check_dae}

>>> tqec check_dae --help
usage: tqec check_dae [-h] dae_file

Takes a .dae file in and check that it is correctly recognized by the tqec library.

positional arguments:
  dae_file    The .dae file to check.

options:
  -h, --help  show this help message and exit

>>> tqec check_dae notebooks/assets/clean_exportable_cnot.dae
No issue found, the provided .dae file seems valid.

The tqec dae2observables subcommand should be equivalent to the previous dae2observable command line.

Strangely enough, I also got this issue and simply adding a from __future__ import annotation (see my last commit) makes the problem disappear. Does that also works for you now?

Yes, it works now. Then I'll approve the merge.


Improved Metadata files/folders exclusion handling

I'm filing this as a new bug:

because the old bug is closed

I did some research on typical metadata files and found some new corner cases that need to be added (I think)

hidden (dot-name) directories
__MACOS directory

I'll send an updated excluded files v1.1 test file. (Weird, I can send an email reply with zip attachment but I can't attach a zip file with the web interface).
I also changed the test file to use actual thumbs.db files and changed the dot-files to non-zero length so they get tested separately from the zero-length file filter. I also renamed the zero-length files to the obvious name for testing.

Directories (hidden or not) that have legit files in it should not be removed by the app. That should be up to the user.
__MACOSX directories I think are basically the same as thumbs.db. So that setting should be "Thumbs.db and __MACOSX" or something.

Perhaps:
[x] Exclude system metadata files (__MACOSX and Thumbs.db)
Note: the Title case on "Thumbs.db". I goofed in my original test file (created with touch). The real files in Exclude Files v1.1 caught this. I have the changes and can do a Pull Request if you prefer.

I was iffy on hidden folders with files that don't match the current filters. I ned to look at how Mac handles metadata on foreign file systems. That would be the most likely culprit. Scan on PC*, thumbstick over (yay sneaker net!), and cleanup etc on Mac.
* Scanner support on Mac is OFTEN a victim to Apple's relentless system updates and manufacturers' economic disincentive to update.


Book author: expected Vector a, encountered String

module Main where

import Faker
import Faker.Book

main :: IO ()
main = do
  title <- generate title
  author <- generate author
  print title
  print author

Gives:
fakedata-bug: user error (Error in $.author: expected Vector a, encountered String)

@k-bx Thanks for the report! I have fixed this in master. Have added a regression test suite: https://github.com/psibi/fakedata/commit/c9c854b5d584a72ae90de02d892ef5ccb2c6bb1f
Will release a new Hackage verion once the CI passes.

Thank you for a quick reaction!

New version 0.2.1 has been published to Hackage.


Plugin version 2023.1.2 not working with UE 5.4.2

I got the latest UE 5.4.2 & installed the Bridge plugins 2023.1.2-UE54 for both DS & UE plugins folder in the engine & the projects, UE loads with an Error message then closes, :
Plugin 'DazToUnreal' failed to load because module 'DazToUnreal' could not be loaded.  There may be an operating system error or the module may not be properly set up
Does version 5.4.2 need other binaries of the plugin? it shouldn't I guess, as this version is not a major build of the engine, but , I am not sure ??

OK I figured it out, I needed to manually enable (ML Deformer Framework) then Try to start UE again & re-enable DAZtoUnreal,, Take care that it might download some pre-default modules for that ML Deformer Framework when you restart UE for the first time after enabling it (might be more than 1 or 2 GBs).


Error while running using CPU

Hi,
I was trying to run the code in my personal machine (without GPU). So  I changed all
device = torch.device("cuda") to device = torch.device("cpu")
after doing so infer the existing model.pt works.
But got the bellow error while try to train the model ftom scratch

D:\MySpace\PycharmProjects\RoBERTa-NL2SQL\envs\python.exe D:/MySpace/PycharmProjects/RoBERTa-NL2SQL/Train.py
0%|          | 0/7045 [00:00<?, ?it/s]
Traceback (most recent call last):
File "D:/MySpace/PycharmProjects/RoBERTa-NL2SQL/Train.py", line 42, in
acc_train = dev_function.train( seq2sql_model, roberta_model, model_optimizer, roberta_optimizer, tokenizer, configuration, path_wikisql, train_loader)
File "D:\MySpace\PycharmProjects\RoBERTa-NL2SQL\dev_function.py", line 36, in train
for batch_index, batch in enumerate(tqdm(train_loader)):
File "D:\MySpace\PycharmProjects\RoBERTa-NL2SQL\envs\lib\site-packages\tqdm\notebook.py", line 253, in iter
for obj in super(tqdm_notebook, self).iter(*args, **kwargs):
File "D:\MySpace\PycharmProjects\RoBERTa-NL2SQL\envs\lib\site-packages\tqdm\std.py", line 1166, in iter
for obj in iterable:
File "D:\MySpace\PycharmProjects\RoBERTa-NL2SQL\envs\lib\site-packages\torch\utils\data\dataloader.py", line 352, in iter
return self._get_iterator()
File "D:\MySpace\PycharmProjects\RoBERTa-NL2SQL\envs\lib\site-packages\torch\utils\data\dataloader.py", line 294, in _get_iterator
return _MultiProcessingDataLoaderIter(self)
File "D:\MySpace\PycharmProjects\RoBERTa-NL2SQL\envs\lib\site-packages\torch\utils\data\dataloader.py", line 801, in init
w.start()
File "D:\MySpace\PycharmProjects\RoBERTa-NL2SQL\envs\lib\multiprocessing\process.py", line 105, in start
self._popen = self._Popen(self)
File "D:\MySpace\PycharmProjects\RoBERTa-NL2SQL\envs\lib\multiprocessing\context.py", line 223, in _Popen
return _default_context.get_context().Process._Popen(process_obj)
File "D:\MySpace\PycharmProjects\RoBERTa-NL2SQL\envs\lib\multiprocessing\context.py", line 322, in _Popen
return Popen(process_obj)
File "D:\MySpace\PycharmProjects\RoBERTa-NL2SQL\envs\lib\multiprocessing\popen_spawn_win32.py", line 65, in init
reduction.dump(process_obj, to_child)
File "D:\MySpace\PycharmProjects\RoBERTa-NL2SQL\envs\lib\multiprocessing\reduction.py", line 60, in dump
ForkingPickler(file, protocol).dump(obj)
AttributeError: Can't pickle local object 'get_data..'
Process finished with exit code 1

Can you tell me if it is related to gpu/cpu or something else.

Hi @TheurgicDuke771 , thank you for bringing this to my notice. Could you please tell me the Operating System you are using when you run these files?

Hi @TheurgicDuke771 , thank you for bringing this to my notice. Could you please tell me the Operating System you are using when you run these files?

Hi @DebadityaPal, I'm using windows 10 home, And running it in an anaconda env with python 3.6.9

Hi @DebadityaPal, I'm using windows 10 home, And running it in an anaconda env with python 3.6.9

Hey @TheurgicDuke771 , sorry for the late reply. This problem seems to be coming from the Python multiprocessing library. apparently, the pool function doesn't work properly in windows in certain circumstances. You could refer to this stackoverflow answer. It is not related to your CPU/GPU. If possible try running the code in a Linux environment.

Hey @TheurgicDuke771 , sorry for the late reply. This problem seems to be coming from the Python multiprocessing library. apparently, the pool function doesn't work properly in windows in certain circumstances. You could refer to this stackoverflow answer. It is not related to your CPU/GPU. If possible try running the code in a Linux environment.

@TheurgicDuke771 I am closing this issue for now. If you have any further queries, feel free to contact me.

@TheurgicDuke771 I am closing this issue for now. If you have any further queries, feel free to contact me.


Is 6-to-library worth spreading the word?

Hello,
I wrote the formatter 6-to-library. Do you think it's worth a mention somewhere in the docs?
Why?
I wanted to author in ES6, and still deliver a seamless experience to users today. The UMD formatter does its job well. But it has no support for simple globals, and always exports exports by name. I wanted to avoid the need for explicitly saying require('a-library').default when only the default key is exported.

Actually as of 6to5/6to5#379 the AMD/UMD module formatter exports directly with defaults. 6to5 was going to add support for globals (see https://github.com/6to5/6to5/issues/119#issuecomment-61430514) but there were various issues associated with it.

Alright, now looking at your tests it seems like I have picked up something you had been working on in parallel. Bad luck :)
BTW, it's a lot cleaner than my solution. Impressive how quickly 6to5 develops. Thumbs up!

Thanks for your work though @tomekwi! I'll check out your globals stuff as I haven't currently implemented that and I'd be interested to see how it works.

@sebmck, I've simply chosen to name the export/import after the filename. This approach isn't explicit, but works out of the box – also when you have mutiple modules in your app.
When you need to import a library by another name, you use the syntax import _ from "lodash". I think it's quite natural, just as import $ from "jquery" or import m from "mithril" anyway.
You can still import {default as _} from "lodash" if you really want the global.lodash.


feat: virtualized list

Why
We need to preserve scroll position. It was getting tricky with virtuoso, still tricky with tanstack virtual. But this seems to be working. Also, it is much faster.

How
Replace Virtuoso with tanstack virtual. Should only affect desktop web and mobile web

Test Plan
Test all the lists in desktop and mobile web

I'd increase the overscan for comments even more, since small lists act weird with the scroll bar and momentum when you try to scroll up. I think we can handle some more comments easily.

@hirbod added overscan support back and increased it to 6 for comments.


Upgrade zerolog to latest (v1.21.0)

Pull Request Test Coverage Report for Build 699557667

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 74.434%

Totals

Change from base Build 699548639:
0.0%

Covered Lines:
690

Relevant Lines:
927

💛  - Coveralls


[BEAM-11460] Support reading Parquet files with unknown schema

Data engineers encounter times when schema of Parquet file is unknown at the time of writing the pipeline or multiple schema may be present in different files.  Reading Parquet files using ParquetIO requires providing an Avro (equivalent) schema, Many a times its not possible to know the schema of the Parquet files.
On the other hand AvroIO supports reading unknow schema files by providing a parse function : #parseGenericRecords(SerializableFunction<GenericRecord,T>)
Supporting this functionality in ParquetIO is simple and requires minimal changes to the ParquetIO surface.

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[x] Added new tests for the feature in ParquetIOTest
[x] Choose reviewer(s) and mention them in a comment (R: @lgajowy and @jbonofre).
[x] Update CHANGES.md with noteworthy changes.
[x] If this contribution is large, please file an Apache Individual Contributor License Agreement.

GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

@lgajowy @jbonofre Can you review the feature for reading Parquet files with unknown schema

@anantdamle Thank you for contribution!
Please, do your changes in the feature branch, not your master.
https://cwiki.apache.org/confluence/display/BEAM/Git+Tips

As the branch needs to change. Created new PR/13616


added name and link to index.html

@JaredClayborn  contribute here https://github.com/Ishaan28malik/Get-Dev-Resources


Fix the footer

The items in the footer are not sized and aligned properly.

@Anupkjha2601 Please assign this issue to me.

Is Anyone working for this issue , If not please assign this to me under gssoc 23

@Anupkjha2601 Please assign this issue to me.


First draft of values statements

My first draft is over in my repository. I would love some comments and feedback before I make a PR!
https://github.com/mistergone/agile-playbook/blob/master/README.md
@stephanieosan @andybacon @ascott1 @elizbond @marteki

before I make a PR

:no_mouth:
:stuck_out_tongue_winking_eye:

Before I uh... well... uh... technically I typed that before I made the PR. :octopus::question::question:

I agree with @virtix that it'd be good to add references to the Agile Manifesto. I might go further, and also add references to things about Scrum and Kanban and other stuff that's influenced the way we practice Agile at the CFPB. Another way to subtly call out that we incorporate lots of things, and aren't rigid in our mindset or practice.

@marteki I totally agree that we need to talk about Scrum, Kanban, etc - those are things I intend to include in a second, more technical document about implementation of frameworks. :smile:
Eventually, this will all be compiled into a nice github pages website. This first README is just the introduction and values statement.

:+1:
:smiley:

I'd like to see us speak more directly about how these principles are put into practice across our teams. It seems like you touch on this in many places, but maybe each principle should have a "what this looks for our teams" type of section.
For individuals, maybe it's worth touching on how we empower each of our teams to adapt and customize how they work and communicate to best fit them.
For customer collaboration, I'd mention how we prefer close working relationships with our clients where representatives of different parts of the Bureau serve as product owners, and we often have embedded subject matter experts and content specialists within our tech team.
I think it might be worth highlighting how ingrained iteration based on user feedback is to our process, and how much we value usability testing and user research. Maybe that fits best under the Responding to change heading. Working agile-ly allows us to pivot when we realize that what we're building needs changes to make it better serve consumers.

For anyone watching this PR, I moved the values out of the README into its own doc (in ./_pages/, which is basically kind of a "in case we use Jekyll sometime" directory name). The values doc should be linked from the README now. :octopus:


Restricting the minute field options to every 15 mins

Hi @abichinger, I was wondering whether it is possible to restrict the minutes field to every 15 minutes.
I have used the following code for the minuteItems:
const minuteItems = () => {
        let res = []
        for(let i of cronVuetify.util.range(0, 59, 15)) {
            const item = {
                text: cronVuetify.util.pad(i, 2),
                alt: i+'',
                value: i
            }
            res.push(item)
        }
        return res
    }

However, this results in the dropdown for the minutes menu looking like the following

Despite this, the correct numbers (0, 15, 30, 45) are inputted into the cron expression when the corresponding option is clicked.
I was also wondering whether there is a minimum time period property, perhaps that can be added to the validation?
Any advice on resolving this would be much appreciated.

Hello @charlie-litchfield-red, thank you for giving my cron component a shot :)
I was able to reproduce the error on my end and found out that part of the number is hidden.
This is caused by v-list-item, which sets the css property overflow to hidden.
PLACEHOLDER should fix this issue. Please let me know if it works for you.
In addition it is required to import vuetify.css
import<EMAIL_ADDRESS>

Thank you very much for looking at this. All is now working as expected


Azure Kinect Camera not detected in Viewer - Windows 11

Device is connected via USB 3.0 and LED on back is solid white.
Azure Kinect Viewer fails to detect the device.
Desktop:
Display Drivers: latest nVidia GeForce
OS with Version: Windows 11 Pro, version 21H2
SDK Version: 1.4.1
Firmware version: (unable to connect)

Additional context
Unable to Find device in Azure Kinect Viewer app, tried refresh devices, reboot.
Unable to see device serial number
USB cable directly plugged into rear port of computer, USB3, no hub used
I can run the Kinect as a webcam/camera through Windows Camera app.
Usual Webcam has been disconnected
Tried on work laptop, same issue - is this a Windows 11 incompatibility?
Azure Kinect 4K Camera is detected in the Device Manager under cameras
Azure Kinect 4K Camera and Azure Kinect Depth Camera are detected in the Device Manager under USB devices
Solution found - updated to latest firmware and worked straight away.
Can close
Just a FYI, command used in case anyone else needs:
.\AzureKinectFirmwareTool.exe -u firmware\AzureKinectDK_Fw_1.6.110079014.bin

Have this bug been solved?

Solved with update to newest firmware. Thanks a lot


[FEA] cucim skimage local entropy

I wish I could use cuCIM to use also skimage local entropy function:
https://scikit-image.org/docs/dev/api/skimage.filters.rank.html#skimage.filters.rank.entropy

Hi @FrancescoRossiAiko, adding this along with other functions under skimage.filters.rank is something I want to do. These would share a lot of common code and I think this would be an adaptation of the rank filters code already developed in CuPy (the ones currently there under cupyx.scipy.ndimage are minimum_filter, maximum_filter, mean_filter, percentile_filter).

Hi @grlee77, thanks for your answer. Adding skimage.filter.rank could ideally unlock many other functions beside entropy based on local histogram evaluation. Do you think there may be a way to collaborate with or to help you?

Do you think there may be a way to collaborate with or to help you?

Sure, we are happy to have contributions. Do you have some familiarity with writing CUDA kernels in C/C++? I think this would use cupy.ElementwiseKernel. The way this is implemented in CuPy is to generate the C++ code corresponding to the kernel at run time. This is powerful, but makes it a bit more of a pain on the implementation side as we basically have text templates representing the code with the number of nested loops matching the image dimension, etc. Specifically, the rank filters use this _get_rank_kernel function which just sets up some arguments to the general _generate_nd_kernel function. That existing _get_rank_kernel function is assuming we want to sort the values in the footprint, but we would need different code to do the entropy calculation, etc. I assume we can mostly reuse the existing _generate_nd_kernel, but haven't not looked closely yet.

To clarify, the implementation would live here and not in CuPy itself. We would just need to vendor a copy of the kernel generation code at this location https://github.com/rapidsai/cucim/tree/branch-22.04/python/cucim/src/cucim/skimage/_vendored because the _generate_nd_kernel helper function is not part of the CuPy public API.


Issue with Motor Control Range in myoelbow_1dof6muscles_1dofexo_body.xml

In the file myoelbow_1dof6muscles_1dofexo_body.xml, there's a motor definition:
<motor name="Exo" joint="r_elbow_flex" gear="8.5"/>
Through our tests on the model, we found that the control range [-1,1] is the default and aligns with normalized action requirements. However, a control_signal of -0.3 corresponds to a joint_angle of 0 radians, and a control_signal of 0.8 corresponds to a joint_angle of 2.27 radians. This mapping doesn't cover the entire joint angle range.
Additionally, when we set the gear value to 1, the change in joint_angle is not equal to the change in control_signal. Are there other factors influencing this behavior?
Could you clarify the purpose of setting the gear to "8.5"? Thank you so much!

The specified motor is introducing a torque actuator. This actuator models the torque provided by the elbow exoskeleton. The intensity of the torque provided by the exoskeleton can be tuned with the term gear="8.5".
Setting the gear value to 1, the change in joint_angle will not equal the change in control_signal. This is because

Both muscles as well as exoskeleton are force/torque actuators, not position actuators.
The elbow joint dynamics evolve under the influence of the actuator torques (produced by the muscles as well as the exoskeleton) and the passive (gravitations, inertial, Coriolis) forces.


AZ1057: Fix claim algorithm v2 to work when in legacy cluster mode

Change wants_claim_v2 and choose_claim_v2 to upgrade the input ring. This allows the algorithms to work properly when in legacy mode, where the old ring format may be passed in rather than the new ring format. This allows for mixed 0.14.2 and 1.1 clusters, such as during a rolling upgrade.

This is the 1.1 variant to the already reviewed and merged 1.0.3 pull-request:
https://github.com/basho/riak_core/pull/133


Document v2.0 /write API compatibility

URL for relevant page?
https://docs.influxdata.com/influxdb/v1.7/tools/api/
What products and version are you using?
InfluxDB 1.8
InfluxDB 1.8 introduces compatibility for the 2.0 write API.  This enables users who are on 1.8 to adopt new v2.0 client libraries now.  With the arrival of 1.8, users should be able to leverage both Flux (as their primary query language) and the 2.0 write API making their transition to 2.0 OSS, Cloud and Enterprise seamless.
However, we should document the best practices to ensure that this is as easy as possible for our users.
Tracking issue:
https://github.com/influxdata/influxdb/issues/16898
PR:
https://github.com/influxdata/influxdb/pull/16908/

Closed via #2701.

#2733


alphafold multimer msa

Hi,
Alphafold method makes extensive use of multiple alignment of sequences.  For the monomer case is clear which MSAs have been used by looking at the files stored in msas directory. I understand that for the multimer case the situation is more complex. Is there any place containing a list of the pairs of sequences used by Alphafold-multimer?

Hi, we would suggest exploring features.pkl - this file contains the outputs of the data pipeline as NumPy arrays which as used by the models to produce the structures (see https://github.com/deepmind/alphafold#alphafold-output). Closing this issue for now, but feel free to reopen if this seems unclear or if you have further questions.


How is "relative depth" defined precisely?

Thank you very much for the wonderful work! Can you tell us more about how "relative depth" is defined?

Hi @foamliu, Could you please elaborate your query with more details. Thanks!

Hello @sgowroji , thanks for quick response, let me explain the query:
Given wrist landmark coordinates(X0, Y0, Z0) in object space(camera coordinate system), arbitary landmark (Xi, Yi, Zi) and camera parameters, we can compute their image points (x0, y0) and (xi, yi) in image plane based on pinhole camera model. However, I( don't know how to calculate relative depth zi with above information. I'm trying to calculate zi using the following formula, is that correct?

I'm not sure if this question is related to Objectron. Figure above is definitely not representative of how we compute depth.
We use homogenous points for projection, so if p=(x, y, z) --> p_2d = (x/z, y/z).
You can read more about this from the book Multiview geometry by Hartly Zisserman.

Thanks ahmadyan. Maybe I didn't make it clear. Homogeneous coordinates are fine. I mean, when you train the MediaPipe Hands 2.5D landmarks prediction model, you feed the model with image and label. For each hand, the annotation information includes the 21x3 2.5 coordinate. For each joint, the coordinates are xi, yi, and zi. The first two are the pixel coordinates of the joint in the image. How is the third one -- zi, the relative depth of the joint, calculated? In the synthetic dataset, you certainly have every landmark coordinates (Xi, Yi, Zi) in the camera coordinate system. You also have camera parameters. How do you calculate 2.5D coordinates from 3D coordinates?

The question is related to MediaPipe Hands, not Objectron. :)

Hello, Ping~ :） @bazarevsky

Hello, Ping~ :） @bazarevsky @sgowroji

Hello, Ping~ :） @bazarevsky @sgowroji

To obtain ground truth for BlazePose and Hands we use GHUM model (https://github.com/google-research/google-research/tree/master/ghum). We reconstruct object pose in 3D meter space on the basis of various signals, like 2d keypoint prediction, segmentation mask, etc. Some details related fitting can be fond here (https://blog.tensorflow.org/2021/08/3d-pose-detection-with-mediapipe-blazepose-ghum-tfjs.html).
However, due to BlazePose/Hand pipeline architecture, they operate on a cropped image, and that mean, for cropped region, we need to predict 3D in a relative manner. That is why, we normalize 3d metric coordinates (obtained from the fitting) so center of coordinates is not a camera, but some subjects keypoint (For pose it would be average of left and right hip. For hand: middle finger first knuckle).


Make subscribe synchronous

Subscription is in fact synchronous, but exposed as async function and this makes very hard to use if you want to subscribe in object constructor.

agree


"Not connected to the internet" but other websites load

Ok I'm just going to guess that the localtunnel servers are down?
Every other site on my device is loading except any localtunnel site.
It's weird because it doesn't respond with "The server is not responding" it responds with "Not connected to the internet"
I am away on a vacation currently so I could understand why something could go wrong, but then I remotely connected to my Raspberry Pi hosting it back home and it won't load on there either.
Update: When using "node server.js" I can see it never prints the URL or throws an error

I think localtunnel servers are down. My dev tunnels are not being created, and the website localtunnel.me can't be reached.

@noah-haub I think so too. I think it stopped working around 2:30AM (est)

How long do we have to wait before its back up?

halp halp

Should be back up now!


[TF Frontend] Operation converters refactoring

Details:

Move Op convertors to separate files
Update tf Builder
Refactor Copyrights

Tickets:

TBA

@itikhono, please resolve a conflict with ngraph_builder.cpp

@itikhono, please fix code style

now I am checking this on e2e tests. please do not merge for while.


Fix hidden signals in Signals in Folder Content tab

Summary of changes
Add filter for resolved attributions to 'Signals in Folder Content' tab.
Context and reason for change
Hiding a signal should remove it from the 'Signals in Folder Content' tab and make it only visible through the 'Signals' tab of the resources, the signal is attached to. So far, the signal stayed greyed out in the 'Signals in Folder Content' tab, if at least one resource, to which the signal was attached to, had one or more other non-hidden signals. This commit fixes this behavior by adding a filter for resolved attributions to the 'Signals in Folder Content' tab.
How can the changes be tested
Run tests and / or use example file to hide a signal that is attached to a resource with at least one other non-hidden signal. Verify that the signal is not visible in the 'Signals in Folder Content' tab after hiding it

One test is still failing, let's have a look together.


Fingers get ignored

Hi,
we have a problem that fingers from the rig are ignored in general. In the new generated rig all finger bones are gone.
We follow these naming conventions from the unity mecanim manual site.
Any steps we need to follow to prevent this?

Added support for finger bones here
https://github.com/AlexLemminG/Rigify-To-Unity/tree/non-basic-Human
Basic idea is having them parented to hand bone,

Some expected namings could be found in this script
https://github.com/Unity-Technologies/UnityCsReference/blob/master/Editor/Mono/Inspector/Avatar/AvatarAutoMapper.cs


Creating React App

Type: Feature Request
Inorder to create react app
while executing "npx create-react-app my-app"
im getting the following errors for past 2days.
npm ERR! code ENOTFOUND
npm ERR! syscall getaddrinfo
npm ERR! errno ENOTFOUND
npm ERR! network request to http://registry.npmjs.org/create-react-app failed, reason: getaddrinfo ENOTFOUND proxy.example.com
npm ERR! network This is a problem related to network connectivity.
npm ERR! network In most cases you are behind a proxy or have bad network settings.
npm ERR! network
npm ERR! network If you are behind a proxy, please make sure that the
npm ERR! network 'proxy' config is set properly.  See: 'npm help config'
kindly assist me with this error.
VS Code version: Code 1.87.2 (863d2581ecda6849923a2118d93a088b0745d9d6, 2024-03-08T15:20:17.278Z)
OS version: Windows_NT x64 10.0.22621
Modes:

/needsMoreInfo
Please specify how it's related to the VS Code editor itself.
Look like issue with npm and not VS Code. Does this command work if you run it in same folder but in terminal outside of VS Code?

Thanks for creating this issue! We figured it's missing some basic information or in some other way doesn't follow our issue reporting guidelines. Please take the time to review these and update the issue.
Happy Coding!

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


Improve state handling of computed position

Closes #1146.
Beta version<EMAIL_ADDRESS>

Still missing some testing.


Not able to pull a request from master branch to main branch

I am trying to pull the files from the master branch into the main branch, but the issue is that I am not able to pull a request from the master branch to the main branch.

Whenever I try to pull a request from the master branch to the main branch, it is showing a message that "there isn't anything to compare" and that main and master are entirely different commit histories.


can't close terminal buffer when tabs are hidden

I'm using onivim in vim buffer mode which was added recently.  However I can't seem to close the terminal, presumably because : doesn't open up the command mode popup like an editor does.
I can workaround this by making the terminal active and then clicking on a file in the file explorer and then doing :q.
Ideally it would be good to have a command to bind a key to open/close the terminal.

Control+W, Q might work for this to close the window - I don't think we have that hooked up, yet.
One alternative would be to run the exit command - that should close the terminal (but is a bit more verbose!)

Thanks, just tested Cmd +W and it does work (onMacos). Would be good to have a keybind to toggle open/close terminal like vscode. ?But thats probably a seperate issue.   Shall I close this one out or do you want it left open to test other OS's? @bryphe

This should be better now with #3498


import '../app.css'; causing Acorn parse error

When vite loads I get the below error from the acorn parser,
 error SyntaxError: Unexpected token (1:0)
    at pp$4.raise (file:///Users/dan/dev/svelte-booker/node_modules/acorn/dist/acorn.mjs:3640:13)
    at pp$9.unexpected (file:///Users/dan/dev/svelte-booker/node_modules/acorn/dist/acorn.mjs:766:8)
    at pp$5.parseExprAtomDefault (file:///Users/dan/dev/svelte-booker/node_modules/acorn/dist/acorn.mjs:2984:8)
    at pp$5.parseExprAtom (file:///Users/dan/dev/svelte-booker/node_modules/acorn/dist/acorn.mjs:2979:17)
    at pp$5.parseExprSubscripts (file:///Users/dan/dev/svelte-booker/node_modules/acorn/dist/acorn.mjs:2763:19)
    at pp$5.parseMaybeUnary (file:///Users/dan/dev/svelte-booker/node_modules/acorn/dist/acorn.mjs:2721:17)
    at pp$5.parseExprOps (file:///Users/dan/dev/svelte-booker/node_modules/acorn/dist/acorn.mjs:2649:19)
    at pp$5.parseMaybeConditional (file:///Users/dan/dev/svelte-booker/node_modules/acorn/dist/acorn.mjs:2632:19)
    at pp$5.parseMaybeAssign (file:///Users/dan/dev/svelte-booker/node_modules/acorn/dist/acorn.mjs:2599:19)
    at pp$5.parseExpression (file:///Users/dan/dev/svelte-booker/node_modules/acorn/dist/acorn.mjs:2562:19) {
  pos: 0,
  loc: Position { line: 1, column: 0 },
  raisedAt: 1
}

The error message lacks context so I added a console.log to the asyncTransform.transform() catch block and the error appears to result from parsing the css file loaded from the  import '../app.css'; in my layout.svelte. I'm using tailwindcss.
If I remove the import I no longer get the parse error, but of course my css doesn't load.

Hey @djs959, please can you make a minimal reproduction so we can take a look, trying this locally I don't encounter the issue you mentioned. If you haven't already encountered it, https://www.sveltelab.dev/ is great for creating minimal reproductions

Hey @djs959, thanks for bringing this to our attention. As @paoloricciuti mentioned, it's not showing an actual issue but rather displaying the caught error when the parser tries to parse a non-parseable file. We've updated it and it will be part of the next release so keep your eyes peeled for that 👀. Here's the release PR - https://github.com/mainmatter/sheepdog/pull/234


List considerations for each message.nack() call

With Cloud Pub/Sub's default retry logic, nacking messages can make the
workers spin on nacks instead of making progress on good messages. For
now, this commit just tries to enumerate the various cases that could
lead to a nack, and whether each case is actually useful to nack or not.
We'll probably follow up with more changes to mitigate the issue.
(Possibly just a README change recommending changing Pub/Sub's retry
logic.)
CC @robsideshow @dgorelik @bpg130

I think https://github.com/google/proto-task-queue/pull/11 will fix the tests.


[8.x] Add support for deferrable event subscribers

Calling the "listen" method on the Dispatcher class is something that we want to avoid on each and every request especially when we have a bunch of events that are fired on very few requests.
For example, we register listeners for userRegistered event on each and every request but the registration process counts only a few requests to the server and 99.99% of the time the registered listener will not be fired.
So the implementation of the listen method is better to be called only when it is really needed. (for rarely fired event)

This PR makes it possible for event subscribers to mimic the good old DeferrableServiceProviders.
Lazy Event Subscribers implement an interface and return a list of events that they are interested in.
So after all, if we have a bunch of fired events for the user registration process, we can bundle them in a single DeferrableSubscribers and free up the majority of the framework boot processes from going through the guts of the listen method.

This does not support wildcard events, but that can be added later on.
Variable names within the implementation may need to be justified a bit.
The tests are included.

Backward compatibility:
Seems to be fully additive and compatible with older versions.

What is the before and after benchmark for this change on a typical Laravel application that makes a few database queries and hits a controller?

It seems very hard and disgusting to measure the benefit in numbers since it depends on the hardware and php version, op-cache config, etc
This PR was suggested mainly on the assumption that:
1- The boot process is a critical part of the framework since it is shared between all requests, so psychologically people do not feel free to put a lot of code within it.
2- If the deferrable provider was nice enough, if we compare a typical Event::listen() call to aapp()->singleton() call,
it is at least 20 times slower.
So I thought that a DeferrableSubscriber is much more reasonable to have than a DeferrableServiceProvider.

In other implementation is possible to derive the event names by reading out the keys of a declarative event subscriber.
so that the listensTo method would not be needed.
on other words, instead of calling listensTo we can just $events = array_keys($subscriber->subscribe())

@driesvints Do you think that it is possible to have a cache system for event/listener stuff the same way we have for routes?

The benefit of the cache system for routes isn't necessarily the registration it's the regular expression matching. That doesn't really apply to events.

I don't think this will have a relevant performance benefit for most applications.


Error: Invalid field name(s) given in select_related: 'post_processor_tags'. Choices are: (none)

Invalid field name(s) given in select_related: 'post_processor_tags'. Choices are: (none)
Request Method: 	GET
Request URL: 	http://<IP_ADDRESS>:8000/feedjack
Django Version: 	1.8
Exception Type: 	FieldError
Exception Value:
Invalid field name(s) given in select_related: 'post_processor_tags'. Choices are: (none)
Exception Location: 	/usr/local/lib/python2.7/dist-packages/django/db/models/sql/compiler.py in get_related_selections, line 743

Thanks for the report.
Can you get a full traceback of that error?
Haven't ran the app with Django-1.8 myself, but the "field" is not used with select_related anywhere in the code explicitly, so I've no idea where this comes from.
I think it might also be an easily reproducible thing with Django-1.8 (as often is the case with major django updates), so maybe I'll stumble upon it myself eventually.

here is the full traceback:
Environment:
Request Method: GET
Request URL: http://<IP_ADDRESS>:8000/feedjack
Django Version: 1.8
Python Version: 2.7.3
Installed Applications:
('django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'feedjack')
Installed Middleware:
('django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.common.CommonMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.auth.middleware.SessionAuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.clickjacking.XFrameOptionsMiddleware',
'django.middleware.security.SecurityMiddleware')
Traceback:
File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py" in get_response
132.                     response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/usr/local/lib/python2.7/dist-packages/feedjack/views.py" in mainview
217. 		(_mainview)(request, view_data, **criterias)
File "/usr/local/lib/python2.7/dist-packages/django/views/decorators/http.py" in inner
158.                 response = func(request, *args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/feedjack/views.py" in _mainview
222. 		ctx = fjlib.page_context(request, site, **criterias)
File "/usr/local/lib/python2.7/dist-packages/feedjack/fjlib.py" in page_context
186. 	if site.show_tagcloud and page.object_list:
File "/usr/local/lib/python2.7/dist-packages/django/db/models/query.py" in nonzero
170.         return type(self).bool(self)
File "/usr/local/lib/python2.7/dist-packages/django/db/models/query.py" in bool
166.         self._fetch_all()
File "/usr/local/lib/python2.7/dist-packages/django/db/models/query.py" in _fetch_all
965.             self._result_cache = list(self.iterator())
File "/usr/local/lib/python2.7/dist-packages/django/db/models/query.py" in iterator
238.         results = compiler.execute_sql()
File "/usr/local/lib/python2.7/dist-packages/django/db/models/sql/compiler.py" in execute_sql
818.             sql, params = self.as_sql()
File "/usr/local/lib/python2.7/dist-packages/django/db/models/sql/compiler.py" in as_sql
367.             extra_select, order_by, group_by = self.pre_sql_setup()
File "/usr/local/lib/python2.7/dist-packages/django/db/models/sql/compiler.py" in pre_sql_setup
48.         self.setup_query()
File "/usr/local/lib/python2.7/dist-packages/django/db/models/sql/compiler.py" in setup_query
39.         self.select, self.klass_info, self.annotation_col_map = self.get_select()
File "/usr/local/lib/python2.7/dist-packages/django/db/models/sql/compiler.py" in get_select
203.             related_klass_infos = self.get_related_selections(select)
File "/usr/local/lib/python2.7/dist-packages/django/db/models/sql/compiler.py" in get_related_selections
697.                 select, f.rel.to._meta, alias, cur_depth + 1, next, restricted)
File "/usr/local/lib/python2.7/dist-packages/django/db/models/sql/compiler.py" in get_related_selections
743.                         ', '.join(_get_field_choices()) or '(none)',
Exception Type: FieldError at /feedjack
Exception Value: Invalid field name(s) given in select_related: 'post_processor_tags'. Choices are: (none)

Should be fixed as of 91924b2 and 15.4.6, was indeed Django-1.8 incompatibility thing, thanks again for an early warning.


Fixes #2988 No-DB IntelliSense is not available for virtual environments

Fixes #2988 No-DB IntelliSense is not available for virtual environments
Enables no-DB completions for virtual environments.
Fixes #2990 AST analysis does not cache scraped files
Adds caching.
Significantly improves extension module scraping.

👍


Feature: Generate LICENSE content

Currently an empty LICENSE file is created, but instead it would a great if one could select the license of the package and the generator would add the appropriate content.
Like $ laravel-package generate aheenam/awesome --license=MIT would generate a package with MIT License already setup.

Done in<PHONE_NUMBER>64ace4864505e0b791db679bfd8e05 to e18eae94eb77700618c36522b09b9cc61c48c84e


Handheld syringe pump with heating element

This project is to develop a handheld syringe pump with a heating element.
Contact: Cornelius Bausch (csb75)

Summary
A handheld syringe pump with an included heating element will be constructed for microfluidic applications. An Arduino will be used as the central controlling element. It adjusts the temperature via a mantle-type heating element wrapped around the syringe, and sets the flow rate and target volume by regulating the rotation of a stepper motor. A 3D-printed structure will be used will be used making the device light, inexpensive, and easy to replicate. The temperature control provides a novel feature, making the device an ideal tool for microfluidic cell culture applications.


config: Allow enabling the log enricher on install time using the ENABLE_LOG_ENRICHER variable

What type of PR is this?
/kind feature

What this PR does / why we need it:
Some installations might want to enable the log enricher at install
time. Using an environment variable seems like a nice way of doing that,
for example because then it's possible to use a Subscription object when
installing using OLM.
Which issue(s) this PR fixes:
Fixes #1167

Does this PR have test?
no

Special notes for your reviewer:
N/A
Does this PR introduce a user-facing change?

It is now possible to enable the log enricher at install time by setting the
ENABLE_LOG_ENRICHER environment value to true.

Codecov Report

Merging #1235 (22695e0) into main (b29f54c) will decrease coverage by 0.03%.
The diff coverage is 0.00%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1235      +/-   ##
==========================================
- Coverage   45.42%   45.38%   -0.04%
==========================================
  Files          48       48
  Lines        5361     5365       +4
==========================================
  Hits         2435     2435
- Misses       2806     2810       +4
  Partials      120      120

/test pull-security-profiles-operator-test-e2e


Option to omit space between array elements

We like to encode objects and arrays to query parameters using YAML. The parser is able to parse this correctly:

But unfortunately, the dumper always adds unneeded spaces between array elements:

We don't encode [] for prettiness and browsers can handle them fine (PHP has used them forever), but spaces of course do need to be encoded, which is not very pretty.
Here are the options I am currently using to output single line YAML:
yaml.safeDump(value, { flowLevel: 0, indent: 0, lineWidth: Infinity, noCompatMode: true, sortKeys: true })

It would be great to have an option for omitting these non-required spaces / emitting "minimized" YAML.

IMHO that's a madness to use yaml parser/dumper such way :). It's not intended for URL encoding. Goal of dumper is to create pretty human-readable result. May be it creates something close to your wishes... by accident... but that's not enougth to add as official option.
I tend to reject as "out of project scope", but if i miss something important, please explain.

Well, what is the project scope? According to the readme:

This is an implementation of YAML, a human-friendly data serialization language.

Good applications should have readable, human friendly URLs, at the same time complicated applications have complicated data to serialize in the URL. A clear use case for a human-friendly data serialization language.
Basic key=value encoding doesn't fill that need, the data model is too basic. Some applications use styles like array[]=1&array[]=2 to encode nested structures but that bloats quickly and doesn't achieve the goal of good readability.
JSON can encode nested data, but results in bloated output and lots of reserved characters because of the required quotes everywhere.
YAML sits perfectly in-between, supporting all data structures of JSON with the simplicity of basic, unquoted key=value pairs.
It fits directly into the project scope imo. It doesn't create something close to what I want by accident, it creates something close to what I want because what I want (a human friendly yet powerful data serialisation) is exactly what this project offers (a human friendly yet powerful data serialisation) 🙂 .
I understand that you don't want to commit to maintaining a lot of code for rare use cases, but I imagine the implementation and maintenance cost of this to be minimal. There are already great options to control the line breaking behaviour, I don't think an option to omit the added space in this single case (array elements) would hurt.

Ok, PR with condensed flow mode support will be accepted.

Closing to keep tracker clear. But if anyone decide to create PR - that will be accepted.


Colorcolumn not shown in area indented by 'breakindent'

The automatic visual indentation by 'bri' or 'briopt=shift:{n}' seems to cancel out any column highlighting by 'colorcolumn' in the indented area.
gvim --clean
:set co=40 linebreak bri briopt=shift:2 cc=40,41,43
Type "The quick brown fox jumped over the lazy dogs"
Result: Only columns 40 and 43 are highlighted, not 41
This might be an intentional consequence of 'bri', but I couldn't find it documented in the help file, so maybe I'm just missing the obvious reason for it. It seems inconsistent to hide the colored columns in the auto-indented area while showing them in other virtual screen positions like the area occupied by tabs, the area past the end-of-line, or the area after the last word of the line before it wraps.
Tested with "gvim --clean" on vim(32-bit) 8.2.1313 on Windows 10-64

That looks like an edge case, that has not been considered:

If you check the statusline, it will show something like 1,37-43 if the cursor is on the l of lazy. That means it is on virtual column 43, but the columns before it, are only virtually there, that is not in the actual text.
It might not be so easy to fix it (and the win_line() function is a bit of a mess).

The same issue is for 'showbreak'
set co=40 showbreak=> cc=40,41,43