BTRFS - How to change the flash drive

My Blitz is running smooth as a butter on BTRFS. I have a question: What if i need to change the flash drive? Looked up the documentation but, there isn't a clear answer. Objective is only to swap the flash drive for a new one in case of a failure or not. Reason, need to know the implications and how to do it.
Here's a thought:

Format a new flash drive to BTRFS.
Copy the contents of the connected flash drive to new one.
Plug the new drive and power on.

Will there be a mount point issue? Will the Blitz recognize it as the old drive without any issues? If not then how can we do this.
OR, say you are upgrading or just flash the SD card and go through the recovery setup, will it recognise the new flash drive as the old flash drive?
We can add this to the documentation.

Changing the HDD is called "Migration" - see: https://github.com/rootzoll/raspiblitz/blob/v1.6/README.md#import-a-migration-file ... ist this what you were searching for?

No, my Blitz is running fine, data is safe. I only want to change the USB - everything else stays the same.

After a full backup (MIGRATION FILE)
you can try:

check the RAID status:
$ sudo config.scripts/blitz.datadrive.sh status

# RASPIBLITZ DATA DRIVE Status

# BASICS
isMounted=1
isBTRFS=1
hddRaspiData=1
isSSD=1
datadisk='sda'
datapartition='sda1'
hddBlocksBitcoin=1
hddBlocksLitecoin=0
hddBytes=32212237312
hddGigaBytes=29
hddUsedInfo='13% & 50%'

# RAID
isRaid=1
raidHddDev='sda1'
raidUsbDev='sdb'

# SWAP
isSwapExternal=1
SwapExternalPath='/mnt/temp/swapfile'

*Remove the pendrive from the RAID:
sudo config.scripts/blitz.datadrive.sh raid off
# RAID - Removing raid drive to RaspiBlitz data drive
# removing USB DEV from RAID
ERROR: error removing device 'missing': no missing devices found to remove
# OK - RaspiBlitz data is not running in RAID1 anymore

(before upgrading take note of these steps: https://github.com/rootzoll/raspiblitz/issues/1702 to avoid the recovery process getting stuck)
power off and unplug the pendrive
proceed to flashing the SDcard and upgrade

When synced up again I successfully used these steps.

power off and attach the pendrive
when started run:
lsblk
the pendrive should be there as sdb

NAME        MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda           8:0    0 931.5G  0 disk
├─sda1        8:1    0    30G  0 part /mnt/hdd
├─sda2        8:2    0 867.5G  0 part /mnt/storage
└─sda3        8:3    0    34G  0 part /mnt/temp
sdb           8:16   1 119.3G  0 disk
mmcblk0     179:0    0  29.7G  0 disk
├─mmcblk0p1 179:1    0   256M  0 part /boot
└─mmcblk0p2 179:2    0  29.5G  0 part /

$ sudo config.scripts/blitz.datadrive.sh status
# RASPIBLITZ DATA DRIVE Status

# BASICS
isMounted=1
isBTRFS=1
hddRaspiData=1
isSSD=1
datadisk='sda'
datapartition='sda1'
hddBlocksBitcoin=1
hddBlocksLitecoin=0
hddBytes=32212237312
hddGigaBytes=29
hddUsedInfo='3% & 50%'

# RAID
isRaid=0
raidCandidate[0]='sdb 119 GB SanDisk'
raidCandidates=1

# SWAP
isSwapExternal=1
SwapExternalPath='/mnt/temp/swapfile'

add the pendrive back to the RAID (took me ~ 15 min):
$ sudo config.scripts/blitz.datadrive.sh raid on sdb

# RAID - Adding raid drive to RaspiBlitz data drive
# adding sdb as BTRFS raid1 for /mnt/hdd

~ 15 MIN

# OK - sdb is now part of a RAID1 for your RaspiBlitz data

check the status again:

$ sudo config.scripts/blitz.datadrive.sh status
# RASPIBLITZ DATA DRIVE Status

# BASICS
isMounted=1
isBTRFS=1
hddRaspiData=1
isSSD=1
datadisk='sda'
datapartition='sda1'
hddBlocksBitcoin=1
hddBlocksLitecoin=0
hddBytes=32212237312
hddGigaBytes=29
hddUsedInfo='13% & 50%'

# RAID
isRaid=1
raidHddDev='sda1'
raidUsbDev='sdb'

# SWAP
isSwapExternal=1
SwapExternalPath='/mnt/temp/swapfile'

Note this entry about the type of pendrive to use (USB SSD is recommended):
https://github.com/rootzoll/raspiblitz/issues/924

Wow! Thank you for the detailed response @openoms . Might have to get a new USB drive. If i upgrade to 1.6.1 now and follow the steps later to change the drive, it should work, correct?

Wow! Thank you for the detailed response @openoms . Might have to get a new USB drive. If i upgrade to 1.6.1 now and follow the steps later to change the drive, it should work, correct?

I was making some custom steps myself so difficult to guarantee therefore do make sure you generate a migration file beforehand! Also is best to use a new SDcard for the update, so you can fall back to the old version.
Probably best to try restarting with the old system after removing the raid to make sure it boots and don' delete the USB drive before that test.

Please close this issue.
It is very informational, maybe let it marked as "documentation"


Housekeeping

Review the architecture of the software.

AppWindow should not export the specific windows

AppWindow should not export the specific windows

Moved the exports to the specific windows.

The serverApi should not require services

SubscriptionService should only be accessed by serverApi

Frontend scripts should unsubscribe on their own.
Their window should not include the serverApi to do so.

Realized unsubscription via client


Support final methods

This ticket is intended to be an open ticket referring to the many long-standing (and long ignored) requests for final methods.  These requests have been made in two related, but closed tickets, namely

https://github.com/microsoft/TypeScript/issues/8306 - Support final classes (non-subclassable)
https://github.com/microsoft/TypeScript/issues/9264 - Suggestion: Final keyword for classes and methods

Sadly, both of these tickets have been closed, due solely to arguments by the developers against final classes.  The completely distinct requests for final methods were totally ignored (even though they now comprise the bulk of the comments).
So hopefully the topic of final methods can be addressed on its own merits.

Just in case tl;dr,
https://github.com/microsoft/TypeScript/issues/8306#issuecomment-458268725
Honestly, a few years ago, I would have agreed with you. But I simply don't write much OOP code anymore.
The final keyword won't see much use, even if I did write still write a lot of OOP code

Interestingly enough, searching Github shows that sealed/final class is used a lot more than abstract class... In Java and C#. This surprises me because I thought it would be the other way around for all languages.
PHP still has a really high abstract-to-final ratio (higher than I expected) but it matches my personal experience that abstract is used more thansealed/final
C++ matches my expectations closer. But I suspect it is because it's harder to search for the final specifier in C++ (can someone perform a better search for me? My Github-Fu is bad).
Most of the C++ matches come from comments and people naming classes FinalClass
I'm surprised JavaScript got results at all for final class. Looks like it also comes from people naming classes FinalClass.

Language
abstract class
sealed/final class
abstract:sealed/final Ratio
sealed/final:abstract Ratio

Java
3,638,053
5,263,178
0.69122743
1.44670185

C#
688,912
1,925,587
0.357767268
2.79511316

PHP
7,559,313
2,589,909
2.91875622
0.34261169

C++
228,096
24,064
9.4787234
0.105499439

JavaScript
106,635
24,725
4.31284125
0.23186571

Scala
89,978
7,067+35,088 = 42,155
2.13445617
0.468503412

https://github.com/search?q="abstract+class"+in%3Afile&type=Code

Language
Count "abstract class" in:file

PHP
7,559,313

Java
3,638,053

C#
688,912

HTML
550,308

C++
228,096

Ruby
180,558

Python
157,500

JavaScript
106,635

Scala
89,978

Markdown
85,682

https://github.com/search?q="final+class"+in%3Afile&type=Code

Language
Count "final class" in:file

Java
5,263,178

PHP
2,589,909

HTML
600,170

Swift
87,939

Python
44,220

Text
31,763

ActionScript
27,916

JavaScript
24,725

C++
24,064

XML
20,189

https://github.com/search?q="abstract+final+class"+in%3Afile&type=Code

Language
Count "abstract final class" in:file

Java
3,450

Assembly
294

SQL
268

Hack
205

PHP
147

Markdown
89

C++
71

D
51

HTML
50

Text
44

https://github.com/search?q="sealed+class"+in%3Afile&type=Code

Language
Count "sealed class" in:file

C#
1,925,587

XML
89,737

C++
69,765

YAML
28,226

Kotlin
15,801

Pascal
8,021

Scala
7,067

Markdown
6,508

HTML
6,164

JSON
4,196

https://github.com/search?q="abstract+sealed+class"+in%3Afile&type=Code

Language
Count "abstract sealed class" in:file

Scala
2,456

C#
207

HTML
96

Markdown
73

Kotlin
36

XML
28

Pascal
22

Text
17

Dylan
12

Lua
7

https://github.com/search?q="sealed+abstract+class"+in%3Afile&type=Code

Language
Count "sealed abstract class" in:file

Scala
35,088

Markdown
589

HTML
467

Text
123

Dylan
101

XML
94

F#
58

reStructuredText
49

JupyterNotebook
33

C#
26

Right, most people would not code a final method.  The main use case is for authors of base classes to prevent sublasses from accidentally overriding base class methods that are critical to proper operation.  Thus by definition most people will not author a final method, but they will definitely be protected with subclassing toolkit base classes from accidentally blowing the framework invariants.
So sure, I'm glad you don't have to worry about that.  And maybe you never use subclasses at all.  OK,  So why on earth does it bother you that other people do use subclasses?  Any why does it bother you that some base class authors need final to avoid accidents?

Before this flames out tediously, can we please address the main point that Ryan raised (https://github.com/microsoft/TypeScript/issues/8306#issuecomment-458268725):

CLASSES ARE A JAVASCRIPT FEATURE, NOT A TYPESCRIPT FEATURE. If you really feel like classes are completely useless without final, that is something to take up with the TC39 committee or bring to es-discuss. If no one is willing or able to convince TC39 that final is a must-have feature, then we can consider adding it to TypeScript.

Is there any citable evidence that this is progressing in the ECMAScript spec. If not, the discussion should really be taken elsewhere.

Does that comment address final METHODS?  Perhaps it does, I'm having trouble parsing it.

Any why does it bother you that some base class authors need final to avoid accidents?

Because it takes time away from other features I want the TS team to work on =P

Ignored !== went the way you wanted them to.
We've considered both final classes and final methods and still consider them to be something we don't need to add to the language ahead of TC39.

Two distinct questions:

I had a hard time finding documented concerns with final methods by themselves.  It seems final methods were conflated with final classes in the majority of your commentary.  Would you mind pasting herein the specific issues with final methods (not mixed in with a discussion of final classes which are a whole different beast entirely)?  Perhaps the issues are clearly stated and obvious, but I was confused by the mixture of class and methods in the same discussion.

Separately I'm confused about the TC39 reference.  I guess that is going after what exactly is the charter of Typescript, which I have always loosely assumed was intended to add a useful degree of compile time safety to make JS runtime behavior more robust.  I did not think it was intended to only add features that were on an approved ECMA roadmap.  Is that the current thinking?  Has it always been that way and I never noticed?

I don't see any lack of duality between final classes and final methods; the latter is simply a more fine-grained control of the former and the motivations are largely the same. The general consensus on final classes was that from a type perspective, interactions between a base class and its derived classes are a complex interplay that can't be accurately described by providing a few keywords. By that measure, final of any form would be a "half measure" that doesn't really completely solve what is really an extremely complex problem.

Speaking to e.g. C++ or Java, final in these languages has very clear and direct runtime performance implications: calls to final methods can be guaranteed to be non-virtual, saving on vtable space and runtime indirections. JavaScript could easily want those same outcomes for the same reasons. If you view final in this regard, it's in the same family as C's inline - an explicit instruction to the compiler to take a flexibility/performance trade-off. Again under this metric, it has no type meaning apart from restrictions implied by the requested low-level runtime behavior. So by this metric it's clearly in TC39's domain.

Now you might view final as a type instruction with sidechannel runtime effects, which is valid, but you could say the same about a lot of things.
Similar to override, it's also fairly straightforward to detect final violations at runtime and throw an error (which is not true of the vast majority of type system features). So that's an additional hurdle.

I rarely need the final method, but this morning it would have prevented a coworker of mine to introduce a bad side effect.
export abstract class Base<T, U= any> {
    constructor(protected data: T ) {}

  // I wished this to have been final
    public getData(): T {
        return this.data;
    }
}

export class SubClass extends Base<AnInterface>  {

  // to prevent this side effect
    public getData(): (AnInterface & AnotherInterface) {
        return { ...super.getData(), otherField: {} };
    }

  // I was wondering why no data were empty
    public isEmpty(): boolean {
        return !this.getData();
    }
}

It crashed during the runtime which is in my opinion, too late.

Here is my understanding of this topic: final methods are desirable for some toolkit designers, but pose problems for the language implementers.
Ryan - I'm NOT trying to re-open this debate (nor to get more educated at this time) just trying to frame and summarize the issue for any future readers.   I do hope that someday there will be the time and energy to support final methods in JS/TS, but I understand it will not be any time soon.

Workaround we use on our team, seems to do the job:
class Foo {
  protected readonly libraryMethod = () => {
    // do library things here
  };
}

class Bar extends Foo {
  protected libraryMethod = () => {...}  // compile error
  protected libraryMethod() {...} // compile error
  protected doSomethingElse() {
    this.libraryMethod(); // this is fine
  }
}

This workaround has an unfortunate runtime performance cost, since it instantiates a new closure on every constructor invocation.  If you have a large number of final methods on an otherwise cheap class that's instantiated many times, this can be a non-starter.  It can be generalized, though:
class Foo {
  readonly libraryMethod: () => void;
}

(Foo.prototype as any).libraryMethod = function() {
  // now this is cheap again
};

It's not great for readability, but it's more performant for cases where that matters.

The Dart programming language's solution, fwiw, is a @nonVirtual method annotation that is checked by an analyzer plugin.  This annotation is not in core (you have to import it), but it's maintained by the Dart team.  The analyzer is basically the static type-checker, distinct from the linter and the compiler(s).
As of Dart 3.0 (2023), final class is a thing.


Update opensearch-release-notes-2.2.0.md

Update 2.2.0 release notes
Description
Updates links in third release highlight.
Issues Resolved
N/A
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check X.

Codecov Report

Merging #2454 (feb0954) into main (ed38cd8) will increase coverage by 5.36%.
The diff coverage is n/a.

@@              Coverage Diff              @@
##               main     #2454      +/-   ##
=============================================
+ Coverage     94.63%   100.00%   +5.36%
=============================================
  Files           211         6     -205
  Lines          4322       105    -4217
  Branches         29        19      -10
=============================================
- Hits           4090       105    -3985
+ Misses          226         0     -226
+ Partials          6         0       -6

Impacted Files
Coverage Δ

...jobs/PromoteArtifactsQualifier_actions_Jenkinsfile

src/system/working_directory.py

src/system/config_file.py

src/build_workflow/builder_from_source.py

src/test_workflow/test_args_path_validator.py

tests/jenkins/jobs/PublishNotification_Jenkinsfile

src/run_manifests.py

tests/jenkins/jobs/SignArtifacts_Jenkinsfile

tests/jenkins/jobs/PromoteArtifacts_Jenkinsfile

src/test_workflow/test_result/test_result.py

... and 195 more

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


Add pull request and issue templates

Inspired (copy + paste) by the Strimzi project templates, thanks!

Will go with per-repo templates for now since we may not want them all to point at the same discussion/support link.


implementing timestamps for PMT changes

@ctberthiaume and I were just talking about adding in some kind of functionality that will read the log files form the instrument and identify when PMTs were changed. then, when you are analysing data after the cruise, you could set filters and gates for each segment of the cruise data and do the analysis all in one go.

Hopefully we don't change the PMT often at all, so it's probably not worth automatically parsing this information.


ViewPropTypes error on Android

Describe the bug
ERROR  ViewPropTypes will be removed from React Native, along with all other PropTypes. We recommend that you migrate away from PropTypes and switch to a type system like TypeScript. If you need to continue using ViewPropTypes, migrate to the 'deprecated-react-native-prop-types' package.
To Reproduce
Steps to reproduce the behavior:
JDK 17
Node.js 20.18
npm 10.8.2
nvm 0.39.1
Android Studio Koala
npm install  - - legacy-peer-deps
npm run prebuild:android
npm start
npm run android
Expected behavior
No errors
Screenshots

Desktop (please complete the following information):

OS: Linux - Distribution Ubuntu 22.04 Desktop

Browser [chrome]

Version [129.0.06668.100 64 bit]

Smartphone (please complete the following information):

Device: [POCO M3 Pro 5G]
OS: [Android 13 TP1A]
Browser [chrome]
Version [129.0.6668]

Additional context
Hardware PC:
CPU: Ryzen3 2200G, RAM:12 GByte, Storage: M.2 NVME 480 GByte
Android Studio Koala
Android 14 (UpsideDownCake) SDK
Android SDK Platform 34
Google APIs Intel x86 Atom System Image
Android SDK Build-Tools 34.0.0
AVD: Pixel 5  Android UpsideDownCake API Level 34
Watchman (installed with homebrew)

@mariopel Please see and follow: https://github.com/digitalcredentials/learner-credential-wallet/issues/575. We are planning for a fix for this issue starting in November. Closing this as a duplicate.


abi3audit crashes on windows-latest (Windows Server 2022) in Github Actions

I am running this as part of the cibuildwheel workflow.
My configuration is as follows:
- uses<EMAIL_ADDRESS>  env:
    CIBW_BUILD: |
      *cp38*
      *cp39*
      *cp310*
      *cp311*
      *cp312*
    CIBW_BUILD_FRONTEND: build
    # Build ABI3 (limited API) wheels
    CIBW_CONFIG_SETTINGS: setup-args="-Dpython.allow_limited_api=true"
    CIBW_BUILD_VERBOSITY: 1
    CIBW_TEST_COMMAND: pytest {project}
    CIBW_TEST_REQUIRES: pytest
    CIBW_REPAIR_WHEEL_COMMAND_MACOS: delocate-wheel --require-archs {delocate_archs} -w {dest_dir} -v {wheel} && pip install abi3audit && abi3audit --strict --report {wheel}
    CIBW_REPAIR_WHEEL_COMMAND_LINUX: auditwheel repair -w {dest_dir} {wheel} && pip install abi3audit && abi3audit --strict --report {wheel}
    CIBW_REPAIR_WHEEL_COMMAND_WINDOWS: pip install abi3audit && abi3audit --strict --report {wheel}
    CIBW_ARCHS_WINDOWS: AMD64
  with:
    output-dir: dist

Linux and macos builds pass but on windows it fails like so:
pip install abi3audit && abi3audit --strict --report C:\Users\runneradmin\AppData\Local\Temp\cibw-run-578cu8cj\cp38-win_amd64\built_wheel\myproject-0.1.0-cp38-abi3-win_amd64.whl
  Collecting abi3audit
    Downloading abi3audit-0.0.11-py3-none-any.whl.metadata (10 kB)
  ...
  Installing collected packages: pyelftools, urllib3, typing-extensions, six, pygments, pefile, mdurl, kaitaistruct, idna, exceptiongroup, charset-normalizer, certifi, attrs, abi3info, url-normalize, requests, markdown-it-py, cattrs, rich, requests-cache, abi3audit
  Successfully installed abi3audit-0.0.11 abi3info-2024.6.25 attrs-23.2.0 cattrs-23.2.3 certifi-2024.7.4 charset-normalizer-3.3.2 exceptiongroup-1.2.2 idna-3.7 kaitaistruct-0.10 markdown-it-py-3.0.0 mdurl-0.1.2 pefile-2023.2.7 pyelftools-0.31 pygments-2.18.0 requests-2.32.3 requests-cache-1.2.1 rich-13.7.1 six-1.16.0 typing-extensions-4.12.2 url-normalize-1.4.3 urllib3-2.2.2
  [01:17:48] \U0001f481 myproject-0.1.0-cp38-abi3-win_amd64.whl: 1 extensions scanned; 0 ABI
             version mismatches and 0 ABI violations found
  {"specs": {"C:\\Users\\runneradmin\\AppData\\Local\\Temp\\cibw-run-578cu8cj\\cp38-win_amd64\\built_wheel\\myproject-0.1.0-cp38-abi3-win_amd64.whl": {"kind": "wheel", "wheel": [{"name": "_myproject.pyd", "result": {"is_abi3": true, "is_abi3_baseline_compatible": true, "baseline": "3.8", "computed": "3.8", "non_abi3_symbols": [], "future_abi3_objects": {}}}]}}}
  Traceback (most recent call last):
    File "<frozen runpy>", line 198, in _run_module_as_main
    File "<frozen runpy>", line 88, in _run_code
    File "D:\a\_temp\cibw\Scripts\cibuildwheel.exe\__main__.py", line 7, in <module>
    File "D:\a\_temp\cibw\Lib\site-packages\cibuildwheel\__main__.py", line 49, in main
      main_inner(global_options)
    File "D:\a\_temp\cibw\Lib\site-packages\cibuildwheel\__main__.py", line 184, in main_inner
      build_in_directory(args)
    File "D:\a\_temp\cibw\Lib\site-packages\cibuildwheel\__main__.py", line 352, in build_in_directory
      platform_module.build(options, tmp_path)
    File "D:\a\_temp\cibw\Lib\site-packages\cibuildwheel\windows.py", line 478, in build
      repaired_wheel = next(repaired_wheel_dir.glob("*.whl"))
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  StopIteration
  Error: Process completed with exit code 1.

Thanks for the report, but I think this is misplaced: the error you've sent me is happening in cibuildwheel's source, not in abi3audit's. As you can see above, the abi3audit step completes uneventfully.
Could you please file this with cibuildwheel instead?

Oh, you are right.  Apologies.
It only fails when I add abi3audit as a step and I assumed it was at fault. I didn't notice the error was in the CIBW sources.
I will raise a ticket in the cibuildwheel repo.

No problem, thank you for confirming!


Export datafusion-functions UDFs publically

Which issue does this PR close?
Closes https://github.com/apache/arrow-datafusion/issues/9584
Rationale for this change
See https://github.com/apache/arrow-datafusion/issues/9584 (basically I want to find the UDF without having to search by name at runtime)
What changes are included in this PR?
Export udf's publically
(note I checked that datafusion-functions-array already exports these functions
Are these changes tested?
no -- not sure what to test...
Are there any user-facing changes?

it seems functions-array is already public.


[bug] infinite spinning wheel - email login web3modal

Link to minimal reproducible example
https://www.crypto-z.com/
Summary
I am getting an infnite spinning on email for the production deployment but not on localhost.
https://www.crypto-z.com/
No error in the console log
List of related npm package versions
"@web3modal/wagmi": "^4.1.11",
"viem": "^2.9.31",
"wagmi": "^2.8.0",
"web3": "^4.0.2"
 "vite": "^4.4.5"

I actually on a different browser I am getting this error
Refused to frame 'https://secure.walletconnect.com/' because an ancestor violates the following Content Security Policy directive: "frame-ancestors 'self' http://localhost:* https://.vercel.app https://.ngrok-free.app https://secure-mobile.walletconnect.com".

It works on localhost so I am suspecting something to do with VERCEL or VITE React

I have the error in localhost too but it works, I actually the email login access code. Just not on vercel

I found the request that is not coming in vercel auth.magic.link is blocked or not triggering
https://auth.magic.link/send/rpc/auth/magic_auth_login_with_email_otp?lang=en-US&_rsc=1412i

Hi @hroyo ! Thanks for the report.
I believe the issue is caused by the iframe not being properly injected into your site. This can be caused by not setting up the allowed origins on your cloud project.
https://docs.walletconnect.com/cloud/relay#allowlist
You can configure it here:
https://cloud.walletconnect.com/app/#origin-allowlist
Please give it a try and let us know! Still we should add a timeout with an explicit error so it's less confusing on the developer side
cc @glitch-txs @velvet-shark we should add this to the email login docs as it's a requirement for it

YES that did the trick.... I spend all week-end trying to figure out what was wrong with my CORS haha.
I would also add it as a Dashboard a required field because we assume, setting the homepage, and the domain verification would be enough.
Can't wait for my users to try it


Static 3Delight.lib?

Hello
How are you resolve loading of 3Delight.DLL?
Put in root with c4d.exe or ...
I try to add preprocessor STATIC_3DELIGHT or adding of this to Bool PluginStart(void)
#define MAXON_METHOD
maxon::String dllpath("C:/3Delight/bin");
MAXON_METHOD void AddDllPath(const maxon::Url & dllpath);

I only got working if add to root

Hello,
For now we have resolved this issue using delayed loading of DLLs of MSVC linker.
So you have to add 3Delight.Dll in the Linker>Input>Delay Linked Dlls of each project (3DLfC4D, 3DLfC4D geometry and others). We will try to fix this in other updates so there will be no need to do this manually.
Also you have to make sure that C:/3Delight/bin is added to your PATH environment variables.
Please let us know if this works for you.

Hello Ogers. Yes, it works! I miss one thing, in delay-dll, i set 2 paths to find out: $(DELIGHT)/bin/3Delight.dll;3Delight.dll
Why did i do before?! )))) (me, silly newbie)


Where are storing the trained model

Hello,
Can you please explain how to store the trained model and how to use it?

Code to save the model :
torch.save({
'epoch': epoch,
'model_state_dict': model.state_dict(),
'optimizer_state_dict': optimizer.state_dict(),
'loss': total_loss,
}, f"model_checkpoint/model_10.pt") #just change to your preferred folder/filename
Code to load the saved model :
model, preprocess = clip.load("ViT-B/32",device=device,jit=False) #Must set jit=False for training
checkpoint = torch.load("model_checkpoint/model_10.pt")
model.load_state_dict(checkpoint['model_state_dict'])
For more information, you can visit here.  https://github.com/openai/CLIP/issues/83

How about evaluation and inference? TIA @Coffeyliu


supervised method

Hi
I would like to generate the heatmap as in your paper
Could you please share the code or ideas?
Also, I cannot find where to get the file '..._GraphLabel.txt.'
Thank you!

Hi,
Please see the "CellTypeEnrichmentAnalysis.zip" just uploaded to the master branch.
It includes example Matlab scripts for cell type enrichment analysis of the identified TCNs by unsupervised CytoCommunity.
You can put it in the same directory with the folders Step1/2/3/4_Output. Just modify the hyperparameters in the gen_CellTypeEnrichmentMatrix.m and run it. You can obtain a CellTypeEnrichment_Res.mat file, which includes a matrix named "CellTypeByTCN_EnrichScoreMatrix" with rows representing cell types same as in the "/Step1_Output/UniqueCellTypeList.txt" and columns representing TCNs from TCN-1 to TCN-M. The value in the matrix is -log10(hypergeometric test p-value). This script can be easily adapted to analyzing results of the supervised version.

Thank you
Please explain how to get the additional file for the supervised approach.

Additional "**_GraphLabel.txt" files are prepared based on your dataset. For example, if your dataset includes samples of two conditions, you can put an integer "0" in the "GraphLabel.txt" of the samples of condition-1 and an integer "1" for the samples of condition-2. Example files can be found under the directory "Tutorial/Supervised/MIBI-TNBC_Input/".


Bug in CLF model

The cacciato09 model raises an exception when passed a non-integer value of the luminosity threshold. Here is a minimal reproducer:
from halotools.sim_manager import CachedHaloCatalog
from halotools.empirical_models import PrebuiltHodModelFactory

halocat = CachedHaloCatalog(simname='bolplanck')
halocat.halo_table['halo_m180b'] = halocat.halo_table['halo_mvir']

model = PrebuiltHodModelFactory('cacciato09', threshold=10.25)
model.populate_mock(halocat)

If threshold is set to either 10 or 11, no exception is raised.

Not sure what was causing this issue but I cannot reproduce with the latest version of the code.


Transport header parse

Close #18

Maybe there's a need to bump version of the crate, but I'm not sure

Maybe there's a need to bump version of the crate, but I'm not sure

That's fine, I'll do that when releasing.
The clippy failure should be gone now if you rebase on latest main.

Do you need a release with this or do you first want to see if you need more fixes for RAOP?

That's fine I think. Maybe bump a version to catch latest changes via crates.io?


Improve startup time due to imports

Enhancement proposal

First off: I really love this library, and I don't know too much about the internals so please bear that ignorance in mind! Really I'm just curious and would love to contribute improvements with appropriate mentorship!

I've noticed that it can take a long time for the manim tool to actually load and start rendering. Using py-spy I was able to see that the majority of the time spent running manim was spent loading dependencies in manim/__init__.py.

This slow start up time was compounded for me because I typically ran manim inside of poetry using poetry run manim. The more optimal way to run this would be to use poetry shell and then run manim inside the prepared environment.
I think most of the imports come from manim/__init__.py.  Why are all those imports there? Shouldn't the manim script I've written manage the necessary imports?
Is this something where the CLI is acting like a library as well; re-exporting modules? If the responsibilities of CLI and library were more distinct would the CLI need to perform all of these imports before rendering?
Additional comments
System: Mac OSX 11.2.3 (Big Sur)
Model Name:	Mac mini
Model Identifier:	Macmini8,1
Processor Name:	Quad-Core Intel Core i3
Processor Speed:	3.6 GHz
Number of Processors:	1
Total Number of Cores:	4
L2 Cache (per Core):	256 KB
L3 Cache:	6 MB
Memory:	8 GB
I rendered the following tutorial script:
from manim import *

class CreateCircle(Scene):
    def construct(self):
        circle = Circle()  # create a circle
        circle.set_fill(PINK, opacity=0.5)  # set the color and transparency
        self.play(Create(circle))  # show the circle on screen

with the following commands:
sudo time py-spy record -o profile.svg -- manim -pql ./quickstart/__init__.py CreateCircle
The timing results are as follows:
2.14 real         1.26 user         0.68 sys
This is the profiling flamegraph SVG:

I think this is a duplicate of https://github.com/ManimCommunity/manim/issues/1766 and I think this should require some discussion.


Add GitHub scraper

GitHub scraper added. It scrapes no of PRs and the corresponding commits (along with the link to every PR and commit).

Hello @americast! Thanks for submitting the PR.

In the file gh_scraper/app.py, following are the PEP8 issues :

Line 4:2: E225 missing whitespace around operator
Line 4:22: E231 missing whitespace after ','
Line 5:2: E225 missing whitespace around operator
Line 5:22: E231 missing whitespace after ','
Line 6:9: E225 missing whitespace around operator
Line 9:21: E701 multiple statements on one line (colon)
Line 19:4: E225 missing whitespace around operator
Line 22:17: E225 missing whitespace around operator
Line 23:24: E701 multiple statements on one line (colon)
Line 24:17: E225 missing whitespace around operator
Line 25:22: E225 missing whitespace around operator
Line 26:31: E225 missing whitespace around operator
Line 27:33: E225 missing whitespace around operator
Line 28:35: E225 missing whitespace around operator
Line 29:37: E225 missing whitespace around operator
Line 32:21: E225 missing whitespace around operator
Line 32:31: E225 missing whitespace around operator
Line 32:38: E225 missing whitespace around operator
Line 34:37: E502 the backslash is redundant between brackets
Line 36:47: E225 missing whitespace around operator
Line 57:30: E231 missing whitespace after ','
Line 61:28: E225 missing whitespace around operator
Line 61:80: E501 line too long (94 > 79 characters)
Line 62:17: E722 do not use bare except'
Line 63:28: E225 missing whitespace around operator
Line 65:22: E211 whitespace before '('
Line 65:35: E231 missing whitespace after ','
Line 68:17: E303 too many blank lines (2)
Line 68:27: E225 missing whitespace around operator
Line 69:80: E501 line too long (81 > 79 characters)
Line 71:59: E225 missing whitespace around operator
Line 74:80: E501 line too long (86 > 79 characters)
Line 76:55: E225 missing whitespace around operator
Line 77:80: E501 line too long (82 > 79 characters)
Line 78:80: E501 line too long (81 > 79 characters)
Line 79:80: E501 line too long (101 > 79 characters)
Line 79:95: E225 missing whitespace around operator
Line 80:67: E225 missing whitespace around operator
Line 81:80: E501 line too long (114 > 79 characters)
Line 82:25: E722 do not use bare except'
Line 82:31: E701 multiple statements on one line (colon)
Line 83:35: E225 missing whitespace around operator
Line 83:35: E711 comparison to None should be 'if cond is not None:'
Line 83:80: E501 line too long (121 > 79 characters)
Line 83:114: E225 missing whitespace around operator
Line 84:35: E225 missing whitespace around operator
Line 86:35: E225 missing whitespace around operator
Line 87:1: W293 blank line contains whitespace
Line 88:80: E501 line too long (120 > 79 characters)
Line 88:89: E225 missing whitespace around operator
Line 88:89: E712 comparison to False should be 'if cond is False:' or 'if not cond:'
Line 88:107: E225 missing whitespace around operator
Line 88:114: E701 multiple statements on one line (colon)
Line 89:26: E225 missing whitespace around operator
Line 91:1: W293 blank line contains whitespace
Line 92:1: E402 module level import not at top of file
Line 118:1: E303 too many blank lines (3)

@americast  Please remove the pep8 issues.  😄

@dibyadas I think we can ignore the pep8 for the time being when we have a hard line ahead!


gnome3.gnome-calendar: 3.36.1 -> 3.36.2

Semi-automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/gnome-calendar/versions.
meta.description for gnome3.gnome-calendar is: "Simple and beautiful calendar application for GNOME"
meta.homepage for gnome3.gnome-calendar is: "https://wiki.gnome.org/Apps/Calendar"
meta.changelog for gnome3.gnome-calendar is: ""
Updates performed

Version update

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 3.36.2 with grep in /nix/store/d10cfy1m94hjjxs5cllsq4h92r13xrjr-gnome-calendar-3.36.2

directory tree listing: https://gist.github.com/9277e3fbe69f95c77ce4d6102b019e52

du listing: https://gist.github.com/c65fdd050b0a1405841ce55584d5b67e

Rebuild report (if merged into master) (click to expand)

3 total rebuild path(s)

1 package rebuild(s)

1 x86_64-linux rebuild(s)
1 i686-linux rebuild(s)
0 x86_64-darwin rebuild(s)
1 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
gnome3.gnome-calendar

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/d10cfy1m94hjjxs5cllsq4h92r13xrjr-gnome-calendar-3.36.2 \
  --option binary-caches 'https://cache.nixos.org/ https://r-ryantm.cachix.org/' \
  --option trusted-public-keys '
  r-ryantm.cachix.org-1:gkUbLkouDAyvBdpBX0JOdIiD2/DP1ldF3Z3Y6Gqcc4c=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(r-ryantm's Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A gnome3.gnome-calendar https://github.com/r-ryantm/nixpkgs/archive/132c530e188b3c50ca0a9c1c8b986a894e6c7c54.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/d10cfy1m94hjjxs5cllsq4h92r13xrjr-gnome-calendar-3.36.2
ls -la /nix/store/d10cfy1m94hjjxs5cllsq4h92r13xrjr-gnome-calendar-3.36.2/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review 1

1 package built:
- gnome3.gnome-calendar

Maintainer pings
cc @hedning @jtojnar @worldofpeace for testing.

Changes look okay: https://gitlab.gnome.org/GNOME/gnome-calendar/-/blob/3.36.2/NEWS#L1-6


Using parcels with MITgcm

Hello,
We're revamping the MITgcm documentation, and as part of that project I'm putting a list of related projects into the documentation. Our intention is to list projects which can be used in conjunction with MITgcm and provide additional functionality.
It looks like parcel's ability to load in netCDF velocity fields would allow parcels to be run using MITgcm output. Has anyone tried that?
Would you be happy for parcels to be listed, and if so, any suggestions for a blurb?
Cheers,
Ed

Hi @edoddridge! Yes, Parcels can work with MITgcm, and it would be great to have it highlighted on the related projects page of MITgcm. I've just created a PR at https://github.com/edoddridge/MITgcm/pull/1


Give fancy aggregates/functions more intuitive names

Some of our aggregates and associated functions are admittedly somewhat cryptically named. We generally have tried to name things closely after the core data structure or algorithm they're based on. However, this doesn't provide much benefit to our users who may not be immediately familiar with how these underlying data structures and algorithms translate to a use case that's relevant to them.
I think we can improve the names here, e.g.:

Fancy
Sensible

cmsketch
frequencies

fss
top_k

tdigest
quantiles

I think bloom and hll are well-known enough that those names are fine.

You can also renamed keyed_min(v, k) to first(v, k) and keyed_max(v, k) to last(v, k). I think it might also be nice to have versions where you keep track of first or last N elements.


Support Tizen 9.0

Tizen studio 6.0 has been released(Release note).
This update includes support for Tizen 9.0. and deprecated all Tizen profiles below 6.0.
Since flutter-tizen already supports it from version 6.0, there is no impact and we will review some features.

In the test of webview_flutter_tizen built with tizen 9.0 binary and api-version 9.0, I checked that mouse events do not work properly.

In the test of webview_flutter_tizen(EWK) built with tizen 9.0 binary and api-version 9.0, I checked that mouse events do not work properly.

The web framework team has found a missing commit in tizen 9.0. The commit has been merged into tizen 9.0 (tizen profile on raspberrypi), but it will take some time for it to be applied in the TV profile.

webview_flutter (EWK) does not display pages properly on tizen 9.0 profile (raspberry pi). Logs related to page loading are printed, and keyboard input allows moving to other pages, but only the background of the page is drawn and no elements are drawn.


layout +bepo breaks org-insert-link

What did you expect to happen?
I'm using layout +bepo and when I type org-insert-link I get an error.
What actually happened?
Debugger entered--Lisp error: (error "Key sequence C-l ! starts with non-prefix key C-l")
Additional details:
backtrace:

define-key((keymap (100663483) (100663467) (100663529) (67109051) (67109035) (67109097 . doom/delete-backward-word) (187) (171) (201) (233) (33554451 . scroll-down-command) (33554452 . scroll-up-command) (20 . next-line) (75) (107) (74) (106) (83) (115) (84) (116) (33554444) (33554440) (12 . backward-delete-char-untabify) (76) (108) (72) (104) (33554450) (33554435) (3 . backward-delete-char-untabify) (82) (114) (67) (99) (8 . evil-paste-from-register) (insert-state keymap (11 . previous-line) (10 . next-line) "Auxiliary keymap for Insert state") (33554443 . scroll-down-command) (33554442 . scroll-up-command) (11 . counsel-minibuffer-history) (10 . next-line) (26 closure (t) (&rest _) (interactive) (condition-case nil (progn (call-interactively #'undo)) (error nil))) (23 . doom/delete-backward-word) (22 . yank) (21 . evil-delete-back-to-indentation) (18) (1 . move-beginning-of-line) (escape . abort-recursive-edit) (19 . previous-line) ...) "\f!" org-time-stamp-inactive)
  (let ((enable-recursive-minibuffers t) (minibuffer-local-completion-map (copy-keymap minibuffer-local-completion-map))) (define-key minibuffer-local-completion-map " " 'self-insert-command) (define-key minibuffer-local-completion-map "?"  I guess those will have to be either unbound (or rebound) for bepo users?

I remember having that, I thought I fixed that :( this should be simpler to fix than notmuch.

happened in #3806

And now I understand the issue, I think I’ll change the advice to use another key altogether then

@gagbo The org module sets up C-{h,j,k,l} for navigating table cells. I guess those will have to be either unbound (or rebound) for bepo users?

Where is this done ? If it comes from evil-org, it should be handled by these lines already

It's done in the lang/org module, but bound to evil-org-mode-map. The bepo module chokes when it tries to remap them (probably because C-l is already a prefix by that point). I'll look into it over the weekend.

I never touch evil-org-mode-map actually, I only modify the movement keys. I might choose to stop using this interface, and just manually run all my remapping functions on all evil-org maps

Thank you for the investigation. Please let me know if I can help in any way.

This was a bug in my config. I was remapping C-h to backspace.


added account delete button

Great stuff @TanyaSilyutina!
I was wondering, do we need javascript on the front-end to make a request to the back-end?
I think we need an event listener for the delete button that makes the backend request on click.

@vkyamini not necessarily, we're using the default action of a form.  This will POST the data to the URL specified in action. Since we don't need any other information the JSON/fetch() approach isn't necessary here.

I created https://github.com/RyanWood2334/drty-nomads/pull/77/files to address moving to the /api/users routes


I delete file in local but remote doesn't synchronize

okok,  set sftp.debug true

i set sftp.debug true,but the problem still remains unresolved,can you tell me how can i do?


fix: fix crash app because startForeground and move startForeground to onCreate

@zaixiaoqu : Please see my edited code below about app crash, Caused by foregroundService not working because new android APIs need to be startedForeground first. This is my first time coding android so please check the code for me

THANK YOU for doing this. I am using this right now as a patch and the crash is gone!


Question - avoiding CDC issues when configuring SPI device?

Hi,
I noticed that the OpenTitan's SPI peripheral requires that software only change certain configuration registers when the SPI interface is idle, due to the lack of synchronization for these registers into the SPI clock domain.
I'm curious what the intended way for software to meet this requirement is? I noticed the abort register being used in a software example in this repo, but it seems to me like that only aborts I/O on the TX side at this point. Is that planned to be changed in the future?
The other possibility I thought of is that software could monitor the CSB input since it's exposed as a register, but then this could be susceptible to something like a time-of-check to time-of-use error.
Thanks!

Hi @nmoroze thanks for the question. The short answer is that software has to manage this in coordination with the host on the outside, and/or expect potential corruption if there are configuration changes during flight. Since the host is external and in control, there is no real guarantee that you've reached a quiescent period (your TOCTOU comment).
On the hardware side, the longer answer involves CDC investigations that haven't been completed yet, so there will be more detail as those are completed. We will attempt to guarantee no hardware corruption via synchronization as best as we can, but as you probably know, with the SPI clock coming from the outside world, there isn't a lot we can do to control that clock source. The constraints here are a bit gnarly. The best takeaway for this question is that we'll try and document these details better as we complete the design.
@eunchan @tjaychen @mcy for visibility.

i think this is something wroth exploring in the future.
@a-will also pointed out some concerns, especially for things like reset where it may be difficult for software to gauge something is idle.
We might need to continue this idea of registering software intent, and propagating it through hardware at the right moment.
For now, we should probably mark this as future release.

Triaged for spi_device. Assigning to M2.5 with https://github.com/lowRISC/opentitan/labels/Priority%3AP2 because we should confirm that we have met all requirements regarding idleness and (re-)configuration for this release.  If so, we can defer this to https://github.com/lowRISC/opentitan/labels/Type%3AFutureRelease.

We will address this issue by adding an enable bit to prevent partial configuration (#14665). That enable bit will get CDC-synced to the SPI clock domain. Software will be able to disable SPI, configure it, and then re-enable it. I'm thus closing this issue.


Add Authentication & Authorization

I noticed your project doesn't have authentication or authorization and I would like to implement them.
There a few questions that need to be answered :

What type of auth would you prefer ? (JWT maybe?)
Should we include authorization as well or do you think it's not required for this project ?

@thisisnabi

YES, we will add IdentityMap into the project.


Implement AAA algorithm

The AAA Algorithm for Rational Approximation (see https://doi.org/10.1137/16M1106122) is not implemented yet. It seems very nice, and should not be too difficult to do as there is a matlab implementation given in the article.

A basic implementation with simple test cases is now available, see commit https://github.com/kamelstekspizza/Rat-interp/commit/75651f19532996e07b92c0d0ae4c018e7b818c8a . Since the barycentric representation involves singular basis functions, python outputs warnings during construction and evaluation. Does this need to be dealt with?


Fix: Sparse arrays in rules with spacing and commas

Added tests against sparse arrays and fixes where needed.
Fixes #1909

As I was touching the files anyway I took the opportunity to add extra tests for disallowSpaceBeforeComma, requireSpaceBeforeComma , disallowSpaceAfterComma and requireSpaceAfterComma in keeping with a previous @hzoo comment

More tests are awesome, but it usually better to do it in different commits, like if we notice some bugs with this pr, we would need to revert the whole thing since it all done in one commit, including unrelated changes it is also better to differentiate since it might be hard to next guy understand what and why was done here with git blame or analogues commands or gui

What about (require | disallow)CommaBeforeLineBreak rules?

Okay, landing pr, but not closing the ticket, because of omission of (require | disallow)CommaBeforeLineBreak rules.


Is it possible to limit the image source only to camera ?

For regulation reason, we can't access gallery to get images

Hey @christianciu welcome. Will make this issue a discussion and answer you ;)


[BugFix] Fix wrong logical properties in TopN

What type of PR is this：

[x] BugFix
[ ] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Which issues of this PR fixes ：
close https://github.com/StarRocks/starrocks/issues/12966
test case: https://github.com/StarRocks/StarRocksTest/pull/1416
Problem Summary(Required) ：
the logical properties is shared by TopN Node and ScanNode. when we rewrite the logical property in ScanNode. the TopN node will also changed
Checklist:

[x] I have added test cases for my bug fix or my new feature
[ ] This pr will affect users' behaviors
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

[FE PR Coverage Check]
:heart_eyes: pass : 5 / 5 (100.00%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/sql/optimizer/rule/tree/AddDecodeNodeForDictStringRule.java
5
5
100.00%
[]

run starrocks_admit_test

run starrocks_admit_test

run starrocks_admit_test

@Mergifyio rebase

run starrocks_admit_test

run starrocks_fe_unittest

[FE PR Coverage Check]
:heart_eyes: pass : 5 / 5 (100.00%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/sql/optimizer/rule/tree/AddDecodeNodeForDictStringRule.java
5
5
100.00%
[]

https://github.com/Mergifyio backport branch-2.4 branch-2.3


Update aws-java-sdk-cloudwatch to 1.11.862

Updates com.amazonaws:aws-java-sdk-cloudwatch from 1.11.850 to 1.11.862.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.amazonaws", artifactId = "aws-java-sdk-cloudwatch" } ]

labels: library-update, semver-patch

Codecov Report

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

@@           Coverage Diff           @@
##           master     #108   +/-   ##
=======================================
  Coverage   57.83%   57.83%
=======================================
  Files          20       20
  Lines         287      287
  Branches        4        4
=======================================
  Hits          166      166
  Misses        121      121

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 8bd14cd...8781794. Read the comment docs.


Introduce sns verification for http requests

:loudspeaker: Type of change

[ ] Bugfix
[ ] New feature
[x] Enhancement
[ ] Refactoring

:scroll: Description
Introducing feature. #176
Also granting original PR author @WtfJoke to author list.
:bulb: Motivation and Context
:green_heart: How did you test it?
:pencil: Checklist

[x] I reviewed submitted code
[x] I added tests to verify changes
[ ] I updated reference documentation to reflect the change
[x] All tests passing
[ ] No breaking changes

:crystal_ball: Next steps

Can you add a sample app for SNS so that we can easily spin it up and verify?

Thanks for feedback @tothl74. Would you like to contribute a PR?


Panels fail to render in docker.

Issue

The view panel are not updated according to my move, and some times black.
The title of time panel are black.
the description text of Display panel not work properly.
When the panels resize or scroll cause some ghosting, but if move the panels out from default place(float or to another place) it will work as expected.

update: Sometimes the panels work as expected, about 1 works out 6 attempt.
I've tested with virtualbox, same problem, so I guess this is problem about Qt.
The pics attached below show the problem visually:

Reproduce
I'm running osrf/ros:noetic-desktop-full in docker.
Finally run below command in docker cause the problem.
roscore & rviz

I've tried gazebo, gimp and glxgear in docker. They worked well.
Your environment

OS Version: Debian trixie
RTX3060 laptop, using dynamic graphics.
ROS Distro: Noetic
RViz, Qt, OGRE, OpenGl version as printed by rviz:QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
[ INFO] [1731839500.738132603]: rviz version 1.14.25
[ INFO] [1731839500.738160960]: compiled against Qt version 5.12.8
[ INFO] [1731839500.738184427]: compiled against OGRE version 1.9.0 (Ghadamon)
[ INFO] [1731839500.743302592]: Forcing OpenGl version 0.
[ INFO] [1731839500.976761193]: Stereo is NOT SUPPORTED
[ INFO] [1731839500.976814344]: OpenGL device: AMD RENOIR (DRM 3.59.0, 6.11.7-amd64, LLVM 12.0.0)
[ INFO] [1731839500.976831456]: OpenGl version: 4.6 (GLSL 4.6) limited to GLSL 1.4 on Mesa system.

If source build, which git commit? -- Not source build.
System locale, i.e. the output of echo "$LANG $LC_NUMERIC": en_US.UTF-8 in both host and container.
Before reporting a rendering issue, try running RViz with LANG=C rviz!: Same issue.

I'm wondering why you use an nvidia container when your device is an AMD GPU.

I'm wondering why you use an nvidia container when your device is an AMD GPU.

Thanks for replying,
My laptop have a amdcpu integrate gpu, and a dedicated nvidia gpu. I use nvidia-container for cuda containers.
$ lspci | grep VGA
01:00.0 VGA compatible controller: NVIDIA Corporation GA106M [GeForce RTX 3060 Mobile / Max-Q] (rev a1)
06:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Cezanne [Radeon Vega Series / Radeon Vega Mobile Series] (rev c5)

Could this be a problem?

[Solved] Oh, by adding an user that has same UID GID as host system user in Dockerfile, and run rviz as that new user in docker solve this problem.
Docker file:
ARG USERNAME=ros
ARG USER_UID=1000
ARG USER_GID=$USER_UID

RUN groupadd --gid $USER_GID $USERNAME \
  && useradd -s /bin/bash --uid $USER_UID --gid $USER_GID -m $USERNAME \
  && mkdir /home/$USERNAME/.config && chown $USER_UID:$USER_GID /home/$USERNAME/.config

RUN echo $USERNAME ALL=\(root\) NOPASSWD:ALL > /etc/sudoers.d/$USERNAME \
  &&chmod 0440 /etc/sudoers.d/$USERNAME

[Solved] Oh, by adding an user that has same UID GID as host system user in Dockerfile, and run rviz as that new user in docker solve this problem.
Docker file:
ARG USERNAME=ros
ARG USER_UID=1000
ARG USER_GID=$USER_UID

RUN groupadd --gid $USER_GID $USERNAME \
  && useradd -s /bin/bash --uid $USER_UID --gid $USER_GID -m $USERNAME \
  && mkdir /home/$USERNAME/.config && chown $USER_UID:$USER_GID /home/$USERNAME/.config

RUN echo $USERNAME ALL=\(root\) NOPASSWD:ALL > /etc/sudoers.d/$USERNAME \
  &&chmod 0440 /etc/sudoers.d/$USERNAME

saddly, it not working, is there any idea

Hi, have you logged in with the new user, and run rviz as new user?

Hi, have you logged in with the new user, and run rviz as new user?

whether the user name for logging in to the host must be the same as the user name in Docker？

https://github.com/ros-visualization/rviz/issues/1628
According to this description, adding --ipc host to the docker run command solved my problem.


Looping over large dataset and doing loop-nested writing transactions

Hi there, we need some advice regarding iterating over potentially large dataset, and narrow-scoped updates during that.
The OrientDB document database layout with expected/assumed cardinalities attached:
http://take.ms/pkqry
FTR we use "plocal" connection (Nexus have OrientDB embedded), and in future we do plan to use distributed features of OrientDB, so factor that in into advice please. I described this in the "environment" assigned to this issue.
We'd like to bulk process components and their belonging assets of a given bucket (or all of them, or just some "cross section" or slice of components). The processing might involve creation/updates of components and assets too, but not all of them have to be updated (ie. one loop cycle might not update, just read).
Some example in pseudo code:
loop components
  loop assets
    tx.begin
    // read or write component and asset
	tx.end
  endloop
endloop

What is the recommended way to loop a huge table, and perform small-scale, narrow, well targeted updates (so writing transactions) during that loop?
Some example use cases:

loop/process all component (and their assets) belonging to given bucket
loop/process some component (and their assets) that match some criteria (criteria would mostly match properties in unique index)
loop/process some component (and their assets) and insert new assets to most of them
etc.

What approach you recommend for this case? How to loop over ~1M components, but in the same time have transactions within that loop that would modify the belonging assets and/or create new assets? Would you recommend some Orient specific approach, like Java custom functions are over "plain" SQL and java code?
We were basically tinkering with following two approaches:
a) Java API
loop 'select distinct(group) from components where bucket=?' (~20k)
  loop 'select distinct(name) from components where group=?' (~100)
    loop 'select version from components where group=? and name=?'
	  tx.begin
	  component = 'select from component where bucket=? and group=? and name=? and version=?' (1, unique)
	  if component == null -> continue; // deleted during loop, is okay
	  assets[] = 'select from asset where bucket=? and component=?' (~10)
	  // read/update/create asset
	  // read/update component
	  tx.commit
	endloop
  endloop
endloop

Is this possible at all (is writing transaction within loop affecting outer loops)? Also, we could tear down result set sizes by doing some sort of paging, but how stable that paging would be given it spans across writing TXes?
b) Orient Custom Java functions
Something like this, where process() would be our custom Java function. How would this behave in distributed case? What limitations, if any, custom functions have?
SELECT process(version) FROM components WHERE components.bucket = ? GROUP BY group,name

Thanks in advance.

Hi there, we need some advice regarding iterating over potentially large dataset, and narrow-scoped updates during that.
The OrientDB document database layout with expected/assumed cardinalities attached:
http://take.ms/pkqry
FTR we use "plocal" connection (Nexus have OrientDB embedded), and in future we do plan to use distributed features of OrientDB, so factor that in into advice please. I described this in the "environment" assigned to this issue.
We'd like to bulk process components and their belonging assets of a given bucket (or all of them, or just some "cross section" or slice of components). The processing might involve creation/updates of components and assets too, but not all of them have to be updated (ie. one loop cycle might not update, just read).
Some example in pseudo code:
loop components
  loop assets
    tx.begin
    // read or write component and asset
	tx.end
  endloop
endloop

What is the recommended way to loop a huge table, and perform small-scale, narrow, well targeted updates (so writing transactions) during that loop?
Some example use cases:

loop/process all component (and their assets) belonging to given bucket
loop/process some component (and their assets) that match some criteria (criteria would mostly match properties in unique index)
loop/process some component (and their assets) and insert new assets to most of them
etc.

What approach you recommend for this case? How to loop over ~1M components, but in the same time have transactions within that loop that would modify the belonging assets and/or create new assets? Would you recommend some Orient specific approach, like Java custom functions are over "plain" SQL and java code?
We were basically tinkering with following two approaches:
a) Java API
loop 'select distinct(group) from components where bucket=?' (~20k)
  loop 'select distinct(name) from components where group=?' (~100)
    loop 'select version from components where group=? and name=?'
	  tx.begin
	  component = 'select from component where bucket=? and group=? and name=? and version=?' (1, unique)
	  if component == null -> continue; // deleted during loop, is okay
	  assets[] = 'select from asset where bucket=? and component=?' (~10)
	  // read/update/create asset
	  // read/update component
	  tx.commit
	endloop
  endloop
endloop

Is this possible at all (is writing transaction within loop affecting outer loops)? Also, we could tear down result set sizes by doing some sort of paging, but how stable that paging would be given it spans across writing TXes?
b) Orient Custom Java functions
Something like this, where process() would be our custom Java function. How would this behave in distributed case? What limitations, if any, custom functions have?
SELECT process(version) FROM components WHERE components.bucket = ? GROUP BY group,name

Thanks in advance.

Hi there, we need some advice regarding iterating over potentially large dataset, and narrow-scoped updates during that.
The OrientDB document database layout with expected/assumed cardinalities attached:
http://take.ms/pkqry
FTR we use "plocal" connection (Nexus have OrientDB embedded), and in future we do plan to use distributed features of OrientDB, so factor that in into advice please. I described this in the "environment" assigned to this issue.
We'd like to bulk process components and their belonging assets of a given bucket (or all of them, or just some "cross section" or slice of components). The processing might involve creation/updates of components and assets too, but not all of them have to be updated (ie. one loop cycle might not update, just read).
Some example in pseudo code:
loop components
  loop assets
    tx.begin
    // read or write component and asset
	tx.end
  endloop
endloop

What is the recommended way to loop a huge table, and perform small-scale, narrow, well targeted updates (so writing transactions) during that loop?
Some example use cases:

loop/process all component (and their assets) belonging to given bucket
loop/process some component (and their assets) that match some criteria (criteria would mostly match properties in unique index)
loop/process some component (and their assets) and insert new assets to most of them
etc.

What approach you recommend for this case? How to loop over ~1M components, but in the same time have transactions within that loop that would modify the belonging assets and/or create new assets? Would you recommend some Orient specific approach, like Java custom functions are over "plain" SQL and java code?
We were basically tinkering with following two approaches:
a) Java API
loop 'select distinct(group) from components where bucket=?' (~20k)
  loop 'select distinct(name) from components where group=?' (~100)
    loop 'select version from components where group=? and name=?'
	  tx.begin
	  component = 'select from component where bucket=? and group=? and name=? and version=?' (1, unique)
	  if component == null -> continue; // deleted during loop, is okay
	  assets[] = 'select from asset where bucket=? and component=?' (~10)
	  // read/update/create asset
	  // read/update component
	  tx.commit
	endloop
  endloop
endloop

Is this possible at all (is writing transaction within loop affecting outer loops)? Also, we could tear down result set sizes by doing some sort of paging, but how stable that paging would be given it spans across writing TXes?
b) Orient Custom Java functions
Something like this, where process() would be our custom Java function. How would this behave in distributed case? What limitations, if any, custom functions have?
SELECT process(version) FROM components WHERE components.bucket = ? GROUP BY group,name

Thanks in advance.

Hm, sorry for triple posting, but prjhub initially did not create the issue (hence, description is empty, and cannot edit it), then while creating comment it was unresponsive, and it seems multiple clicks created multiple comments with same content. Delete of comments is not effective either :(

heh, I was just gonna ask why you posted 3 times :-P

Hi Tamas,
This is not properly an issue (I'm going to close it) but rather a
question, so I suggest to move this discussion in the mailing list.
Looping on very large datasets with a single query can be a problem in
current engine implementation, because it could require a lot of memory. As
a first step I suggest you to split the fetch of origins in different pages
(using skip-limit or better filtering on RID ranges, that is more stable).
The same if for transactions, your approach of doing small commits in the
internal loop is a good solution, while doing a single transaction for all
would probably lead to memory problems.
Both Javascript and Java solutions are a good approach, they are supposed
to work fine also in distributed mode.
Luigi
2015-04-23 20:02 GMT+02:00 Jason Dillon<EMAIL_ADDRESS>
heh, I was just gonna ask why you posted 3 times :-P
—
Reply to this email directly or view it on GitHub
https://github.com/orientechnologies/orientdb/issues/3996#issuecomment-95672492
.

@luigidellaquila yes, I initially posted this on prj as "question" :) Dunno how it got here too.
Thanks for hints, I assumed also that single loop will not do. Will take a peek at RID range paging as stability of "paging" was one of the issues I was tinkering about. I did keep TX "small scale" on my mind, that part is cool then. Thanks!


Change stock information

Codecov Report

Merging #45 (b211e07) into main (284dd0b) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##              main       #45   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           33        33
  Lines          379       423   +44
  Branches        88       103   +15
=========================================
+ Hits           379       423   +44

Impacted Files
Coverage Δ

...s/rating-tracker-backend/src/openapi/components.ts
100.00% <ø> (ø)

...ing-tracker-backend/src/openapi/parameters/user.ts
100.00% <ø> (ø)

...backend/src/openapi/paths/auth/registerEndpoint.ts
100.00% <ø> (ø)

...r-backend/src/openapi/paths/auth/signInEndpoint.ts
100.00% <ø> (ø)

...acker-backend/src/openapi/paths/sessionEndpoint.ts
100.00% <ø> (ø)

packages/rating-tracker-backend/src/server.ts
100.00% <ø> (ø)

...-tracker-backend/src/controllers/AuthController.ts
100.00% <100.00%> (ø)

...tracker-backend/src/controllers/StockController.ts
100.00% <100.00%> (ø)

...ng-tracker-backend/src/openapi/parameters/stock.ts
100.00% <100.00%> (ø)

...g-tracker-backend/src/openapi/paths/stock/index.ts
100.00% <100.00%> (ø)

... and 5 more

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


[Suggestion] will it be able to have an external controller version?

As the video concerned, the lifetime of the reflow plate is a problem.
Thanks to the popularity of the 3d printer, there's lots of cheap heat plate on the market.
So will it be able to be an external controller for the heat plate?

Nice idea. Unfortunately 3D printer plates aren't meant for the high temperatures needed to reflow solder paste. I have had the suggestion of making removable/replaceable plates though. When I know a little more about the longevity I may design this.

The longevity of the PCBs will be the biggest issue, most PCBs will have a worktime of only tens of hours. Carl Bugeja has tried to do the same.
https://www.youtube.com/watch?v=fbBXPeC-FPQ https://www.youtube.com/watch?v=ZChSbpBbrt4

For sure. He was actually my original inspiration for this board.
From my testing so far the boards show little to no damage, especially since they are software limited to 180C. I do hope to make some improvements including better temperature control for future versions.
Stay tuned as I'll write a test sketch to measure and record how many cycles it can withstand before damage occurs.

Maybe a thermocouple taped to the bottom of the heater could help

An alternative would be an external PTC heating plate made out of metal. Already seen some that can reach up to 250°C.


Adding transgender icon symbol

It would be good to include a transgender symbol icon for inclusion,  right now there are only the binary gender symbols.

You are mistaken. We have icons for gender-transgender, gender-neuter, gender-intersex, and gender-nonbinary.


Create dataset indo4b

uid: indo4b
type: primary
description:

name: Indo4b
description: A compiled Indonesian monolingual dataset. Includes OSCAR, OpenSub, and CommonCrawl
homepage: https://www.indobenchmark.com/
validated: True

languages:

language_names:

Indonesian

language_comments: formal and colloquial
language_locations:

South-eastern Asia
Indonesia

validated: False

custodian:

name: Indobenchmark
in_catalogue:
type: Community
location: Indonesia
contact_name: Indobenchmark
contact_email<EMAIL_ADDRESS>contact_submitter: True
additional: https://github.com/indobenchmark/indonlu
validated: False

availability:

procurement:

for_download: Yes - it has a direct download link or links
download_url: https://www.google.com/url?q=https://storage.googleapis.com/babert-pretraining/IndoNLU_finals/dataset/preprocessed/dataset_wot_uncased_blanklines.tar.xz&sa=D&source=editors&ust=1634303796624000&usg=AOvVaw1rsKlhoCY4xOAHlTTXSKP2
download_email:

licensing:

has_licenses: Unclear
license_text: It is possible since the data is available publicly and used for benchmarking
license_properties:
license_list:

pii:

has_pii: Yes
generic_pii_likely: somewhat likely
generic_pii_list:

names

numeric_pii_likely: unlikely
numeric_pii_list:

telephone numbers

sensitive_pii_likely: unlikely
sensitive_pii_list:

political opinions
religious or philosophical beliefs

no_pii_justification_class:
no_pii_justification_text:

validated: False

source_category:

category_type: collection
category_web:
category_media: It’s a collection of a lot of corpuses like news,articles,wikipedia,storytelling,etc
validated: False

media:

category:
text_format:
audiovisual_format:
image_format:
database_format:

.TAR.GZ

text_is_transcribed:
instance_type: article
instance_count: 100<n<1K
instance_size: 100<n<10,000
validated: False

fname: indo4b.json

DONE: https://huggingface.co/datasets/bigscience-catalogue-data/indo4b
Note that the raw data file was not properly parsed by datasets:
FileNotFoundError: Couldn't find a dataset script at /media/albert/Elements/projects/hf_hub/bigscience-catalogue-data/bigscience-catalogue-data/indo4b/indo4b.py or any data file in the same directory. Couldn't find 'bigscience-catalogue-data/indo4b' on the Hugging Face Hub either: FileNotFoundError: Unable to resolve any data file that matches ['**'] in dataset repository bigscience-catalogue-data/indo4b with any supported extension ['csv', 'tsv', 'json', 'jsonl', 'parquet', 'txt', 'zip']

Therefore, it was required to create the corresponding loading Python script.
ds = load_dataset("bigscience-catalogue-data/indo4b", split="train", streaming=True, use_auth_token=True)
item = next(iter(ds))

gives:
{'text': 'pak tanaka bukan murid.'}

#self-assign

Done! LM repo: https://huggingface.co/datasets/bigscience-catalogue-lm-data/lm_id_indo4b

Thanks @mariosasko.
Sample:
{'text': 'pak tanaka bukan murid.',
 'meta': "{'file': 'processed_uncased_blanklines/talpco_indonesia.txt'}"}


Remove repetition of TORQUE_CONTROL parameters

TORQUE_CONTROL parameters were set twice in iCubGenova02/hardware/motorControl/right_upper_arm-ems3-mc.xml. Would it be better if we keep only one set of parameters?

Thanks @pi-q !
@davidetome It seems a problem that affects other robots as well, see for example: https://github.com/robotology/robots-configuration/blob/593d1d170896f14baea38a1795c7ff90af0bad0b/iCubNottingham01/hardware/motorControl/right_upper_arm-ems3-mc.xml#L63 .


Create dataset loader for MSVD-Indonesian

Dataloader name: id_msvd/id_msvd.py
DataCatalogue: http://seacrowd.github.io/seacrowd-catalogue/card.html?id_msvd

Dataset
id_msvd

Description
MSVD-Indonesian is derived from the MSVD (Microsoft Video Description) dataset, which is obtained with the help of a machine translation service (Google Translate API). This dataset can be used for multimodal video-text tasks, including text-to-video retrieval, video-to-text retrieval, and video captioning. Same as the original English dataset, the MSVD-Indonesian dataset contains about 80k video-text pairs.

Subsets
-

Languages
ind

License
MIT (mit)

Homepage
https://github.com/willyfh/msvd-indonesian

HF URL
-

Paper URL
https://arxiv.org/abs/2306.11341

#self-assign


Upgrade to Rust 1.62.0

Motivation and Context
Upgrade MSRV to Rust 1.62.0.
Description
We are upgrading the Rust version in our various configs and fixing all relevant Clippy lints.
In the process of upgrading Rust, we had to upgrade pyo3 and pyo3-asyncio from 0.16 to 0.17.
Checklist

[x] I have updated CHANGELOG.next.toml if I made changes to the smithy-rs codegen or runtime crates
[x] I have updated CHANGELOG.next.toml if I made changes to the AWS SDK, generated SDK code, or SDK runtime crates

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@weihanglo Good idea, but I'll do it in a different PR. I'd rather not add a diff of ~50 Cargo.tomls here.


Feature names in different tables are not allowed to be the same.

When there are two same feature names in two different tables (e.g. one in the user information table and one in the item information table), there would be hidden problems.
For example, there is a column named category in both user.csv and item.csv. When I want to get the values of both two columns, the value of category would be overwritten

Here is a dataset from @pepsi2222.


Remove "Custom Email Configuration" from README

I just got this great tool working for the first time.
One thing that was confusing to me as a new user is the section of the README called "Custom Email Configuration".
I figured out that this is for sending an email to Webfaction Support if you aren't using WF's local Sendmail, but then I realized that v2.0.0 of this tool no longer sends email to WF Support because it uses the WF API and my WF login/password (to install certs).
So that new users don't get confused (like I was), I suggest removing the "Custom Email Configuration" section from the docs/readme.

I just pushed a removal of that section of the readme. Thanks for pointing this out!


[Icon Requests from Feather] cake

As per https://github.com/lucide-icons/lucide/issues/119 and https://github.com/feathericons/feather/issues/149:

@karsa-mistmere Nice ? I like the first one, but curious what others think.

I'm also partial to the first.

I prefer one single candle. The Third one.


ARROW-18173: [Python] Drop older versions of Pandas (<1.0)

This PR tries to make changes to drop older versions of pandas and support versions >= 1.0.0.
The changes will have to be done in:

[x] the official documentation (pandas version support)
[x] the CI jobs supporting older pandas versions
[x] https://github.com/apache/arrow/blob/master/python/pyarrow/pandas-shim.pxi
[x] tests that are specifically testing features on older versions of pandas

Thank you for review @milesgranger !
@jorisvandenbossche this is the last version of the dependency info section:
https://github.com/apache/arrow/pull/14631/files#diff-38bbca9739998b9dd72512946142f10b8891c3d97fc01b064d51486618ca1d03

Two more potential places that can be simplified now:
https://github.com/apache/arrow/blob/058d4f697a06477539e7f9ccf3e7c035f8cfbc5e/python/pyarrow/tests/parquet/test_dataset.py#L253-L259
https://github.com/apache/arrow/blob/058d4f697a06477539e7f9ccf3e7c035f8cfbc5e/python/pyarrow/pandas_compat.py#L1091-L1096

And another skip or if that can be removed:
https://github.com/apache/arrow/blob/058d4f697a06477539e7f9ccf3e7c035f8cfbc5e/python/pyarrow/tests/parquet/test_pandas.py#L565-L566
https://github.com/apache/arrow/blob/058d4f697a06477539e7f9ccf3e7c035f8cfbc5e/python/pyarrow/tests/test_schema.py#L663-L664

I have applied all the changes from suggestions and can merge once the CI is green.

Thanks!


Bug when pasting nodes

Add some nodes

Select a bunch

Copy (Ctrl-C)

Paste (Ctrl.V)

Crash:
PS D:\Documents\Tellurium\GitHubProjects\PyRKViewer> python main.py
Initializing RKViewer...
Traceback (most recent call last):
File "D:\Documents\Tellurium\GitHubProjects\PyRKViewer\rkviewer\view.py", line 393, in
lambda : canvas.Paste(), entries, key=(wx.ACCEL_CTRL, ord('V')))
File "D:\Documents\Tellurium\GitHubProjects\PyRKViewer\rkviewer\canvas\canvas.py", line 1273, in Paste
for id in pasted_ids})
File "D:\Documents\Tellurium\GitHubProjects\PyRKViewer\rkviewer\canvas\utils.py", line 129, in set_item
self.notify()
File "D:\Documents\Tellurium\GitHubProjects\PyRKViewer\rkviewer\canvas\utils.py", line 107, in notify
observer.update(self._item)
File "D:\Documents\Tellurium\GitHubProjects\PyRKViewer\rkviewer\canvas\canvas.py", line 204, in
selection_obs = Observer(lambda _: self._SelectionChanged())
File "D:\Documents\Tellurium\GitHubProjects\PyRKViewer\rkviewer\canvas\canvas.py", line 1101, in _SelectionChanged
compartment_indices=comp_idx))
File "D:\Documents\Tellurium\GitHubProjects\PyRKViewer\rkviewer\events.py", line 364, in post_event
callback(evt)
File "D:\Documents\Tellurium\GitHubProjects\PyRKViewer\rkviewer\view.py", line 102, in OnSelectionDidUpdate
self.node_form.UpdateSelection(evt.node_indices, comps_selected=should_show_comps)
File "D:\Documents\Tellurium\GitHubProjects\PyRKViewer\rkviewer\forms.py", line 497, in UpdateSelection
self.UpdateAllFields()
File "D:\Documents\Tellurium\GitHubProjects\PyRKViewer\rkviewer\forms.py", line 738, in UpdateAllFields
nodes = get_nodes_by_idx(self._nodes, self._selected_idx)
File "D:\Documents\Tellurium\GitHubProjects\PyRKViewer\rkviewer\canvas\utils.py", line 17, in get_nodes_by_idx
assert len(ret) == len(indices)
AssertionError

Fix pushed to master.


[HOLD for payment 2022-10-03] [$250] Payments > Add Payment Method > Paypal.me: this field is not auto-focused

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Go to staging.new.expensify.com
Log in with any account
Open settings page > Payments > Add payment method > Paypal

Expected Result:
Paypal.me field should be auto-focused
Actual Result:
Paypal.me field is not auto-focused
Workaround:
Unknown
Platform:

Where is this issue occurring?

Web
iOS
Android
Desktop App
Mobile Web

Version Number: <IP_ADDRESS>
Reproducible in staging?: Yes
Reproducible in production?: Yes
Email or phone of affected tester (no customers): any
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://user-images.githubusercontent.com/93399543/190185705-4a7b9307-a42f-4478-a5c9-1bd0e0d3f0d8.mp4

Expensify/Expensify Issue URL:
Issue reported by: @aneequeahmad
Slack conversation: https://expensify.slack.com/archives/C01GTK53T8Q/p1661465653354209
View all open jobs on GitHub

Same for me as the video:

Proposal
Pass the code below at https://github.com/Expensify/App/blob/a0340070ebf94fe3acde872c8c0c4222edd984c3/src/pages/settings/Payments/AddPayPalMePage.js#L62
onTransitionEnd={() => {
                if (!this.payPalMeInputRef) {
                    return;
                }

                this.payPalMeInputRef.focus();
            }}

and pass the code below here
https://github.com/Expensify/App/blob/a0340070ebf94fe3acde872c8c0c4222edd984c3/src/pages/settings/Payments/AddPayPalMePage.js#L74
ref={el => this.payPalMeInputRef = el}

This can be done by an external contributor.

Posted:
Internal - https://www.upwork.com/ab/applicants/1570200114002706432/job-details
External - https://www.upwork.com/jobs/~01149a8ecea788e448
Invited @aneequeahmad

@jliexpensify Invitation not found unfortunately

@aneequeahmad this is you, correct?

@jliexpensify Yup this is me

You've already been invited - if you're not seeing the invite, click here:
https://www.upwork.com/jobs/~01149a8ecea788e448

@jliexpensify applied thanks

PROPOSAL
This issue can be fixed like the TextInput focused in AddSecondaryLoginPage.js https://github.com/Expensify/App/blob/3e410ef9deebf3ee700f0f98d30989abf1a859e8/src/pages/settings/AddSecondaryLoginPage.js#L95-L101

@aneequeahmad's proposal looks good to me. Choosing theirs over others as they reported the issue and another proposal was posted before external.

Hi @parasharrajat, the contributing.md doesn't say anything about this, there is no rule about choosing the contributor's proposal just because they are the reporter and there is no such case mentioned about choosing another proposal if the first proposal is posted before external.

@Puneet-here, I asked the same question about posting solution before External label or Help Wanted label in expensify-open-source here. Please read the thread you will get better idea about the policy.
Thanks

CONTRIBUTING.md says "Issues that have not had the External label applied have not yet been approved for implementation. This means, if you propose a solution to an issue without the External label (which you are allowed to do) it is possible that the issue will be fixed internally."
Also I have seen threads where it was decided to not stop contributors from posting the proposal on issue before the external label because it can slow the process also there is no dibs for reporter. The reporter can propose the solution in the thread while posting the bug and can link it in the issue.
cc: @mallenexpensify

@Puneet-here, I asked the same question about posting solution before External label or Help Wanted label in expensify-open-source here. Please read the thread you will get better idea about the policy.

The thread says the same, you can post the proposal before External label.

@Puneet-here Priority is given to the reporters.

I don't think this is the case, If I remember correctly @mallenexpensify had made it clear somewhere.

This has def happened in the past and we've updated the CONTRIBUTING.md to (hopefully) address most circumstances like this.  The main part I'd reference is from here is:

Note: Before submitting a proposal on an issue, be sure to read any other existing proposals. Any new proposal should be substantively different from existing proposals.

Based on that, it sounds like @Puneet-here 's proposal should be the one accepted.  We intentionally don't have rule for 'first dibs' for the reporter because, once issues are created, we want them fixed as soon as possible and we don't want to unnecessarily wait for the reporter to maybe submit a proposal.

Invited @parasharrajat as C+. @mallenexpensify are you making the final decision on hiring? If so, I'll invite @Puneet-here - cheers!

Let's give it a day for @parasharrajat to reply before we come to a final decision

@parasharrajat Ahhh yes, As i was suggested not to post proposals before External label is added. I'll keep this conversation in mind next time i report issues or post proposals.
Thanks for clarifying.

The proposal is fine with me except for this being unnecessary:

We don't declare refs in the constructor at all.

We don't declare refs in the constructor at all.

We are declaring the refs in constructor at other pages.
https://github.com/Expensify/App/blob/b4b12addac16a3ef3753273e25c3e58379715a76/src/pages/settings/AddSecondaryLoginPage.js#L58

I'll give you bonus Tim-Points if you remove that in your PR :D
On Fri, Sep 16, 2022 at 1:23 PM Puneet @.***> wrote:

We don't declare refs in the constructor at all.
We are declaring the refs in constructor at other pages.
https://github.com/Expensify/App/blob/b4b12addac16a3ef3753273e25c3e58379715a76/src/pages/settings/AddSecondaryLoginPage.js#L58
—
Reply to this email directly, view it on GitHub
https://github.com/Expensify/App/issues/10990#issuecomment-1249722579,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAJMAB7M4WKARPO6OHJTTFLV6TCKFANCNFSM6AAAAAAQMPRXUQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

I'll give you bonus Tim-Points if you remove that in your PR :D

Hahaha 😄 I definitely wanna earn Tim-Points, I will remove all of them.

@aneequeahmad , also, thanks for understanding

@parasharrajat Ahhh yes, As i was suggested not to post proposals before External label is added. I'll keep this conversation in mind next time i report issues or post proposals.
Thanks for clarifying.

We've discussed and reviewed this many time and have updated the CONTRIBUTING.md here

Note: Issues that have not had the External label applied have not yet been approved for implementation. This means, if you propose a solution to an issue without the External label (which you are allowed to do) it is possible that the issue will be fixed internally. If the External label has not yet been applied, Expensify has the right to use your proposal to fix said issue, without providing compensation for your solution. This process covers the very rare instance where we need or want to fix an issue internally.
Note: Before submitting a proposal on an issue, be sure to read any other existing proposals. Any new proposal should be substantively different from existing proposals.

We want issues fixed, and proposals submitted quickly, but we also need to cover our ass in case we decide the fix an issue internally, for some reason.  It's extremely rare (I can't point to an issue we've done this for) but, by having External be the main marker, it keeps things a bit cleaner/clearer ( at least for us internally and for including in CONTRIBUTING.md as the source of truth).

Hired Rajat and @aneequeahmad
@Puneet-here - can you update your GH profile to include your full name? And can you share me your Upwork profile (or apply here - https://www.upwork.com/jobs/~01149a8ecea788e448)? Cheers.

@jliexpensify, I have applied to the job.

Issue not reproducible during KI retests. (First week)

Issue not reproducible during KI retests. (Second week)

Everyone's been paid, and job has been closed - thanks!


[Feature]: Add middleware for static files

Feature type
New Feature
Description
Currently accessing login page throws GET https://domain.pl/favicon.ico HTTP/1.1 401 Unauthorized 4ms] . Add middleware, handeling static files. I do know, that favicon.ico does not exist

Fixed with #151


Rename Entry to Cursor?

One of the questions raised in the RFC discussion was whether we should rename Entry to Cursor (suggested by @Amanieu).
I'm slightly leaning towards Entry, but don't feel strongly about it. Any other opinions?

I don't feel too strongly about it either, though leaning slightly towards Cursor myself.

Let's just drop this, it seems that we have settled on Entry.


Support for Quill-like renaming

We map huge jsons to case classes. We have like 15 fields there. Unfortunatelly they come from rather dirty source with mostly snake case named fields. Sometimes there are special characeters and therefore we need to rename a field or two.
Unfortunatelly renaming in circe is pain. It'd be nice if there was a quill-like custom schema functionality implemented.
case class Event(logTime:Long, machineId:Option[String], ...)

object Event{
  implicit eventDecoder = deriveDecoder[Event](_.logTime -> "_log_time_ms", _.machineId -> "srcMachineId")
}

That'd be extremely helpful.

I have a hard time googling it then the top results are like this obscure and the official documentation does not tell much.
Well, after you replied I found some mentiones in release notes. I'll try to dig deeper.
If you could please point me to some more complete source of info it'd be helpful. But otherwise please close this issue.

Again thanks for the reply. You probably can close the issue.

Well, your design principles quotes

programs should be invariant under rename refactoring ...

Which does not hold for the String => String approach. The best I can get is
deriveEncoder[Event](replaceWith(
  nameOf[Event](_.id) -> "_event_id"
  nameOf[Event](_.eventType) -> "_type_id"
))

which is not really nice and it's pain to write. Also, imagine that the class name was longer (which it actually is), like SomeMoreVerboseEvent.

Closing in cleanup run, If anyone cares about this, please comment and I'll reopen.


Apply MUI theming to Registered Model List View

Description

Applies theming and styles to MR UI for Registered Models List View.
Before:

After:

How Has This Been Tested?

Visual updates only - tested manually in UI.
Merge criteria:

All the commits have been signed-off  (To pass the DCO check)

[x] The commits have meaningful messages; the author will squash them after approval or in case of manual merges will ask to merge with squash.
[x] Testing instructions have been added in the PR body (for PRs involving changes that are not immediately obvious).
[x] The developer has manually tested the changes and verified that the changes work.
[x] Code changes follow the kubeflow contribution guidelines.

If you have UI changes

[x] The developer has added tests or explained why testing cannot be added.
[x] Included any necessary screenshots or gifs if it was a UI change.
[x] Verify that UI/UX changes conform the UX guidelines for Kubeflow.

/retest

/ok-to-test

@tarilabs can you please fire the workflows here?

The filter on the registered models page doesn't change the filter label when selecting Owner

@jenny-s51 are we also able to add a little bit of spacing between the filter button and the text in the image above?

Ok I'm gonna leave a couple of visual elements I would love to discuss here

Should modals be rectangles too?

@lucferbux I guess we should meet and maybe discuss how far do we want to take the look for the PoC. I don't see a side drawer button for their menu either, and it looks like we would need to mock the user login at the top.

@lucferbux I guess we should meet and maybe discuss how far do we want to take the look for the PoC. I don't see a side drawer button for their menu either, and it looks like we would need to mock the user login at the top.

Yeah, I'm not talking about a carbon copy though, just at least get the primary colors and the navbar and main content with the same layout, not sure if it's feasible, but then again it's up to a debate.

Should modals be rectangles too?

Yes @lucferbux updated the border radius

@tarilabs can you please fire the GHA on this PR?

Yep those changes are not required for this first PR.
BTW to get past the DCO check can you sign your commit? An easy way to do this when you have already committed is to amend your commit with -s and force push.
git commit --amend -s
git push --force

Thanks for sharing those commands @Griffin-Sullivan ! Updated and signed the commit.

This looks amazing! Thanks so much @jenny-s51!!!

/lgtm


Can UTopia be applied to C++ projects that do not use a testing framework?

Hello, I am using UTopia to test other C++ projects, but the C++ project does not use frameworks such as GoogleTest for unit testing. Can UTopia perform normal testing on such projects?
If testing is possible, how does it compare to projects with a testing framework?

I'm sorry to late.
Currently UTopia supports google test and boost test.
So if that framework is not one of the above, It is impossible to apply UTopia.
Although we designed UTopia to add other testing framework easily,
\however it may not be easy because documentation for it is not enough :(
If you want to do it, we can prepare documentation, but it may take some times.
Again, sorry to late answer.

Thanks for looking this issue!


Add automatic module name to jar manifest

For motivation see https://blog.joda.org/2017/05/java-se-9-jpms-automatic-modules.html

@NathanSweet Thanks for merging - I'll push a new release to maven central with this now.

Released with 1.3.1


Add s3 path

Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context.
Fixes # (issue)
or
Closes # (issue)
Checklist:

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have made corresponding changes to the documentation

Remote URLs are not necessarily S3 paths (you introduced just the https:// prefix).
That being said, I don't think the package should encourage using remote URLs to retrieve secure credentials (I'm not even sure the underlying SDK or the Google Auth library supports this).
One possibility could be to use the Laravel File Storage to have an abstraction that reads the file contents for the SDK, but the package doesn't support this yet.
You're welcome to create a PR (please with a PR description then 😅) or a feature request in the issues tab, but I can't give an ETA on when this feature would be added.
Thank you for bringing my attention to the PHP version constraints, I will update them in a moment.
If you want to continue talking about this, feel free to add further comments, but for the time being, I will close the PR because I really don't want to promote using remote locations - incorrect/insecure usage would open the package up for "your library allowed hackers to destroy my project/product" complaints, and I wouldn't like that either 😅.

Update to the version constraints: I just noticed that I already updated them (https://github.com/kreait/laravel-firebase/blob/main/composer.json, I was already wondering why I hadn't) - I don't know how, but it's possible that you targeted an old version of the main branch when creating the PR 🤔