Recent changes to some mappings between CHEMBL.COMPOUND and MeSH

Based on continuous integration tests in COHD, we noticed that there have been some recent changes to mappings between CHEMBL.COMPOUND and MeSH IDs.
Previously, we received:
PHENAZOPYRIDINE: MeSH:D010621 - CHEMBL.COMPOUND:CHEMBL1242
GLIMEPIRIDE: MeSH:C057619 - CHEMBL.COMPOUND:CHEMBL1481
Currently, we see:
PHENAZOPYRIDINE: MeSH:D010621 - no equivalent identifiers
GLIMEPIRIDE: MeSH:C057619 - CHEMBL.COMPOUND:CHEMBL149223
We've also created a corresponding issue within the COHD repo: https://github.com/WengLab-InformaticsResearch/cohd_api/issues/43

In prod, the phena... mesh is returning something, but it's not correct.  However the dev data seems to have resolved the issue and it will soon move into prod.

I might not have understood, but I'm seeing the same results on normalizing MESH:D010621 whether I run it against https://nodenormalization-sri.renci.org/1.2/ or https://nodenormalization-dev.apps.renci.org/1.2/. Is there a different dev server? Or did the data already get moved into prod?
Currently seeing:
{
  "MeSH:D010621": {
    "id": {
      "identifier": "CAS:136-40-3",
      "label": "CHEMBL1625467"
    },
    "equivalent_identifiers": [
      {
        "identifier": "CAS:136-40-3"
      },
      {
        "identifier": "CAS:94-78-0"
      },
      {
        "identifier": "CHEMBL.COMPOUND:CHEMBL1625467",
        "label": "CHEMBL1625467"
      },
      {
        "identifier": "PUBCHEM.COMPOUND:4756",
        "label": "Phenazopyridine"
      },
      {
        "identifier": "PUBCHEM.COMPOUND:8691",
        "label": "Phenazopyridine hydrochloride"
      },
      {
        "identifier": "UMLS:C0031379",
        "label": "Phenazopyridine"
      },
      {
        "identifier": "UMLS:C0700555",
        "label": "Phenazopyridine hydrochloride"
      },
      {
        "identifier": "UMLS:C0718757",
        "label": "Azo-Gesic"
      },
      {
        "identifier": "UMLS:C0718758",
        "label": "Azo Urinary Pain Relief"
      },
      {
        "identifier": "UMLS:C0718822",
        "label": "Baridium"
      },
      {
        "identifier": "UMLS:C0722586",
        "label": "Phenazo"
      },
      {
        "identifier": "UMLS:C0722915",
        "label": "Geridium"
      },
      {
        "identifier": "UMLS:C0722987",
        "label": "Re-Azo"
      },
      {
        "identifier": "UMLS:C0724149",
        "label": "Urogesic"
      },
      {
        "identifier": "UMLS:C0876137",
        "label": "Prodium"
      },
      {
        "identifier": "UMLS:C1563957",
        "label": "Azo-Dine"
      },
      {
        "identifier": "UMLS:C1563960",
        "label": "UTI Relief"
      },
      {
        "identifier": "MESH:D010621",
        "label": "Phenazopyridine"
      },
      {
        "identifier": "INCHIKEY:QPFYXYFORQJZEC-UHFFFAOYSA-N"
      },
      {
        "identifier": "GTOPDB:7616",
        "label": "phenazopyridine"
      },
      {
        "identifier": "CHEBI:71416",
        "label": "phenazopyridine"
      }
    ],
    "type": [
      "biolink:ChemicalEntity",
      "biolink:NamedThing",
      "biolink:Entity",
      "biolink:PhysicalEssence",
      "biolink:PhysicalEssenceOrOccurrent",
      "biolink:ChemicalOrDrugOrTreatment",
      "biolink:ChemicalEntityOrGeneOrGeneProduct",
      "biolink:ChemicalEntityOrProteinOrPolypeptide"
    ],
    "information_content": 100
  }
}

Apologies, it's fixed in the new data build, but that build hasn't been loaded into dev yet.


Updates Java RunInference to infer Python dependencies when possible

Also adds a method so that users can manually specify the set of dependencies if needed.
This fixes #22860

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

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)

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

R: @ihji
CC: @robertwb


Allow custom width of opened detail pane in a data-grid

Currently in a DataGrid with DetailPane "When the pane is open, it takes 2/3 of the width of the Datagrid" the 2/3 width is hardcoded.
It would be suitable to enable to override the width to a custom value.

Hi @prgmtx, thanks for the request. It helps us if you use our issue templates and fill out more details about the request.
The width is currently designed to be fixed based on the original design. However, it is possible to override with CSS in the app if needed.
Closing as can be customized, but design is explicit about 2/3 width.


feature: events, push notifications and activities

Re-based #279 to 0.21 branch and short forms

Events are temporarily disabled because they require additional attention


[WIP] refactor: extract fee widget to TransactionFeeInput component

Description:
Extract fee widget to TransactionFeeInput component
Motivation and Context:
Create reusable component so that we can use on the main on-chain transaction form
How Has This Been Tested?
Manually
Types of changes:
Refactor
Checklist:

[x] My code follows the code style of this project.
[x] I have reviewed and updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes where needed.
[ ] All new and existing tests passed.
[x] My commits have been squashed into a concise set of changes.

Coverage increased (+0.05%) to 21.622% when pulling c0ad75588cd347eeeadaf6176bc80b2884a4c43b on mrfelton:refactor/transaction-fee-input into 1a93077e31db232f4d443caa39ce55ae9e38e030 on LN-Zap:next.


feature: language change API

When implementing the new version of Bankai, I noticed that we always default to en_US and ltr for language. There have definitely been sites built on Choo using Farsi, Japanese and Arabic, all of which need different language attributes . It'd be cool if we had an API to set the language from within choo, and expose a property on the state which can be read to figure it out.
In an ideal scenario we could have a matrix of supported languages available, and then through an Accept-Language header, return the right version.
The browser currently has a 'languagechange' event, and exposes a navigator.language property. I couldn't find one for direction, but if someone knows of prior art it might be useful!
Keen to hear thoughts on the API; especially thoughts on how to create an output matrix for languages during SSR. Thanks!

Oh, also any links on other internationalization work would be helpful! I haven't done much research around this yet; pointers would be amazing in this regard!

Hi there, I've been experimenting with a generic get/set settings API today over on choo-conductor. Mine is for slightly different purposes, but I feel as if this would work well for misc. settings and is similar to express. Not sure if the similarity is intentional or is a goal for you, but that's how it was described to me by coworkers.
TBH, I have not looked at bankai too closely except that I know it is integrated tightly with browserify (which is awesome), however I prefer the webpack route as it's what I'm familiar with and I want things like hot-reloading which seems to be more mature than the browserify equivalent. I only mention that because whatever you go with it would be awesome if we could keep things build-tool agnostic.

@yoshuawuyts I think the common pattern for figuring out direction is usually by having a dict of languages that uses rtl (or ltr) and deciding based on accept-language.

@jbergstroem did a bit of digging here, and I don't think we can sensibly change the HTML dir attribute based on language. Perhaps we should add in an event for that too; or like an extra attribute:
var app = choo()
app.use((state, emitter) => {
  emitter.emit('languagechange', 'en_US')        // ltr is implied by default
  emitter.emit('languagechange', 'en_US', 'ltr') // but can be passed explicitely
})

@yoshuawuyts seems to be the most appropriate call.


Hide unaligned warnings unless console prints on

Hide the contract unaligned parameter warning unless contracts-console is enabled. These warnings are not useful except in contract development.

What about the ones in binaryen.hpp?

Will be done in 1.4 not worth messing with it


Split-ScopeId Error

Just ran a Sync-Repo, re-running a Gitlab pipeline, and getting a Split-ScopeId error about an empty string for $pacEnvironment.cloud. See error below.
I've checked my global-settings.json and it looks okay. The mac-test1 pacEnvironment looks like:
	{
		"pacSelector": "mac-test1",
		"cloud": "AzureCloud",
		"tenantId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
		"deploymentRootScope": "/providers/Microsoft.Management/managementGroups/TEST1",
		"desiredState": {
			"strategy": "full",
			"includeResourceGroups": false
		}

pwsh -c ./Scripts/Deploy/Build-DeploymentPlans.ps1 -pacEnvironmentSelector mac-test1
Set-AzCloudTenantSubscription: /builds/xcloud/azure/elz-epac/Scripts/Deploy/Build-DeploymentPlans.ps1:67
Line |
  67 |  Set-AzCloudTenantSubscription -cloud $pacEnvironment.cloud -tenantId  …
     |                                       ~~~~~~~~~~~~~~~~~~~~~
     | Cannot bind argument to parameter 'cloud' because it is an
     | empty string.
===================================================================================================
Get scope tree for EPAC environment '' at root scope
===================================================================================================
Write-Error: /builds/xcloud/azure/elz-epac/Scripts/Helpers/Get-AzScopeTree.ps1:15
Line |
  15 |      $scope = Split-ScopeId `
     |               ~~~~~~~~~~~~~~~
     | '' is not a valid scope.

Cleaning up project directory and file based variables
00:02
ERROR: Job failed: exit code 1

I keep thinking this is something obvious, but I don't see the problem.

Well, looks like this was caused by a Sync-Repo with the -supressDeleteFiles option. When I reran Sync-Repo w/o that option, working again. Closing this issue.

Resolved by running Sync-Repo without -supressDeleteFiles.

Please use the PowerShell module to avoid these sync issues - it is more reliable and contains the same codebase.


[BUG] - SD Prompt Saver multiplying by batch number

Description
Single images work fine, increasing batch size results in multiplying results,  2x2, 3x3, etc. So a with a batch size set to 4 you get 16 images being processed in SD Prompt Saver, there's also a problem with filename output sanitation, error related:
Error occurred when executing StringFunction|pysssss:
'list' object has no attribute 'replace'
File "D:\AI\ComfyUI_windows_portable\ComfyUI\execution.py", line 153, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\AI\ComfyUI_windows_portable\ComfyUI\execution.py", line 83, in get_output_data
return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\AI\ComfyUI_windows_portable\ComfyUI\execution.py", line 76, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Custom-Scripts\py\string_function.py", line 43, in exec
out = text_a.replace(text_b, text_c)
^^^^^^^^^^^^^^
Similar issue seems to occur with SD Prompt Merge when using null strings that I already posted about.
Reproduction steps

Image file
Workflow image:

Yes, the intention is to create keyword files at image generation for a number of purposes including being able to reference, parse, and process those keywords back into the same or different workflows for an iterative generation, having training files pre-made at the generation stage also provides flexibility and removes a step for training loras by including it in image gen.
Also I can't get pythongosssss savetext to work and I think it might be to do with the same issue with being passed a list not a string. Do you know if there's a simple way to string split the WD14 output in the meantime?

The comfyroll includes a node called “CR Split String” which can be used to split a string.

Please try out the save_metadata_file feature in the new version of Prompt Saver node.

This works well for my purposes, appreciated.


feat(dgeni): generate color palettes and render in design-land

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

[x] The commit message follows our guidelines: https://github.com/graycoreio/daffodil/blob/develop/CONTRIBUTING.md#commit
[x] Tests for the changes have been added (for bug fixes / features)
[x] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[x] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Other... Please describe:

What is the current behavior?

Fixes: #2905
What is the new behavior?
moves lots of docs stuff to @daffodil/documentation to allow design land to access it too
Does this PR introduce a breaking change?
[ ] Yes
[ ] No

Other information

@xelaint the styling in the design land color component definitely needs some work. I think what I have sufficiently demonstrates how to use the data available though so hopefully you ca take it from here

@griest024 is this PR dependent on #2909 ?

Yes

@griest024 can we remove $error and $daff-white from the autogenerated list? I realized they need to be reworked and should not be part of this color palettes documentation.

@griest024 can we remove $error and $daff-white from the autogenerated list? I realized they need to be reworked and should not be part of this color palettes documentation.

will do, should any single colors ever be part of the generation or only the palettes that contain multiple shades?

I just went ahead and only gened shaded palettes since the implementation is much cleaner

@griest024 does this need to be reworked based on the changes Damien made in the last few weeks?

@xelaint yes but afaik those changes aren't all merged yet so I will wait until they are to rebase this.


Score boxes overflow when the score is in the millions

Simple solution: abbreviate score number like in the mobile app.

Fixed it :) (even if it was already fixed before I did it tho. Didn't notice)


chore(deploy): deploy v2 recovery contracts on bsc

Ticket: COIN-1296

So we will be using single sig approach for bsc?

Yes


Order args in get_transaction_log_entries

@ldelberg please approve.
For backward compatibility, I moved the elements as the last argument in the function.
I wonder how we should support position-based filtering in the function once the REST API allows for it.
I am not sure if we could manage it through the same argument. Maybe we introduce two arguments:

element_tuple_filter
element_position_filter

element_tuple_filter={'2020': 'gt', 'Actual': 'eq', 'Revenue': 'eq'}

element_position_filter={
0: {'2020': 'gt'},
2: {'Actual': 'eq', 'Budget': 'eq'},
7: {'Revenue': 'eq'}
}

What do you think?

In a future version we might think about making TM1Py more ODATA like and less TI like. It would bring it closer to MDXPy and how it handles function chaining.
You can see a sample here: https://pyodata.readthedocs.io/en/latest/usage/querying.html#get-entities-matching-a-filter:~:text=Get entities matching a filter in more Pythonic way¶
We could create methods that would extend TM1 End points. So it might look like this
t_log_entries = tm1.server.get_transaction_log_entries().filter(…)
From: ldelberg @.>
Reply-To: cubewise-code/tm1py @.>
Date: Thursday, November 17, 2022 at 10:03 AM
To: cubewise-code/tm1py @.>
Cc: Subscribed @.>
Subject: Re: [cubewise-code/tm1py] Order args in get_transaction_log_entries (PR #834)
Hi @MariusWirtzhttps://github.com/MariusWirtz , introducing these two parameters is a good approach. I like the element_position_filter for future use.
Implementing the log_filter adjustments is a lean thing when you can derive the filter statements by parameter.
—
Reply to this email directly, view it on GitHubhttps://github.com/cubewise-code/tm1py/pull/834#issuecomment-1318765618, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AEK7GZQ7XQZRVDF7VSNMKXDWIZCFZANCNFSM6AAAAAASDOZFEA.
You are receiving this because you are subscribed to this thread.Message ID: @.***>

@ldelberg
Thanks will merge as is now.
@rclapp
Yeah that would be so powerful. Sounds like a big architectural change IMO. Possibly something TM1py 2.0.

Agree, something for 2.0.


v0.25.0

Fixes

Fix AutoCAD Drawing (DWG) signature

New formats support

Glyphs
Sketch
Sketch 43
age encryption - #60

Thanks @NicolasGB!


Set up Github Actions

Fails due to https://github.com/psf/black/issues/1490, waiting on a new release of Black to merge


Ruby rejects empty group name in regexp /(?<>)/ but prism accepts it

eval "/(?<>)/" # group name is empty: /(?<>)/ (SyntaxError)
eval "/(?<\\\n>)/" # group name is empty: /(?<>)/ (SyntaxError)
eval "/(?<\n>)/" # syntax ok. group name is "\n"

Prism.parse "/(?<>)/" # success (should be error)
Prism.parse "/(?<\\\n>)/" # success (should be error)
Prism.parse "/(?<\n>)/" # success (ok)

I think it should not be rejected for now because Prism does not parse a regex correctly (However, it is analyzed for computing locals.)


pkg/blobserver/sftp: staticcheck

Closing this, see my comment here:

https://github.com/perkeep/perkeep/pull/1405#issuecomment-894727096


Verbose debug mode

It would be useful to have a better logging mechanism in PDI that supports verbose logging

@ksiero this is now supported with the introduction of spdlog, am I wrong?

closed


Cannot open changed code in the source control panel

Cannot open source code changes in the Source Control panel.
[Weird nobody has reported this yet]

Environment

VSCode Version: 1.20.0, Version 1.21.0-insiders edition
OS Version: Windows 10 Version 1709 (OS Build 16299.214)
Git Version: WSL: 2.7.4, Windows: 2.15.0.windows.1

Reproduction Steps

Installed v1.20.0
Go to a pre-existing project.
Modify some files in my project
Go to the Source Control panel.
Click on a file in the panel.  Nothing happens.
Right click, select Open Changes, Nothing happens.

Note 1: Right click, Open File works fine.
Note 2: I tried creating a brand new project, then doing a git init.  Made some file changes and the issue does not reproduce.
Note 3:  This issue occurs in both my WSL based projects and Windows based projects.

Does this issue occur when all extensions are disabled?: Yes

I was playing around with this and noticed that Open File (Head) was failing for many of my changed files.  For files where Open File (Head) was working, Open Changes works fine.

Can you open the developer tools (F1, Developer Tools) and see if something comes up when you click on a file in the panel?
Note that WSL is not currently supported. Its success in operating with VS Code is purely coincidental. Please use Git for Windows for testing this feature.

@joaomoreno, thanks for the response.
For my erroring repo I had used windows git not WSL git.  I think that is why it works on 1.19.3 and continues to work on v1.19.3.
It is true that I am using WSL, but I do not think I had used any WSL git commands on the failing project.  I pretty much use VS code and Source Tree (both on Windows).
Here is what I see with Developer tools:
console.ts:123 [Extension Host] oh no (at Console.originalConsole.(anonymous function) [as error]
(c:\Program Files\Microsoft VS Code Insiders\resources\app\extensions\git\node_modules\diagnostic-channel-publishers\dist\src\console.pub.js:42:39))

  | t.log | @ | console.ts:123
-- | -- | -- | --
  | t._logExtensionHostMessage | @ | extensionHost.ts:394
  | (anonymous) | @ | extensionHost.ts:211
  | emitTwo | @ | events.js:106
  | emit | @ | events.js:194
  | process.nextTick | @ | internal/child_process.js:766
  | _combinedTickCallback | @ | internal/process/next_tick.js:73
  | _tickCallback | @ | internal/process/next_tick.js:104

Note 2: I tried creating a brand new project, then doing a git init. Made some file changes and the issue does not reproduce.

This tells me it's somewhat related to your workspace.
Is your workspace in some network share? Is there anything special with the path of that workspace?

No, all projects are on the same local SSD drive (E:).  And to be clear.  1.19.3 works on all of these projects without issue.
My project does have 4 sub-modules and I notice the new UI supports browsing the 4 sub-module git projects.

But just to confirm, it's just that one project which doesn't work, correct?

So far I have only tested it on this project.  Multiple cloned instances, but correct just this one project.
Maybe I need to work on a repro...

Yeah, we gotta figure out what is so special about that project. Let me know if you come up with some more details.

@brucejo75 says:

@joaomoreno,
I found and fixed my issue in #43428.  I thought I would write up my fix and how I debugged it hoping to help someone else out in this situation. [I could not add any comments to #43428] because it is closed.
version 1.19.3 worked for me but all versions after that failed.  version 1.20 was where submodule support was introduced into vscode.  Which made submodules suspicious.
Essentially my .gitmodules file was messed up.

I had previously tried to create a number of sub-modules in my project.
After working with it a while I then went back to a larger repository.
I deleted my sub-modules, but I did not clean up my .gitmodules file as specified here or here.  This left a lot of stray submodules in the .gitmodules file.
Note: my .git/config file did not have any evidence of the sub-modules.

Once I cleaned up my .gitmodules file I was able to once again Open Changes and Open File (HEAD).
How to test for the issue
I had gone down a number of avenues, but a simple check was to delete the .gitmodules file and see if the issue went away.


Support for acadia profile

coverage: 80.075% (-0.1%) from 80.183%
when pulling 81b2183bd2cf40ccb090934498c513b601377fc9 on sameshai:acadia
into 47fa96465c21ff21d06d447e4571751a5e8885bf on kubernetes-sigs:master.


Possible mistake in consistency loss when applying mask

https://github.com/microsoft/Semi-supervised-learning/blob/5c9ee2148ab1a30e63fa05414f12033c6952d1fc/semilearn/core/criterions/consistency.py#L33-L37
When applying a mask, some entries in the loss tensor, are zeroed out, then the mean of the tensor is taken. The way I read it, the mean will now include the entries which have been zeroed out, hence the mean will account for the entries which are masked out. Is this interpretation correct?
The way I think about it, it should rather be:
if mask is not None:
    loss = loss * mask
    return loss.sum() / torch.maximum(mask.sum(), torch.tensor(1.0))
else:
    return loss.mean()

This will find the mean of the nonzero entries of loss.

Hi, we inherit this implementation from TorchSSL. This should not cast too large difference in results since the actual difference only lies in the scale of the gradient.
Let me know if you find the modified version has better performance, in that case we can move this part of code into the codebase.


[BUG] Too many S3 Operations since 1.2 from 1.1

Describe the bug
Ever since upgrading to 1.2.2 from 1.1 the amount of S3 transactions (https://www.backblaze.com/b2/b2-transactions-price.html) increased massively. I am using B2 as storage with currently 2 Backups and I am seeing more than 12k Class C transactions and 50k Class B transactions with nothing else accessing the storage. I can see class B and C transactions increasing every few seconds.
I do have polling disabled:

How do I know the transactions increased?: instead of not having to pay for months (staying within the daily limits), I have costs every day now.
To Reproduce
Steps to reproduce the behavior:

Create a few Backups
Disable Polling
Log into B2 and refresh every few seconds and see the transactions increasing

Expected behavior
Only have S3 calls when backing up an image or accessing backups via the UI.
Environment

Longhorn version: 1.2.2
Installation method (e.g. Rancher Catalog App/Helm/Kubectl): Helm
Kubernetes distro (e.g. RKE/K3s/EKS/OpenShift) and version: k3s 1.22

Number of management node in the cluster: 1
Number of worker node in the cluster: 2

Number of Longhorn volumes in the cluster: 3

Could you please check if there is no backup creation and the poll interval is 0, will the transaction increase?
Also, could you please explain to use what's Class B transaction and Class C transaction means and differences?

I only have weekly backups, the transactions increase every few seconds with no backup running and the poll interval set to 0.
Transactions A/B/C refer to different API calls:
Class B:

GetObject
GetObjectLegalHold
GetObjectLockConfiguration
GetObjectRetention
HeadObject

Class C:

CopyObject (Put Object Copy)
CreateBucket
DeleteBucketCors
DeleteBucketEncryption
GetBucketAcl (List Objects)
GetBucketCors
BucketEncryption
GetBucketLocation
GetBucketVersioning
GetObjectAcl
HeadBucket
ListBuckets
ListMultipartUploads
ListObjectsV2
ListObjectVersions
ListParts
PutBucketAcl
PutBucketCors
PutBucketEncryption
PutObjectAcl
UploadPartCopy

They are also listed here: https://www.backblaze.com/b2/b2-transactions-price.html

I see, could you please dump the BackupTarget, BackupVolume, and Backup CRs.
We'd like to check the spec.syncRequestedAt and status.lastSyncedAt fields

Note in the meantime I have removed the credentials and URL from the longhorn settings for testing (all API calls stopped), so this is with the currently disabled backups. If necessary I can re-enable it again:
┌─── ~
└─ % k get -A BackupTarget
NAMESPACE         NAME      URL   CREDENTIAL   INTERVAL   AVAILABLE   LASTSYNCEDAT
longhorn-system   default                      0s         false       2021-12-21T09:56:24.391821657Z

┌─── ~
└─ % k get -A BackupVolume
No resources found

┌─── ~
└─ % k get -A Backup
NAMESPACE         NAME                      SNAPSHOTNAME   SNAPSHOTSIZE   SNAPSHOTCREATEDAT   STATE   LASTSYNCEDAT
longhorn-system   backup-97310d2be2da4f35                                                     Error   0001-01-01T00:00:00Z

BackupTarget:
apiVersion: v1
items:
- apiVersion: longhorn.io/v1beta1
  kind: BackupTarget
  metadata:
    creationTimestamp: "2021-11-12T19:01:02Z"
    generation: 11127
    name: default
    namespace: longhorn-system
    resourceVersion: "28535673"
    uid: 0e51af05-429d-4986-988d-8196076473e9
  spec:
    backupTargetURL: ""
    credentialSecret: ""
    pollInterval: 0s
    syncRequestedAt: "2022-01-09T21:54:40.055723783Z"
  status:
    available: false
    conditions:
      Unavailable:
        lastProbeTime: ""
        lastTransitionTime: "2022-01-09T21:54:39Z"
        message: backup target URL is empty
        reason: Unavailable
        status: "True"
        type: Unavailable
    lastSyncedAt: "2021-12-21T09:56:24.391821657Z"
    ownerID: natrium
kind: List
metadata:
  resourceVersion: ""
  selfLink: ""

Backup:
apiVersion: v1
items:
- apiVersion: longhorn.io/v1beta1
  kind: Backup
  metadata:
    creationTimestamp: "2022-01-10T23:00:03Z"
    finalizers:
    - longhorn.io
    generation: 1
    labels:
      backup-volume: pvc-ec07bd5e-ae73-4bc0-b4a7-194654d6ec71
    name: backup-97310d2be2da4f35
    namespace: longhorn-system
    resourceVersion: "28664494"
    uid: 36a7a9a5-b8a0-49e6-aa2e-f9781b6d9df2
  spec:
    labels:
      KubernetesStatus: '{"pvName":"pvc-ec07bd5e-ae73-4bc0-b4a7-194654d6ec71","pvStatus":"Bound","namespace":"nextcloud","pvcName":"mariadb-mariadb-0","lastPVCRefAt":"","workloadsStatus":[{"podName":"mariadb-0","podStatus":"Running","workloadName":"mariadb","workloadType":"StatefulSet"}],"lastPodRefAt":""}'
      RecurringJob: backup-5-77a48f1d-77074ba4
    snapshotName: backup-5-77a48f1d-77074ba4-c-39cda78c
    syncRequestedAt: "0001-01-01T00:00:00Z"
  status:
    backupCreatedAt: ""
    labels: null
    lastSyncedAt: "0001-01-01T00:00:00Z"
    messages: null
    ownerID: kalium
    size: ""
    snapshotCreatedAt: ""
    snapshotName: ""
    state: Error
    url: ""
    volumeBackingImageName: ""
    volumeCreated: ""
    volumeName: ""
    volumeSize: ""
kind: List
metadata:
  resourceVersion: ""
  selfLink: ""

Removing the Backup URL will cause the in-cluster BackupVolume and Backup CRs to be removed.
Also, there is a backup with an error state which might be the culprit.
Could you please re-enable the backup store URL + credential, and once it's finished synchronization, re-dump the BackupTarget, BackupVolume, and Backup CRs?
After that, try manually deleting the Backup CR with an error state.

I noticed something strange as well:
┌─── ~
└─ % k get instancemanager
NAME                          STATE     TYPE      NODE      AGE
instance-manager-e-484d843a   running   engine    kalium    59d
instance-manager-r-c423d089   running   replica   kalium    59d
instance-manager-e-74a7a0b1   running   engine    natrium   59d
instance-manager-r-292d5d9c   running   replica   natrium   59d
instance-manager-e-872bbab8   running   engine    kalium    221d
instance-manager-r-821c9bab   running   replica   lithium   59d
instance-manager-e-b6de85c9   running   engine    lithium   59d

There are 3 instance managers for kalium, one being really old
59 days ago was when I updated to 1.2 from 1.1.

I noticed something strange as well:
┌─── ~
└─ % k get instancemanager
NAME                          STATE     TYPE      NODE      AGE
instance-manager-e-484d843a   running   engine    kalium    59d
instance-manager-r-c423d089   running   replica   kalium    59d
instance-manager-e-74a7a0b1   running   engine    natrium   59d
instance-manager-r-292d5d9c   running   replica   natrium   59d
instance-manager-e-872bbab8   running   engine    kalium    221d
instance-manager-r-821c9bab   running   replica   lithium   59d
instance-manager-e-b6de85c9   running   engine    lithium   59d

There are 3 instance managers for kalium, one being really old
59 days ago was when I updated to 1.2 from 1.1.

This is another issue, but you could check if all the volume has been upgraded to the latest engine image first.

@jenting I can't seem to delete the error'd Backups, the command does not complete, should I try removing the finalizers first?

Could you please check if the Backup with an error state existed on the remote backup target first?
If not, you could remove the finalizers.

I let it run and they actually all deleted (some taking > 20 minutes). All I have left now are COMPLETED Backups but the S3 Calls are still happening (and the transaction count is rising).

The logic here is, which should return nil in your case :thinking:
    if !backup.Status.LastSyncedAt.IsZero() &&
	!backup.Spec.SyncRequestedAt.After(backup.Status.LastSyncedAt) {
            return nil
    }

You could try to configure the poll interval other than 0 and then switch back.

Could this be a Timezone issue so that 0001-01-01T00:00:00Z is actually 0001-01-01T01:00:00Z  (for UTC+1)?

I will try changing the poll interval

Could this be a Timezone issue so that 0001-01-01T00:00:00Z is actually 0001-01-01T01:00:00Z (for UTC+1)?

I don't think so, the library should use UTC+0 to do the comparing.

Updating the poll interval hasn't changed anything, which makes sense if I understand the values correctly, only 2 backups have a timestamp, which are the backups that are currently stored remotely.

only 2 backups have a timestamp, which are the backups that are currently stored remotely.

If I understand correctly, the rest backups are not stored remotely?

I only have 2 Backups:

But kubectl get backups gives me a huge list of backups, so I assume the ones with a "zero" timestamp are old backups?
Which is also a bit surprising because I set retain to 5:

No, the zero timestamp means you did not set up the poll interval, so the spec.SyncRequestedAt would not be updated every poll interval time.

Which is also a bit surprising because I set retain to 5:

Each recurring job contains the label, the recurring job will only delete the backup that matches the label.
This means if you create the backup manually or by other recurring jobs (by being deleted), the current recurring job won't delete these backups.
So, if you have 2 backups with both retain count to 5, the backups should be 10 in the end.

Mh, maybe changing the Poll interval did fix it. I changed it back to 0 now and I am seeing no more requests currently.
To summarize what I have essentially done:

deleted the (old) surplus instance-manager (probably unrelated)
deleted the "broken" backups (ones in state ERROR und with no state at all)
changed the poll interval to 300 seconds, waited 10 minutes, changed it back to 0

I will keep monitoring it!

Each recurring job contains the label, the recurring job will only delete the backup that matches the label. This means if you create the backup manually or by other recurring jobs (by being deleted), the current recurring job won't delete these backups.
So, if you have 2 backups with both retain count to 5, the backups should be 10 in the end.

I'll have to double check maybe these are actually from a previous recurring job (before the 1.1 update where I changed a few things iirc), but I definitely have more than 10 backups.

@jenting Thanks for your amazing help, this seems to be resolved now, if I can help you in any other way let me know.
There is another scheduled backup tonight, I will see if anything changes after the backup and if it does report it here.

Thank you. At v1.2.0 backup refactoring, we did care about the S3 API operation calls to not call extra S3 API to minimize the cost.
If you have any clue, please let us know.
Also, we'll try to test the poll interval to 0 to check will this happens at our side. thank you.

@jenting what do you think to have a validation to avoid this incorrect timestamp in the future by the coming admission webhook?

I don't think the timestamp is invalid, because the backup are pulled from the remote backup target, so the spec.syncRequestedAt should not be set (i.e., empty timestamp).

Backup went through yesterday and 0 API calls since! :partying_face:

So I think this was a combination of the poll interval and the broken backups (without a STATE which can bee seen in this comment).
This is resolved on my end!

@jenting Probably we need a KB for this, WDYT?
cc @longhorn/qa

I think the culprit is these Backup CRs:
NAMESPACE         NAME                      SNAPSHOTNAME                            SNAPSHOTSIZE   SNAPSHOTCREATEDAT      STATE       LASTSYNCEDAT
longhorn-system   backup-97310d2be2da4f35                                                                                Error       0001-01-01T00:00:00Z
longhorn-system   backup-a47d6e174eda4dc5                                                                                0001-01-01T00:00:00Z
longhorn-system   backup-ebea9969d8634df6                                                                                0001-01-01T00:00:00Z
longhorn-system   backup-361a697d27554a9f                                                                                0001-01-01T00:00:00Z
longhorn-system   backup-23d56f6d8f3d439d                                                                                0001-01-01T00:00:00Z

However, we have enhance the backup_controller in the Longhorn v1.2.3 code. So, the Backup with state Error won't access the remote backup config anymore.
Therefore if possbile, please upgrade to v1.2.3 and monitor it. Thank you.

@jenting Probably we need a KB for this, WDYT?

I don't think we need the KB for this one.

@jenting so I have restored one of the broken backups:
apiVersion: longhorn.io/v1beta1
kind: Backup
metadata:
  name: backup-a47d6e174eda4dc5
  finalizers:
  - longhorn.io
  labels:
    backup-volume: pvc-1f5bfca7-843d-43d3-a064-f77683b2100a
spec:
  labels: null
  snapshotName: ""
  syncRequestedAt: "0001-01-01T00:00:00Z"

And after doing that, I've seen a slow increase of API calls (like ~5 every few seconds). Keeping the broken backup I updated to 1.2.3 (increased the helm chart version), then updated all my volumes.
After the update finished I've been getting a massive increase in API calls (100's every few seconds). What is interesting is:
┌─── ~
└─ % k get instancemanager
NAME                          STATE     TYPE      NODE      AGE
instance-manager-e-87c2b3d0   running   engine    natrium   16m
instance-manager-r-eb3d58ee   running   replica   natrium   16m
instance-manager-e-9cd1fd9c   running   engine    lithium   16m
instance-manager-e-526b68f9   running   engine    kalium    15m
instance-manager-r-f258a9fb   running   replica   kalium    15m
instance-manager-e-b6de85c9   running   engine    lithium   63d
instance-manager-r-fd7b20cb   running   replica   lithium   16m
instance-manager-e-484d843a   running   engine    kalium    63d

There are still 2 old instance managers (all backups updated and engine image deleted).
Next I updated the polling interval from 0 to 300 and waited > 5 minutes to set it back to 0. This seems to have fixed the API calls issue.
I still do have the old instance managers (interestingly the 2 node which each have a volume attached with a backup, this could also just be a coincidence).
So it appears to me like that the upgrade process in combination with a polling interval of 0 triggers the problem, maybe caused by the one broken backup.

There is something else going on, I deleted my mariadb volume, I deleted all backups, yet longhorn keeps creating this lock file:

For a Volume which does not even exist anymore:

longhorn keeps creating this lock file

The lock file would keep but the important is the lock file content to determine whether Longhorn should protect backup/restore and deletion operation not happening at the same time.

Mh, maybe changing the Poll interval did fix it. I changed it back to 0 now and I am seeing no more requests currently.
To summarize what I have essentially done:

deleted the (old) surplus instance-manager (probably unrelated)
deleted the "broken" backups (ones in state ERROR und with no state at all)
changed the poll interval to 300 seconds, waited 10 minutes, changed it back to 0

I will keep monitoring it!

We should enhance this when the poll interval is configured to 0 and perform the longhorn upgrade, no more S3 operations should call.


Unable to install cilium

Bug report

General Information

Cilium version (run cilium version) 1.8.4
Kernel version (run uname -a) : 4.14.198-152.320.amzn2.x86_64
Orchestration system version in use (e.g. kubectl version, Mesos, ...) EKS

How to reproduce the issue
helm install cilium cilium/cilium --version 1.8.4 --namespace hubble --set global.eni=true --set config.ipam=eni --set global.egressMasqueradeInterfaces=eth0 --set global.tunnel=disabled --set global.nodeinit.enabled=true
**Error: expected at most two arguments, unexpected arguments: global.eni=true**

Hi @vishnugs,
Thanks for the report. Unfortunately I wasn't able to reproduce the issue:
% helm repo update
Hang tight while we grab the latest from your chart repositories...
...Successfully got an update from the "cilium" chart repository
...Successfully got an update from the "isovalent" chart repository
% kubectl create namespace hubble
namespace/hubble created
% helm install cilium cilium/cilium --version 1.8.4 --namespace hubble --set global.eni=true --set config.ipam=eni --set global.egressMasqueradeInterfaces=eth0 --set global.tunnel=disabled --set global.nodeinit.enabled=true
NAME: cilium
LAST DEPLOYED: Mon Oct 12 11:12:11 2020
NAMESPACE: hubble
STATUS: deployed
REVISION: 1
TEST SUITE: None
NOTES:
You have successfully installed Cilium.

Your release version is 1.8.4.

For any further help, visit https://docs.cilium.io/en/v1.8/gettinghelp
% helm version
version.BuildInfo{Version:"v3.3.4", GitCommit:"a61ce5633af99708171414353ed49547cf05013d", GitTreeState:"dirty", GoVersion:"go1.15.2"}

The error message you have seems related to Helm, which Helm version are you using?

@aanm , Im also using helm 3.

@vishnugs I'm not able to reproduce the issue. Can you try the following steps?
$ helm version
version.BuildInfo{Version:"v3.2.3", GitCommit:"8f832046e258e2cb800894579b1b3b50c2d83492", GitTreeState:"clean", GoVersion:"go1.13.12"}
$ helm repo update
Hang tight while we grab the latest from your chart repositories...
...Successfully got an update from the "cilium" chart repository
Update Complete. ⎈ Happy Helming!⎈
$ helm version
version.BuildInfo{Version:"v3.3.4", GitCommit:"a61ce5633af99708171414353ed49547cf05013d", GitTreeState:"clean", GoVersion:"go1.14.9"}


Add VNC capability

Try to enable graphical VNC/SPICE capabilities to VMs

after running the docker command to bring up a Windows kvm image,
there is the command:
docker run --name kvm -td --privileged -v /var/lib/libvirt/images/vm/win81e64.qcow2:/image/image
-e AUTO_ATTACH=yes bbva
how can I access the Windows via vnc or remote desktop?

Currently this issue is not implemented yet. However, there are two ways of accessing graphically to you VM container:

Passing parameters to qemu when launching the container (see -vnc options in qemu-kvm manpage)
Connecting via RDP if the VM image has already RDP enabled and gets its IP via DHCP. You should only have to know the VM IP address.

Hope this helps :)


Amplify push fails

After I do amplify push, there is a compatibility issue. See output
CREATE_IN_PROGRESS UserPoolClientLambda AWS::Lambda::Function ...
⠋ Updating resources in the cloud. This may take a few minutes...

CREATE_FAILED UserPoolClientLambda AWS::Lambda::Function ... The runtime parameter of nodejs8.10 is no longer supported for creating or updating AWS Lambda functions. We recommend you use the new runtime (nodejs12.x) while creating or updating functions. (Service: AWSLambdaInternal; Status Code: 400; Error Code: InvalidParameterValueException; Request ID:

It works for me.
When I just tried, in the "amplify push" step, I was asked to confirm to upgrade to nodejs 10
? Confirm to update the NodeJS runtime version to 10.x Yes

NodeJS runtime version updated successfully to 10.x in all the CloudFormation templates.

It works for me.
When I just tried, in the "amplify push" step, I was asked to confirm to upgrade to nodejs 10
? Confirm to update the NodeJS runtime version to 10.x Yes

NodeJS runtime version updated successfully to 10.x in all the CloudFormation templates.

Thank you!

Thank you!


Servo scaling

This PR adds individual servo scaling for each finger based on pot readings
And a fix to servos retracting when you go out of bounds (code proposed by danwillm#8254 on Discord, forum thread: https://discord.com/channels/784543299045818420/1017766753012559973)

I had something similar: https://github.com/LucidVR/lucidgloves/pull/56
I didn't realize the PR got closed when I deleted the branch off my repository, whoops.
I ending up basing mine off the calibration data instead of hard coded values as recommended by @danwillm.
I would also recommend squashing your change into a single commit.

Would you mind creating two separate PRs - one for the fix to the servos and the other scaling? Cheers!

Hi, sorry for the delay, I'm busy now, so I will get on it this weekend. I agree with both suggestions.
@JohnRThomas That is interesting, I will definitely look at how you implemented it.
@danwillm Yeah, if you're okay with me creating a PR, then sure.

Closing this PR to add two separate ones.


Save command docs discrepancy

There is a discrepancy between the docs and the actual behavior of save cmd for SRLinux.
It is documented to run sr_cli -d tools system configuration generate-checkpoint.
While in the code it runs sr_cli -d tools system configuration save.
I believe the code was updated without updating the docs.

fixed in a9eedf6


ch 21 (genmo overview) Simon Prince

February 17th version
P767 Bayes' rule equation p(x)-->P(x|z)
P768 L35 It's not strictly true that factor analysis is aka PPCA. More precisely, PPCA is a special case of factor analysis.
P770 L5 -LL --> NLL (to be consistent with previous page)
P774 L28 one can train classifier --> one can train a classifier
P775 L4&5 Chapter 24 --> (Chapter 24), Chapter 22 --> (Chapter 22)

fixed, thanks


Add windows2k12 templates

/cc @kbidarkar

@fossedihelm thanks a lot for the PR!
Would you add a commit message to reflect the motivation to add the templates here?

@dominikholler Thank you! Commit message adjusted.

@fossedihelm thank you!


remove unused class names and styles

Thanks for help and clean-up! Just curious – have you removed the unused classes only in some coins or in all of them?

did a search in files. hope i found all

Great, thanks much for cooperation!

glad to help, thanks for that amazing iconpack!


Adding katacoda removal notices on pages with interactive tutorials

Since we aren't having a sitewide banner, I've added a note on pages with interactive tutorials on them. Based on this list @reylejano put together.
The copy is from @sftim's PR https://github.com/kubernetes/website/pull/39257.

In the announcement, also consider linking to https://blog.k8s.io/2023/02/14/kubernetes-katacoda-tutorials-stop-from-2023-03-31/

We should cover https://k8s.io/docs/tutorials/hello-minikube/ too.

With Katacoda removed, most of the content on that page is duplicated.
https://minikube.sigs.k8s.io/docs/start/

My view: the Kubernetes documentation is a good home for the introductory tutorial.
If anyone wants to simplify https://minikube.sigs.k8s.io/docs/start/ and migrate that to https://k8s.io/docs/, I'm happy to review the changes.
We can align https://minikube.sigs.k8s.io/docs/start/ and https://k8s.io/docs/tutorials/hello-minikube/ so that they end up being either identical or nearly identical in respect of content.
However, that's not work I'm planning to prioritize.


adding a new button

This is a(n):

[ ] Update to an existing Animated Button
[ ] Any Error
[x] Proposal to the Repository
[ ] Documentation / README.md changes

Details:
want to add new button hover , it look like this
https://github.com/Spyware007/Animating-Buttons/assets/114687502/350da834-18df-409d-a915-f7926680f814

@Sushilverma002 Assigned to you!

please check out the PR. #725


ng-model bound to select with a numeric value doesn't work as expected

I am accessing an api that returns numeric values for enumerations and I'm trying to bind that to a select:
<select ng-model="mode">
  <option value="1">Off</option>
  <option value="2">On</option>
</select>

When the model variable "mode" is a numeric value, the select's initial value is not set correctly, eg: mode=2 yields an uninitialised select. However if the model value is the string representation of the number, it works, eg: mode='2'.
Simple jsbin that reproduces this: http://output.jsbin.com/danerajifa

This works as intended, since comparison of model values to select takes types into account. From https://docs.angularjs.org/api/ng/directive/select:

The value of a select directive used without ngOptions is always a string. When the model needs to be bound to a non-string value, you must either explictly convert it using a directive (see example below) or use ngOptions to specify the set of options. This is because an option element can only be bound to string values at present.

Thank you, sorry for wasting your time.


What is the difference between Marker and Popup

I think the title says enough. I don't get it.

A Marker can render any element, given a position. So you could use it for text, icons or even custom popups.
A Popup will render a popup as styled by Mapbox (example).
So, you technically don't need a popup, but it makes rendering that sort of thing easier, because it handles a bunch of stuff for you (docs).
Closing the issue, but let me know if there's still confusion.


403 recieved when creating mutex should not be retried

Currently:
When the token supplied does not have permission to create the mutex thingy in the repo, the call to the github api returns HTTP 403 (forbidden). Then the action waits a bit and reties and it still does not have permission. This will repeat for, literally, hours until someone notices and cancels.
Suggested:
When the action code recieves a 403, that would fail the action. (Perhaps 401 (unauthorized) too but I haven't seen a 401.)
Related note:
We are seeing this when the mutex is trying to be set from a fork. Our settings do not allow forks to access our secrets. I suspect a similar  thing would happen if the default token was used since it would not have write permission in a fork.
The same thing could happen if a token expired.

Thanks for the suggestion! For the record, https://github.com/ben-z/gh-action-mutex/issues/4 seems related and could alleviate this situation too.


How to install RShell on Mac OS ?

Hi everyone,
I would like to know how to install RShell on MacOS ?
I have no Mac so your response and screenshoot would be welcome. Raison: book writing :-)
Regards,
Dominique

rshell needs python3.
So you can do:
sudo python3 -m pip install rshell

to install it, and you can do:
sudo python3 -m pip install --upgrade rshell

to upgrade if a newer version becomes available.
I normally use pip3 under linux (rather than python3 -m pip) but my Mac doesn't seem to have pip3 installed.

Great! Thank :-)


isEqual,  ce.box(['Equal', lhs, rhs]).evaluate()

I could be doing something wrong but I expected this to return true because they are mathematically equal according to the documentation.

The expected answer can be obtained by applying Simplify to both arguments.
I'll consider adding that by default to the definition of Equal...


How to write expression of formatted datasource id?

My datasource are named from 'ds0000' to 'ds0015', is there only one way for xml like this?
Or any other batter suggestions?
<sharding:sharding-rule data-source-names="ds000$->{0..9},ds00$->{10..15}">
actual-data-nodes="ds000$->{0..9}.user,ds00$->{10..15}.user"

duplicate with #1285


Feature: Add scope

I'm gonna implement scope, default_scope. My code gonna be full inspired by how mongoid made it.
Features

[ ] Add scope
[ ] Add default_scope

I add information about this PR during I code this.

I don't see any changes

@andrykonchin I'm gonna push. Not finished yet.

Coverage remained the same at 97.429% when pulling a4dd132bc34a882b2cf57f9d09335fda6bcf0f2e on feature/add-scope into 648fe1c58bfb2e6dc2020a4727a85733b723e468 on master.

Coverage remained the same at 97.429% when pulling a4dd132bc34a882b2cf57f9d09335fda6bcf0f2e on feature/add-scope into 648fe1c58bfb2e6dc2020a4727a85733b723e468 on master.

Any traction on this? It would be great to be able to write quick scopes against our dynamoid models!

Looks like no. This feature is in the roadmap so will be released in nearest future.


Revert "Update convention-model-builder.md"

Reverts MicrosoftDocs/OData-docs#43

Docs Build status updates of commit 478875a:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

Odata-docs/webapi/convention-model-builder.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Exclude platform specific bits from extension bundle

ms-python.vscode-pylance-2022.11.30
Hi, the pylance extension is currently 95MB on disk. I noticed that 66MB of this appears to be platform specific code under: dist/native/onnxruntime/napi-v3
Can you use VS Code's platform specific extension logic to avoid shipping platform specific bits to other platforms? Doing so should cut the extension's on disk size in half on linux and windows (and a little under half on macOS)

These files are from intellicode. We use them to read the model in the server.
One thought was to switch to this: https://www.npmjs.com/package/onnxruntime-web
Need to talk to somebody on intellicode team to see if that would work or not too.

This issue has been fixed in prerelease version 2023.1.31, which we've just released. You can find the changelog here: CHANGELOG.md


ssh key error error

Can you fix ssh key error.

Can you fix ssh key error.

What key error? If you are reporting a bug, more details are necessary. Any errors received, steps to reproduce, etc. Details are very important to understanding an issue, being able to reproduce it, and resolve.

SSH issue fixed now by me . Thank you
Have your Server Avatar Module?


Is there anything specific in poetry for using this?

Long question is, is there anything specific in the way poetry organizes pyproject.toml or the virtual environments that prevents this from being used with the poetry alternative, hatch?

Hi @JJ,
I don't know much about hatch, but if it's basically like poetry then it should be possible to create another executor class like the one for poetry, and extend the automatic executor selection logic here and then poe should work with hatch just as well as poetry :)
I would in principle be open to contributions along these lines.


ci: rename develop release channel from dev to rc

This project employs the use of the setuptools scm plugin during builds to extract package versions from git. Unfortunately, this plugin forbids tagging dev releases. See this comment for more details.
This causes issues when building the project outside the CI where setuptools_scm keeps failing when the last tag is a "dev" tag. And although setuptools_scm provides a mechanism to override the version at build, this doesn't work when building with tox. This is highly inconvenient as tox is handy for running tests and other workflows such as linting and building docs.
From the problem description above, the solution is to change the tagging of the dev releases to something else. I pick rc(release candidate), which coincidentally I believe is more appropriate as changes on the develop branch constitute contents of the next major release.

:tada: This PR is included in version 1.1.0-rc.1 :tada:
The release is available on:

v1.1.0-rc.1
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.1.0 :tada:
The release is available on:

v1.1.0
GitHub release

Your semantic-release bot :package::rocket:


Point a domain name to nodejs api

I've developed a nodejs api server using restify. However not able to point domain to this nodejs.
I'm getting 504 Gateway Error
My Nginx conf is here:
server {

    listen 80;
    listen [::]:80;

    server_name api.domain.app;

    location / {
        proxy_pass http://<IP_ADDRESS>:3000;
        proxy_http_version 1.1;
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection 'upgrade';
        proxy_set_header Host $host;
        proxy_cache_bypass $http_upgrade;
    }

Need some advice

Could you expand on your project structure and what you're trying to achieve. That would make it easier to help :)
You have made a project and want it to be accessible on your computer? That project currently runs in a docker container and you can reach it at http://<IP_ADDRESS>:3000?


feat(storage): Improve task measurement on the compactor side with parallelism

I hereby agree to the terms of the RisingWave Labs, Inc. Contributor License Agreement.
What's changed and what's your intention?
ralated to https://github.com/risingwavelabs/risingwave/issues/13811

Checklist

[ ] I have written necessary rustdoc comments
[ ] I have added necessary unit tests and integration tests
[ ] I have added test labels as necessary. See details.
[ ] I have added fuzzing tests or opened an issue to track them. (Optional, recommended for new SQL features #7934).
[ ] My PR contains breaking changes. (If it deprecates some features, please create a tracking issue to remove them in the future).
[ ] All checks passed in ./risedev check (or alias, ./risedev c)
[ ] My PR changes performance-critical code. (Please run macro/micro-benchmarks and show the results.)

[ ] My PR contains critical fixes that are necessary to be merged into the latest release. (Please check out the details)

Documentation

[ ] My PR needs documentation updates. (Please use the Release note section below to summarize the impact on users)

Release note
If this PR includes changes that directly affect users or other significant modifications relevant to the community, kindly draft a release note to provide a concise summary of these changes. Please prioritize highlighting the impact these changes will have on users.

Any benchmark results?

test

q20 nexmark-test

https://grafana.test.risingwave-cloud.xyz/d/EpkBw5W4k/risingwave-dev-dashboard?from=1702549566000&orgId=1&to=1702551369000&var-datasource=Prometheus%3A+test-useast1-eks-a&var-namespace=li0k-nexmark-q20-max-task-ratio

No performance regression, but pending bytes increased, not sure if it is related to the pull strategy

test
branch
https://grafana.test.risingwave-cloud.xyz/d/EpkBw5W4k/risingwave-dev-dashboard?orgId=1&var-datasource=Prometheus: test-useast1-eks-a&from=1702978437334&to=1702979336268&var-namespace=li0k-nexmark-q20-max-task-ratio-1bf8e6
main
https://grafana.test.risingwave-cloud.xyz/d/EpkBw5W4k/risingwave-dev-dashboard?orgId=1&var-datasource=Prometheus: test-useast1-eks-a&from=1702926854000&to=1702928657000&var-namespace=nexmark-bs-15-105-daily-20231218
cpu
branch

main

running task count
branch

main

pending bytes
branch

main

Do we need a new metrics to show the core quota used which include parallelism?

Do we need a new metrics to show the core quota used which include parallelism?

done


Add a workflow to check documentations

The new tool can be installed using that command:
$ gem install mdl

Then use it like:
$ make doc-check

In case of error, here is a output sample:
.github/ISSUE_TEMPLATE/bug_report.md:23: MD012 Multiple consecutive blank lines
.github/ISSUE_TEMPLATE/bug_report.md:26: MD012 Multiple consecutive blank lines
.github/ISSUE_TEMPLATE/bug_report.md:29: MD012 Multiple consecutive blank lines
.github/ISSUE_TEMPLATE/bug_report.md:39: MD012 Multiple consecutive blank lines
.github/ISSUE_TEMPLATE/bug_report.md:10: MD036 Emphasis used instead of a header
.github/ISSUE_TEMPLATE/bug_report.md:30: MD036 Emphasis used instead of a header
.github/ISSUE_TEMPLATE/bug_report.md:34: MD040 Fenced code blocks should have a language specified
.github/ISSUE_TEMPLATE/feature_request.md:17: MD012 Multiple consecutive blank lines
.github/ISSUE_TEMPLATE/feature_request.md:22: MD012 Multiple consecutive blank lines
.github/ISSUE_TEMPLATE/feature_request.md:9: MD036 Emphasis used instead of a header

A detailed description of the rules is available at https://github.com/markdownlint/markdownlint/blob/master/docs/RULES.md

GitHub templates are a mess so they are not checked at all for now.
If we wanted to handle the, the command in the Makefile would become:
- 	mdl --style docs/linter/mdl-styles.rb *.md docs/*.md tests/*.md
+ 	mdl --git-recurse --style docs/linter/mdl-styles.rb .

Codecov Report

Merging #1151 (7912f25) into master (4d7d6b6) will decrease coverage by 0.01%.
The diff coverage is n/a.

:exclamation: Current head 7912f25 differs from pull request most recent head effa4c3. Consider uploading reports for the commit effa4c3 to get more accurate results

@@            Coverage Diff             @@
##           master    #1151      +/-   ##
==========================================
- Coverage   97.28%   97.27%   -0.02%
==========================================
  Files          67       66       -1
  Lines        4235     4216      -19
==========================================
- Hits         4120     4101      -19
  Misses        115      115

Continue to review full report at Codecov.

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

#1202

#1095 many app stor google play erorr


Add Xkb method to enter Unicode characters

The problem
There's a way to enter Unicode characters using a shift-like combination of keystrokes.
Solution provided
This patch adds documentation about entering Unicode characters using Xkb shift level 3 and 4
I tried this method on Debian sid and Ubuntu 20.04 and 20.10.
If anyone can, please check on other distributions. It might work on OS X as well, but I have no way to test it.

#3800 is probably a good reference.

Thanks!


DX: YodaStyleFixerTest - fix 8.0 compat

Coverage remained the same at 92.021% when pulling 5a596d93171301e5c5ac41673c69675ed5364d8c on keradus:3.0_fifffff into f594a0b8d5c682cfe16912966a8263a6e3db6bb5 on FriendsOfPHP:3.0.


clarification for files/locations needed

am I correct that my project folder will need to contain:

a copy of your uota.py module from this lib section
an adjusted version of your uota.cfg.example as uota.cfg
a copy of my micropython .bin file
all my .py files used in my project
and I will create a .gz file with all the contents of this folder into a new folder (e.g. .../esp32upload?
In addition add the adjusted text file "latest" into this folder

then uota.cfg url could be "http://localhost/.../esp32upload/"
and where is the module connect_wifi coming from and how do I provide credentials for the connection?

uOTA updates code written in MicroPython stored in flash; it cannot update MicroPython itself that is flashed in the MCU. It's not possible to update MicroPython from MicroPython at all as far as I am aware.
Instead of a copy of micropython .bin file you need to create a .tar.gz archive of the new version of your MicroPython code and publish it on a HTTP(S) server together with latest file that refers to the filename of the .tar.gz archive.
The files uota.py, uota.cfg and version go to the MCU flash; some_new_firmware.tar.gz and latest go to the HTTP(S) server.
uota.cfg URL must refer to the server where new firmware can be found. Localhost would refer to the MCU running MicroPython itself which would not work. The IP address of the HTTP(S) server or DNS name must be used in the URL. You probably want to use an IP address if you are updating within a LAN without a local DNS server with local DNS records and you probably want to use a DNS name if your server is in the Internet.
It is assumed that you provide network connection yourself and handle storing/providing wifi credentials as is appropriate for your project. Below is what I use for connect_wifi.py in all of my projects.
# connect_wifi.py
#
# version 0.1

import network
import utime

def connect_wifi(ssid = '', password = ''):
    """
    Connect to wifi and return wifi radio object.

    """
    wifi = network.WLAN(network.STA_IF)
    wifi.active(True)
    wifi.connect(ssid, password)
    while not wifi.isconnected():
        utime.sleep(1)
        print('WiFi connect retry ...')
    print('WiFi IP:', wifi.ifconfig()[0])
    print('WiFi cfg:', wifi.ifconfig())
    return wifi

Hi Martin
Thanks for these clarifications and for sharing your project.
As I understand I will have to load "connect_wifi.py" also into the MCU as it will be needed for my code updates to work.
Was a bit confused that you name the self written py-scripts firmware as for me the firmware would relate to the uPython-bin file and my scripts would be the app that gets run - but that's just a side note.

I really like this method of doing ota update, nice library, thanks.
Initially it was not clear that the version file should be part of firmware.tar.g file holding the updated version number as to prevent it from updating each time, I however found an alternative way which avoid having to update or keep track.
Place a version file once in your esp32 directory and then add following uota update code piece in your main.py file
            if do_ota_update and uota.check_for_updates():                 uota.install_new_firmware()                 with open('version', 'w') as myfile:                     myfile.write(''.join(ver).join('\r\n'))                     myfile.close()                 machine.reset()
Obviously there should be a variable within your main.py which hold the version of your program like:
ver = '2.0.1'

Closing as old and non-actionable. Please open a new issue if there are any things for me to look at, thank you.

Ok


RFE - Add Operating System Vendor and Version

Can we have a graph showing the operating system vendor and version. In particular we in Ansible would like to know what versions of the OS are being used with the version of Ansible Pulp Plugin.
What question will this help us answer?
What is a specific example of the data to be gathered?
How will this metric be stored in the database or gathered at runtime?
Will the gathering and/or storage of this cause unacceptable burden/load on Pulp?
Is this metric Personally-Identifiable-Data?
How can we sanitize this output?
What pulpcore version will this be collected with?
Alternative proposal(s)
Option 1
Option N
Summarization
Visualization

Can you please have a look at the brand new proposal template and update this accordingly? I inserted the skeleton for you, please fill in the blanks.


[BUG] The given key 'redist.zip' was not present in the dictionary.)

Acknowledgement of preliminary instructions

[X] I have read the preliminary instructions, and I am certain that my problem has not already been addressed.
[X] I have thoroughly looked through the available Wiki articles and could not find a solution to my problem.
[X] I am using the latest version of Bloxstrap.
[ ] I did not answer truthfully to all the above checkboxes.

What problem did you encounter?
Recently, as of yesterday I have been unable to open Bloxstrap, right before then I had reinstalled my gpu drivers due to some graphics issues I was having, which are now resolved.
Ever since I installed the new studio graphics drivers for my Nvidia rtx 3070 I have been unable to open bloxstrap, and throws the following exception while on the 'Upgrading Roblox' loader
System.AggregateException: One or more errors occurred. (The given key 'redist.zip' was not present in the dictionary.)

[Inner Exception]
System.Collections.Generic.KeyNotFoundException: The given key 'redist.zip' was not present in the dictionary.

The normal RobloxPlayerBeta.exe works fine
Bloxstrap Log
2024-10-18T14:48:10Z [App::OnStartup] Starting Bloxstrap v2.5.4
2024-10-18T14:48:10Z [App::OnStartup] Compiled Friday, 3 November 2023 at 4:46:02 PM from commit 880c076fcd875fc10b5f6bef770033074d79a7a8 (tag/v2.5.4)
2024-10-18T14:48:10Z [App::OnStartup] Loaded from %UserProfile%\AppData\Local\Bloxstrap\Bloxstrap.exe
2024-10-18T14:48:10Z [Logger::Initialize] Initializing at %UserProfile%\AppData\Local\Bloxstrap\Logs\Bloxstrap_20241018T144810Z.log
2024-10-18T14:48:10Z [Logger::Initialize] Finished initializing!
2024-10-18T14:48:10Z [JsonManager<Settings>::Load] Loading from %UserProfile%\AppData\Local\Bloxstrap\Settings.json...
2024-10-18T14:48:10Z [JsonManager<Settings>::Load] Loaded successfully!
2024-10-18T14:48:10Z [JsonManager<State>::Load] Loading from %UserProfile%\AppData\Local\Bloxstrap\State.json...
2024-10-18T14:48:10Z [JsonManager<State>::Load] Loaded successfully!
2024-10-18T14:48:10Z [JsonManager<Dictionary`2>::Load] Loading from %UserProfile%\AppData\Local\Bloxstrap\Modifications\ClientSettings\ClientAppSettings.json...
2024-10-18T14:48:10Z [JsonManager<Dictionary`2>::Load] Loaded successfully!
2024-10-18T14:48:10Z [NotifyIconWrapper::NotifyIconWrapper] Initializing notification area icon
2024-10-18T14:48:10Z [App::OnStartup] Initializing bootstrapper
2024-10-18T14:48:10Z [App::OnStartup] Initializing bootstrapper dialog
2024-10-18T14:48:10Z [App::OnStartup] Creating singleton mutex
2024-10-18T14:48:10Z [App::OnStartup] Warning - singleton mutex already exists!
2024-10-18T14:48:10Z [Bootstrapper::Run] Running bootstrapper
2024-10-18T14:48:10Z [Bootstrapper::Run] Performing connectivity check...
2024-10-18T14:48:10Z [Bootstrapper::SetStatus] Connecting to Roblox...
2024-10-18T14:48:10Z [RobloxDeployment::GetInfo] Getting deploy info for channel LIVE (extraInformation=False)
2024-10-18T14:48:10Z [HttpClientLoggingHandler::ProcessRequest] GET https://clientsettingscdn.roblox.com/v2/client-version/WindowsPlayer/channel/LIVE
2024-10-18T14:48:11Z [HttpClientLoggingHandler::ProcessResponse] 200 OK https://clientsettingscdn.roblox.com/v2/client-version/WindowsPlayer/channel/LIVE
2024-10-18T14:48:11Z [Bootstrapper::Run] Connectivity check finished
2024-10-18T14:48:11Z [RobloxDeployment::GetInfo] Getting deploy info for channel Live (extraInformation=False)
2024-10-18T14:48:11Z [HttpClientLoggingHandler::ProcessRequest] GET https://clientsettingscdn.roblox.com/v2/client-version/WindowsPlayer/channel/Live
2024-10-18T14:48:11Z [HttpClientLoggingHandler::ProcessResponse] 200 OK https://clientsettingscdn.roblox.com/v2/client-version/WindowsPlayer/channel/Live
2024-10-18T14:48:11Z [RobloxDeployment::GetInfo] Getting deploy info for channel LIVE (extraInformation=False)
2024-10-18T14:48:11Z [RobloxDeployment::GetInfo] Deploy information is cached
2024-10-18T14:48:11Z [DeployManager::DefaultBaseUrl.Set] Testing connection to 'https://setup.rbxcdn.com'...
2024-10-18T14:48:11Z [HttpClientLoggingHandler::ProcessRequest] GET https://setup.rbxcdn.com/version
2024-10-18T14:48:11Z [HttpClientLoggingHandler::ProcessResponse] 200 OK https://setup.rbxcdn.com/version
2024-10-18T14:48:11Z [DeployManager::DefaultBaseUrl.Set] Connection successful!
2024-10-18T14:48:11Z [HttpClientLoggingHandler::ProcessRequest] GET https://setup.rbxcdn.com/version-9dbf9780562444e1-rbxPkgManifest.txt
2024-10-18T14:48:11Z [HttpClientLoggingHandler::ProcessResponse] 200 OK https://setup.rbxcdn.com/version-9dbf9780562444e1-rbxPkgManifest.txt
2024-10-18T14:48:11Z [HttpClientLoggingHandler::ProcessRequest] GET https://setup.rbxcdn.com/version-9dbf9780562444e1-rbxManifest.txt
2024-10-18T14:48:11Z [HttpClientLoggingHandler::ProcessResponse] 200 OK https://setup.rbxcdn.com/version-9dbf9780562444e1-rbxManifest.txt
2024-10-18T14:48:11Z [Bootstrapper::SetStatus] Upgrading Roblox...
2024-10-18T14:48:11Z [Bootstrapper::DownloadPackage.RobloxApp.zip] Package is already downloaded, skipping...
2024-10-18T14:48:11Z [Bootstrapper::ExtractPackage] Reading RobloxApp.zip...
2024-10-18T14:48:11Z [Bootstrapper::ExtractPackage] Read RobloxApp.zip. Extracting to %UserProfile%\AppData\Local\Bloxstrap\Versions\version-9dbf9780562444e1...
2024-10-18T14:48:11Z [Bootstrapper::DownloadPackage.content-avatar.zip] Package is already downloaded, skipping...
2024-10-18T14:48:11Z [Bootstrapper::ExtractPackage] Reading content-avatar.zip...
2024-10-18T14:48:11Z [Bootstrapper::ExtractPackage] Read content-avatar.zip. Extracting to %UserProfile%\AppData\Local\Bloxstrap\Versions\version-9dbf9780562444e1\content\avatar\...
2024-10-18T14:48:11Z [Bootstrapper::DownloadPackage.content-configs.zip] Package is already downloaded, skipping...
2024-10-18T14:48:11Z [Bootstrapper::ExtractPackage] Reading content-configs.zip...
2024-10-18T14:48:11Z [Bootstrapper::ExtractPackage] Read content-configs.zip. Extracting to %UserProfile%\AppData\Local\Bloxstrap\Versions\version-9dbf9780562444e1\content\configs\...
2024-10-18T14:48:12Z [Bootstrapper::DownloadPackage.content-fonts.zip] Package is already downloaded, skipping...
2024-10-18T14:48:12Z [Bootstrapper::ExtractPackage] Reading content-fonts.zip...
2024-10-18T14:48:12Z [Bootstrapper::ExtractPackage] Read content-fonts.zip. Extracting to %UserProfile%\AppData\Local\Bloxstrap\Versions\version-9dbf9780562444e1\content\fonts\...
2024-10-18T14:48:12Z [Bootstrapper::ExtractPackage] Finished extracting content-configs.zip
2024-10-18T14:48:12Z [Bootstrapper::ExtractPackage] Finished extracting content-avatar.zip
2024-10-18T14:48:12Z [Bootstrapper::DownloadPackage.content-models.zip] Package is already downloaded, skipping...
2024-10-18T14:48:12Z [Bootstrapper::ExtractPackage] Reading content-models.zip...
2024-10-18T14:48:12Z [Bootstrapper::ExtractPackage] Read content-models.zip. Extracting to %UserProfile%\AppData\Local\Bloxstrap\Versions\version-9dbf9780562444e1\content\models\...
2024-10-18T14:48:12Z [Bootstrapper::ExtractPackage] Finished extracting content-models.zip
2024-10-18T14:48:12Z [Bootstrapper::DownloadPackage.content-sky.zip] Package is already downloaded, skipping...
2024-10-18T14:48:12Z [Bootstrapper::ExtractPackage] Reading content-sky.zip...
2024-10-18T14:48:12Z [Bootstrapper::ExtractPackage] Read content-sky.zip. Extracting to %UserProfile%\AppData\Local\Bloxstrap\Versions\version-9dbf9780562444e1\content\sky\...
2024-10-18T14:48:12Z [Bootstrapper::DownloadPackage.content-sounds.zip] Package is already downloaded, skipping...
2024-10-18T14:48:12Z [Bootstrapper::ExtractPackage] Reading content-sounds.zip...
2024-10-18T14:48:12Z [Bootstrapper::ExtractPackage] Read content-sounds.zip. Extracting to %UserProfile%\AppData\Local\Bloxstrap\Versions\version-9dbf9780562444e1\content\sounds\...
2024-10-18T14:48:12Z [Bootstrapper::ExtractPackage] Finished extracting content-sky.zip
2024-10-18T14:48:12Z [Bootstrapper::ExtractPackage] Finished extracting content-sounds.zip
2024-10-18T14:48:12Z [Bootstrapper::DownloadPackage.shaders.zip] Package is already downloaded, skipping...
2024-10-18T14:48:12Z [Bootstrapper::ExtractPackage] Reading shaders.zip...
2024-10-18T14:48:12Z [Bootstrapper::ExtractPackage] Read shaders.zip. Extracting to %UserProfile%\AppData\Local\Bloxstrap\Versions\version-9dbf9780562444e1\shaders\...
2024-10-18T14:48:12Z [Bootstrapper::DownloadPackage.ssl.zip] Package is already downloaded, skipping...
2024-10-18T14:48:12Z [Bootstrapper::ExtractPackage] Reading ssl.zip...
2024-10-18T14:48:12Z [Bootstrapper::ExtractPackage] Read ssl.zip. Extracting to %UserProfile%\AppData\Local\Bloxstrap\Versions\version-9dbf9780562444e1\ssl\...
2024-10-18T14:48:12Z [Bootstrapper::ExtractPackage] Finished extracting ssl.zip
2024-10-18T14:48:12Z [Bootstrapper::DownloadPackage.content-textures2.zip] Package is already downloaded, skipping...
2024-10-18T14:48:12Z [Bootstrapper::ExtractPackage] Reading content-textures2.zip...
2024-10-18T14:48:12Z [Bootstrapper::ExtractPackage] Read content-textures2.zip. Extracting to %UserProfile%\AppData\Local\Bloxstrap\Versions\version-9dbf9780562444e1\content\textures\...
2024-10-18T14:48:12Z [Bootstrapper::ExtractPackage] Finished extracting content-fonts.zip
2024-10-18T14:48:12Z [Bootstrapper::DownloadPackage.content-textures3.zip] Package is already downloaded, skipping...
2024-10-18T14:48:12Z [Bootstrapper::ExtractPackage] Reading content-textures3.zip...
2024-10-18T14:48:12Z [Bootstrapper::ExtractPackage] Read content-textures3.zip. Extracting to %UserProfile%\AppData\Local\Bloxstrap\Versions\version-9dbf9780562444e1\PlatformContent\pc\textures\...
2024-10-18T14:48:12Z [Bootstrapper::DownloadPackage.content-terrain.zip] Package is already downloaded, skipping...
2024-10-18T14:48:12Z [Bootstrapper::ExtractPackage] Reading content-terrain.zip...
2024-10-18T14:48:12Z [Bootstrapper::ExtractPackage] Read content-terrain.zip. Extracting to %UserProfile%\AppData\Local\Bloxstrap\Versions\version-9dbf9780562444e1\PlatformContent\pc\terrain\...
2024-10-18T14:48:12Z [Bootstrapper::ExtractPackage] Finished extracting content-terrain.zip
2024-10-18T14:48:12Z [Bootstrapper::DownloadPackage.content-platform-fonts.zip] Package is already downloaded, skipping...
2024-10-18T14:48:12Z [Bootstrapper::ExtractPackage] Reading content-platform-fonts.zip...
2024-10-18T14:48:12Z [Bootstrapper::ExtractPackage] Read content-platform-fonts.zip. Extracting to %UserProfile%\AppData\Local\Bloxstrap\Versions\version-9dbf9780562444e1\PlatformContent\pc\fonts\...
2024-10-18T14:48:12Z [Bootstrapper::ExtractPackage] Finished extracting shaders.zip
2024-10-18T14:48:12Z [Bootstrapper::DownloadPackage.extracontent-places.zip] Package is already downloaded, skipping...
2024-10-18T14:48:12Z [Bootstrapper::ExtractPackage] Reading extracontent-places.zip...
2024-10-18T14:48:12Z [Bootstrapper::ExtractPackage] Read extracontent-places.zip. Extracting to %UserProfile%\AppData\Local\Bloxstrap\Versions\version-9dbf9780562444e1\ExtraContent\places\...
2024-10-18T14:48:12Z [Bootstrapper::ExtractPackage] Finished extracting content-textures3.zip
2024-10-18T14:48:12Z [Bootstrapper::ExtractPackage] Finished extracting extracontent-places.zip
2024-10-18T14:48:12Z [Bootstrapper::DownloadPackage.extracontent-luapackages.zip] Package is already downloaded, skipping...
2024-10-18T14:48:12Z [Bootstrapper::ExtractPackage] Reading extracontent-luapackages.zip...
2024-10-18T14:48:12Z [Bootstrapper::ExtractPackage] Read extracontent-luapackages.zip. Extracting to %UserProfile%\AppData\Local\Bloxstrap\Versions\version-9dbf9780562444e1\ExtraContent\LuaPackages\...
2024-10-18T14:48:12Z [Bootstrapper::ExtractPackage] Finished extracting content-platform-fonts.zip
2024-10-18T14:48:12Z [Bootstrapper::DownloadPackage.extracontent-translations.zip] Package is already downloaded, skipping...
2024-10-18T14:48:12Z [Bootstrapper::ExtractPackage] Reading extracontent-translations.zip...
2024-10-18T14:48:12Z [Bootstrapper::ExtractPackage] Read extracontent-translations.zip. Extracting to %UserProfile%\AppData\Local\Bloxstrap\Versions\version-9dbf9780562444e1\ExtraContent\translations\...
2024-10-18T14:48:12Z [Bootstrapper::ExtractPackage] Finished extracting extracontent-translations.zip
2024-10-18T14:48:12Z [Bootstrapper::ExtractPackage] Finished extracting RobloxApp.zip
2024-10-18T14:48:12Z [Bootstrapper::DownloadPackage.extracontent-models.zip] Package is already downloaded, skipping...
2024-10-18T14:48:12Z [Bootstrapper::ExtractPackage] Reading extracontent-models.zip...
2024-10-18T14:48:12Z [Bootstrapper::ExtractPackage] Read extracontent-models.zip. Extracting to %UserProfile%\AppData\Local\Bloxstrap\Versions\version-9dbf9780562444e1\ExtraContent\models\...
2024-10-18T14:48:13Z [Bootstrapper::ExtractPackage] Finished extracting extracontent-models.zip
2024-10-18T14:48:13Z [Bootstrapper::ExtractPackage] Finished extracting extracontent-luapackages.zip
2024-10-18T14:48:13Z [Bootstrapper::DownloadPackage.extracontent-textures.zip] Package is already downloaded, skipping...
2024-10-18T14:48:13Z [Bootstrapper::ExtractPackage] Reading extracontent-textures.zip...
2024-10-18T14:48:13Z [Bootstrapper::ExtractPackage] Read extracontent-textures.zip. Extracting to %UserProfile%\AppData\Local\Bloxstrap\Versions\version-9dbf9780562444e1\ExtraContent\textures\...
2024-10-18T14:48:13Z [Bootstrapper::DownloadPackage.WebView2.zip] Package is already downloaded, skipping...
2024-10-18T14:48:13Z [Bootstrapper::ExtractPackage] Reading WebView2.zip...
2024-10-18T14:48:13Z [Bootstrapper::ExtractPackage] Read WebView2.zip. Extracting to %UserProfile%\AppData\Local\Bloxstrap\Versions\version-9dbf9780562444e1...
2024-10-18T14:48:13Z [Bootstrapper::ExtractPackage] Finished extracting WebView2.zip
2024-10-18T14:48:13Z [Bootstrapper::DownloadPackage.WebView2RuntimeInstaller.zip] Package is already downloaded, skipping...
2024-10-18T14:48:13Z [Bootstrapper::DownloadPackage.redist.zip] Package is already downloaded, skipping...
2024-10-18T14:48:13Z [AsyncHelpers::ExceptionHandler] An exception occurred while running the task 'extracting redist.zip'
2024-10-18T14:48:14Z [App::FinalizeExceptionHandling] System.AggregateException: One or more errors occurred. (The given key 'redist.zip' was not present in the dictionary.)
 ---> System.Collections.Generic.KeyNotFoundException: The given key 'redist.zip' was not present in the dictionary.
   at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
   at Bloxstrap.Bootstrapper.ExtractPackage(Package package)
   --- End of inner exception stack trace ---
2024-10-18T14:48:14Z [Bootstrapper::SetStatus] Configuring Roblox...
2024-10-18T14:48:16Z [Bootstrapper::ExtractPackage] Finished extracting extracontent-textures.zip
2024-10-18T14:48:17Z [Bootstrapper::ExtractPackage] Finished extracting content-textures2.zip

Update.

Update.

Resolved.


fix case where open and close are equal

hey,
my use case is to have templates that are valid code, so it's less of a pain to keep them in sync. the best open and close i've come up with so far for this is '' and '', which needs this fix to run.
cheers!

Hey @ahdinosaur thanks for the patch. It is worth noting me and @whaaaley were going to port a different source to this repo soon, so I'll keep this in mind.

sweet thanks. yeah, if you're able to continue supporting custom open and close tags, then i'm a happy cat.


[Bug] [API] The downstream workflow is started, although it is not online

Search before asking

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

What happened
When performed complement operation, the downstream workflow is started, although it is not online.
What you expected to happen
Start the downstream workflow  when it is online
How to reproduce
Performs the complement operation when set complementDependentMode=ALL_DEPENDENT,downstream workflow is offline.
Anything else
No response
Version
dev
Are you willing to submit PR?

[X] Yes I am willing to submit a PR!

Code of Conduct

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

Hi @xuchunlai Is this issue also exist in 3.0.x or 3.1.x? Can you take a check?

Hi @xuchunlai Is this issue also exist in 3.0.x or 3.1.x? Can you take a check?

version is 3.1.2


Support TOML

Support configuration file and register map written in TOML.
Parser gem:
https://github.com/fbernier/tomlrb

done


Django and mysqlclient

Im attempting to use serverless-python-requirements + serverless-wsgi with Django using mysql database.
Ive read over the README numerous times but haven't been able to get this to work.
Ive created a repo as an example.
https://github.com/brett-matthews/serverless-django-wsgi-requirements-test
I would be happy to contribute to the README here if we could manage to solve this which may help other users in the future.

@brett-matthews can you be more specific about what isn't working? Thanks for providing the repo link, but any error messages, console output are going to provide more context.

The only error I've received when running sls package was a notice about the libmysql not being found, so I swapped the commented lines and was able to package.
https://github.com/brett-matthews/serverless-django-wsgi-requirements-test/blob/ccd5526a860da8097ed2bd9a585fa8e975f6eb17/serverless.yml#L10-L11
Are you getting a runtime error? Is this the same as #317 ?

My bad I should of attached the Error @miketheman.. Added to original post.
Let me try again re:
https://github.com/brett-matthews/serverless-django-wsgi-requirements-test/blob/ccd5526a860da8097ed2bd9a585fa8e975f6eb17/serverless.yml#L10-L11
I left the commented out lines to demonstrate I tried both.. Or so I thought i did :)

Still receive this error (from original post)
ImportError: libmysqlclient.so.18: cannot open shared object file: No such file or directory

Regardless of either of these options in dockerExtraFiles; tried --force on deploy too
      - /usr/lib64/mysql57/libmysqlclient.so.1020
      - /usr/lib64/mysql/libmysqlclient.so.18

So I set these values in my serverless.yml file and now it is working!
  pythonRequirements:
    useDownloadCache: false
    useStaticCache: false

Im not exactly sure why, perhaps I had a cached build that was broken?

So I set these values in my serverless.yml file and now it is working!
  pythonRequirements:
    useDownloadCache: false
    useStaticCache: false

Im not exactly sure why, perhaps I had a cached build that was broken?

I had ran into similar issues, it seems that the package inclusion/exclusion process will not re-run if you have static cache.
Remove the static cache or invalidate it by changing requirements.txt should re-package correctly.
As you had successfully built it, it should be safe to enable caches again.

@brett-matthews Glad to hear it's working! I've tagged this to leave open for now.
I know this might be hard to confirm - in the README we note that you should try and confirm that your file was included in the zip package:
https://github.com/UnitedIncome/serverless-python-requirements/blob/0738379e04d43a120a800a66b40f97eb02a100d8/README.md#native-code-dependencies-during-runtime
Is that something you tried while debugging this?
Going to leave this open for others to see for now, at least until we learn more about the behaviors and consider what might be a good tradeoff between automatically clearing caches for extra files, or some other approach.

As in looking to see what files were included in the Docker image?
https://github.com/brett-matthews/serverless-django-wsgi-requirements-test/blob/ccd5526a860da8097ed2bd9a585fa8e975f6eb17/serverless.yml#L10-L11
For someone not familiar with Docker such as myself this took a bit of research to try this file- /usr/lib64/mysql/libmysqlclient.so.18 which was different to the tutorial. With the caching trouble I experienced it was even more confusing.
Not sure on the direction you could take? Maybe a simple note in the Native Code Dependencies During Runtime section of the README to turn of caching off initially until happy with a working build?

@brett-matthews Thanks for opening this issue, providing so many details and leaving it open. Helped me after I hit this issue when trying to use a Python resizing Lambda with Pillow-SIMD dependency.
Struggled for a while before coming across this issue and reading it helped my understanding of the issue and feature.

@brett-matthews Thanks from me too.
Was trying to run Django 3.1 serverlessly - hit roadblock once i found out i couldn't connect to remote MySQL DB due to a mysqlclient error (similar to yours).
I encountered the following error (after a long stack trace): NameError: name '_mysql' is not defined
Have successfully resolved the issue now (thanks to the fix you've provided) 👍

For anyone else who would like to get Django 3.1 (latest at this time) running on serverless infrastructure while also being able to connect to MySQL database; i have setup a repo for this:
https://github.com/zees-dev/serverless-django


Procedures: Making a pull request

This document would cover:

Writing a good pull request description by providing context (not just a link to an issue), a description of before and after, screenshots or screencaps for UI features, and instructions for reviewers to manually test your changes if necessary
Explaining specific changes in the code by writing a self-review and leaving comments for other reviewers

Closed by https://github.com/MetaMask/contributor-docs/pull/45


kinect v2 [Error] [usb::TransferPool] failed to submit transfer: LIBUSB_ERROR_IO Input/Output Error

Hello,
i want to use the cartographer ros with the kinect v2. Unfortunaly the kinect is crashing with following error: [Error] [usb::TransferPool] failed to submit transfer: LIBUSB_ERROR_IO Input/Output Error
The kinect doesn't crash without cartographer or with other ROS-SLAM algorithms. Can anyone help me? Here are hopefully all required informations. If something is missing, please ask. Thanks in advance.
Ubuntu 16.04 LTS
ros kinectic
I run in the first terminal: roslaunch kinect2_bridge  kinect2_bridge.launch
(https://github.com/code-iai/iai_kinect2)
I run in the second terminal: roslaunch cartographer_ros kinect-v2_rgbd_2D0_ohne_imu.launch
The packages kinect2_bridge and cartographer_ros are in differnt workspaces.
rosbag validate:
terminal-output, launch-files and more you can find here:
https://github.com/toonnii/kinect_v2-cartographer

Closing as inactive.


Help Needed: Loading localized content in Astro pages

Hello,
First of all, thank you for this fantastic theme! It’s truly inspiring.
I’m currently working on loading localized content for pages like the homepage using Astro’s markdown functions instead of passing the translated content as a component property. My goal is to write content in markdown and load it correctly based on the locale.
Here’s the folder structure I’m working with:
/content
  └── /homepage
      ├── /en
      │   └── index.md
      └── /fr
          └── index.md

However, I’m having trouble figuring out how to load the correct content in the pages/index.astro file.
Has anyone tried this approach before or have any suggestions on where to start? I’m eager to contribute this alternative solution and would greatly appreciate any guidance or hints.
Thank you in advance for your help!

Hi there, @dwr-studio! Thank you for the kind words, I'm glad you're enjoying the theme. It should work similarly for both .astro page components and Markdown/MDX files within the src/pages/ directory, as they automatically become pages on your website. If you're working with a Content Collection, you could use something like this:
---
import { getEntryBySlug } from 'astro:content';

const locale = Astro.url.pathname.startsWith('/fr') ? 'fr' : 'en';
const homepageContent = await getEntryBySlug('homepage', locale + '/index');
---

{homepageContent.data.title}

{homepageContent.content}

Also, Astro recently added an option to implement your own routing logic manually, which looks promising, though I haven't had the chance to try it out yet:  https://docs.astro.build/en/guides/internationalization/#manual


Unpin api-extractor dependency

Some of the packages in the repo had pinned their dependency on api-extractor to version 7.7.11
This stops us from getting fixes to security vulnerabilities from the transitive dependencies that come via the api-extractor.
This PR updates the version being used to ^7.18.11 to match with what we do for rest of the packages in this repo

@qiaozha Any idea how we ended up pinning the dependency for some of the mgmt plane packages? I see other mgmt plane packages use the right version.

@qiaozha Any idea how we ended up pinning the dependency for some of the mgmt plane packages? I see other mgmt plane packages use the right version.

I think those packages are generated by the previous code generator.


Support non-function activity callables

What was changed
Tests and minor changes to support non-function callables as activities (e.g. classes with __call__)
Checklist

Closes #52

We have decided to revisit this to make class and method activity callables better supported. Current thoughts:

See if we can accept callable classes (i.e. classes with __call__) directly in execute_activity, e.g. workflow.execute_activity(MyActivityClass). Otherwise we will add execute_activity_class (and all start/local variants).
Due to likely ambiguity, for methods we will likely have execute_activity_method (and all start/local variants), e.g. workflow.execute_activity_method(MyClass.my_method).

I am marking this PR as draft while this is developed.


The "Limited Layer Extent" example doesn't load

Describe the bug
When navigating to the "Limited Layer Extent" example page on openlayers.org, the example map data does not load in any browser I have access to (IE, Firefox, or Chrome). The map frame loads and generates the buttons, but the map content itself remains a gray static pattern. The likely cause seems to be a "401 Unauthorized" error when attempting to load the map tiles from Mapbox.
To Reproduce
Steps to reproduce the behavior:

Go to https://openlayers.org/en/latest/examples/layer-extent.html
Observe the map area near the top of the page, which will contain tiles of gray static images instead of the expected map content and functionality example.

Expected behavior
The map data should properly display and demonstrate the functionality the example is written to show.

See #9652

fixed with #9964


Define and refine initial tasks for a cost monitoring implementation using Cost Explorer API

I'm to followup the work in https://github.com/2i2c-org/infrastructure/issues/4648 by defining and refining initial tasks towards implementing monitoring usting Cost Explorer API (instead of using an Athena datasource).
Definition of done

I've defined and refined a suitable (as determined by me) amount of work represented as github issues to be added to the engineering board.
I'm aiming to not end up defining and refining more than I'm confident will be something I actually end up wanting to do.

Initial steps

[x] Create an overview of technical parts so I can consider where to start

High level tech overview

A Python webserver

Python code
Helm based deployment inlined as a sub-chart to the support chart

Docker image
Terraform config to provide AWS permissions for the Python webserver

A Grafana dashboard, with various panels, with queries processing JSON responses from the Python webserver

I've created the following tasks for now, this is sufficient for now I'd say:

#4670
#4671
#4672
#4673


CtrlInventoryGridEx crashes when destroyed

This seems to happen when the linked InventoryGrid instance has been removed prior to the CtrlInventoryGridEx isntance.
A simple way to reproduce this is by making the InventoryGrid a child of the CtrlInventoryGridEx in the scene.

Should be fixed in 1cddeaed251b2036e5438f78476f488901712acd


Updating the abstract - team La Chouffe

Hi @open-sci/la-chouffe,
As anticipated in one of the previous lectures, you have to update the abstract you wrote and uploaded in the GitHub repository of the course with more precise and additional information derived from the study you have conducted so far (which includes also the information collected in the DMP and in the protocol).
Once finalised, the abstract must be included in the research article you have to prepare and submit it by the 23rd of May, 23:59 Rome time. However, please update the abstract before writing the article, and every time you have either new or more precise information to share.
For further doubts, do not hesitate to contact me in the Slack group.

Hello,
Please find in our directory here the abstract:
https://github.com/open-sci/2021-2022/blob/main/docs/LaChouffe/abstract.md


Throw import error on failed particle import

Working on improving the error messages when importing particles that are somehow malformed.
Discovered in https://github.com/PolymerLabs/arcs/issues/3603.

Haha, I've tried something similar in #3661 , one PR number apart :)
You're right that we should put cleaning up in finally.
I'm wondering however whether see the line number in the particle if you throw a new error, like you do now. In my PR I've attached the screenshots of the console, and it shows that on the right hand side Chrome can display the line number in the particle. Does it work the same way with your code?

Piotr: that's a better way to set up the exception. Josh: we still want to
remove the "!clazz" check in particle-execution-context.ts
On Wed, 2 Oct 2019 at 02:04, Piotr Swigon<EMAIL_ADDRESS>wrote:

Haha, I've tried something similar in #3661
https://github.com/PolymerLabs/arcs/pull/3661 , one PR number apart :)
You're right that we should put cleaning up in finally.
I'm wondering however whether see the line number in the particle if you
throw a new error, like you do now. In my PR I've attached the screenshots
of the console, and it shows that on the right hand side Chrome can display
the line number in the particle. Does it work the same way with your code?
[image: Screen Shot 2019-09-30 at 10 47 18 pm]
https://user-images.githubusercontent.com/26159485/65979579-61ad0880-e42a-11e9-9093-8b407bef429f.png
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub
https://github.com/PolymerLabs/arcs/pull/3661?email_source=notifications&email_token=AIHN4TI44PDPCABVD2DBQMLQMNYHNA5CNFSM4I4FACV2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEABZW4Y#issuecomment-537107315,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AIHN4TJYDW24GC222TFCH5TQMNYHNANCNFSM4I4FACVQ
.

@mykmartin : Maybe it is better in an abstract sense, but in practice Chrome is doing extra bookkeeping of exceptions and keeps metadata that is printed when it logs a thrown exception. This metadata is lost when you toString() an exception.
In practice if you do it the way it's done in this PR, you lose the line number from the particle, and you have to search for the error. Error shows up this way in the console:

While if you re-throw the original exception, you do get a line count from the particle on the right hand side. The data is not on the error object, but remembered by Chrome and logged:

I'm not sure I follow, Piotr. My comment was that the way you've done it is better ... isn't that what you're saying?

I would prefer to just rethrow to keep the original error, but I'd also like to give the user information about the source of the error (the particle id and recipe if possible), can we do both?
@mykmartin I didn't remove the !clazz check because there are ways for clazz to be undefined (other than an exception being thrown), one is for the particle code to not actually call define particle.
I believe this deserves an error message of its own.

Ok, just to close the loop: we all agree that the submitted change #3660 is better because it re-throws, and I agree with Josh that leaving the !clazz check is fine. :)

Thanks all (closing).


vcpkg edit not finding user area install of Code

VS Code now recommends a user-area install. I've added it to the path and set a user EDITOR variable, but when I run .\vcpkg.exe edit soci in a PowerShell window I get the error:
Error: Visual Studio Code was not found and the environment variable EDITOR is not set or invalid.
The following paths were examined:

    C:/Users/LoginName/AppData/Local/Programs/Microsoft VS Code/bin/code.exe
    C:/Program Files/Microsoft VS Code Insiders/Code - Insiders.exe
    C:/Program Files/Microsoft VS Code/Code.exe
    C:/Program Files (x86)/Microsoft VS Code Insiders/Code - Insiders.exe
    C:/Program Files (x86)/Microsoft VS Code/Code.exe

You can also set the environmental variable EDITOR to your editor of choice.

set EDITOR=vscode.exe \Visual Studio Code

Hi @Voskrese That doesn't work for me. As I said, I've installed Code in the user area.