clang compatibility

Proposed changes
some places where gcc is a little more permissive than clang
and a macro for linker compatibility
Types of changes
What types of changes does your code introduce to the HEBench Cleartext Reference Backend?
Put an x in the boxes that apply

[x ] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation Update (if none of the other choices apply)

Checklist
Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

[ ] I have read the CONTRIBUTING doc
[ ] Current formatting and unit tests / base functionality passes locally with my changes
[ ] I have added tests that prove my fix is effective or that my feature works (if appropriate)
[ ] I have added necessary documentation (if appropriate)
[ ] Any dependent changes have been merged and published in downstream modules

Further comments
If this is a relatively large or complex change, kick off the discussion by explaining why you chose the solution you did, what alternatives you considered, etc.

Note that the clang linker is giving errors for the dynamically-loaded functions, and I'm not sure what to do about that:
[build] [ 69%] Linking CXX executable test_harness
[build] ld: warning: option -noall_load is obsolete and being ignored
[build] Undefined symbols for architecture x86_64:
[build]   "hebench::cpp::createEngine()", referenced from:
[build]       _initEngine in libhebench_cpp.a(main.cpp.o)
[build]   "hebench::cpp::destroyEngine(hebench::cpp::BaseEngine*)", referenced from:
[build]       _destroyHandle in libhebench_cpp.a(main.cpp.o)
[build] ld: symbol(s) not found for architecture x86_64

Note that the clang linker is giving errors for the dynamically-loaded functions, and I'm not sure what to do about that:
[build] [ 69%] Linking CXX executable test_harness
[build] ld: warning: option -noall_load is obsolete and being ignored
[build] Undefined symbols for architecture x86_64:
[build]   "hebench::cpp::createEngine()", referenced from:
[build]       _initEngine in libhebench_cpp.a(main.cpp.o)
[build]   "hebench::cpp::destroyEngine(hebench::cpp::BaseEngine*)", referenced from:
[build]       _destroyHandle in libhebench_cpp.a(main.cpp.o)
[build] ld: symbol(s) not found for architecture x86_64

This is from a dependency https://github.com/hebench/frontend/blob/0e33db4a9962b8c2556e1debb026a0d40c7fffec/dynamic_lib_load/src/main.cpp#L14 which loads this library
https://github.com/hebench/backend-cpu-cleartext/blob/5ccfa312f1ed0a6d5924994ad3b3050e6892cc63/src/clear_engine.cpp#L31
at run-time and therefore the broken linkage is expected (?)

Is this failure specific to clang on Apple computer or clang in general? It seems from the changes to CMakeLists that -noall_load is hit only on mac.

Closing Stale PR


blue outline with BS4

with bootstrap 4 it gives blue outline to close button on focus but following rule fix it:
button.mfp-close:focus,
button.mfp-arrow:focus{
	outline: none !important;
}

Thanks! :+1:


[Outlook] (errors) Document error 9022

Fixes https://github.com/OfficeDev/office-js-docs-pr/issues/1504.

Docs Build status updates of commit 81a0b62:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/reference/javascript-api-for-office-error-codes.md
:white_check_mark:Succeeded

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

Docs Build status updates of commit ea23c5f:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/reference/javascript-api-for-office-error-codes.md
:white_check_mark:Succeeded

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


ctranslate related issue

ct2-fairseq-converter --model_path model.pt --data_dir data-bin/ --output_dir ct2_model
in this what should i give in place of --data_dir can you plz explain me .

--data_dir Path to the the directory where in you have the respective fairseq dictionaries (final_bin directory).

thanks .
just one more thing i want confirm sir could we change the finetuned fairseq model in indictrans1 as ctranslate .is it possibe ?

Yes, it is possible to port fine-tuned variants of IndicTrans1 to CT2 as well, however the IndicTrans1 model has now been deprecated.
Therefore, we would encourage you to consider using / fine-tuning distilled variants of IndicTrans2 in case you are looking for a light-weight alternative, as IndicTrans2 distilled models have fewer parameters (~200M) than IndicTrans1 (~434M) and are superior to IndicTrans1 in terms of performance.

thanks for your help .


Add Get TFT button

Description
New to add a get TFT button in the new Vue3 portal integrated in playground

For now it's fixed by connecting again to client before transferring with Alice account.

verified
Screencast from 10-02-2023 01:32:53 PM.webm


Refactoring in vim normal mode using f2 doesn't switch to editing mode

Check for existing issues

[X] Completed

Describe the bug / provide steps to reproduce it
If I remain in vim normal mode and use f2 to refactor a variable name, then the editor remains in normal mode.
Instead, it should switch to editing mode.
Environment
MacBook Pro intel 2020, Venture, latest Zed.
If applicable, add mockups / screenshots to help explain present your vision of the feature
No response
If applicable, attach your ~/Library/Logs/Zed/Zed.log file to this issue.
If you only need the most recent lines, you can run the zed: open log command palette action to see the last 1000.
No response

@bruisedsamurai I think this now works as expected (when you use F2, or c d in vim mode) it will open the rename prompt which you can interact with. It will return you to normal mode when it takes you to the preview of all changes.


[BUG] original_task is not passed to the right argument in RolePlaying in the agent demo app

Required prerequisites

[X] I have read the documentation https://camel-ai.github.io/camel/camel.html.
[X] I have searched the Issue Tracker and Discussions that this hasn't already been reported. (+1 or comment there if it has.)
[X] Consider asking first in a Discussion.

What version of camel are you using?
0.1.0
System information
3.10.11 (main, May 15 2023, 19:29:30) [Clang 14.0.6 ] darwin
0.1.0
Problem description
The original_task is sent to critic_role_name instead of task_prompt.
https://github.com/camel-ai/camel/blob/63a9444ff30c4619dad63d9a5c87ecc6c47d5385/apps/agents/agents.py#L190
should be task_prompt=original_task.
Reproducible example code
The Python snippets:

Command lines:

Extra dependencies:

Steps to reproduce:

Traceback
No response
Expected behavior
No response
Additional context
No response

@lightaime I wonder why do we have task_prompt as kwarg? Is there any use of task_prompt if it is an empty string? I'd prefer to make it a positional arg and bubble it up.
class RolePlaying:
    def __init__(
        ...
        task_prompt: str = "",

I guess I reopen it by accident


Feature/pointpainting refine

Description
Update README.
Related links

Tests performed

Notes for reviewers

Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.

[ ] I've confirmed the contribution guidelines.
[ ] The PR follows the pull request guidelines.

In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.

[ ] The PR follows the pull request guidelines.
[ ] The PR has been properly tested.
[ ] The PR has been reviewed by the code owners.

Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.

[ ] There are no open discussions or they are tracked via tickets.
[ ] The PR is ready for merge.

After all checkboxes are checked, anyone who has write access can merge the PR.

@tzhong518 If this is ready, could you chage status to "Open"?


Update main portal network introduction document

What was wrong
The main introduction document for the portal network was ready for another round of refinement.
How was it fixed
Tried to re-work things to be a cleaner "onboarding" experience, describing some things more explicitly and converging towards common language for describing similar things.i

These are really great edits.  Lots of good simplifications.  Thank you.  I adopted almost all of them.


Fix CSV download button on datatables

The database js lib does not display the download button. Need to fix this

Added the button successfully. The main issue was that the version of datatables in use needs data as strings for the download csv button to work. Strange.


Remove Dots and arrows

I want to get rid of the arrows and dots underneath so I can just have the scrolling images but every time I delete from the bundle.css it comes back on reload. Could anyone help me find out how to do this without having to delete a bunch of code everytime.

Hi @TheArctesian,
Just use props like this:
<Carousel
  arrows={false}
  dots={false}
></Carousel>

thanks is there any documentation for this I can read more on

Sure,
here https://github.com/vadimkorr/svelte-carousel
and here https://vadimkorr.github.io/svelte-carousel/


bio_b64.c: improve coding style

Carved out from #18783

This pull request is ready to merge

Merged to masterr. Thank you.


Fix bug and console warnings

Background
Link to issue
Link to staging deployment URL
Links to any Pull Requests related to this
Anything else the reviewers should know about the changes here
Changes
Code changes
Definition of DONE
Your changes will be ready for merging after each of the steps below have been completed:
Testing

[ ] Unit tests written
[ ] Tested locally with Inframock
[ ] Deployed to staging

To set up easy local testing with inframock, follow the instructions here: https://github.com/biomage-ltd/inframock
To deploy to the staging environment, follow the instructions here: https://github.com/biomage-ltd/biomage-utils
Documentation updates
Is all relevant documentation updated to reflect the proposed changes in this PR?

[ ] Relevant Github READMEs updated
[ ] Relevant wiki pages created/updated

Approvers

[ ] Approved by a member of the core engineering team
[ ] (UX changes) Approved by vickymorrison (this is her username, tag her if you need approval)

Just before merging:

[ ] After the PR is approved, the unstage script in here: https://github.com/biomage-ltd/biomage-utils is executed. This script cleans up your deployment to staging

Optional

[ ] Photo of a cute animal attached to this PR

@ivababukova what's the state on this? I assume there's so many merge conflicts it's probably stale.

@ivababukova what's the state on this? I assume there's so many merge conflicts it's probably stale.

I think that we should close it ... it is too stale to be worth bothering

I think that we should close it ... it is too stale to be worth bothering


[SPARK-19094][WIP][PySpark] Plumb through logging for IJupyter notebooks

What changes were proposed in this pull request?
Plumb through logging from the JVM into Jupyter notebooks to make debugging easier. This is a WIP PR
How was this patch tested?
Modified standalone_tests to allow testing with Python launch first in addition to the JVM launch first default.

Test build #74568 has started for PR 17298 at commit 15d999b.

Test build #74568 has finished for PR 17298 at commit 15d999b.

This patch fails PySpark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/74568/
Test FAILed.

Merged build finished. Test FAILed.

jenkins retest this please.

Test build #75869 has started for PR 17298 at commit 15d999b.

Test build #75869 has finished for PR 17298 at commit 15d999b.

This patch fails PySpark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/75869/
Test FAILed.

Test build #75881 has started for PR 17298 at commit 955f163.

Test build #75882 has started for PR 17298 at commit 2bfaa16.

Test build #75881 has finished for PR 17298 at commit 955f163.

This patch fails PySpark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/75881/
Test FAILed.

Test build #75882 has finished for PR 17298 at commit 2bfaa16.

This patch fails PySpark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/75882/
Test FAILed.

Merged build finished. Test FAILed.

Test build #76530 has started for PR 17298 at commit 6c22a89.

Test build #76530 has finished for PR 17298 at commit 6c22a89.

This patch fails PySpark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/76530/
Test FAILed.

Merged build finished. Test FAILed.

Test build #76711 has started for PR 17298 at commit a2caf97.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/76711/
Test FAILed.

Test build #76865 has started for PR 17298 at commit 1166b9e.

Test build #76865 has finished for PR 17298 at commit 1166b9e.

This patch fails PySpark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/76865/
Test FAILed.

Test build #76870 has started for PR 17298 at commit 7fcc839.

Test build #76870 has finished for PR 17298 at commit 7fcc839.

This patch fails PySpark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/76870/
Test FAILed.

Test build #76897 has started for PR 17298 at commit 08632fd.

Test build #76897 has finished for PR 17298 at commit 08632fd.

This patch fails PySpark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/76897/
Test FAILed.

Test build #76903 has started for PR 17298 at commit 89cf739.

Test build #76903 has finished for PR 17298 at commit 89cf739.

This patch fails PySpark unit tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
case class ParseToTimestamp(left: Expression, format: Option[Expression], child: Expression)
class AstBuilder(conf: SQLConf) extends SqlBaseBaseVisitor[AnyRef] with Logging
class CatalystSqlParser(conf: SQLConf) extends AbstractSqlParser
case class ColumnStatsMap(originalMap: AttributeMap[ColumnStat])
trait DataSourceScanExec extends LeafExecNode with CodegenSupport with PredicateHelper
class SparkSqlAstBuilder(conf: SQLConf) extends AstBuilder(conf)
              s\"($

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/76903/
Test FAILed.

Test build #77118 has started for PR 17298 at commit bb36f50.

Test build #77118 has finished for PR 17298 at commit bb36f50.

This patch fails PySpark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/77118/
Test FAILed.

Merged build finished. Test FAILed.

Test build #77120 has started for PR 17298 at commit 24ff579.

Test build #77122 has started for PR 17298 at commit c450d24.

Test build #77120 has finished for PR 17298 at commit 24ff579.

This patch fails PySpark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/77120/
Test FAILed.

Test build #77122 has finished for PR 17298 at commit c450d24.

This patch fails PySpark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/77122/
Test FAILed.

Merged build finished. Test FAILed.

Test build #77127 has started for PR 17298 at commit e0c3a6b.

Test build #77127 has finished for PR 17298 at commit e0c3a6b.

This patch fails PySpark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/77127/
Test FAILed.

Merged build finished. Test FAILed.

Test build #77151 has started for PR 17298 at commit 009e7c4.

Test build #77151 has finished for PR 17298 at commit 009e7c4.

This patch fails PySpark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/77151/
Test FAILed.

Jenkins retest this please.

Test build #82050 has started for PR 17298 at commit 009e7c4.

Test build #82050 has finished for PR 17298 at commit 009e7c4.

This patch fails PySpark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/82050/
Test FAILed.


Is there a way to disable git feature while running Apm test?

While running Apm test for a package living in git repository, it tries to load git repro information. This could cause problem if the git repository is huge:
For example, running apm test for atom-helper in git repository could take 33 seconds:
chenshen@chenshen-mbp2:~/.atom/packages/atom-helpers(master)$ apm test
Error Downloading Update: Could not get code signature for running application
[71910:1123/171631:INFO:renderer_main.cc(200)] Renderer process started
[71906:1123/171631:INFO:CONSOLE(46)] "Window load time: 350ms", source: file:///Applications/Atom.app/Contents/Resources/app.asar/static/index.js (46)
....

Finished in 33.654 seconds
4 tests, 16 assertions, 0 failures, 0 skipped

Tests passed

where as if we rm .git folder and rerun it:
chenshen@chenshen-mbp2:~/.atom/packages/atom-helpers$ apm test
[72332:1123/172002:INFO:renderer_main.cc(200)] Renderer process started
Error Downloading Update: Could not get code signature for running application
[72328:1123/172002:INFO:CONSOLE(46)] "Window load time: 333ms", source: file:///Applications/Atom.app/Contents/Resources/app.asar/static/index.js (46)
....

Finished in 0.174 seconds
4 tests, 16 assertions, 0 failures, 0 skipped

Tests passed

I'm not sure what code is taking so much time. Could you run the tests in an Atom window and record a profile?

@maxbrunsfeld  attached is the profile for running following three tests in https://github.com/facebook/nuclide/blob/master/pkg/nuclide/atom-helpers/spec/projects-spec.js
It takes 25 seconds to finished these three tests.

CPU-20151208T002909.cpuprofile.zip

@scv119 Is this the profile after removing the git repository? It shows almost no work being done at all.

@maxbrunsfeld no, the profile is the test with .git folder.


Major type and structure refactor

As said in #41, the types and logic were not flexible enough, so I refactored the whole thing. Haven't tested it, but it does typecheck and the logic is now much simpler to understand.

@sproott
I tested this PR in my project and build js, update all the necessary constructor base on the new code but wasn't able to get the login to work

Alright, I'll actually test it and fix it somehow, hopefully within the next few days.

@firmanjml I've modified the tests to work with the new API so it now should be usable.


Minor indentation and readability improvements

Signed-off-by: Shubham Bajpai<EMAIL_ADDRESS>What this PR does / why we need it:
This PR fixes minor indentation issues and removes $ from shell commands for better copy-paste experience :)
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Additional information
Special notes for your reviewer

lgtm

Codecov Report

Merging #442 (c9e8a35) into main (b17b4f0) will increase coverage by 1.06%.
The diff coverage is n/a.

:exclamation: Current head c9e8a35 differs from pull request most recent head 2794ace.


move test script to a separate file

makes it easier to manually test vibe.d
choose decent default values for env vars

Makes sense. I'll also move the script to the tests directory.

Hm, or rather not since it also builds examples and the unit test build...


Expose UV NoBuildIsolation in some way

Problem description
UV, like pip has the concept of NoBuildIsolation where it doesn't create a venv for building and it does not install requirements, these need to be installed.
Exposing this allows us to use conda dependencies for building.
The question mainly is how we want to expose this, @pavelzw suggested: https://github.com/prefix-dev/pixi/issues/1088#issuecomment-2027250661
[pypi-dependencies]
my-package = {path = ".", editable = true, no-build-isolation = true}

[dependencies]
setuptools = "*"
setuptools-scm = "*"

Because this is somwhat a global setting in UV to support it in this way we would need to create two seperate BuildDispatch's to support this and two seperate DistributionDatabases, and select which one to use somehow.
The easiest approach is to use a global project setting and then this is enabled for every sdist and every editable. This is quite brittle though, because if you use another sdist you might need to manually update your dependencies (to account for new build dependencies), as uv will no longer handle this.

What is the reason we want build isolation? From my perspective, the conda environment that is created to run the pypi build is already isolated. I feel like Im missing something.

@baszalmstra I also can't think of a situation where we would want build isolation.
IIRC, the current situation is that we always have build isolation.

I will get back to this, but there are multiple reasons :)

https://github.com/prefix-dev/pixi/pull/1909 was merged which should enable this!

Wonderful ! The escape hatch per package is perfect for security as well. Thanks for the hard work.

Great that you find it useful. Yeah the reasoning from my end is also that the feature is less useful if you cannot set it per package as you would need to manually manage all your sdist dependencies for all sdists in the project otherwise.


Send shielded CCDs - shielded balance is wrong

Bug Description
Looking at the shielded balance while sending shielded CCDs, its clear that balance that is shown is for total amount, instead of total shielded amount.
Steps to Reproduce

Create and account, request 2000 CCDs for testing and shield 100 CCDs.
Switch to shielded balance and try to send CCDs.
Balance is showed for total amount for the account instead of shielded amount.

Expected Result
Balance should be shown for Shielded amount.
Actual Result
Balance is showed for total amount for the account.
Video:
https://user-images.githubusercontent.com/98821384/155721275-5c2b170e-cb2a-4840-874b-09418fa1069f.mp4
Versions

Software Version: Stagenet 2.0
OS: Android 11
Browser: N/A
Mobile device: Google Pixel 4a

Verified.
Versions

Software Version: Testnet 2.0.1 (71)
OS: Android 11
Browser: N/A
Mobile device: Pixel 4a


Issue calling CryptSignMessage

I'm trying to sign some message data with a certificate that is selected in previous code.  When I do the call though, the CRYPT_ALGORITHM_IDENTIFIER is being rewritten post-call and the function is failing.  Is there any issue with the rust code here?  I've duplicated the code in C++ as a learning process and it works fine there.
let oid = "1.2.840.113549.2.2\0".to_owned().as_mut_ptr();
let cst_oid = windows::core::PSTR::from_raw(oid);
let crypt_sign_message_para = CRYPT_SIGN_MESSAGE_PARA {
    cbSize: u32::try_from(std::mem::size_of::<CRYPT_SIGN_MESSAGE_PARA>()).unwrap(),
    dwMsgEncodingType: X509_ASN_ENCODING.0,
    pSigningCert: fresh_cert,
    HashAlgorithm: CRYPT_ALGORITHM_IDENTIFIER {
        pszObjId: cst_oid,
        Parameters: CRYPT_INTEGER_BLOB::default()},
    pvHashAuxInfo: ::core::mem::zeroed(),
    cMsgCert: 1,
    rgpMsgCert: &mut fresh_cert,
    cMsgCrl: 0,
    rgpMsgCrl: ::core::mem::zeroed(),
    cAuthAttr: 0,
    rgAuthAttr: ::core::mem::zeroed(),
    cUnauthAttr: 0,
    rgUnauthAttr: ::core::mem::zeroed(),
    dwFlags: 0,
    dwInnerContentType: 0};
let secret_message: PCSTR = s!("Secret Message");
let sign_me:Vec<*const u8> = vec!(secret_message.as_ptr());
let to_be_signed_sizes_array:Vec<u32> = vec!(u32::try_from(secret_message.as_bytes().len()).unwrap());
let mut data_size = 0;
// First call sets up variables to receive the size of the signed data.
let sign_success = CryptSignMessage(
    &crypt_sign_message_para,
    windows::Win32::Foundation::BOOL::from(false),
    1,
    Some(sign_me.as_ptr()),
    to_be_signed_sizes_array.as_ptr(),
    ::core::mem::zeroed(),
    &mut data_size);

I've been following along with this example and this is the prep to see how big the signed message will be.  In the C++ example they leave some of the CYRPT_SIGN_MESSAGE_PARA and CRYPT_ALGORITHM_IDENTIFIER values unset, which is more in line with what the API expects.  When I set all those values to NULL the function must fail.
Using API Monitor I can see the post call data has changed.  For example:

let oid = "1.2.840.113549.2.2\0".to_owned().as_mut_ptr(); creates a temporary String object that gets torn down at the end of the expression, leaving a dangling pointer, presumably into the calling thread's stack.

Thank you for your help Tim!
I was struggling with wrapping my brain around how to put that into Rust code without having the compiler complain.  I was able to see the same data before and after the call so I think the pointer is no longer dangling.  If you have any input on the code, feel free to share.
const OID: *const u8 = "1.2.840.113549.2.2\0".as_ptr();
let oid_ptr = OID.cast_mut();


Update united.py to load from new CSV format

The CSV files received from United Hatzalah now has another column: the first column is the Mission ID, which will be used as the id field instead of the convoluted solution we used with the data and line number.
Once the script is updated, we'll remove all existing United accidents from the DB (due to the change in the id field) and re-load everything.

Related to #427

@danielhers - Should we ignore all past accidents with the old csv structure?

Yes. We can always ask for a historical report with all the required columns.

So it would be also okay to delete all gmail data with old structure too...

Right.
On Fri, Oct 9, 2015 at 12:54 PM Omer Hamerman<EMAIL_ADDRESS>wrote:

So it would be also okay to delete all gmail data with old structure too...
—
Reply to this email directly or view it on GitHub
https://github.com/hasadna/anyway/issues/457#issuecomment-146817622.

Do you have exact date and time point of change from which I should keep?

October 6, 2015, 10:00AM
On Fri, Oct 9, 2015 at 1:02 PM Omer Hamerman<EMAIL_ADDRESS>wrote:

Do you have exact date and time point of change from which I should keep?
—
Reply to this email directly or view it on GitHub
https://github.com/hasadna/anyway/issues/457#issuecomment-146819994.


how to change the road lane ROI dynamically when car change the lane?

can you please assign this issue to me? @akshitagupta15june


Problem when click on Openclassrooms

I've find that on the code line ;
 Open Classrooms
But is ;
 Open Classrooms

I fix that

Fix


documentation needs work

Video on home page seems to be instructions on how to use and why.
But import testSelector from 'ember-test-selectors' doesn't work. It's been deprecated, but there's no note about this, and no deprecation warning, only a "module not found" error.

yeah, you're right. we should probably remove the outdated video 😔


System unavailable: arm&&ci.role.test

Nagios reporting only 9% of systems online.
https://ci.adoptopenjdk.net/label/arm&&ci.role.test/ shows that all of the arm32 docker containers are currently offline.
It appears that jenkins is unable to connect to it. I've checked one of them and there is no obvious reason for it - the jenkins key is in place, but the container does not seem to be allowing it for authentication.

root@test-equinix-ubuntu2004-armv8l-02:~# docker exec -it 412c7c344fe5 bash
root@412c7c344fe5:/# su - jenkins
su: warning: cannot change directory to /home/jenkins: Permission denied
su: failed to execute /bin/sh: Permission denied
root@412c7c344fe5:/# ls -ld /home/jenkins
drwxr-xr-x 1 jenkins jenkins 4096 Dec  5 18:20 /home/jenkins
root@412c7c344fe5:/# ls -ldn /home/jenkins
drwxr-xr-x 1 1000 1000 4096 Dec  5 18:20 /home/jenkins
root@412c7c344fe5:/# id jenkins
uid=1000(jenkins) gid=1000(jenkins) groups=1000(jenkins)
root@412c7c344fe5:/#

First issue was with permissions on / , /lib and /bin ( these were 777, Id expect them to be 755 ) I've changed them ( not recursively ) and the su - jenkins within the container works ok... jenkins still doesnt launch for some reason though, so I'll keep looking.

The machines have now been returned to service.


Export

Added functionality to export tables to CSV.

@morlandi - pinging to get review/thoughts

Hello @jpuerto-psc .. thank you for contributing.
I noticed your PR some time ago, but didn't find the time to dig into it, yet.
I totally understand the need to export from the table preserving user's choices (filters in first place) and agree on adding this functionality to the app.
My first impression is that your proposal could be improved by removing most duplicated code (both js side then Python side). I'm sure I already did it in a project, and wish to recover that code for comparison

+1 would love to see this feature implemented! Thank you both for your efforts here


All users can see all other users in user management interface

Branched from #199 - note that admin functionality is not necessary.

Duplicates #199


feat(compiler): validate variable definition uniqueness

trying out the new diagnostics changes from #414 !
@goto-bus-stop so far so good! process seems to be just as straightforward as before 🙏
I am now noticing the thing you pointed out this morning about fileids in diagnostics struct - basically all the tests get updated whenever you add a new file, which means there are a ton of diffs.

gonna close this and do all the variable validations (#312) all together in one PR (and not only because i don't want to deal with all these conflicts >.<)


when using object ref e.g. "$ref":"Investigation.json" and "required":"true" would it be possible to generate the @NotNull annotation

According to the spec, $ref replaces the entire node, which is why "required": true does nothing when $ref is present.
Newer versions of the JSON schema spec solved this problem however. You can use the newer form of required to achieve what you need (and it's supported by this plugin). It's an array that sits in the parent object and contains the names of the required properties.


Fix SQL integration tests

This PR fixes the OATS based SQL integration tests. The reason the tests weren't working was because the YAML file wasn't quite correct. All lines were correct, but in YAML when multiple values are set in a list with the same key, they overwrite the previous one. So technically, all tests were running the last statement, which was correct sql_client_duration_sum > 0.
To mitigate this, I split the tests into individual files.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (ca3aa44) 81.28% compared to head (8bb5e82) 42.87%.

Additional details and impacted files
@@             Coverage Diff             @@
##             main     #380       +/-   ##
===========================================
- Coverage   81.28%   42.87%   -38.42%
===========================================
  Files          53       51        -2
  Lines        4078     3956      -122
===========================================
- Hits         3315     1696     -1619
- Misses        581     2153     +1572
+ Partials      182      107       -75

Flag
Coverage Δ

integration-test
?

unittests
42.87% <ø> (-0.03%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.
see 39 files with indirect coverage changes

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


New theme scrolls horizontally.

On my machne http://hackage.haskell.org/package/sop-core-<IP_ADDRESS>/docs/Data-SOP.html has horizontal scroll bar
Seems big instances overflow:

This is particularly bad, e.g. in servant-server:

This isn't something specific to the new theme, but I agree completely: the display of instances is pretty terrible (with the huge lines due to long instance heads, then the huge vertical space due to instance docs).

@harpocrates, it is specific. See e.g.
http://hackage.haskell.org/package/servant-server-0.16/docs/Servant-Server-Internal.html
The layout is not nie, but at least the page doesn't scroll horizontally, <--->.

Oh nice catch! Will fix ASAP. Thanks for sticking to your guns, and pasting in the old output.

This seems to be part of the issue: https://github.com/haskell/haddock/blob/59843f9e3d222901421a92fff793a1e031f38f65/haddock-api/resources/html/Linuwial.std-theme/linuwial.css#L564-L566
Would you be OK if this got punted over to the next release (8.8.2 inn this case)? I've never been too happy about the placement of docs in large instances. The new theme really exacerbates the problem (by forcing a narrower width), but fixing this properly is gonna involve a bit more time than is left...

I know this is almost 18 months old now, but I would like to bring attention to it once more as this issue is still present :(

On android chrome this is a pretty large issue because you can't scroll any of the reasonably sized code examples unless you zoom all the way out. For example, I have to zoom out to the attached screenshot so I can scroll the code sample, then zoom back in to actually read it.

This ticket now lives at https://gitlab.haskell.org/ghc/ghc/-/issues/24729


fix: resolve issues with saving the project file async

See https://github.com/customerio/customerio-expo-plugin/issues/72.
This change ensures that the Expo plugin returns any changes that it makes to the project file rather than saving these asynchronously (and not awaiting the result).

Is this likely to make it in @levibostian?

I also need this. Subscribed

Tagging another maintainer, apologies @xtreem88 but you seem active in here.

Actually looks like you're trying to do something similar @xtreem88, might be a duplication of work here?
https://github.com/customerio/customerio-expo-plugin/pull/76

@euc-callum Thanks for the PR; I've been away for some days; I was moving.
I created a new PR based on your recommendation here, The PR builds on top of changes you made here and also has Appdelegate Subscriber. I merged both changes to be tested and QA as one release.

Thanks for the heads up @xtreem88, I've commented on your pull request because I believe it may still have the issue I have resolved in this pull request.
Can I advise merging in this pull request as it is known to work (sample size of 1 - we're running this change in production now)?

@xtreem88 when can we expect a new release including this fix?

Hi @sergey-king, I'm Stephanie, a Product Manager here. I'm sorry to hear about the challenges and blockers this has created for you. Regarding the extension of your free trial, can you please send us an email about this to<EMAIL_ADDRESS>Our support team will be able to assist you there regarding your trial.


Error when running docker-compose up

Hi, I tried following the wiki and when I try docker-compose up, I get this error:
# docker-compose up
Pulling arbitrader (agonyforge/arbitrader:latest)...
ERROR: The image for the service you're trying to recreate has been removed. If you continue, volume data could be lost. Consider backing up your data before continuing.

Continue with the new image? [yN]y
Pulling arbitrader (agonyforge/arbitrader:latest)...
ERROR: pull access denied for agonyforge/arbitrader, repository does not exist or may require 'docker login': denied: requested access to the resource is denied

I googled but couldn't find any solutions. I am logged in to Docker. I tried both on macOS and Ubuntu.

I am certain this has to do with moving the project from my personal account into our new organization last week. Try using scionaltera/arbitrader:latest in your Dockerfile for now (we’re still publishing that image) and I’ll see about getting the new Docker Hub account up and running this week. Sorry for the confusion.

The workaround worked, thank you :)

I have created the agonyforge organization over at Docker Hub and pushed the latest image over to it. It is possible to pull agonyforge/arbitrader now.

If I try now I get this error:

ERROR: manifest for agonyforge/arbitrader:latest not found: manifest unknown: manifest unknown

Do I need to wait for the PR to get merged?

Do I need to wait for the PR to get merged?

Sorry, yes. The latest tag will get pushed with the build when the PR is merged. I pushed a pr-337 tag as a test.


Installing PHP 7.3 fails on Linux

Describe the bug
GH action fails with error:
==> Setup PHP
✗ PHP Could not setup PHP 7.3
Error: The process '/usr/bin/bash' failed with exit code 1

Switching to Ubuntu 18.04 doesn't help
Switching to PHP 7.4 helps (but we need 7.3, so for us it's not an option)
Investigation shows that the problem is in this commit: https://github.com/shivammathur/setup-php/commit/ef477a1dd71038ae272fe0c68d206727da409264 (as the previous one works good)

Version

[ ] I have checked releases, and the bug exists in the latest patch version of v1 or v2.
[x] v2
[ ] v1

Runners

[x] GitHub Hosted
[ ] Self Hosted

Operating systems
Ubuntu 20.04 (the same result for 18.04)
PHP versions

7.3

To Reproduce

name: Debugging
on:
  push:
jobs:
  phpunit-tests:
    name: Debugging (PHP ${{ matrix.php-versions }})
    runs-on: ubuntu-20.04
    container: shivammathur/node:focal-slim
    strategy:
      fail-fast: false
      matrix:
        php-versions: ['7.3']
    steps:
      - name: Checkout
        uses: actions/checkout@v2
      - name: Setup PHP, extensions and composer with shivammathur/setup-php
        uses: shivammathur/setup-php@v2
        with:
          php-version: ${{ matrix.php-versions }}
          extensions: mbstring, intl, zip, json, pdo, imagick, bcmath, redis, apcu, gd, mysql
          tools: composer:v1
        env:
          update: true

Expected behavior
PHP 7.3 is being installed :)

@bohdan-sokulskyi-n-ix
Fixed in https://github.com/shivammathur/setup-php/commit/e8855efe7c37a0fce86b7cf32eb0515c6aa6d2a6
Test workflow: https://github.com/shivammathur/test-setup-php/actions/runs/814148169/workflow
Although I have a question, why you are using shivammathur/node:focal-slim as a container. Unless the host GitHub image causes issues in your workflow, I would recommend removing that or using non-slim shivammathur/node:focal as container which has pre-installed PHP 7.3.

@shivammathur thanks a lot!


unsupported type uuid

duckdb version: v0.5.1 7c111322d
To reproduce:
-- in postgres
CREATE TABLE example (
  id uuid
);

-- in duckdb
D install postgres_scanner;
D load postgres_scanner;
D select * from postgres_scan('dbname=db', 'public', 'example') limit 10;
Error: Invalid Error: IO Error: Unsupported Postgres type uuid

I have a patch that seems to be working. I updated a test and got make test to pass locally (with some changes to the build/test scripts that are not included in the patch).
Love what you guys are doing. I can open a pull request if you'd like.

@lepfhty a pull request would be great, thanks!


Some plugins versions are removed by refreshVersions

Permalink to reproducing project: https://github.com/LouisCAD/update-legacy-android-project/tree/66f7e854f33593c2a990f40f8f12abbaf66f15f1
plugin.android=3.5.0 and plugin.de.fayard.dependencies=0.5.0 are ditched by the refreshVersion Gradle task while they are used.
I need to find where I can get the fact that they are used and that they get their version from versions.properties to include them when running refreshVersions.

Hold on on this, it's part of the larger discussion on how to finalize the versions.properties file format and its configuration. I am not blocked anymore for my tutorial, thanks a lot!

Well, I thought this case was handled correctly, so it's still an issue I
need to fix regardless of the format (especially about dropping the
version. suffix)
On Sun, Nov 24, 2019, 17:12 Jean-Michel Fayard<EMAIL_ADDRESS>wrote:

Hold on on this, it's part of the larger discussion on how to finalize the
versions.properties file format and its configuration. I am not blocked
anymore for my tutorial, thanks a lot!
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/jmfayard/gradle-dependencies-plugins/issues/144?email_source=notifications&email_token=ABVG6BJ343QKB7OS6KJN2U3QVKRXPA5CNFSM4JQ6YI2KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFAOZYI#issuecomment-557903073,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABVG6BM3RLP6UB54M6I4ZULQVKRXPANCNFSM4JQ6YI2A
.

Ah ok


Fix strict error.

Resolves https://github.com/CVO-Technologies/cakephp-twitter/issues/10
But wasn't this supposed to be BC inside 3.4?
Did we maybe forgot some class aliases here?

Codecov Report

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

@@            Coverage Diff            @@
##             master      #11   +/-   ##
=========================================
  Coverage     92.47%   92.47%
- Complexity        0       92   +92
=========================================
  Files            13       13
  Lines           279      279
=========================================
  Hits            258      258
  Misses           21       21

Impacted Files
Coverage Δ
Complexity Δ

src/Http/Adapter/TwitterStream.php
0% <ø> (ø)
4 <0> (+4)
:white_check_mark:

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 f32f66f...94f4da1. Read the comment docs.

That's interesting! Looks like a BC breaking change in Cake? I will probably also have to look into the failing tests

Thank you! :+1:


Update colored alerts demo

Update the demo for colored alerts when #21 is accepted.

#21 have been merged, thanks again for your contributions! 😄


How H was compute?

@zjudmd1015
I'm confused about the matrix H computed  here.
H * A = B;  --> H = A' * B, any reference?
Here A, B are corresponding point set, A' means A transpose, H is transform matrix;

You can refer to the derivation part of this original ICP paper (SVD approach), or some other papers mentioned on the ICP Wiki page.

Arun, K.S., Huang, T.S. and Blostein, S.D., 1987. Least-squares fitting of two 3-D point sets. IEEE Transactions on pattern analysis and machine intelligence, (5), pp.698-700.

You can refer to the derivation part of this original ICP paper (SVD approach), or some other papers mentioned on the ICP Wiki page.

Arun, K.S., Huang, T.S. and Blostein, S.D., 1987. Least-squares fitting of two 3-D point sets. IEEE Transactions on pattern analysis and machine intelligence, (5), pp.698-700.

@zjudmd1015
original paper dispels my confusion, tks.

@zjudmd1015
original paper dispels my confusion, tks.


Experiment settings for model training.

Hi, thanks for sharing this wonderful project. I am currently training the network by running

python main.py configs/waymo/waymo.yaml 4 1 --misc.mode=train --path.dataset_base_local=$YOUR_DATASET_FOLDER.

After 2-epoch training, the following errors occur:

CUDA out of memory.  Tried to allocate 406.00 MiB (GPU O;  23.65 GiB total capacity;  21.61 GiB already allocated;  356.31 MiB free;  22.04 GiB reserved in total by PyTorch) If reserved memory is >>  allocated memory try setting max_split_size_mb to avoid fragmentation.  See documentation for Memory Management and PYTORCH_CUDA_ALLOC_CONF10%283/2859 [07:52<1:12:56, 1.70s/it]
CUDA out of memory.  Tried to allocate 406.00 MiB (GPU 0;  23.65 GiB total capacity;  21.92 GiB already allocated;  96.31 MiB free;  22.29 GiB reserved in total by PyTorch) If reserved memory is >>  allocated memory try setting max_split_size_mb to avoid fragmentation.  See documentation for Memory Management and PYTORCH_CUDA_ALLOC_CONF10%. |284/2859 [07:53<1:01:19, 1.43s/it]
CUDA out of memory.  Tried to allocate 406.00 MiB (GPU O;  23.65 GiB total capacity;  21.59 GiB already allocated;  346.31 MiB free;  22.05 GiB reserved in total by PyTorch) If reserved memory is >>  allocated memory try setting max_split_size_mb to avoid fragmentation.  See documentation for Memory Management and PYTORCH_CUDA_ALLOC_CONF10%| 284/2859 [07:54<1:11:43, 1.67s/it]
Traceback (most recent call last):
File "main.py", line 79, in
trainer.train()
File "/test/Flow-experiments/PCAccumulation-main/libs/trainer.py", line 258, in train
self.  inference_one_epoch(epoch, 'train')
File, "/test/Flow-experiments/PCAccumulation-main/libs/trainer.py", line 243, in inference_one_epoch
self. update_tensorboard(stats_meter, curr_iter, phase)
File "/test/Flow-experiments/PCAccumulation-main/libs/trainer.py", line 119, in update_tensorboard
stats, message = compute_mean_iou_recall_precis ion(stats_meter['mos_metric'], self. mos_mapping)
TypeError: 'NoneType' object is not subscriptable。

It seems that all iterations are skipped due to being out of the CUDA memory. And I also set the batch size to 2 and the same problem occurs.  Do you have any suggestions to solve this problem? (The training is on: Python 3.8.8, Pytorch 1.12.0+cu116, a NVIDIA TITAN RTX GPU)
Besides, I set the hyper-parameter ''iter_size'' from 1 to 2, and the problem seemed to be solved. But I am very worried about whether this would have a negative impact on the model training and could not get the experimental results in the paper. Would you share more details about the parameter settings for model training?

Close due to inactivity.


Actions do not work

Is your feature request related to a problem? Please describe.
I'd love to use this card on my homepage with a tap action that navigates to my weather page, but the card does not support tap actions.
Describe the solution you'd like
Add tap actions to the card, as well as hold and double-tap actions.
Describe alternatives you've considered
I'm not aware of a way around this.
Additional context
I love this card, but can't use where I'd like it most.

The card should already support these but it looks like they don't work. I'll have a look next week if I can.

Actually, I spoke too soon. Actions seem to work just fine. Have you tried configuring actions already? Tap, hold, and double-tap actions are all available and documented in the readme.


add sys scale option displayID support and remove unused files

Please provide Issues links to:

Issues: #

Provide test code:

Description
...

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


How to let the timetable has rounded corner?

For now, our timetable looks like this:

I'm trying to let it have rounded corner like this:

How should I do that? The codes that creates the timetable is in Timetable.js, together with its style file Timetable.css.
Feel free to share with me ways to solve this, or fix this yourself (then make a pull request for us to merge)!

Timetable.css
.Timetable-frame {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 20px;
}

.Timetable {
  width: 100%; /* Set timetable width to 100% */
}

.Timetable table {
  width: 100%;
  border-spacing: 0;
}

.Timetable th,
td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: center;
}

.Timetable th {
  background-color: #f2f2f2;
}

.Timetable table tr:last-child td:first-child {
  border-bottom-left-radius: 10px;
}

.Timetable table tr:last-child td:last-child {
  border-bottom-right-radius: 10px;
}

.Timetable table thead tr th:first-child {
  border-top-left-radius: 10px;
}

.Timetable table thead tr th:last-child {
  border-top-right-radius: 10px;
}

https://stackoverflow.com/questions/628301/the-border-radius-property-and-border-collapsecollapse-dont-mix-how-can-i-use

Awesome, thanks for your help!


NPE when updating object column for NULL object

CrateDB version: 3.3.3
Problem description:
SQL Error: ERROR: SQLParseException: Object a is null, cannot write b = c into it raised when updating nested attribute in NULL object.
Steps to reproduce:
create table test (a object as (b string), id int);
>>Table TEST created.
insert into test (id) values (0);
>> 1 row inserted.
update test set a['b'] = 'c';
>> 1 row updated.
update test set a = null;
>> 1 row updated.
update test set a['b'] = 'c';
SQL Error: ERROR: SQLParseException: Object a is null, cannot write b = c into it
update test set a = {};
>> 1 row updated.
update test set a['b'] = 'c';
>> 1 row updated.

This is currently expected behavior.
I assume you'd expect the object to be implicitly created with a single key set
to the provided value?

Yes, I expected to see same result from all updates in sample.
Otherwise I have to control it manually, and it's more difficult in real case:
There are 2 ways to do it and both are bad:

Update  one field of object -> catch exception -> update full object
Update full object with copy all other fields (but when new field added - i have to re-check all SQLs)


A RenderViewport exceeded its maximum number of layout cycles.

flutter: The following assertion was thrown during performLayout():
flutter: A RenderViewport exceeded its maximum number of layout cycles.
flutter: RenderViewport render objects, during layout, can retry if either their slivers or their
flutter: ViewportOffset decide that the offset should be corrected to take into account information collected
flutter: during that layout.
flutter: In the case of this RenderViewport object, however, this happened 10 times and still there was no
flutter: consensus on the scroll offset. This usually indicates a bug. Specifically, it means that one of the
flutter: following three problems is being experienced by the RenderViewport object:
flutter:  * One of the RenderSliver children or the ViewportOffset have a bug such that they always think
flutter:    that they need to correct the offset regardless.
flutter:  * Some combination of the RenderSliver children and the ViewportOffset have a bad interaction such
flutter:    that one applies a correction then another applies a reverse correction, leading to an infinite
flutter:    loop of corrections.
flutter:  * There is a pathological case that would eventually resolve, but it is so complicated that it
flutter:    cannot be resolved in any reasonable number of layout passes.
flutter:
flutter: When the exception was thrown, this was the stack:
flutter: #0      RenderViewport.performLayout. (package:flutter/src/rendering/viewport.dart:1255:9)
flutter: #1      RenderViewport.performLayout (package:flutter/src/rendering/viewport.dart:1275:6)
flutter: #2      RenderObject._layoutWithoutResize (package:flutter/src/rendering/object.dart:1507:7)
flutter: #3      PipelineOwner.flushLayout (package:flutter/src/rendering/object.dart:766:18)
flutter: #4      _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&SemanticsBinding&RendererBinding.drawFrame (package:flutter/src/rendering/binding.dart:336:19)
flutter: #5      _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&SemanticsBinding&RendererBinding&WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:701:13)
flutter: #6      _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&SemanticsBinding&RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:275:5)
flutter: #7      _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:990:15)
flutter: #8      _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:930:9)
flutter: #9      _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding._handleDrawFrame (package:flutter/src/scheduler/binding.dart:842:5)
flutter: #13     _invoke (dart:ui/hooks.dart:209:10)
flutter: #14     _drawFrame (dart:ui/hooks.dart:168:3)
flutter: (elided 3 frames from package dart:async)
flutter:
flutter: The following RenderObject was being processed when the exception was fired:
flutter:   RenderViewport#d4cc3 NEEDS-LAYOUT NEEDS-PAINT
flutter:   creator: Viewport ← IgnorePointer-[GlobalKey#937ad] ← Semantics ← Listener ← _GestureSemantics ←
flutter:   RawGestureDetector-[LabeledGlobalKey#4cc4c] ← _ScrollableScope ←
flutter:   _ScrollSemantics-[GlobalKey#b2d24] ← Scrollable ← CustomScrollView ←
flutter:   NotificationListener ← Positioned ← ⋯
flutter:   parentData:  (can use size)
flutter:   constraints: BoxConstraints(w=414.0, h=690.2)
flutter:   layer: OffsetLayer#fe986
flutter:   size: Size(414.0, 690.2)
flutter:   axisDirection: down
flutter:   crossAxisDirection: right
flutter:   offset: ScrollPositionWithSingleContext#4cfa0(offset: 390.3, range: 0.0..942.6, viewport: 690.2,
flutter:   ScrollableState, RefreshScrollPhysics -> BouncingScrollPhysics,
flutter:   BallisticScrollActivity#20ecb(AnimationController#aca4d(▶ 390.271; for BallisticScrollActivity)),
flutter:   ScrollDirection.forward)
flutter:   anchor: 0.0
flutter: This RenderObject had the following descendants (showing up to depth 5):
flutter:   RenderSliverToBoxAdapter#5bee7 relayoutBoundary=up1 NEEDS-PAINT
flutter:     RenderFlex#44dc1 relayoutBoundary=up2 NEEDS-PAINT
flutter:       RenderClipRect#1aa0c relayoutBoundary=up3 NEEDS-PAINT
flutter:         RenderPositionedBox#7c696 relayoutBoundary=up4 NEEDS-PAINT
flutter:           RenderConstrainedBox#739fd relayoutBoundary=up5 NEEDS-PAINT
flutter:       RenderConstrainedBox#c24db relayoutBoundary=up3 NEEDS-PAINT
flutter:         RenderPositionedBox#ad1e1 relayoutBoundary=up4 NEEDS-PAINT
flutter:           RenderFlex#4f03b relayoutBoundary=up5 NEEDS-PAINT
flutter:   RenderSliverPadding#1a576 relayoutBoundary=up1 NEEDS-PAINT
flutter:     RenderSliverList#e8b20 relayoutBoundary=up2 NEEDS-PAINT
flutter:       RenderIndexedSemantics#1d327 relayoutBoundary=up3 NEEDS-PAINT
flutter:         RenderRepaintBoundary#6dbfd relayoutBoundary=up4 NEEDS-PAINT
flutter:           RenderSemanticsGestureHandler#7b5f3 relayoutBoundary=up5 NEEDS-PAINT
flutter:       RenderIndexedSemantics#93adb relayoutBoundary=up3 NEEDS-PAINT
flutter:         RenderRepaintBoundary#7b3f7 relayoutBoundary=up4 NEEDS-PAINT
flutter:           RenderSemanticsGestureHandler#b95bc relayoutBoundary=up5 NEEDS-PAINT
flutter:       RenderIndexedSemantics#f8e83 relayoutBoundary=up3 NEEDS-PAINT
flutter:         RenderRepaintBoundary#f526b relayoutBoundary=up4 NEEDS-PAINT
flutter:           RenderSemanticsGestureHandler#2a276 relayoutBoundary=up5 NEEDS-PAINT
flutter:       RenderIndexedSemantics#d0d4a relayoutBoundary=up3
flutter:         RenderRepaintBoundary#b2481 relayoutBoundary=up4
flutter:           RenderSemanticsGestureHandler#0fac2 relayoutBoundary=up5
flutter:       RenderIndexedSemantics#a1d46 relayoutBoundary=up3
flutter:         RenderRepaintBoundary#673e3 relayoutBoundary=up4
flutter:           RenderSemanticsGestureHandler#3e41c relayoutBoundary=up5
flutter:       RenderIndexedSemantics#53915 relayoutBoundary=up3
flutter:         RenderRepaintBoundary#4a2a2 relayoutBoundary=up4
flutter:           RenderSemanticsGestureHandler#9c8ef relayoutBoundary=up5
flutter: ════════════════════════════════════════════════════════════════════════════════════════════════════

Detailed description of how this happened, show the important code

也遇到这个问题了


fixed bug in adding and removing state assignments and output events

fixed bug in adding and removing state assignments and output events from transitions where an exception wasn't within an else statement and was therefore always raised

Coverage increased (+0.09%) to 78.23% when pulling dfdebafb972d64c79be97564a09f9ea83f707edd on tclose:minor_fixes into 31b81fb1d20d1683b9fa952fc0d456a9e598f890 on INCF:master.


jenkins: no changeset

this doesn't actually work with the way we connect to the devices anyway

Can we fix it? It’s a pretty significant speed up.


Typescript typings

Is it possible that a library so popular has no type script typing?
Did I just miss it searching?

I'm not sure. What is "type script typing?"

http://www.typescriptlang.org/
Gaining a lot of traction now that Angular2 are using them.

Ah, cool. I just looked at it and didn't see anything immediately saying how to make this bindings or whatever. I can look into learning it, but don't promise anything. If there is a PR you can make, that would of course help a lot as well :)

Let me check and get back to you
On Thu, Jun 25, 2015, 8:56 AM Douglas Christopher Wilson <
<EMAIL_ADDRESS>wrote:

Ah, cool. I just looked at it and didn't see anything immediately saying
how to make this bindings or whatever. I can look into learning it, but
don't promise anything. If there is a PR you can make, that would of course
help a lot as well :)
—
Reply to this email directly or view it on GitHub
https://github.com/senchalabs/connect/issues/1074#issuecomment-115115254
.

Closing this from lack of activity. If you have something, please let me know!


Keep default visuals.

This is less of an issue report and more of a feature request.
Could it be possible to add an option to the plugin to allow the appearance of code blocks (syntax highlighting, background color, highlighted line color) to remain as they would be for that particular Obsidian theme, without the plugin's own theme being applied to codeblocks?
Thanks.

Syntax highlighting???? I don't do anything with syntax highlighting. Please explain what you mean by this?
Background color - you can change it.
Highlighted line color - Is there a theme which can highlight lines in code blocks?
Don't really understand what you mean by this question, or what the point would be?

I actually agree that the background color should be initially set to the default theme color. I will try to make those changes to the PR #28.
@keyboard-penman do you think that the default highlighting color should be the color that obsidian uses to highlight normal text? This is doable but I'm not sure it would look pleasant in a codeblock? What are your thoughts @mugiwara85.

I actually agree that the background color should be initially set to the default theme color. I will try to make those changes to the PR #28.
@keyboard-penman do you think that the default highlighting color should be the color that obsidian uses to highlight normal text? This is doable but I'm not sure it would look pleasant in a codeblock? What are your thoughts @mugiwara85.

No, that color would definitely not look ok for highlighting. Background color be set to the default color of theme, but I would create a new theme for that maybe. But I don't see it as a "big problem". I can still add something similar later. Right now the PR is more important, because without it, I can't release the other fixes neither :)

The default theme is Obsidian now. Please also read the README.


make grid color configurable

fixes #89

Please merge all these goodies that people have created

Cool! Sorry for the late merge.

Thanks @theforcedk for pinging me, I dropped the ball here due to work load.

@yaronn No worries, work is important :) - I just use this repo as a remote dependency and this PR + the vi bindings for the list is exactly the hacks I had to make locally.


Remove "Time zone" option

"Time zone" option is removed in ASDK 1808 that supports only UTC.

@kojinak : Thanks for your contribution! The author, @jeffgilb, has been notified to review your proposed change.

Merging per email from Angela


duplicate scripts?

Two scripts seem to be almost duplicates of each other. Both fix-family and fix-font has the same options for changing fonts

--include-source-fixes
--rename-family
--fvar-instance-axis-dflts

But the file handling is different, fix-family but not fix-font, supports

--inplace
multiple input fonts
the --out option is for a directory, rather than (I think) a path to the output font file

These are very similar, but they're different and I think they should stay. fix-family is intended for fixing multiple fonts in the same family -which is why it outputs multiple fonts to a directory not to a single output file it considers the family as a whole i.e. ensuring the names are consistent across the family.


App closes on icon set

The app closes immediately upon setting the icon and label. I don't know if this is just an android limitation, or actually a bug?. It does set the icon and label successfully though.

Hi,
This plugin will be merged into flutter_dynamic_icon and I will no more update this plugin.
This is a normal behavior, since to update the icon replace the current activity with a new one with the new icon/label.


Delete validator rules or some callback

There are rules for create and update requests. Is there some possibility to implement rules that will be validated before delete action is accessed on model?
For example:
If I define model with foreign key in database that will restrict deleting of parent model, This will end with exception because system access database with delete request. It will be wery handy to have some option tu validate suspect of delete action and create something like status code and message in response for API.
For example 409 Conflict or 405 Method Not Allowed.
Or please give me some idea how to implement this type of validation in clear way with laravel json API resources.
Thanks.

This is a great idea and should definitely be supported. Thanks for suggesting.
For the moment you'd have to use the deleting controller hook to run whatever validation you want and return JSON API errors from the hook. That's documented here:
https://laravel-json-api.readthedocs.io/en/latest/features/errors/

Adding to the 1.0 milestone because this will involve a breaking change to the validators interface.


[BUG] error with 2FA and -v option

Before submitting a bug report...

[X] This bug wasn't already reported.
(I have checked every bug report on GitHub)

Title

[X] The title is no longer "[BUG] Title" and I edited it with the right error name.

Describe the bug
When I validate the 2FA number on the application and press enter then it does not continue.
So I looked to see if there had already been this problem and I saw that adding the -v in the command could help, except that it doesn't work for me
Copy and paste your error
Error for -v command:
root@vmi1556726:~/Microsoft-Rewards-Farmer# python3 main.py -v
2024-02-02 22:22:39,739 [INFO] ********************MY@EMAIL********************
2024-02-02 22:22:40,877 [INFO] Using default request storage
2024-02-02 22:22:40,885 [INFO] Created proxy listening on <IP_ADDRESS>:38891
2024-02-02 22:22:40,885 [INFO] Using undetected_chromedriver
2024-02-02 22:22:41,481 [INFO] patching driver executable /root/.local/share/undetected_chromedriver/undetected_chromedriver
2024-02-02 22:23:41,570 [ERROR] WebDriverException: Message: unknown error: cannot connect to chrome at <IP_ADDRESS>:37241
from chrome not reachable
Stacktrace:
#0 0x55de31732d93 <unknown>
#1 0x55de31416177 <unknown>
#2 0x55de3140102a <unknown>
#3 0x55de3144fcf8 <unknown>
#4 0x55de314461cb <unknown>
#5 0x55de31490b7c <unknown>
#6 0x55de314841e3 <unknown>
#7 0x55de31454135 <unknown>
#8 0x55de3145513e <unknown>
#9 0x55de316f6e4b <unknown>
#10 0x55de316fadfa <unknown>
#11 0x55de316e36d5 <unknown>
#12 0x55de316fba6f <unknown>
#13 0x55de316c769f <unknown>
#14 0x55de31720098 <unknown>
#15 0x55de31720262 <unknown>
#16 0x55de31731f34 <unknown>
#17 0x7fed0dc50ac3 <unknown>

Traceback (most recent call last):
  File "/root/Microsoft-Rewards-Farmer/main.py", line 24, in main
    executeBot(currentAccount, notifier, args)
  File "/root/Microsoft-Rewards-Farmer/main.py", line 127, in executeBot
    with Browser(mobile=False, account=currentAccount, args=args) as desktopBrowser:
  File "/root/Microsoft-Rewards-Farmer/src/browser.py", line 41, in __init__
    self.webdriver = self.browserSetup()
  File "/root/Microsoft-Rewards-Farmer/src/browser.py", line 77, in browserSetup
    driver = webdriver.Chrome(
  File "/usr/local/lib/python3.10/dist-packages/seleniumwire/undetected_chromedriver/webdriver.py", line 61, in __init__
    super().__init__(*args, **kwargs)
  File "/usr/local/lib/python3.10/dist-packages/undetected_chromedriver/__init__.py", line 466, in __init__
    super(Chrome, self).__init__(
  File "/usr/local/lib/python3.10/dist-packages/selenium/webdriver/chrome/webdriver.py", line 45, in __init__
    super().__init__(
  File "/usr/local/lib/python3.10/dist-packages/selenium/webdriver/chromium/webdriver.py", line 61, in __init__
    super().__init__(command_executor=executor, options=options)
  File "/usr/local/lib/python3.10/dist-packages/selenium/webdriver/remote/webdriver.py", line 208, in __init__
    self.start_session(capabilities)
  File "/usr/local/lib/python3.10/dist-packages/undetected_chromedriver/__init__.py", line 724, in start_session
    super(selenium.webdriver.chrome.webdriver.WebDriver, self).start_session(
  File "/usr/local/lib/python3.10/dist-packages/selenium/webdriver/remote/webdriver.py", line 292, in start_session
    response = self.execute(Command.NEW_SESSION, caps)["value"]
  File "/usr/local/lib/python3.10/dist-packages/selenium/webdriver/remote/webdriver.py", line 347, in execute
    self.error_handler.check_response(response)
  File "/usr/local/lib/python3.10/dist-packages/selenium/webdriver/remote/errorhandler.py", line 229, in check_response
    raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.WebDriverException: Message: unknown error: cannot connect to chrome at <IP_ADDRESS>:37241
from chrome not reachable
Stacktrace:
#0 0x55de31732d93 <unknown>
#1 0x55de31416177 <unknown>
#2 0x55de3140102a <unknown>
#3 0x55de3144fcf8 <unknown>
#4 0x55de314461cb <unknown>
#5 0x55de31490b7c <unknown>
#6 0x55de314841e3 <unknown>
#7 0x55de31454135 <unknown>
#8 0x55de3145513e <unknown>
#9 0x55de316f6e4b <unknown>
#10 0x55de316fadfa <unknown>
#11 0x55de316e36d5 <unknown>
#12 0x55de316fba6f <unknown>
#13 0x55de316c769f <unknown>
#14 0x55de31720098 <unknown>
#15 0x55de31720262 <unknown>
#16 0x55de31731f34 <unknown>
#17 0x7fed0dc50ac3 <unknown>

Error for normal command:
root@vmi1556726:~/Microsoft-Rewards-Farmer# sudo python3 main.py --geo FR
2024-02-02 22:28:36,610 [INFO] ********************MY@EMAIL********************
2024-02-02 22:28:37,069 [INFO] Using default request storage
2024-02-02 22:28:37,075 [INFO] Created proxy listening on <IP_ADDRESS>:40843
2024-02-02 22:28:37,076 [INFO] Using undetected_chromedriver
2024-02-02 22:28:37,723 [INFO] patching driver executable /root/.local/share/undetected_chromedriver/undetected_chromedriver
2024-02-02 22:28:38,279 [INFO] Screen size: 2382x1238
2024-02-02 22:28:38,281 [INFO] Device size: 2327x1087
2024-02-02 22:28:38,505 [INFO] [LOGIN] Logging-in...
2024-02-02 22:28:40,620 [INFO] [LOGIN] Writing email...
2024-02-02 22:28:51,223 [ERROR] [LOGIN] 2FA required !
2024-02-02 22:28:51,253 [ERROR] [LOGIN] 2FA code: 32
2024-02-02 22:28:51,254 [INFO] [LOGIN] Press enter when confirmed...

Screenshots

Value of dashboard variable
https://gist.github.com/GaetanPTX/930422c8ca74327a6a0fdfe7956b48cf

Is this because of it reaching a screen asking if you want to reduce the number of sign ins?

I fixed this by running the -v command, entering the code myself and logging in, then I closed the cmd window running this script and reopened it and it worked

go to task manager and end chrome. delete sessions and restart. have fun!


Many .kt files in testData directory don't compile due to having multiple packages

These files should be split into multiple files in order to compile.
The .out file could be kept as a single file which is compared with multiple.

I have a fix for this but it depends on my other pull requests being merged.


CIV-6955 Adding fix for api test pbav3 enabled

JIRA link (if applicable)
Change description
Does this PR introduce a breaking change? (check one with "x")
[ ] Yes
[ x ] No

This has been merged in #2378 to avoid showing as modified files that were not.
Closing this PR.


onToken event added in ChatLlamaCpp call function

Fixes # (issue)

Should we also add to the LLM class?

Should we also add to the LLM class?

@jacoblee93 it is added LLM class also. Could please verify and merge it?

Thank you!


Use parsing module in Dataset to parse and process dataset files

Description of the problem
Currently functionality is hidden in the utils module and files have to be parsed manually.
Description of a solution
It would be much nicer to have it additionally available in the Dataset class.
Instead of reading a csv, or feather file, we would need to specify parsing arguments in the DatasetDefinition.
Minimum acceptance criteria

[x] parsing functionality in Dataset class

closed with #340


Not working on iphone 8 or iphone with touch ID

i will include debug output here , below . works fine on other iphones but not ones with small screen . issue occurs on swiftui , i did everything as it was in example of swiftui project .
debug outputs:
2024-12-18 12:33:59.373920+0400 bingoshmingo[1466:290925] [Unknown process name] clip: empty path.
2024-12-18 12:33:52.867369+0400 bingoshmingo[1466:290925] [PreviewsAgentExecutorLibrary] Looking for Previews JIT link entry point.
2024-12-18 12:33:52.867952+0400 bingoshmingo[1466:290925] [PreviewsAgentExecutorLibrary] No Previews JIT entry point found.
2024-12-18 12:33:52.867962+0400 bingoshmingo[1466:290925] [PreviewsAgentExecutorLibrary] Gave PreviewsInjection a chance to run and it returned, continuing with debug dylib.
2024-12-18 12:33:52.867966+0400 bingoshmingo[1466:290925] [PreviewsAgentExecutorLibrary] Looking for main entry point.
2024-12-18 12:33:52.867969+0400 bingoshmingo[1466:290925] [PreviewsAgentExecutorLibrary] Opening debug dylib with<EMAIL_ADDRESS>2024-12-18 12:33:52.867983+0400 bingoshmingo[1466:290925] [PreviewsAgentExecutorLibrary] Debug dylib handle: 0xbffad9d0
2024-12-18 12:33:52.867988+0400 bingoshmingo[1466:290925] [PreviewsAgentExecutorLibrary] No entry point found. Checking for alias.
2024-12-18 12:33:52.867993+0400 bingoshmingo[1466:290925] [PreviewsAgentExecutorLibrary] Calling provided entry point.
view and its frames :
var wheelView: some View {
        ZStack {
            Circle()
                .fill(Color.theme.orange)
                .frame(width: isSmall ? 330 : 380, height: isSmall ? 330 : 380)

            SFWView(prizes: $viewModel.prizes, configuration: $viewModel.wheelConfiguration, isMonochrome: $viewModel.isMonochrome, isWithLine: $viewModel.drawCurvedLine, onSpinButtonTap: $viewModel.onRotateTap, isFinished: $isFinished, rotateToIndex: viewModel.rotateToIndex.eraseToAnyPublisher(), shouldRedraw: viewModel.shouldRedraw.eraseToAnyPublisher())
                .frame(minWidth: 50, idealWidth: isSmall ? 280 : 330, maxWidth: isSmall ? 280 : 330, minHeight: 50, idealHeight: isSmall ? 280 : 330, maxHeight: isSmall ? 280 : 330, alignment: .center)
                .aspectRatio(1, contentMode: .fit)
                .padding(10)
                .disabled(true)

            Image("wheel.pointer")
                .resizable()
                .scaledToFill()
                .frame(width: 34, height: 34)
                .padding(.top, 400)

        }
    }
    ```

checked and it was navigation stack's issue


fix: refactor ignore module, fix several problems

Codecov Report
Attention: Patch coverage is 89.85507% with 7 lines in your changes are missing coverage. Please review.

Project coverage is 19.88%. Comparing base (4165da8) to head (18061ce).

Files
Patch %
Lines

src/ignore.rs
95.38%
3 Missing :warning:

src/objects/tree.rs
0.00%
3 Missing :warning:

src/commands/write_tree.rs
0.00%
1 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #11      +/-   ##
==========================================
- Coverage   20.05%   19.88%   -0.18%
==========================================
  Files          12       12
  Lines         354      342      -12
==========================================
- Hits           71       68       -3
+ Misses        283      274       -9

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Update demo project and latest tested CLI version (2.46.0)

Depends on https://github.com/iterative/dvc/issues/9125


Freshen up and somewhat standardize command returns

Responding to #250

Added a bit more info to /terra debug and /terra query returns
Added in biome and terrain strings to /terra locate returns
Added "search ids" to /terra locate commands because adding strings would require too much rework, and this accounts for long-running searches.
Attempted to somewhat standardize command returns (biome and terrain display names are dark green, biome types and registered names are italicized, ...). See screenshot below
Added y coordinate to position display to erase confusion (y coordinate was already set in /tp command)

This is exactly how I wanted it to be like with my original feature request. Thank you dor making it a reality!

Comments should be addressed

Comments should be addressed.

I ended up subscribing to both login and logout events to simplify expectations.
Added "getOrDefault" as suggested to counter race condition, kept "replace" for same reason.
Consolidated text formats

Sorry for the long wait! many distractions over the past couple of weeks. Will find some time to test and merge this weekend 🙂
Your efforts are much appreciated!


Change internal references to diaper_drive, diaper_drive_participant to product_drive, product_drive_participant

Summary
Change internal references to diaper_drive, diaper_drive_participant  to product_drive, product_drive_participant
This is largely to have consistency between the outside world and the code, and to mitigate future developer confusion.
(Note:  this is related to #2707 Generalize Language)
Things to Consider
A text search revealed 3200+ hits on "diaper_drive", of which 7-800 are not log entries.  This is going to touch on the order of 70-80 files.
It has been suggested that we should stop at the table level -- leave the tables with the diaper terminology,  because otherwise the deployment will be a lot more painful.
Criteria for Completion

[ ] All models, routes, controllers, specs, reports, etc that currently refer to "diaper_drive",  and "diaper_drive_participant",  will refer to "product_drive" and "product_drive_participant"
[ ] All refactored tests still work

honestly I feel like doing a mass find/replace might actually not be too bad. :p As long as we fix the table reference in the model, it's possible everything would "just work".
It would be a nightmare to review, but very easy to code 😁

That's my gut feel on it, too.
I would not look forward to trying to merge it with any other changes, though.

I'm pretty sure I know how to handle the table reference, and it's a logical extension of the work I already did on the diaper drive, so I think I'll grab this.

It's not quite as simple as all that (just pointing to the diaper drive/diaper drive participant tables in the renames Product Drive and Product Drive Participant models) -- because donations are linking into diaper_drive and diaper_drive_participant.   I'm not sure we can really get away with out some significant migrations.   (I know, Rails makes this sort of thing relatively easy, but..)    I'm going to think about it, but I'm releasing my "grab" of the issue for the nonce.

Having talked it over with Sean, I'm back on it.  We're going to go the route of changing the table names -- it's a big change to the schema, but the end result will be better in terms of developer ease going forward.


Wipe away old docs, add a new TOC

This deletes all of the previous documentation and creates a new table of comments based on @markerikson's suggestion in #3313.
I also deleted all of the content on existing docs that need to be reorganized. Even if we end up copy/pasting them back, I think it'll be valuable for us to go through the pull request process so that everything gets a new set of eyes.

Mmm.... "wipe it away" is considerably more drastic than what I was picturing.  I think I know what you're getting at, but I was figuring we'd start by shuffling the existing content around.
Feel free to keep playing with things on this branch, though.

I propose we merge this as this is a "baseline" branch.
In the past I've worked on features where we built a prototype and then later build a production-ready version. When we did that we typed git init on a new repo. Even if parts of the prototype got copy/pasted over it forced us to rereview it and question if we were making the right decisions.
From reading through the docs there are endless caveats and notes that may or may not be relevant anymore. I think it'll be easiest if we give the community a giant empty playground to start writing.
Our goal here should be to empower individuals to contribute as much as possible and I think a clean slate is an effective way to do that.
If you'd like I'm happy to take a leadership role on this and manage this process.


show-names should not get the name for mannequin accounts

Description
As shown in the screenshot below, this mannequin user (not a real user; the username was copied from one which existed on bugs.python.org; see https://bugs.python.org/issue23402) has the real name for the GitHub user Adam. This is likely not the same user, so shouldn't have the real name shown.

Additional context: https://devguide.python.org/triage/github-bpo-faq/index.html#what-on-earth-is-a-mannequin
How to replicate the issue + URL
https://github.com/python/cpython/issues/67591
Extension version
23.4.10
Browser(s) used
Firefox 112.0

This is funny. GitHub’s own DOM has a show_full_name=false attribute. The s̕i̼m͗u̪l̒a̐t̖ío̾n̆ ǐs̸ b̃r̛e͛a̎k̍i̢n͠ğ 😂


Uncaught Error: ENOENT: no such file or directory, open '/home/v3ss/workspace/phwa.re/gui/phwabe/...

[Enter steps to reproduce below:]

Delete a file that is already in project
Open that session.

Atom Version: 1.0.1-375cf27
System: "Sabayon Linux
Thrown From: Atom Core
Stack Trace
Uncaught Error: ENOENT: no such file or directory, open '/home/v3ss/workspace/phwa.re/gui/phwabe/source/class/phwabe/utils/list/InfiniListDebounce.js'
At events.js:141

Error: ENOENT: no such file or directory, open '/home/v3ss/workspace/phwa.re/gui/phwabe/source/class/phwabe/utils/list/InfiniListDebounce.js'
  at Error (native)
  at EventEmitter.ipc.sendSync (/opt/atom/resources/atom.asar/renderer/api/lib/ipc.js:21:31)
  at Object.exports.require (/opt/atom/resources/atom.asar/renderer/api/lib/remote.js:160:16)
  at Object.<anonymous> (/home/v3ss/.atom/init.coffee:1:19)
  at Object.<anonymous> (/home/v3ss/.atom/init.coffee:1:1)
  at Module._compile (module.js:452:26)
  at Object.requireCoffeeScript (/opt/atom/resources/app.asar/node_modules/coffee-cash/lib/coffee-cash.js:85:19)
  at Module.load (module.js:347:32)
  at Function.Module._load (module.js:302:12)
  at Module.require (module.js:357:17)
  at require (module.js:376:17)
  at Atom.module.exports.Atom.requireUserInitScript (/opt/atom/resources/app.asar/src/atom.js:924:20)
  at Atom.module.exports.Atom.startEditorWindow (/opt/atom/resources/app.asar/src/atom.js:644:14)
  at Object.<anonymous> (/opt/atom/resources/app.asar/src/window-bootstrap.js:12:8)
  at Object.<anonymous> (/opt/atom/resources/app.asar/src/window-bootstrap.js:23:4)
  at Module._compile (module.js:452:26)
  at Object.loadFile [as .js] (/opt/atom/resources/app.asar/src/babel.js:162:21)
  at Module.load (module.js:347:32)
  at Function.Module._load (module.js:302:12)
  at Module.require (module.js:357:17)
  at require (module.js:376:17)
  at setupWindow (file:///opt/atom/resources/app.asar/static/index.js:96:23)
  at window.onload (file:///opt/atom/resources/app.asar/static/index.js:36:7)

Commands

Config
{
  "core": {
    "disabledPackages": [
      "language-ruby-on-rails",
      "mobile-preview",
      "atom-html-preview",
      "color-picker",
      "run-command",
      "runcoderun",
      "whitespace",
      "svg-preview",
      "autosave",
      "autocomplete-jedi",
      "autocomplete-plus-async",
      "cute-cursor",
      "pulsing-cursor",
      "neon-selection",
      "atom-lint",
      "animation-showcase",
      "tree-view-open-files",
      "autocomplete",
      "ease-blink",
      "highlight-line",
      "minimap-highlight-selected",
      "minimap",
      "markdown-writer",
      "atom-alignment",
      "autocomplete-atom-api",
      "fancy-input",
      "sublime-tabs",
      "spell-check",
      "tool-bar-main",
      "tool-bar",
      "flex-tool-bar",
      "atom-ternjs",
      "gutter-shadow",
      "local-history",
      "tab-rename",
      "open-in",
      "pigments",
      "linter",
      "goto",
      "cursor-blink-interval"
    ],
    "ignoredNames": [
      "*.pyc",
      "/home/v3ss/workspace/phwa.be/condaenv",
      "/home/v3ss/workspace/phwa.be/pypyenv",
      "*.zip",
      "*.tar",
      ".hg"
    ],
    "autoHideMenuBar": true,
    "themes": [
      "steam-pirate-ui",
      "steam-pirate-syntax"
    ]
  },
  "editor": {
    "preferredLineLength": 120,
    "tabLength": 4,
    "confirmCheckoutHeadRevision": false,
    "autoIndentOnPaste": false,
    "scrollSensitivity": 120,
    "invisibles": {},
    "showIndentGuide": true,
    "lineHeight": 1.35,
    "scrollPastEnd": true,
    "zoomFontWhenCtrlScrolling": false,
    "fontSize": 12,
    "fontFamily": "NK57 Monospace"
  }
}

Installed Packages
# User
auto-reveal-in-sidebar, v0.5.0
autocomplete-plus-python-jedi, v0.3.6
autohide-tree-view, v0.20.2
block-cursor, v0.13.1
block-travel, v1.0.2
build, v0.38.0
editorconfig, v1.0.0
file-icons, v1.5.8
file-type-icons, v0.7.0
hashrocket, v0.4.8
highlight-column, v0.5.0
highlight-selected, v0.10.1
language-javascript-better, v1.5.0
language-nim, v0.2.2
linter-coffeelint, v0.3.2
linter-csslint, v0.0.14
linter-flake8, v1.4.2
linter-jshint, v0.1.7
linter-tidy, v1.0.1
linter-xmllint, v0.0.6
minimap-bookmarks, v0.1.0
minimap-find-and-replace, v4.2.0
minimap-selection, v4.2.0
pdf-view, v0.22.0
script-runner, v1.8.3
steam-pirate-syntax, v0.3.0
steam-pirate-ui, v0.6.1
symbols-tree-view, v0.9.3
tabs-to-spaces, v0.11.0
web-browser, v1.5.0

# Dev
No dev packages

I think this is the same as https://github.com/atom/atom/issues/7488.
Can you confirm that?

Not sure , seems not related .
i think this one is very simple issue.
When a file is already open with atom , then that file is deleted from outside process, atom causes error popup on startup (with that file opened as blank file) .
A simple exception check for file existance can fix that.

In the issue I linked Atom seems to crash when a folder gets deleted from outside Atom.
In your case, I gather, you're just getting this error?

Closing as a duplicate of https://github.com/atom/atom/issues/6210.


Line numbers

Line numbers are back. Also fixed some CSS issues with code styling.

Now showing line numbers for all blocks rendered by CustomEditor by default. Adding logic around it.

TODO: add more lines to the playground

Are you reusing branches? The history on this PR contains a lot of unrelated commits.

Don't add TODOs to existing PRs, move them to a new PR instead.

This is ready to be merged for now. Will create a separate PR for extra lines in playground.

Future reviews moved to #96


Tensorflow developer certificate

Can we refer some resources like stackover flow(for any errors) or our noted material while taking the exam?

@gharshini
This question is better asked on StackOverflow since it is not a bug or feature request. There is also a larger community that reads questions there.

I have seen a similar question in github and it was answered. Can you please answer this


FoldableWithIndex and TraversableWithIndex instances for Cofree

Description of the change
This PR adds Foldable f ⇒ FoldableWithIndex Int (Cofree f) and Traversable f ⇒ TraversableWithIndex (Cofree f) to Data.Comonad.Cofree. Indexing is "depth-based" and start at 0, the same way as it currently is for the respective Functor f ⇒ FunctorWithIndex Int (Cofree f). I tested each function in the REPL, but if necessary I will add some tests too to the PR.

Checklist:

[ ] Added the change to the changelog's "Unreleased" section with a reference to this PR (e.g. "- Made a change (#0000)")
[ ] Linked any existing issues or proposals that this pull request should close
[ ] Updated or added relevant documentation
[ ] Added a test for the contribution (if applicable)

Good stuff! LGTM.

Oops, this didn't have a changelog update so I'll add that.


Solana Payment Processing

Introduced functions for connecting to the Solana cluster and utilized constants for merchant and customer wallet addresses.

huh? i don't see any such changes

please make useful pull requests. so far most of your PRs haven’t been merged. closing this as well.


Add conversion to string and change comparision from > to >=

Maybe i found some mistakes in test for setup part. First problem is that os.listdir and os.isdir need String or Binary, but can not work with LocalPath class (tested on python 3.5.2). So i added string conversion.
Second change is in comparsion of number of modules. In task we need to implement at least 3 modules, so there should be >= 5 comparsion i think (main.py, init.py, and 3 files).
So i think, this should be correct
Thanks

Thanks for fix... good catch!


Clickhouse datasource plugin returns error in Grafana explore page when query with a LowCardinality(Nullable(String)) column

What happened:
It returned an error if a table contains a LowCardinality(Nullable(String)) column.
sql: Scan error on column index 0, name "src_tor_name": unsupported Scan, storing driver.Value type *string into type *string: Could not process SQL results

What you expected to happen:
It should return the data same as clickhouse-client.
How to reproduce it (as minimally and precisely as possible):

Create a table with a LowCardinality(Nullable(String)) column, for example

CREATE TABLE pingmesh.test ON CLUSTER staging
(
    `src_tor_name` LowCardinality(Nullable(String)),
    `loss_count` Int64,
    `unixtime` DateTime('Etc/UTC') CODEC(DoubleDelta)
)
ENGINE = ReplicatedMergeTree('/clickhouse/{installation}/{cluster}/tables/{shard}/pingmesh/test', '{replica}')
PARTITION BY toYYYYMMDD(unixtime)
PRIMARY KEY unixtime
ORDER BY unixtime
SETTINGS index_granularity = 8192

Insert some data

INSERT INTO pingmesh.test (*) VALUES ('test', 0, 0)

Query the data from clickhouse client. It works fine.

> SELECT * FROM "pingmesh"."test" LIMIT 10
SELECT *
FROM pingmesh.test
LIMIT 10

Query id: fd6dea33-12b2-4ae2-aaa4-c2e8601742cf

┌─src_tor_name─┬─loss_count─┬────────────unixtime─┐
│ test         │          0 │ 1970-01-01 00:00:00 │
└──────────────┴────────────┴─────────────────────┘

1 row in set. Elapsed: 0.001 sec.

Put the same query in Grafana Explore with Clickhouse datasource.

Screenshots

Anything else we need to know?:

I was upgrade Grafana recently to the newest 10.4.3. The previous version I used is 10.2.3, which was working fine.
I tested with Nullable(String) or LowCardinality(String) DEFAULT '' columns, the plugin works as expected.

Environment:

Grafana version: 10.4.3
Plugin version: 4.0.7
OS Grafana is installed on: Grafana official docker image
User OS & Browser: macOS 13.5.2, Chrome
Others:

Hi, could anyone help?

Apologies, I thought this was resolved in #805 + #814
If it's still an issue I can try reproducing the error and seeing why the fix isn't working in this case.
At the cost of losing some newer patches, you can downgrade to v4.0.4 and this should be fixed. The change that was made in v4.0.5 may have caused this regression.

Should be fixed and released in the related PR. Let me know if you're still having issues after updating. Thanks!


Unable to load a local module

I tried adding this plugin to work with my Typescript project and it seems to work within the local file but not between files. So showing references works for the file but every import has an error next to it saying it can't load a local module.

I'm not sure where to begin debugging this. Is this an LSP issue? Treesitter? Running :LspInfo says somehow denols started running alongside the default Typescript language server but that wasn't happening earlier this week afaik.

What's the default typesctipt LSP?

If you mean tsserver. That is not a default typescript server (the naming is confusing).
Regarding the issue.

The error is from LSP. As both tsserver and denols is active. You may need to check whether errors are from denols or tsserver.
Both of the LSP servers may require "package.json" or "tsconfig.json" in the root folder. For deno, it may also requires import_map.json
You can disable either of them by setting the filetype = {}
e.g

lsp = {
    tsserver = {
      filetypes = {} -- disable tsserver,
    },
}

And this will give you a better idea which LSP is not setup correctly.  I am using denols and did not see similar error messages.

I can confirm the error messages are from denols
in deno, you need to specify the file extension when you import.
So instead of
import "../my_module"
you need
import "../my_module.ts"
So deno and node project are not compatible.
If your daily projects do not involve denols, I suggest you disable denols by:
lsp = {
denols = {
filetypes = {} -- disable tsserver,
},
}
Or specify a root file for denols, e.g
root_dir = root_pattern("denols.yaml")

I re-enable tsserver. For those who need denols, will need to specify a root_parttern for deno project. Deno and node.js are not compatible so you have to choose only one of them.


Add UNSTARTED to PlayerState

See docs:
https://developers.google.com/youtube/iframe_api_reference

@nikeee thanks mate!


Refactor MS-Teams notification to use AdaptiveCards

⚠⚠⚠ Since we do not accept all types of pull requests and do not want to waste your time. Please be sure that you have read pull request rules:
https://github.com/louislam/uptime-kuma/blob/master/CONTRIBUTING.md#can-i-create-a-pull-request-for-uptime-kuma
Tick the checkbox if you understand [x]:

[x] I have read and understand the pull request rules.

Description
Fixes #4457
Fixes #4464 (likely)
This PR changes the payload of the MS-Teams notification to use AdaptiveCards. The template is based on https://adaptivecards.io/designer. This solves the two issues mentioned in #4457:

The newer AdaptiveCard layout is used instead of the MessageCard.
With the AdaptiveCard, the message is not collapsed anymore.

Type of change
Please delete any options that are not relevant.

Bug fix (non-breaking change which fixes an issue)
New feature (non-breaking change which adds functionality)

Checklist

[x] My code follows the style guidelines of this project
[x] I ran ESLint and other linters for modified files
[x] I have performed a self-review of my own code and tested it
[x] I have commented my code, particularly in hard-to-understand areas (including JSDoc for methods)
[x] My changes generates no new warnings
[ ] My code needed automated testing. I have added them (this is optional task)

Screenshots (if any)
The new layout in the PR looks like this:

Event
before
after

UP

DOWN

Cert-expiry

Testing

Hi @CommanderStorm, did you have time to review my latest changes? Did those resolve all open ideas/issues?

That moment, when you're flooding your Teams with test notifications and achieve to screenshot the exact wrong one 🤦♂
I've created new screenshots (including the mini fix for the test notification). Crossing fingers, now everything works :)

Hi @louislam, would this PR be worth putting into an upcoming 1.23.x release?

We are only backporting bugfixes to 1.23.x, as only those can be shipped in patch releases.
See the (now more hidden) changelog of 1.23.0:

🐻 It should be the last minor version of Uptime Kuma v1. I will focus on the development of v2. Stay tuned!
Update: The last minor version (1.23.x) means that there won't be any new features introduced in v1. However, bug fixes will still be provided. You can expect to see 1.23.1, 1.23.2 and so on.

Hi @lucas-alcantara, unfortunately sending messages to private channels using the PowerAutomate workflow is not supported by Microsoft (maybe because the bot doesn't have access to the private channel). See https://learn.microsoft.com/en-us/power-automate/teams/send-a-message-in-teams#known-issues-and-limitations

Thanks! I could not find that page among the zillions of redundant/deprecated documentation pages Microsoft has. Is it worth mentioning that limitation on uptime kuma's docs as well?

I don't know how popular this PowerAutomate thing is. Since we have a teams and not a power automate provider and this is a PA issue, I don't think this is nessesary to document
We try to bake everything nessesary to set up a notification provider into the UI.
If you want, you can imrove the docs via our contribution guide here:
https://github.com/louislam/uptime-kuma/blob/master/src/components/notifications/Teams.vue

Hi,
as Microsoft decided to deprecate the incoming webhooks next month (2024-08-15 according to https://devblogs.microsoft.com/microsoft365dev/retirement-of-office-365-connectors-within-microsoft-teams/) and the proposed solution (please use Workflows) does not support the MessageCard content type. It would be very helpful to accept this PR to the 1.23.x branch as it now becomes a bugfix...

Using Workflows instead of webhooks also means changing the bits of documentation surrounding that.
If you want to rebase this change, the contribution guide is here


Criteria's icon on the Sorting pool/validator/collator/dApp screen is incorrect

Describe the task
Criteria's icon on the Sorting pool/validator/collator/dApp screen is incorrect
Actual: Show incorrect icon

Expect:

Version test: https://file.cdmteck.com/s/4oimk9zDJ8R5Aai/download?path=%2F&files=./upgrade-ui-pr-1636-build-1.1.1-2023-07-11T12-41-49UTC.zip
Please check:


$router.options.routes are not reactive

Version
3.0.1
Reproduction link
http://example.org/
Steps to reproduce
Declare page title inside a route.meta.
  {
    path: '/device/:id',
    component: Device,
    meta: {
      title: 'Device',
      sidebar: false,
    }
  },

use the page title in template
{{route.meta.title}}
update page title in mounted()
this.$route.meta.title = 'test'
What is expected?
that 'test' is rendered
What is actually happening?
The page title does not change.

Router options are not reactive. This is on purpose. That being said meta shouldn't be used as a reactive source either


Remove unused command

Found this, doesn't seem to be used.
Type of change

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

[ ] I have updated the CHANGELOG
[x] I have requested at least 1 reviewer for this PR
[ ] I have made corresponding changes to the documentation

mohli by sme pridat cli commands autodiscovery do App\Console\Kernel
        $this->load(__DIR__.'/Commands');

@rastislav-chynoransky good idea, done

@rastislav-chynoransky good idea, done

Pardon my Slovak!