[Feature]: New Design for User Profile Page

Is your feature request related to a problem? Please describe.
Objective:
To revamp the current User Profile page with a fresh design that enhances user experience and visual appeal.
Describe the solution you'd like
As discussed with @pranshugupta54 we propose a collaborative effort to brainstorm and implement a new design for the User Profile page. This will involve leveraging Figma to create mockups and sharing ideas to ensure a comprehensive redesign.
Alternatives
No response
Additional Context
Please feel free to provide any additional insights, suggestions, or concerns regarding the new design initiative
Are you interested in contributing?

[X] I'd like to work on this issue

Code of Conduct

[X] I have used the search function to check if an issue already exists
[X] I agree to follow this project's Code of Conduct

Hello can I participate? I have some ideas for the design

Yes,@pranshugupta54 can you assign me and @namnoum for the moment?

Let's first finalise the design together and then divide into separate components

We're redesigning User Page -> https://digitomize.com/u/pranshu54

Can have user page itself to have all the ratings instead of cards.
No more resume
Need to work on github integration too

This Figma design represents the initial prototype for the redesign of the profile page.The profile page prototype now integrates GitHub functionality, consolidates ratings, and removes the resume section .

Your insights and suggestions are highly valued feel free to give any improvements(tag me so I can share the figma link)

We want a more professional and attractive design

I've sent some reference on discord

Noted,thanks for the feedback

can i work on this issue?


Design Chatbot Conversation Flows

Develop a conversational schema and dialogue flow for the chatbot, including common queries and responses.

We modified the commands.py to start the registration or report flow based on the user input. For this case, we just modified the code so that when the user sends "start registration" or "start report", the bot will enter the registration/report flow. The bot will track the state of each user to know which part of the flow they are in. For each part of the flow, there is a function that handles the user´s response and asks the next questions. :

We added a funciton to check if the user wanted to start a report or registration:

These are the funcitons for the chatbot to start asking the questions:

Our idea involves calling the Chatgpt function if a user's response to a question does not meet our criteria (for example, if the question asks for a numeric answer like 'How many cows do you have?' and the response is not numeric), then ChatGPT will engage with the user to resolve their issue.
Once the issue is resolved and the user provides the correct response to the question, we will store this information for inclusion in our report.

We have created a new function to have a conversation flow for the report of the year, continue_report_flow(), we are asking different questions to gain more insight on the farmers report, to be able to store this data and train our recommendation engines on this data. We inspect the input of the user, to check if it is a consistent input. Now the bot is working to start a registration and a report.

Managed to connect chatgpt during the report conversation so that if any doubt arrises, you can ask away. Just type solved when your question was solved, and it will continue asking you the report questions:


LinearOperator methods passing ndarray subclasses through

Currently, some scipy.sparse.linalg.LinearOperator methods do not pass ndarray subclass information before/after calling the _ matvec and _rmatvec methods provided by the user. In some applications, however, the user would like to pass these subclasses through.
Consider the following example.
>>> import numpy as np
>>> from scipy.sparse.linalg import LinearOperator
>>> class C(np.ndarray):
...     pass
...
>>> L = LinearOperator((5, 5), matvec=lambda x: x, rmatvec=lambda y: y)
>>> c = np.arange(5).view(C)
>>> L._matvec(c)
C([0, 1, 2, 3, 4])
>>> L._rmatvec(c)
C([0, 1, 2, 3, 4])
>>>
>>> L@c
array([0, 1, 2, 3, 4])
>>> L.matvec(c)
array([0, 1, 2, 3, 4])
>>> L.rmatvec(c)
array([0, 1, 2, 3, 4])

One possible solution would be to replace the calls to np.asarray by np.asanyarray in the LinearOperator.dot, LinearOperator.matvec and LinearOperator.rmatvec operators when making sure the input and output are instances of np.ndarray. By doing so, the output of the last three commands is
>>> L@c
C([0, 1, 2, 3, 4])
>>> L.matvec(c)
C([0, 1, 2, 3, 4])
>>> L.rmatvec(c)
C([0, 1, 2, 3, 4])

With the current implementation, the user can pass subclasses through by calling directly the _matvec and _rmatvec methods, but the resulting code is less elegant.

Thanks for the report @miguelfp. Hmm, I think LinearOperator wasn't designed with arbitrary ndarray subclasses in mind. However, the matvec docstring says:
         Returns
         -------
         y : {matrix, ndarray}
             A matrix or ndarray with shape (M,) or (M,1) depending
             on the type and shape of the x argument.

so it looks like the behavior is untested and we changed it along the way. Would be good to know when that happened. In general, changing asarray to asanyarray is a backwards incompatible change, because ndarray subclasses aren't guaranteed to have the right behavior plus the returned object changes class. So at the moment it's not clear that we should make this change - would be good to look at the overall consistency between LinearOperator methods.


Python 3.5: setuptools currently broken

Root cause: setuptools==28.8.0 utterly falls apart when namespace packages are involved: https://github.com/pypa/setuptools/issues/870

Original report:
Now sure why but there is something wrong with Python 3.

https://travis-ci.org/GoogleCloudPlatform/google-cloud-python/builds/182873372#L2256
https://github.com/GoogleCloudPlatform/google-cloud-python/pull/2851#issuecomment-266485097

Installing the packages works fine under Python 3.5 though.
python3.5 setup.py install.

@jaraco is chasing this down in https://github.com/pypa/setuptools/issues/870

W00t!  setuptools 31.0.1 gets the tests passing for me on Python 3.5!

Ditto! Closing!


Add isort

Description
isort is an opinionated formatter that sorts imports.
https://github.com/timothycrosley/isort
The following sort cfgs would make it compatible with black:
$ cat .isort.cfg
[settings]
recursive=True
skip=venv
skip_glob=**/migrations/*.py
atomic=True
multi_line_output=3
include_trailing_comma=True
force_grid_wrap=0
use_parentheses=True
line_length=<line_len>

Rationale
We already use black to sort code, but black doesn't sort imports. We isort we can deterministically sort imports and avoid manual maintainance of import order.
Use case(s) / visualization(s)

cookiecutter-django already has some settings for isort.
The isort going to use the editorconfig file
https://github.com/pydanny/cookiecutter-django/blob/master/{{cookiecutter.project_slug}}/.editorconfig
what you can do is make the current setting also compatible with black


Not getting an expected output

Hello, I am using the pyexplainer to explain the data regarding the bug report. following is my input data :

and the feature data is like this:

and for this pyexplainer is giving output like this:

which doesn't seem like an explanation. can you please suggest, am I missing anything?

Hi @ShraddhaDevaiya,
I just tested the current version of the package and found no issues with the front-end components.
There could be a case where the "RuleFit" local model (it is used to generate rules which will be presented in the UI as explanations) used by pyexplainer could not generate rules for your input.
May I ask a few questions
(1) what kind of model did you try to explain?
(2) did you use default parameters when calling the "explain" function?

Hello,
the random forest model you are asking, that only I tried to explain, and the explain function I am using like this :
rules = py_explainer.explain(X_explain=X_explain,
y_explain=y_explain,
search_function='crossoverinterpolation')
Did you ask this?

Hi @ShraddhaDevaiya,
It looks alright to me.
Did you train your own RF model?
What is the approximate size of your training data?

yes, I trained the RF model. and the training data size is only 10 items. so that could be the issue, means very less data to train the model?

Hi @ShraddhaDevaiya ,
Yes, I think that could be the case.
We trained the RF model using around 9k data points in our original experiments.
However, I'm not sure how much data should be to train the model.
You may grab more data and try if it works.
Also, I find that the current version of pyexplainer can be improved,
the UI should tell the user in the case that the rules can't be generated,
otherwise, it would be confusing like what you've just encountered.
Thanks for opening this issue, I'll improve the UI accordingly.

Thanks for helping. Let me check with the more number of training data.

Okay, I'll leave this open for a while then
If you still have any concerns, feel free to comment here.

sure, thanks !

Hello @MichaelFu1998-create , I have tried with 2k data inputs for training, but still it is giving the same kind of output. It is not showing any explanation.


Allow Standard Output and Standard Error Redirection to be Configurable

Provide the ability to configure standard stream redirection via <EnableStdOutRedirection> and <EnableStdErrRedirection>.
Some test programs may not play well with our redirection mechanism so provide the ability to disable it in such cases.

:+1:

@netspiri this branch has merge conflicts please rebase and upload again.

Rebased as requested.


@1aurabrown => Add tests for fixed masonry layout

These are the tests that shows the behaviour that was fixed in #391.

Specifically this commit https://github.com/artsy/eigen/commit/0a62ee9aa6aff81f42c33d44a8cddd228663e77d

niiiice

Awesome.
Personally, I think the threshold should be greater that 50%, but that's a design decision, not an implementation issue.

@1aurabrown Yarr. Be sure to screenshot cases where you feel it can be improved, this was intentionally naive.


Relicense as Apache 2.0

Add LICENSE and NOTICE in the root.

This gets picked up by Github and covers things which aren't
licensed separately (like docs).

Add LICENSE and NOTICE to all Haskell packages.

Cabal doesn't like you referring to a file outside the source root
in license-files, so we need to copy them.
I considered checking these in as symlinks, but those still don't work so
well on some systems.

Change Cabal license field to Apache-2.0.
Remove Cabal copyright field.

There is a copyright notice in NOTICE which this would conflict
with.

@nathankaiser can you check that this looks right?

Just waiting for a sign-off from @mchakravarty .

@michaelpj Fine by me as long as @nathankaiser is happy with it.

ok and green light from my side!


Introduction to Numpy

Introduction to Numpy

Guidance that one needs to learn about NumPy Implementation.

[x] DevIncept Participant

[x] Contributor

Closes: #112
Describe the changes you've made
The main intention of this repo is to educate beginners with all the concepts related to data science so that they could feel confident to apply these things learned in practical exposure.
Type of change
What sort of change have you made:

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[x] Code style update (formatting, local variables)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

How Has This Been Tested?
Helps readers in giving all the guidance that one needs to learn about NumPy. Tutorial to NumPy using Sample codes.
Checklist:

[x] My code follows the guidelines of this project.
[x] I have performed a self-review of my own code.
[x] I have commented my code, particularly whereever it was hard to understand.
[x] I have made corresponding changes to the documentation.
[x] My changes generate no new warnings.
[x] I have added test cases that prove my fix is effective or that my feature works.

Kindly follow the proper PR template provided. @suy1968

Kindly follow the proper PR template provided and also check up with the project structure. Go through the README and GUIDELINES of the project. @suy1968

please check maam

This is not the PR template. And your project doesn't have any files. Check the project structure for the project and PR template for the PR. Don't combine things. @suy1968

This is not the PR template. And your project doesn't have any files. Check the project structure for the project and PR template for the PR. Don't combine things. @suy1968

Okay Mam please check again

No, it needs many files. See the project structure. I don't find any changes here. Kindly push it properly. @suy1968

No, it needs many files. See the project structure. I don't find any changes here. Kindly push it properly. @suy1968

Maam please check this again

Your work is perfect. Just follow the right format. I shall make things easier for you.
Changes to be done :
Instead of Library change the folder name to "Libraries"
The readme file of this project should be as README.md
The project file should be as "introduction_to_numpy.ipynb"
Also in references in README.md, do add more references for beginners to look upto.
Kindly do these changes. @suy1968

Maam please check i am create new PR and i make also changes that you say here maam


Missing information on using enum value types in EF Core docs

I ran into the usage in an aspnet core article here https://docs.microsoft.com/en-us/aspnet/core/security/authorization/secure-data#modify-the-app-to-secure-user-data
There is no documentation in /ef/core regarding the usage of enum. A small article under /ef/core/modeling/ would be great. Simply going over the fact that you can do this and how would suffice -- why you would do it (instead of using another DB table) might be out of scope, but would be nice to have.
Everything else is great, EF core is awesome!

an example on how to use enumeration classes with EF Core is great.

I'd like to give it a try 😄


Typo Update transaction-lifecycle.mdx

Description:
This PR fixes a typo where "Dencun" was mistakenly used instead of "Deneb". The "Deneb" upgrade is the correct term in the context of Ethereum's roadmap, following the Shanghai upgrade.
Why this is important:
Using the incorrect term "Dencun" could cause confusion, as "Deneb" is the official upgrade name that follows the Shanghai upgrade in Ethereum's planned updates. Ensuring the use of the correct terminology maintains accuracy in technical documentation and helps users stay aligned with the latest Ethereum developments.

Thanks @famouswizard, I believe you're technically correct but I don't think this change is necessary. Using "Dencun" as an amalgamation of Deneb and Cancun was/is in common parlance and was used across Linea channels at the time of the upgrade:

https://linea.mirror.xyz/dZZ2s9cj_9a30rQWldEfPTihKAT6OJk_ypNy8cTstVs
https://x.com/LineaBuild/status/1768701327499043122

I don't think the change aids comprehension here.


Add CodeQL security scanning

Hi, I'm a PM on the GitHub security team. This repository is eligible to try the new GitHub Advanced Security code scanning beta.
Code scanning runs a static analysis tool called CodeQL which scans your code at build time to find any potential security issues. We've tuned the set of queries to be only the most severe, most precise issues. We'll show alerts in the security tab, and we'll show alerts for any net new vulnerabilities on pull requests as well. We've tried to make this super developer friendly, but we'd love your feedback as we work through the beta.
If you're interested in trying it out, you can merge this pull request to set up the Actions workflow. You can also get this set up yourself in any additional repositories in this organization by following these instructions

The CodeQL build isn't working for this project right now, so I'm looping back with the team to sort out what's happening. Closing this for now.

This repo has a lot of bad JS/TS as a part of its compiler testing suite, you could probably start by scoping it to only handling code inside the src folder

Thanks @orta. Our parser was definitely barfing on one of the stress testing files, so I've excluded the test assets. The build works properly now.

@jhutchings1 @andrewbranch noticed that this behaves badly with PRs that were opened before it was added:

do you know why the CodeQL scanner thing is going out of its way to check out the source branch head instead of the merge commit of the PR? It means every PR that was opened before it was added is failing that check, unless we manually merge/rebase with master. I guess this problem will eventually go away, but not testing the merge commit on PR checks seems like an antipattern.

@sandersn Thanks for your feedback here! It's true that we're currently requiring that there's an analysis on the head of the PR branch, plus one on the head of the base branch so we can show PR annotations. We don't post annotations on PRs when there's not an analysis on the head of the base branch because we can't baseline the source of the alert to say for sure if it's net new in the developer's PR. We want to make sure that a contributor doesn't get blocked for debt issues that are already in the repo before they made their changes. Hope that makes sense.
We're looking at shifting to the merge commit in the future, although this will require a workflow update. cc: @rneatherway


Getting this error (and I downloaded and reinstalled again) and am still getting this error

Message:WindSeeker.WindSeeker] Loaded Game VFX and SFX
[Error  :Jotunn.EventExtensions] System.MissingFieldException: Field 'StaticTarget.m_center' not found.
at Jotunn.EventExtensions.SafeInvoke (System.Action events) [0x00018] in <87f5edfa58dd4ccba75b4848c29c2905>:0

Hey, not sure if you've solved this or not, but this seems to be an issue with Jotunn, not JotunnLib (Naming is a bit confusing, I know :P). Please try reposting this issue on the Jotunn issues page instead. Also if possible, please include some more info about how/when the issue is happening, and what mods you have installed!


Dev ux

Massively simplified the configuration into one file.
Extracted scripts into tomte.
Still to do:
-> port to autonomy: @angrybayblade suggest you port this for 0.10.5 still.
check_doc_ipfs_hashes
check_packages
-> port to tomte: @jmoreira-valory
spell-check
-> py.typed marker for all plugins needed @angrybayblade simply add them to all plugins in the next release cycle
-> We could remove package deps from Pipfile & tox.ini and have them auto-installed: a plugin could be created that simply loops over the deps in packages and dynamically sets those as it's own dependencies. Then the dev will not have to manually do this. They can always manually do it if they want to. @angrybayblade
-> We can eventually create a default tox.ini which exists at tomte level and would simplify things even further
The aim is to have no scripts folder and at most one config file per repo. I would also like to get rid of the Makefile eventually.

Codecov Report
Patch and project coverage have no change.

Comparison is base (7fd4f3b) 88.51% compared to head (46273cd) 88.51%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #211   +/-   ##
=======================================
  Coverage   88.51%   88.51%
=======================================
  Files          68       68
  Lines        5024     5024
=======================================
  Hits         4447     4447
  Misses        577      577

Flag
Coverage Δ

unittests
88.51% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Support for .jsonc parameter files

Is your feature request related to a problem? Please describe.
The documentation at https://learn.microsoft.com/en-us/azure/azure-resource-manager/bicep/parameter-files#file-name says .json file is supported as a TemplateParameterFile. I tested the deployment with a .jsonc file ( New-AzSubscriptionDeployment -Name "deployment1" -Location "southafricanorth" -TemplateFile ".\main.bicep" -TemplateParameterFile ".\parameters\dev.params.jsonc")and can confirm that the deployment is working fine. Will the documentation be updated to reflect this supported file type? Does Bicep natively support .jsonc files for parameters?
Describe the solution you'd like
The documentation getting updated to provide more information.

I just checked to confirm this also works with az CLI and it does, so it makes sense to update the docs.
FWIW, you may also be interested in the upcoming .bicepparam file extension which will have a more bicep-like syntax for expressing parameter values:
#9567

@Lddeiva one comment on this, you can map json files to jsonc.

this way you can have a json file ext that allows comments and also works as a parameter file.

e.g. in vscode
    "files.associations": {
        "*.json": "jsonc",
        "*.jsonc": "jsonc",
        "*.yml": "yaml"
    }


wordy: extract common setup

In the wordy exercise, every test method duplicates the construction of the instance of WordProblemSolver.
Please extract the construction into a setUp() method and use the instance data member instead.

Hi! Can you assign me for this one?

You can just start working on it if you like :) As long as you've commented on here other people should know not to start working on it as well :)

Agreed with @FridaTveit.  Also: https://github.com/exercism/xjava/issues/343#issuecomment-287791015.

Fixed in PR #387 :)


ImportError

ImportError                               Traceback (most recent call last)
 in
----> 1 from rapidfuzz import process
C:\Program Files\Anaconda3\envs\proj\lib\site-packages\rapidfuzz_init_.py in
2 rapid string matching library
3 """
----> 4 from rapidfuzz import process, fuzz, levenshtein, utils
C:\Program Files\Anaconda3\envs\proj\lib\site-packages\rapidfuzz\process.py in
3 # Copyright © 2011 Adam Cohen
4
----> 5 from rapidfuzz import fuzz, utils
6 from typing import Iterable, List, Tuple, Optional, Union, Callable, Generator
7 import heapq
ImportError: DLL load failed: The specified module could not be found.
I'm currently getting the above ImportError when import the package in Python. Is it because the modules are supposed to be from fuzzywuzzy or another source?

Issue resolved by using conda-forge install instead.

The issue is probably that the C++ redistributable is not installed, that is required to find c++ library.
This is now part of the installation description in the docs https://maxbachmann.github.io/rapidfuzz/installation/


Cannot move cursor left/right in Search field

When inputting a query in the search field (which is rather short), it is not possible to scroll left or right through your input using your arrow keys.
I tested this in Safari. In Google Chrome searching works.

Also, searching logs me out of the program, prompting the login screen.

I took the page refresh issue to a separate ticket and fixed it. Please report each issue in a separate ticket next time.
I'm still looking into the arrow key issue.

Technical note: the issue is caused by the fact that the form node receives focus when the search input is active. When an arrow key is pressed, focus is shifted to the other elements of the toolbar, thus preventing further editing of the search input. I don't know how to prevent this behaviour, yet.

This might be a solution: https://bugs.dojotoolkit.org/ticket/16266, see comment by musicdemo. If we go this way we should implement this for the date selectors as well.

Yes, that looks like it should work. I'm going to try that later. Thanks for the tip.
FWIW, I'm amazed that the Dojo developers insist on going against all conventions by using the arrow keys for something that the tab key is normally used for.


[TACHYON-1150] Extract LineageWorker out from BlockWorker

https://tachyon.atlassian.net/browse/TACHYON-1150

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/Tachyon-Pull-Request-Builder/6382/
Test FAILed.

jenkins, test this please

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/Tachyon-Pull-Request-Builder/6387/Failed Tests: 6org.tachyonproject:tachyon-servers: 6tachyon.master.journal.JsonJournalFormatterTest.entriesJsonTesttachyon.master.journal.JsonJournalFormatterTest.entriesJsonTesttachyon.master.journal.JsonJournalFormatterTest.entriesTesttachyon.master.journal.JsonJournalFormatterTest.entriesTesttachyon.master.journal.JsonJournalFormatterTest.checkEntriesNumberTesttachyon.master.journal.JsonJournalFormatterTest.checkEntriesNumberTest
Test FAILed.

jenkins, test this please

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/Tachyon-Pull-Request-Builder/6391/
Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/Tachyon-Pull-Request-Builder/6524/
Test PASSed.

@miasantreble , please resolve the conflicts. Also, have you tried to enable lineage and see if the workers can start properly?

@yupeng9 conflicts resolved, is there any lineage related tests or examples that I can easily run to verify it's working? Or do I need to write a java program using lineage API?

Thanks @miasantreble. Unfortunately there are no lineage examples yet. But you can do the following to test:

Enable lineage by turning on tachyon.user.lineage.enabled in configuration file
Create a lineage with shell command, bin/tachyon tfs createLineage INPUT_FILE_LIST OUTPUT_FILE_LIST CMD, where CMD is the job you want to associate with the lineage. You can use a tachyon shell program as a simplest job. For example,

bin/tachyon tfs createLineage noInput /test bin/tachyon tfs copyFromLocal README.md /test

Run the job itself

bin/tachyon tfs copyFromLocal README.md /test

Then you can see the lineage status with

bin/tachyon tfs listLineages

Hope this helps

@yupeng9 Thanks a lot for the detailed instructions! Here are the results:

oldnine@osboxes:~/git/tachyon$ bin/tachyon tfs createLineage noInput /test bin/tachyon tfs copyFromLocal README.md /test
Lineage 0 has been created.
oldnine@osboxes:~/git/tachyon$ bin/tachyon tfs copyFromLocal README.md /test
Copied README.md to /test
oldnine@osboxes:~/git/tachyon$ bin/tachyon tfs listLineages
LineageInfo(id:0, inputFiles:[], outputFiles:[LineageFileInfo(id:352321535, state:COMPLETED, underFilePath:null)], job:CommandLineJobInfo(command:bin/tachyon tfs copyFromLocal README.md /test , conf:JobConfInfo(outputFile:/home/oldnine/git/tachyon/logs/recompute.log)), creationTimeMs:1447134536064, parents:[], children:[])

Thanks @miasantreble , it looks correct. As the last step, could you also verify the files are persisted after a while?
You can run bin/tachyon tfs listLineages to see if the file status is changed to PERSISTED. The checkpoint is currently scheduled to run every 10mins, at tachyon.master.lineage.checkpoint.interval.ms=600000 in configuration file. You can change it to shorter for testing.

@yupeng9
it worked, thanks for the help!

LineageInfo(id:0, inputFiles:[], outputFiles:[LineageFileInfo(id:352321535, state:PERSISTED, underFilePath:null)], job:CommandLineJobInfo(command:bin/tachyon tfs copyFromLocal README.md /test , conf:JobConfInfo(outputFile:/home/oldnine/git/tachyon/logs/recompute.log)), creationTimeMs:1447141457530, parents:[], children:[])

Great! LGTM

@yupeng9 do you think this PR can be merged? Do you have any other comments? Thanks!

@miasantreble , the PR looks good to me. But I'd like to have @apc999 to also take a look, since the changes touch BlockWorker.

@yupeng9 sounds good, thanks!

+1 LGTM


TLS: SSL_ERROR_RX_RECORD_TOO_LONG

I can't seem to get HTTPS to work.
I have tried to do it with and without generating new certs.
when I try to visit it with https I get SSL_ERROR_RX_RECORD_TOO_LONG
Help??

when I try to visit it with https

What is "it"?
If you're referring to Kibana, only the communications from Kibana to Elasticsearch are secured. Kibana itself doesn't expose a HTTPS endpoint.
To do that, we would have to include a sample TLS certificate for Kibana in this project, and users would have to manually add it to their web browsers in order for it to be considered as trusted. Without this extra step, the browser would throw a warning which would confuse a lot of people.
You can use a service such as Letsencrypt to generate a free and trusted TLS certificate, then use that certificate in Kibana as described at https://www.elastic.co/guide/en/elasticsearch/reference/7.16/security-basic-setup-https.html#encrypt-kibana-browser

Oh... yes you're right.
Thank you for your help.

For posterity, there is now a new section inside tls/README.md which explains how to enable TLS in the Kibana server (between web browsers and Kibana), as well as a sample certificate and key which Kibana is pre-configured to use when TLS is enabled.


PowerToys Run web search shows "Something went wrong"

Microsoft PowerToys version
0.58.0
Running as admin

[X] Yes

Area(s) with issue?
PowerToys Run
Steps to reproduce

Open powertoys run by alt+space
Type the search query and press Enter to search on web
Report log: 2022-05-12.txt

✔ Expected Behavior
It should open the web search in default browser (mine is Google Chrome).
❌ Actual Behavior
Instead it tries to open in MS edge.

When I press Enter, it shows error like this:

Other Software
No response

@lncubus , please take a look.

EDIT: problem solved after reboot


Fix grammar errors as reported by lint.sh and vale

When running scripts/lint.sh the vale grammar checker complains that "e.g." and "i.e." should be followed by a comma. This is probably a good idea. I have gone ahead and applied these changes to fix the reported grammar errors.

Thanks! I'm all in for improving the consistency of the docs so this definitely helps. Some of the files you touched (e.g., the API reference) are auto-generated so we'll need to change that code in mainline DuckDB to make the changes in the documentation stick.


Small arrow by RAN when viewing a RUP should direct back to work queue

...currently seems to behave like browser back arrow.

@mccullochk Can you please add a size label to this one using:
XS: before next break
Small: more than XS but doable in a day
Medium: more than a day but not all week
Large: about a week worth of work
Thanks.


SQL

From a look at it - there aren't any Postgres specific SQL commands on there - is it just mentioned as a requirement as it's your SQL server of choice - or am I missing something?

I think you're right, it would probably work with others. At one point when I was prototyping I had some Postgres specific stuff in there, and I just never tested others and so didn't want to make any false claims


dotnet \sdk\6.0.201 upgrade assistant error

Problem encountered on https://dotnet.microsoft.com/en-us/platform/upgrade-assistant/tutorial/install-sdk
Operating System: windows
Provide details about the problem you're experiencing. Include your operating system version, exact error message, code sample, and anything else that is relevant

.
Kurt Gunther<EMAIL_ADDRESS>951-323-2820

@KDGunther looks like you might be seeing issues due to some private nuget feeds in your NuGet.Config, could you run the command with --ignore-failed-sources and see if it helps?

This should also be solved by our new instructions which explicitly add the nuget source where the tool is distributed to the cmd line for installation.


Inherit isolation in #expect(exitsWith:).

This PR ensures the body of the implementation of #expect(exitsWith:) inherits isolation from the caller. The actual body closure passed to the macro cannot inherit isolation as it runs in a separate process, but the glue code we emit needs to inherit so that if the caller is actor-isolated, the code compiles cleanly. Without this change, the following test fails to compile:
@MainActor @Test func f() async {
  await #expect(exitsWith: .failure) { /* ... */ }
  // 🛑 ^ ^ ^ sending main actor-isolated value of type '() -> [Comment]' with later accesses to nonisolated context risks causing data races
}

Checklist:

[x] Code and documentation should follow the style of the Style Guide.
[ ] If public symbols are renamed or modified, DocC references should be updated.

@swift-ci test


fix(taskrun): block taskrun spec updates once the taskrun has started

Typically, the spec field of a TaskRun resource is not allowed to be updated after creation, such as the timeout configuration.
Only a few fields, such as status statusMessage, are allowed to be updated.
Since the debug attribute affects the properties of containers within the pod, modifications are not permitted during runtime.
Changes

Submitter Checklist
As the author of this PR, please check off the items in this checklist:

[x] Has Docs if any changes are user facing, including updates to minimum requirements e.g. Kubernetes version bumps
[x] Has Tests included if any functionality added or changed
[x] pre-commit Passed
[x] Follows the commit message standard
[x] Meets the Tekton contributor standards (including functionality, content, code)
[x] Has a kind label. You can add one by adding a comment on this PR that contains /kind <type>. Valid types are bug, cleanup, design, documentation, feature, flake, misc, question, tep
[x] Release notes block below has been updated with any user facing changes (API changes, bug fixes, changes requiring upgrade notices or deprecation warnings). See some examples of good release notes.
[ ] Release notes contains the string "action required" if the change requires additional action from users switching to the new release

Release Notes
Fix: Once a TaskRun is created, most of the fields in the spec is not allowed to be updated; only status and statusMessage can be updated.

/kind bug

/ok-to-test

/lgtm


Feature Request: Restart Jobs

Sometime job(s) get errors and get stopped. It will be nice to have a restart job(s) functions. Also with multiple jobs can be restarted.

I agree! ;-)

If the error caused by rclone retry quota, you can increase the retry count and delay time between retry in rclone setting. I not sure which error type in the GUI that you need restart feature. Most of the error happened in rclone and you can tune parameter to fix your issue.
If the error happened in the GUI, it's a bug and restarts a job won't fix anything.


randfile.c: fix a Coverity warning

Fixes the following Coverity warning:
*** CID 1440766:  Integer handling issues  (CONSTANT_EXPRESSION_RESULT)
/crypto/rand/randfile.c: 113 in RAND_load_file()
107             fclose(in);
108             return -1;
109         }
110
111         if (bytes < 0) {
112             if (S_ISREG(sb.st_mode))
>>>     CID 1440766:  Integer handling issues  (CONSTANT_EXPRESSION_RESULT)
>>>     "sb.st_size <=<PHONE_NUMBER>854775807L" is always true regardless of the values of its operands. This occurs as the logical first operand of "?:".
113                 bytes = (sb.st_size <= LONG_MAX) ? sb.st_size : LONG_MAX;
114             else
115                 bytes = RAND_DRBG_STRENGTH;
116         }
117     #endif
118         /*

Merged to master and 1.1.1.


Make a version of Wish.parallel that takes an integer to limit concurrent actions

We now have Wish.parallelN and a partially applied Wish.parallel
Closing this


Allow plain 'array' dtype #4

This PR bypasses pool.malloc if the dtype is array and returns simply new Array(sz). Some modules require (optional) allocation of output. This makes it consistent and less surprising to allocate storage of the same dtype without extra gymnastics.

Rejection of this PR is fine, but then we should document the expectation that, in general, the dtype of the return value of scijs modules that return newly-allocated results may not match the dtype of the input.

Hmm..  There is no way to do pooled allocation for generic ndarrays.  However, I think it should be ok to do something like allocating a regular array using new Array(size) for both generic and array dtypes. free on a generic array could be a no-op.

Yeah. That makes sense. The use case is mainly avoiding an awkward if statement when generating an array identity matrix vs a typed array identity, for example. Maybe that should be a separate module, but this seems fairly harmless and somewhat simpler.


Fix incomplete sentence

Fixes #285

@jwmsft : PR passed the acceptance checklist. Please evaluate further and approve/merge if appropriate. Thanks!


Query epitope databases

In GitLab by @grst on Apr 2, 2020, 14:45
null

A nice model available via immunarch: https://immunarch.com/articles/web_only/v11_db.html

Hello @grst!
Besides the three databases listed in the link above (VDJDB, McPAS-TCR, PIRD), other possible resources are:

IEDB
The MAIT reference database with invariant CDR3
The Adaptive Biotechnology database, used to identify (and exclude) public clonotypes shared between unrelated individuals (Dean et al., 2015)

Nice feature idea- could sequence alignment be combined with HLA typing info to improve the predictions?
If HLA type is unknown, could be inferred from scTCR/RNA-seq data potentially (although non-trivial)

Hi Chris,
do you have any specific method in mind that predict antigen specificity based on TCR-sequence and HLA-type?
Also pinging @abyssum, who is one of our (neo-)antigen experts.

Hi @chris-rands,
Thanks for the suggestion!
We plan to link our tool to public databases to provide information on the cognate antigen, whenever this info is available.
But considering predictive methods could be a further extension. Any suggestions in this direction?
And yes, HLA-type information predicted from single-cell data (e.g. with scHLAcount) would be definitely helpful in this case.
Thanks,
Francesca

Hi both, rather naively, I was thinking only report/flag alignment matches where the query and target TCR sequence have the same HLA type info to remove/label false positive predictions?
For the query, HLA type info prediction by scHLAcount looks interesting or a tool like arcasHLA for pseudo-bulk style- of course assumes there is (sc)RNA-seq data from the samples

Another new resource:
https://academic.oup.com/nar/advance-article/doi/10.1093/nar/gkab857/6381136?rss=1

This is now available in v0.10.0. Matching HLA-types (if available) is possible with the match_columns argument of ir_query.

Thanks! I will test it

It worked well for me, thanks again


What are the return codes?

Checklist

[x] I'm asking a question
[x] I've looked through the README and FAQ for similar questions
[x] I've searched the bugtracker for similar questions including closed ones

Question

What are the return codes? I'm scripting the program and wanted to handle post processing events based on error codes output from the program. (I.e. Put url link in a exception file if failed,warning etc.)
This link is blocked: https://github.com/ytdl-org/youtube-dl/issues/21498

That page is still archived in Google Cache but I just took a screen capture in case it gets removed.
@dstftw says:

There are no specific return codes. You should not treat return code in any special way apart from standard meaning of 0 and non-0 values. There is actually one success non-0 code currently exist (that violates non-0 semantics) but it's likely to be removed in future.

Thanks.
Seems if the download doesn’t complete, for whatever reason I’m getting a return code of 1.
It would be nice if it returned codes for:
Warning
Error
Video not found
Blocked
Need login.
It would save some processing if it would be more specific for the failure on exit.
In the mean time I’m going to file monitor and scrape/pattern match/trigger/tag the log file in another sub process then tag urls with the error specific to the video I’m downloading for now.
-Hector

On Nov 8, 2020, at 12:51 AM, Fasted Coyote<EMAIL_ADDRESS>wrote:

That page is still archived in Google Cache but I just took a screen capture in case it gets removed.
@dstftw says:
There are no specific return codes. You should not treat return code in any special way apart from standard meaning of 0 and non-0 values. There is actually one success non-0 code currently exist (that violates non-0 semantics) but it's likely to be removed in future.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.


network: define and implement a standard for rpc's internal to sui

This is done as we've standardized on grpc for internal communication.


Pass TFD_NONBLOCK to timerfd_create to avoid later fcntl

TFD_NONBLOCK specifically exists for this purpose, so use it. This fixes #4615 - it turns out that the later call to fcntl fails because of how our epoll is implemented.

@freerdp-bot test

@freerdp-bot can you test correctly this time ?

@freerdp-bot test


checkbox JS styling doesnt apply when in modal (ajax)

Is there a JS function to call after a modal load, when there are some Material-kit-styled Checkboxes?
I'm opening a modal which content is loaded by Ajax... and the styles which are usually applied by JS on dom ready aren't applied when the content (ajax loaded) is in a modal.

Closed - saw in another issue that we just have to add another library before Material: Arrive.js


Passing options to CLIEngine constructor, and add the ability to emit errors

Wrapped in getLinter method to define eslint options, and emitError. If emitError is true, an error will be emitted to the browserify pipeline

So you want to add the ability to break the build if errors are encountered?

I want to notify the pipe about errors. It can stop the build if needed, or it can be used (as I'm using it) to display notifications about the build status.

Thanks for your contribution! A version of this has been included in the 1.0.0 release.
Happy holidays!


Provide sample python function

Description
Changes proposed in this pull request:

Provide a python example function with useful code samples

/test all


fix:TRG 4.02 Using un-altered container base image

Description
fixes https://github.com/eclipse-tractusx/sldt-semantic-hub/issues/191 - Removed the docker apk upgrade and update commands.

Hi @shijinrajbosch,
change looks good. Could you please resolve the merge conflicts, so we can merge it?
Also small tip. If you add "fixes #191" to your PR description, the #191 issue will automatically be closed when merging this PR

Hi @shijinrajbosch,
change looks good. Could you please resolve the merge conflicts, so we can merge it? Also small tip. If you add "fixes #191" to your PR description, the #191 issue will automatically be closed when merging this PR

Hi @SebastianBezold ,
Many thanks for the input.
I have resolved the merge conflicts and updated the PR description.


Speedup builds by using hosts squid-deb-proxy if available

I was able to speed up my builds a lot by modifying the cedarish Dockerfile as follows:
FROM ubuntu-debootstrap:14.04

# Derived from https://github.com/heroku/stack-images/blob/master/Dockerfile

RUN echo 'deb http://archive.ubuntu.com/ubuntu trusty main' >/etc/apt/sources.list &&\
    echo 'deb http://archive.ubuntu.com/ubuntu trusty-security main' >>/etc/apt/sources.list &&\
    echo 'deb http://archive.ubuntu.com/ubuntu trusty-updates main' >>/etc/apt/sources.list &&\
    echo 'deb http://archive.ubuntu.com/ubuntu trusty universe' >>/etc/apt/sources.list &&\
    # try to use hosts deb cache
    echo 'Acquire { Retries "0"; HTTP { Proxy "http://<IP_ADDRESS>:8000"; }; };' > /etc/apt/apt.conf.d/10_docker_hostproxy &&\
...

I will try to find the time to see that it doesn't break anything if the flynn VM is not running squid-deb-proxy.

docker images -q | xargs docker rmi -f; make clean && make
The cache will serve 165mb of data for apt, which for me saves at least 10 minutes of downloading time and ever more building time, since cedarish builds faster and remaining tasks are not blocked by it for as long.

@rikur can we not rely on the Docker build cache?

@lmars: this will cache the .deb and .pkg.gz files and speed up the initial build as well, mostly thanks to caching the sources for apt-get update (and that many Docker images are built in parallel). Docker cache wasn't being utilized due to Dockerfiles being very different, part of this PR would fix that.
Considering that most development is meant(?) to be done on the Vagrant image, another option would be to bake in the Docker build caches (and repos for buildpacks).
My change doesn't brake anything though, it simply tries to use a squid proxy - if available - on the Docker host. It doesn't break even if there is no cache available.
I will finish this up, but if you feel it's too hackish then don't apply it :)

@rikur if it helps your use case then I have no issue with it, just wanted to understand the reasoning, happy to see it merged!

Flynn is unmaintained and our infrastructure will shut down on June 1, 2021. See the README for details.


Fix test case in ud60x18 powu

One test case for the unsigned pow function checks for the biggest number whose cube fits within MAX_SD59x18:
https://github.com/hifi-finance/prb-math/blob/d625afda3ffdc61f4dac89a7a0019be479b189fe/test/unit/prbMathUd60x18/pure/pow.ts#L70
It should check for the biggest number whose cube fits within MAX_UD60x18.

Fixed in 8dccd9b.


refactor: migrate component signatures to use array for multiple items

Summary
Modify signatures for calling regex components:
// Can pass single component as argument
capture('a')

// Multiple components need to be passed as array
capture(['a', 'b'])

This is motivated primarily by choiceOf component which should accept a number of different patterns:
choiceOf('a', 'b', 'c'); // "a|b|c"
choiceOf([oneOrMore('a'), 'b'], [oneOrMore('x'), 'y']); // "a+b|x+y"

Test plan

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

Comparison is base (e23d0d6) 100.00% compared to head (60fe0b3) 100.00%.

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #31   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            9         9
  Lines          142       144    +2
  Branches        36        37    +1
=========================================
+ Hits           142       144    +2

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


The plugin causes locks and makes VS 2013 unusable

According to the stacktraces, ExternalChangeProcessor wants write locks but cannot obtain it because of the Daemon working.
To be more specific, AgenRalph plugin is not interruptible.
This is what i got from Resharper support . Is there a fix available for this ?

Sorry, there is no fix.  Unfortunately I haven't been putting a lot of time into this project lately.


Close #15: queryset follow reference

As of this PR, the document inheriting mongoengine_goodjson.Document, can now follow reference from QuerySet.

Coverage remained the same at 100.0% when pulling 6611395ab9fee1ba895ed08e484697a37fe158ab on 15_queryset_follow_reference into c51b2d9355e46aa9df639d2172674f24af661c1b on master.


Update aspect ratio

The super-wide charts make comparison across levels difficult.

Maybe we can close this one if the min/max width setting resolves it.  #18

Setting max-width in the v0.9.0 did the job.


[BUG]

Went to do a dump and got this

Initially the screen was blank so I rebooted the Media device then got the above

You probably had an other script still running.

Hi, i have the same error.
How can I fix it?
Thanks!


Mobile device inline widget text field loses focus

Hi there,
Basically I created an inline widget using markText function like this.
The inline widget has a text field that allows user to type something in it:

You can probably try it online here.
It works fine on desktop browser when I type something in the text field. But on mobile device browsers, like iOS Safari, when I type something, the codemirror editor will take the focus. For example, if I type s in the text field, that s appears on the first line of the editor instead of the text field.

Any suggestions?
Thanks a lot ;)

Found the solution. Adding inputStyle: "textarea" helps. Thank you ;)

Actually if I set inputStyle: "textarea" then the paste would stop working in mobile devices...

A lot of things will stop working on mobile when you force inputStyle to textarea, so don't do that.


2221: make preorder_information a school internal artifact. Do not ex…

…pose it
Context
PreorderInformation is a week entity that fully depends on a School. This idea is supported on:

It is implemented as a single association to a School.
PreoderInfomation class code is really entangled with School code with loads of calls back and forth.
The system code is full of calls like school.preorder_information.any_message all over the place.
This is also a violation of the Law of Demeter design principle that rapidly increases the number of dependencies makes the system very difficult to extend/maintain.

Changes proposed in this pull request
I believe we don´t need a PreorderInformation entity in the system. Actually all of his methods/attributes can be considered part of a School instead. As a separate entity we need to deal with loads of situations where it exists already or not and/or create/build it which I think don´t model properly the business domain.
Entirely removing it from the system is risky at this point, so as a first step, I have tried to hide it as much as possible to the rest of the system by accessing it only via the parent school entity. That would make it act as an internal artifact chosen by design to implement part of a School behaviour, not accessible externally.
Similarly, SchoolDeviceAllocation entities show the same issues as PreorderInformation. The code is accessing them mostly from the associated school entity. We would need to work much more on it in future PRs. In this one, I have just defined a few public methods in School public interface to access laptop allocation, cap and devices_ordered via the school therefore removing direct access associated SchoolDeviceAllocations again violating Law of Demeter.
Guidance to review

Calls school.preorder_information.any_message replaced with equivalents messaging school directly.
Several delegations to preorder_information defined inside School as a way to expose publicly its behaviour from School and hide it from PreorderInformation entities.
New public interface to access laptop allocation/cap/devices ordered from School instead of device_allocation associations.
See 2221
There is a lot more work to do to keep improving our code and design when it comes to schools preorder information, device allocations, etc... This PR is huge enough as to leave it for future attempts.

 Refactor SchoolDeviceAllocation methods for cap, allocation and devices_ordered


Make safetyParam unsigned

Need to regen the route before merging

Can't regenerate segment until https://github.com/commaai/openpilot/issues/23666 is fixed.


Add Tooltip For Real Values on Percentage Used Graphs

Environment

Python version: 3.8.5
Nautobot version: 1.0.0b1

Proposed Functionality
Would like to implement the feature for when there is a utilization graph to include a tooltip that will provide the real values that create the utilization percentage.

Use Case
This is helpful when dealing with smaller increments being able to see the real data without having to calculate it.

Database Changes
None

External Dependencies
None

This can be assigned to me


Set Night Mode RGB value

Currently upgrading from the circadian_lighting setup. With that one, I have a automation scene external to the integration at sun-down that sets all color lights to red and then hands off brightness control only to the circadian service.
Would love for something like that to be integrated here, seems that the base is already there to support it. I think these items would greatly extend use cases:

[x] Sleep mode scheduling / sun event offset
[ ] Allow RGB pinning to a single color or an RGB target to transition to during the time period covered by the above

Hey @sovanyio,
can you create for your list of possible features individual tickets? I feel like they are worth tracking on their own. :)

As I was going to do that, I re-reviewed the current state and it looks like the first item has already been taken care of. Still want me to create a second ticket for the remaining item of the manual sleep setting, I think we can track here?
I'd revise my list to this single item for this issue:

[ ] Allow for sleep color override, rgb/xy/temp

I see from #150 the note that the transition isn't straightforward if the color type isn't the same (temp vs rgb, for example). For my usages, I think it would be ok to abruptly change or otherwise rely on a bulb's built-in transitional capabilities.
Otherwise, I'm not sure how accurate it is, but there does seem to be an approximation for temperature <-> rgb: https://andi-siess.de/rgb-to-color-temperature/ Maybe a similar relationship is defined already for xy as well and can be used to get close-enough and then pop to the set color?

I'm currently in the process of doing version 2. This will be added/fixed.
Keep this ticket open until you can verify that it's properly working in the upcoming version 2.

Who's excited?!

See https://github.com/basnijholt/adaptive-lighting/pull/329

I have just released 1.1.0 where you can set the sleep color using RGB.
This issue can finally be closed! :tada

Who's excited?!

See #329

I'm running v1.2.1 but can't see this color picker option. I'd love to use this feature ! =)

There was this problem https://github.com/home-assistant/frontend/issues/14314#issuecomment-1305402907 that was supposed to be fixed.


Knowledge sharing session on Zug

Transferred some knowledge about how the Zug protocol works and how it is coded during 4 sessions in the Feb 28 - Mar 14 sprint.
No sessions in the Mar 14 - Mar 28 sprint due to other tasks having higher priority.


Fix Hibernate 5.2.0 incompatibilities

getClassMetadata(Class) throws an exception since Hibernate 5.2. My PR catches just this exception and handles it like null values before.
I increased all dependency versions. Spring needs to be 4.3+ for Hibernate 5.2 support . ClassMetadata is deprecated now and will be replaced by the Metamodel. So sooner or later hibernate-hydrate needs to be reworked.
May hibernate-hydrate have the same major and minor version in the future like the hibernate it is compatible to? This would make it easier to find the correct hibernate-hydrate for a hibernate release.

I've accepted your pull request. Changing versionning is a good idea.
Since 6 months you are the main contributor of the project. Thus I've invited you as a collaborator.
Are you interested to work on the Metamodel migration?

Thanks for merging my PR and for the invite. I don't know, if I have the
time to do that refactoring. It seems not to be that simple, but I will try.
2016-06-16 18:28 GMT+02:00 Antoine Rey<EMAIL_ADDRESS>
I've accepted your pull request. Changing versionning is a good idea.
Since 6 months you are the main contributor of the project. Thus I've
invited you as a collaborator.
Are you interested to work on the Metamodel migration?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/arey/hibernate-hydrate/pull/16#issuecomment-226539109,
or mute the thread
https://github.com/notifications/unsubscribe/AHqZIauPbLr1Ago3BAmrO0oUU7fPavTpks5qMXmbgaJpZM4I3UhV
.


Multiple foreign keys to same table

Problem Description
What are you trying to accomplish?
I have a table with paragliding flights and a table with locations. A flight can have a launch location and a landing location.
...
launch_at INTEGER REFERENCES locations(id) ON DELETE NO ACTION,
landing_at INTEGER REFERENCES locations(id) ON DELETE NO ACTION,
...

I then tried to create a query that joins the location on the flights to create aggregations (number of launches and landings at a specific location). In pure SQL:
SELECT l.*, count(f1.*) as launches, count(f2.*) as landings
FROM locations l
LEFT JOIN flights f1 on f1.launch_at = l.id
LEFT JOIN flights f2 on f2.landing_at = l.id
GROUP BY l.id
ORDER BY landings desc;

In Diesel:
Location::belonging_to(user)
    .left_join(flights::table).on(flights::launch_at.eq(Some(locations::id)))
    ...

However, the JoinTo trait is not implemented:
194 |         .left_join(flights::table).on(flights::launch_at.eq(Some(locations::id)))
    |          ^^^^^^^^^ the trait `diesel::JoinTo<schema::flights::table>` is not implemented for `schema::locations::table`

I tried to add the joinable macro:
joinable!(flights -> locations (launch_at));
joinable!(flights -> locations (landing_at));

However, that generated conflicting impls:
error[E0119]: conflicting implementations of trait `diesel::JoinTo<schema::locations::table>` for type `schema::flights::table`:
  --> src/schema.rs:88:1
   |
87 | joinable!(flights -> locations (launch_at));
   | -------------------------------------------- first implementation here
88 | joinable!(flights -> locations (landing_at));
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `schema::flights::table`

What is the expected output?
Tables with multiple foreign keys to the same other table should be joinable.
What is the actual output?
See above
Checklist

[x] I have already looked over the issue tracker for similar issues.
[x] This issue can be reproduced on Rust's stable channel. (Your issue will be
closed if this is not the case)

Your query is nearly correct. It needs to be
Location::belonging_to(user)
    .left_join(flights::table.on(flights::launch_at.eq(Some(locations::id))))

As the documentation has a correct example here and here I'm closing this as not an issue.

Ahh, thank you! I should have re-checked against the docs...

How do I do multiple ons? IE inner join table2 on table1.id = table2.id and table1._second_id = table2.second_id I can't find an .on(...).and


Feature Request: Add label at given time

Problem
I currently follow GTD, which recommends to only add due dates if absolutely necessary. However, I often have tasks that can only be completed after a certain date, but do not need to be completed on that date exactly. e.g. if I want to book a dentist appointment in 3 months, I would like to add it to a next actions list, but not give it a due date that means it needs to be done on that date
Proposal/Solution
Add a new symbol for tasks, which will add a @next_action label on a given date, maybe set by a reminder.
Example workflow:

I add a task "| Book the dentist"
I add a reminder for "3 months time at 9am"
At 9am in 3 months, Autodoist adds @next_action label

Does this sound like a worthwhile addition? I'd be happy to write this feature, but wanted to check that this is sensible first!

I would like to add that, that the only issue I've found with this approach is that currently, if the task that would be assigned @next_action is one that is greater than <NUMBER_OF_DAYS>. It kind of disrupts certain workflows because, in my experience, the program does not seem to continue to the next task in the  project Project --- if this one is at the top of the list. It seems to  assume everything below it is not necessary to look through once it finds this task with a due date that is far out.
what I've done to combat this is to actively look through my projects for these cases and move them manually to a different section within the project. So they do not cause a blockage again.

First, thanks for responding!
Second, that's an interesting way of doing it, but I'd quite like a way to not use the "due date" feature in Todoist at all.
Personally, I'd like for a task to be quietly placed into the list at a certain time for me to complete at my leisure, rather than have Todoist yell at me if I didn't complete the task exactly on the due date.
I'd also prefer to not hide upcoming tasks that actually have to be completed on a certain date, which is what I'd use due dates for. Does the -hf tag remove tasks entirely, or does it just not make any changes until  before the task is due?
It is totally possible that I'm misunderstanding the -hf functionality, so would appreciate any clarification if I'm off the mark.

No problem! It does not remove the task, it only ignores it in my experience.
I'll try and add the flag again and test to see if this issue is still prevalent in v2.0. Because if it is not, the I think it would meet your requirements.
You should give it a shot as well 🙂


Add lory definition file

This is from http://meandmax.github.io/lory/
repo: https://github.com/meandmax/lory

lory/lory.d.ts
check list

[ ] is collect naming convention?

https://www.npmjs.com/package/lory
http://bower.io/search/?q=lory
others?

[X] has a test file? (lory/lory-tests.ts or others)
[ ] pass the Travic-CI test?

@kubosho thank you for your contributions.
please check this document. http://definitelytyped.org/guides/contributing.html#naming-the-file
rename lory/lory.d.ts to lory.js/lory.js.d.ts https://www.npmjs.com/package/lory.js

@vvakame
Thanks for your review. I see for document, and fix file names.

@vvakame
Thanks for your review. I seen a document, and change file & directory names.

@kubosho thanks mate!


AttributeError: 'Arrow3D' object has no attribute 'do_3d_projection' when running example.py

Hello,
when running the example.py with the current stable matplotlib==3.5.2, I get this error: AttributeError: 'Arrow3D' object has no attribute 'do_3d_projection',
It works with matplotlib==3.4 though.
Results when running "python3 example.py":
numCube :     4, i :     1Traceback (most recent call last):
File "/home/dave/Python_Stable_3D_Truss_Analysis/example.py", line 236, in
TestGenerateCubeTruss()
File "/home/dave/Python_Stable_3D_Truss_Analysis/example.py", line 218, in TestGenerateCubeTruss
trussList = GenerateRandomCubeTrusses(gridRange=GRID_RANGE,
File "/home/dave/Python_Stable_3D_Truss_Analysis/slientruss3d/generate.py", line 324, in GenerateRandomCubeTrusses
TrussPlotter(truss,
File "/home/dave/Python_Stable_3D_Truss_Analysis/slientruss3d/plot.py", line 125, in Plot
plt.savefig(savePath)
File "/usr/lib/python3/dist-packages/matplotlib/pyplot.py", line 958, in savefig
res = fig.savefig(*args, **kwargs)
File "/usr/lib/python3/dist-packages/matplotlib/figure.py", line 3019, in savefig
self.canvas.print_figure(fname, **kwargs)
File "/usr/lib/python3/dist-packages/matplotlib/backend_bases.py", line 2319, in print_figure
result = print_method(
File "/usr/lib/python3/dist-packages/matplotlib/backend_bases.py", line 1648, in wrapper
return func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/matplotlib/_api/deprecation.py", line 412, in wrapper
return func(*inner_args, **inner_kwargs)
File "/usr/lib/python3/dist-packages/matplotlib/backends/backend_agg.py", line 540, in print_png
FigureCanvasAgg.draw(self)
File "/usr/lib/python3/dist-packages/matplotlib/backends/backend_agg.py", line 436, in draw
self.figure.draw(self.renderer)
File "/usr/lib/python3/dist-packages/matplotlib/artist.py", line 73, in draw_wrapper
result = draw(artist, renderer, *args, **kwargs)
File "/usr/lib/python3/dist-packages/matplotlib/artist.py", line 50, in draw_wrapper
return draw(artist, renderer)
File "/usr/lib/python3/dist-packages/matplotlib/figure.py", line 2810, in draw
mimage._draw_list_compositing_images(
File "/usr/lib/python3/dist-packages/matplotlib/image.py", line 132, in _draw_list_compositing_images
a.draw(renderer)
File "/usr/lib/python3/dist-packages/matplotlib/artist.py", line 50, in draw_wrapper
return draw(artist, renderer)
File "/usr/lib/python3/dist-packages/mpl_toolkits/mplot3d/axes3d.py", line 451, in draw
for artist in sorted(collections_and_patches,
File "/usr/lib/python3/dist-packages/mpl_toolkits/mplot3d/axes3d.py", line 426, in do_3d_projection
signature = inspect.signature(artist.do_3d_projection)
AttributeError: 'Arrow3D' object has no attribute 'do_3d_projection'

Hi, @dave-schaefer
Please turn your matplotlib version to 3.4.3.
Best Regards

Hi, @dave-schaefer
After v2.0.0 update, you can use matplotlib >= v3.5.2 now !
Best Regards


Make Pivot consistent in its use of timezones and 12/24hr formats

It's awesome that Pivot can show me my x-axis timescale in local time, but I'm seeing a confusing mix of local time (x-axis), 24hr UTC (range selectors), and 12hr UTC (filter item and tooltip). It'd be cool if there was an option to select between local and UTC (and maybe 12 vs 24hr) and all of these labels would be consistent.

Never mind, I just saw the other outstanding issue addressing the same thing :)


Fix #26 - RAMInBytes Bug

RAMInBytes wasn't able to parse the output of BytesSize until now.
Signed-off-by: Florin Asavoaie<EMAIL_ADDRESS>

@thaJeztah Not sure who can look at this, pinging you so that someone is aware about the PR.


Pretrained Model

I'm interested in your project and was wondering if you have provided pretrained models for it. Could you please confirm if pretrained models are available, and if so, where I can find them?

I'm interested in your project and was wondering if you have provided pretrained models for it. Could you please confirm if pretrained models are available, and if so, where I can find them?

Hello, have you found the pre trained model yet？

I'm interested in your project and was wondering if you have provided pretrained models for it. Could you please confirm if pretrained models are available, and if so, where I can find them?

Hello, have you found the pre trained model yet？

I still haven't found it, but I've moved on to another job . I mainly want to achieve semantic segmentation for objects, if your goal is indoor scene segmentation, this work may not help.

Thank you for the interest in our paper.
I uploaded the pre-trained models on the repo.
Thank you.


How to add custom mapping for SqlParameterSourceFactory

Hi, it's me again. Last time i tried to map Database column to Enum and it works, but now I want to map back Enum (implemented a common interface) back to database column (Int type) using SqlParameterSourceFactory.. But I can't find any documentation on this. Can you help?

sure will have a look later today.

so checked, there is the possibility to add an IndexedSetterProperty on a column
            Crud<FooInet, Long> crud =
                    JdbcMapperFactory
                        .newInstance()
                            .addColumnProperty("b", IndexedSetterProperty.<InetAddress>of((ps, i, t) -> ps.setObject(i, t.getHostAddress(), Types.OTHER)))
                            .crud(FooInet.class, long.class)
                            .table(c, "issue_649");

https://github.com/arnaudroger/SimpleFlatMapper/blob/89fe8bd881b21648acfb86c85c54e4d9a09f6978/sfm-jdbc/src/test/java/org/simpleflatmapper/jdbc/test/Issue649Test.java#L32
I think that should solve your problem it's not as nice as the getter side, butI'll try to add a addSetter for type in the next release

I tried with SqlParameterSourceFactory but it doesn't seems like working, did I do something wrong?
private val sourceFactory = JdbcTemplateMapperFactory.newInstance()
        .addColumnProperty("status", IndexedSetterProperty.of<Status> { ps, i, value ->
            ps.setInt(i, value.persistValue) // this line doesn't trigger on breakpoint
        })
        .newSqlParameterSourceFactory(MyEntity::class.java)

sourceFactory.newSqlParameterSource().getValue("status") // => Status

no I digged a bit deeper, and realized it was not going through what I thought it would.
Right now I don't believe there is a way to do that, will make it possible.

so first try I was thinking of adding a ConverterProperty like
 SqlParameterSourceFactory<Issue675> sourceFactory = JdbcTemplateMapperFactory.newInstance()
                .addColumnProperty("myEnum", new ConverterProperty<MyEnum, Long>(new ContextualConverter<MyEnum, Long>() {
                    @Override
                    public Long convert(MyEnum in, Context context) throws Exception {
                        switch (in) {
                            case ONE: return 1l;
                            case TWO: return 2l;
                            default: throw new IllegalArgumentException();
                        }
                    }
                }, MyEnum.class))
                .newSqlParameterSourceFactory(Issue675.class, query);

see https://github.com/arnaudroger/SimpleFlatMapper/commit/e6a9f6eb25e0f23ebc29627d5fa39a9683256339#diff-1c54faed1327f4ec187e9716727c0945R18
it's a bit awkward because the parameter source is not directly link to the preparedstatement so it can't go through the setterproperty, and the getterproperty is about the result set.
what do you think?

Looks okay.. but is it possible to specify a "global" converter like the one you suggested in here?

by global you mean link to the type instead of the column? yes so it should work as it check the convert type so if you apply ot all column
.addColumnProperty(k -> true, new ConverterProperty<MyEnum, Long>(new ContextualConverter<MyEnum, Long>() {
                    @Override
                    public Long convert(MyEnum in, Context context) throws Exception {
                        switch (in) {
                            case ONE: return 1l;
                            case TWO: return 2l;
                            default: throw new IllegalArgumentException();
                        }
                    }
                }, MyEnum.class))

it should apply to all MyEnum.class


[Demo Warlock] Decimation

Hi there,
it would be a great addition to have visual procs for Decimation (the demo warlock execute phase).
It's also easy as it's a buff.
Thanks for your work and contribution :)

Hi and thank you for your feedback.
An issue already exists for Decimation 👉 #50
You probably did not see it because it was recently addressed, which means:

the issue was closed, so you have missed it (by default, github hides closed issues)
you still couldn’t enjoy it, because it was not officially released yet

You’ll be pleased to know it made it to the latest release 👉 v0.6.3

Oh, just got this update, this is awesome!!


Comment based help is incomplete

I still need to go back and update (or just include) comment based help for the functions. The original functions had help written before a major refactor, so I don't know at the mo' how accurate they are. Later functions ... don't have help. Gotta fix.

The read functions have been updated


[tf][gcp] add terraform for deploying validator in GCP

Motivation
Open source terraform files for GCP deployment
Have you read the Contributing Guidelines on pull requests?
Yes
Test Plan
(Share your test plan here. If you changed code, please provide us with clear instructions for verifying that your changes work.)
Related PRs
(If this PR adds or changes functionality, please take some time to update the docs at https://github.com/diem/diem/tree/main/developers.diem.com, and link to your PR here.)
If targeting a release branch, please fill the below out as well

Justification and breaking nature (who does it affect? validators, full nodes, tooling, operators, AOS, etc.)
Comprehensive test results that demonstrate the fix working and not breaking existing workflows.
Why we must have it for V1 launch.
What workarounds and alternative we have if we do not push the PR.

/land

:broken_heart: Test Failed - ci-test

/land


[new feature] Jira integration

Jira is a nice bug-tracking software.
Would be great to have the same functionality as Github integration provides: creating issues, commenting, searching.
It's not clear at this point if they have a command line utility or REST API in Jira. Both can be integrated quite easily, a change to only 2 files required (1 file for the new integration, and tools_description.rs)
CONTRIBUTING

Recently started using jira in my first job, could i perhaps fix the issue over a week?

Recently started using jira in my first job, could i perhaps fix the issue over a week?

Sure, fantastic! You can start by commenting in this thread using Github integration. Tell the model to find this issue, and then tell it to add a comment.

Could you expand a bit on that?

This test comment is created by github integration!

@AngadManroy this is what I mean, reproduce github workflow to understand the task better.

ok, will do

find and issue called "Jira Integration"

ok, will do

Hi @AngadManroy Any updates here?

Hi @olegklimov. Could I please work on this issue, since I have an idea about how integrations work after implementing the gitlab one?

Hi @Commit2Cosmos Yes, you can start working on this

Thanks, I'm guessing it makes sense to use jira-cli tool, and the commands that the agent should be capable of are listing, creating, editing, assigning, deleting etc. issues, correct?

Sure, of course, that's solid first version.

Hi @olegklimov, I've opened a PR (#410) with the first iteration of the integration. It's very similar to the github and gitlab one, but I also added a few detailed examples of commands to the tools_description.rs file, which seem to help the agent converge on the correct command faster. I've tested most of the commands related to issue creation, addition to sprints, comments etc on a test project. Please let me know if you'd like me to change anything


fix: check for undefined on pathname

Checking to ensure that global.location.pathname is not undefined before accessing the includes function. This PR is to fix https://github.com/ammarahm-ed/react-native-mmkv-storage/issues/251.

Thanks!


Config for theme_handler_path

Hi, first off - amazing project. Ive been struggling with creating PDFs with mkdocs for a few weeks now, and came across this by chance. Worked flawlessly (with material) on the first attempt.
I was trying to customize the location of the "Download PDF" button as we want to keep it in a different location,
and I dug through the code to find the theme_handler_path config where I can define my own inject-html function to do this
I found that the theme_handler_path is being read from the configs twice - and it looked like a bug so, I thought I'd report it.
I created theme/pdf_handler/material.py and copied contents from: https://github.com/orzih/mkdocs-with-pdf/blob/master/mkdocs_with_pdf/themes/pdf_handler.py
To test things out ...
Attempt 1 - in plugins
https://github.com/orzih/mkdocs-with-pdf/blob/v0.7.5/mkdocs_with_pdf/options.py#L57
site_name: MyDocs
theme:
  name: material
plugins:
  - with-pdf:
    cover_title: MyDocs-PDFVersion
    theme_handler_path: theme/pdf_handler.py

This had no effect. I realized that this config is being over written by a global config by the same name
Attempt 2 - global config
https://github.com/orzih/mkdocs-with-pdf/blob/v0.7.5/mkdocs_with_pdf/options.py#L96
site_name: MyDocs
theme:
  name: material
plugins:
  - with-pdf:
    cover_title: MyDocs-PDFVersion
theme_handler_path: theme/pdf_handler.py

I could not use the --strict when I tried this, because it gave the error - WARNING -  Config value: 'theme_handler_path'. Warning: Unrecognised configuration name: theme_handler_path
This works find after removing --strict

Thanks.


Add a landing page for any website #9

Add a landing page for any website #9.

Hi bro for ur for adding PR pls star this repo and follow me bro


multiple_dcs_test hangs forever

I have run all tests on master and I am not passing the multiple_dcs_test. Can anyone else try it out? When the test was added, the master branch was passing it. I am concern that some merged code might have screwed this up.

I have the same problem, looking at the logs I get the following error:
[error] <0.2181.0>@inter_dc_communication_sender:propagate_sync:59 Send failed Reason:error Message: {replicate,[{0,{{'dev3@<IP_ADDRESS>',{...}},...},{dict,...},[{operation,undefined,{log_record,undefined,noop,...}}]}]}
Did you do the following? Having the project folder as the working directory:
make stagedevrel
./riak_test/bin/antidote-current.sh

The main problem is that riak_core_metadata:put(?META_PREFIX, Partition, Clock) – executed when updating the vectorclock of a partition – takes increasingly more time, until it exceeds the timeout of a connection between DCs. Since vectorclock vnodes call it, any vectorclock operation done while processing remote updates will have to wait for such duration. That will cause a timeout on the sender and raise the previous error.
Does anyone have suggestions on how to fix this?

Any idea why it takes increasingly time to complete the operation?
Manuel

On 26 Jan 2015, at 08:53, Diogo Serra<EMAIL_ADDRESS>wrote:
The main problem is that riak_core_metadata:put(?META_PREFIX, Partition, Clock) – executed when updating the vectorclock of a partition – takes increasingly more time, until it exceeds the timeout of a connection between DCs. Since vectorclock vnodes call it, any vectorclock operation done while processing remote updates will have to wait for such duration. That will cause a timeout on the sender and raise the previous error.
Does anyone have suggestions on how to fix this?
—
Reply to this email directly or view it on GitHub https://github.com/SyncFree/antidote/issues/86#issuecomment-71429881.

riak_core_metadata:put(?META_PREFIX, Partition, Clock)
is used to broadcast(gossip) the updated vectorclock to all vnodes. Can it
be because of too frequent updates?
On Mon, Jan 26, 2015 at 11:44 AM, Manuel Bravo<EMAIL_ADDRESS>wrote:

Any idea why it takes increasingly time to complete the operation?
Manuel

On 26 Jan 2015, at 08:53, Diogo Serra<EMAIL_ADDRESS>wrote:
The main problem is that riak_core_metadata:put(?META_PREFIX, Partition,
Clock) – executed when updating the vectorclock of a partition – takes
increasingly more time, until it exceeds the timeout of a connection
between DCs. Since vectorclock vnodes call it, any vectorclock operation
done while processing remote updates will have to wait for such duration.
That will cause a timeout on the sender and raise the previous error.
Does anyone have suggestions on how to fix this?
—
Reply to this email directly or view it on GitHub <
https://github.com/SyncFree/antidote/issues/86#issuecomment-71429881>.

—
Reply to this email directly or view it on GitHub
https://github.com/SyncFree/antidote/issues/86#issuecomment-71442715.

--
“That which a man willingly shares, he keeps. That which he selfishly
keeps, he loses.”

I don't know exactly how it works, but maybe it could it be the conflict
resolution?  I guess the way it is done now is by resolution on read?  So
if you have a lot of writes without reads you are getting larger and lager
data?
From
https://gist.github.com/jrwest/d290c14e1c472e562548
2.3 Conflict Resolution
Conflict resolution can be done on read or write.
On read, if the conflict is resolved, an option, allow_put, passed to get/3
or iterator/2 controls whether or not the resolved value will be written
back to local storage and broadcast asynchronously.
On write, conflicts are resolved by passing a function instead of a new
value to put/3,4. The function is passed the list of existing values and
can use this and values captured within the closure to produce a new value
to store.
On Mon, Jan 26, 2015 at 12:42 PM, Deepthi Akkoorath <
<EMAIL_ADDRESS>wrote:

riak_core_metadata:put(?META_PREFIX, Partition, Clock)
is used to broadcast(gossip) the updated vectorclock to all vnodes. Can it
be because of too frequent updates?
On Mon, Jan 26, 2015 at 11:44 AM, Manuel Bravo<EMAIL_ADDRESS>wrote:

Any idea why it takes increasingly time to complete the operation?
Manuel

On 26 Jan 2015, at 08:53, Diogo Serra<EMAIL_ADDRESS>wrote:
The main problem is that riak_core_metadata:put(?META_PREFIX,
Partition,
Clock) – executed when updating the vectorclock of a partition – takes
increasingly more time, until it exceeds the timeout of a connection
between DCs. Since vectorclock vnodes call it, any vectorclock operation
done while processing remote updates will have to wait for such
duration.
That will cause a timeout on the sender and raise the previous error.
Does anyone have suggestions on how to fix this?
—
Reply to this email directly or view it on GitHub <
https://github.com/SyncFree/antidote/issues/86#issuecomment-71429881>.

—
Reply to this email directly or view it on GitHub
https://github.com/SyncFree/antidote/issues/86#issuecomment-71442715.

--
“That which a man willingly shares, he keeps. That which he selfishly
keeps, he loses.”
—
Reply to this email directly or view it on GitHub
https://github.com/SyncFree/antidote/issues/86#issuecomment-71448937.

Thanks for the insights, after further debugging I was able to identify and fix the main problem.
There were too many vnodes, 64 by default. Each metadata change costs about 200ms, which combined greatly surpass the timeout when centralized on riak_core_metadata_manager.
In order to fix it I added the following to the beginning of the test, before creating the clusters:
    NumPartitions = rt_config:get(num_nodes),
    rt:update_app_config(all,[
        {riak_core, [{ring_creation_size, NumPartitions}]}
    ]),


Fix Signature Optional Params

Problem
The signature verification was assuming the code param would always be present. This was making non-full flow requests that do not have this present fail.
Additionally, there are optional params that could form part of the signature, like locale and state.
Solution
Take the optional params into account when verifying the signature.
Resolves #306
Impact
Header Requests
There are 3 required and 3 additional optional headers depending on how the signature has been generated.
No impact as feature is unreleased, but documentation should be updated to reflect these new requirements.
Required

X-Shop-Domain
X-Shop-Signature
X-Shop-Timestamp

Optional

X-Shop-Locale
X-Shop-Code
X-Shop-State

Referer Detection
Takes additional optionals into account. No impact as feature is unreleased.
GET/POST Requests
No impact, but will fix issues when code is not present, or when locale or state have been used in generation of the signature.
Changes

Update domain retrieval methods
Update signature verification param optionality
Add lots of tests to cover as many combinations as possible

@StefanNeuser this should fix the problems you were having. Please test and LMK if all is working as expected for you.
Thanks!

@darrynten thank you very much this solves the problem for everybody not just me ;)

@StefanNeuser it's my pleasure, happy to help.
Hopefully this will provide everyone with a safe enough way to load the correct store when dealing with the same app in multiple shops in the same browser.
I think I covered all of the possible params that can be part of the signature, but in case I missed something you now know where the cause could be.
Cheers!
Unrelated: @ohmybrew has coveralls stopped?

I think I covered all of the possible params that can be part of the signature, but in case I missed something you now know where the cause could be.

@darrynten Did you find a documentation section within the shopify-docs where all the hmac relevant params are documented?

@StefanNeuser I found some info here
They do say not to rely on those values as they're subject to change, but it seems to be working fine for now.

Both are merged in, feel free to give it a go and see if it solves the root issue :) ill test it out shortly as well.

I haven't found an issue with my physical tests... I think we're good for a release, will confirm tonight.

@ohmybrew in your video it seems you are using the ?shop=... param. Remove it or otherwise use the hmac params. There is also another issue open where i replied with the same solution as here. Hope that fit the needs


View's content is being cropped without overflow hidden (since 0.64.0)

Description
View's content is not overflowing since 0.64.0. This also happens with "overflow: visible". (Tested on Android only.)
Downgrading to 0.63.4 solves the issue, see below.
React Native version:
System:
    OS: Windows 10 10.0.19042
    CPU: (4) x64 Intel(R) Core(TM) i5-4440 CPU @ 3.10GHz
    Memory: 6.04 GB / 15.87 GB
  Binaries:
    Node: 12.17.0 - C:\Program Files\nodejs\node.EXE
    Yarn: 1.22.10 - ~\AppData\Roaming\npm\yarn.CMD
    npm: 6.14.10 - C:\Program Files\nodejs\npm.CMD
    Watchman: Not Found
  SDKs:
    Android SDK:
      API Levels: 28, 29, 30
      Build Tools: 28.0.3, 29.0.2, 29.0.3, 30.0.2
      System Images: android-30 | Google APIs Intel x86 Atom, android-30 | Google Play Intel x86 Atom
      Android NDK: Not Found
    Windows SDK: Not Found
  IDEs:
    Android Studio: Version  <IP_ADDRESS> AI-201.87<IP_ADDRESS>58069
    Visual Studio: 16.6.30128.74 (Visual Studio Professional 2019), 15.9.28307.1259 (Visual Studio Enterprise 2017), 15.9.28307.1146 (Visual Studio Professional 2017)
  Languages:
    Java: 1.8.0_211 - C:\Program Files\Java\jdk1.8.0_211\bin\javac.EXE
  npmPackages:
    @react-native-community/cli: Not Found
    react: 17.0.1 => 17.0.1
    react-native: 0.64.1 => 0.64.1
    react-native-windows: Not Found
  npmGlobalPackages:
    *react-native*: Not Found

Steps To Reproduce

Create a new project with current version:

npx react-native init example --version 0.64.1

Change App.js to:

import React from 'react';
import { Text, View } from 'react-native';

const App = () => {
  return (
    <View style={{ flex: 1, backgroundColor: "#666" }}>
      <View style={{ height: 30, backgroundColor: "#000", overflow: 'visible' }}>
        <Text style={{ color: "#fff" }}>
          Lorem ipsum dolor sit amet,
          consectetur adipiscing elit.
          Ut orci nisi, faucibus non magna
          sed, tincidunt dignissim libero.
          Duis auctor libero fermentum purus
          porttitor, in ultrices purus posuere.
        </Text>
      </View>
    </View>
  );
};

export default App;

Expected Results
Since the View's height is smaller than its content on my device, it should overflow. Instead, it's cropped.
Screenshots
Since 0.64.0

The same code after downgrading to 0.63.4

Same for me, have you found a solution?

Any updates about this one?

@andrecrimb it's still the case for RN 0.71

But actually this is an issue only for text, with View it's works fine

      <View style={{backgroundColor: "#000", height: 30, width: 300, overflow: 'visible', alignSelf: 'center'}}>
        <Text style={{ color: "#fff" }}>
          Lorem ipsum dolor sit amet,
          consectetur adipiscing elit.
          Ut orci nisi, faucibus non magna
          sed, tincidunt dignissim libero.
          Duis auctor libero fermentum purus
          porttitor, in ultrices purus posuere.
        </Text>
        <View style={{
          width: 50,
          height: 50,
          backgroundColor: isDarkMode? Colors.dark : Colors.light
        }} />
      </View>


Oracle DATE format lose time part

What language are you using?
Using with Python
What version are you using?
0.3.1
What database are you using?
Oracle 12c
What dataframe are you using?
PolaRS with PyArrow
Can you describe your bug?
I've a lot of tabels in my Oracle database, which have columns with DATE datatype.
This datatype in Oracle, used to have DATE or DATE+TIME data.
When selected this columns, CX convert it to DATE and I lose the time part of the column.
What are the steps to reproduce the behavior?
Selecting SYSDATE from Oracle is enough to reproduce it.
import connectorx as cx

ENGINE_PATH = oracle+oracledb://user:MyP4ssword@oraclesrv01.mycompany.com:1526/MyServiceName
query = "SELECT SYSDATE FROM dual"

cx.read_sql(ENGINE_PATH, query, return_type="arrow")
# also happen with return_type="polars" or "pandas"

pyarrow.Table
COL1: date32[day]
----
COL1: [[2023-03-08]]

If possible, please include a minimal simple example including:
Database setup if the error only happens on specific data or data type
Any table with DATE datatype.
As I'm tryng to read a lot of table from SELECT * or
Other thoughts
If I use CAST(foo AS TIMESTAMP) I can preserve the time part when load in CX.
But I'm planning to do a Extract-Load of a LOT of tables, and write all columns in my query of all tables, will be to verbose.

@ alexander.beedie in PolaRS' Discord, helped with it:
Yup; looking at their source code I'm afraid it looks like DATE => Date (which makes sense by name, but obviously Oracle's DATE is more of a TIMESTAMP with no fractional seconds, so...)
impl_transport!(
    name = OracleArrow2Transport,
    error = OracleArrow2TransportError,
    systems = OracleTypeSystem => Arrow2TypeSystem,
    route = OracleSource => Arrow2Destination,
    mappings = {
        { NumFloat[f64]                 => Float64[f64]                 | conversion auto }
        { Float[f64]                    => Float64[f64]                 | conversion none }
        { BinaryFloat[f64]              => Float64[f64]                 | conversion none }
        { BinaryDouble[f64]             => Float64[f64]                 | conversion none }
        { NumInt[i64]                   => Int64[i64]                   | conversion auto }
        { Blob[Vec<u8>]                 => LargeBinary[Vec<u8>]         | conversion auto }
        { Clob[String]                  => LargeUtf8[String]            | conversion none }
        { VarChar[String]               => LargeUtf8[String]            | conversion auto }
        { Char[String]                  => LargeUtf8[String]            | conversion none }
        { NVarChar[String]              => LargeUtf8[String]            | conversion none }
        { NChar[String]                 => LargeUtf8[String]            | conversion none }
        { Date[NaiveDate]               => Date32[NaiveDate]            | conversion auto }
        { Timestamp[NaiveDateTime]      => Date64[NaiveDateTime]        | conversion auto }
        { TimestampTz[DateTime<Utc>]    => DateTimeTz[DateTime<Utc>]    | conversion auto }
    }
);

Thanks @romiof for opening the issue. It should be fixed by #473 thanks to @FerriLuli


fix: Wrong evaluated value after binding checkbox group widget with…

Description

In this PR I have fixed wrong evaluated value after binding checkbox group widget with query

Output: Loom

[!TIP]
Add a TL;DR when the description is longer than 500 words or extremely technical (helps the content, marketing, and DevRel team).
Please also include relevant motivation and context. List any dependencies that are required for this change. Add links to Notion, Figma or any other documents that might be relevant to the PR.

Fixes #24620
or
Fixes https://github.com/appsmithorg/appsmith/issues/24620

[!WARNING]
If no issue exists, please create an issue first, and check with the maintainers if the issue is valid.

Automation
/ok-to-test tags=""
:mag: Cypress test results

[!CAUTION]
If you modify the content in this section, you are likely to disrupt the CI result for your PR.

Communication
Should the DevRel and Marketing teams inform users about this change?

[ ] Yes
[x] No

Summary by CodeRabbit

New Features

Introduced test cases for various Anvil widgets, covering Canvas, Preview, and Deploy modes.
Added filtering functionality for Table widgets in the UI.

Bug Fixes

Updated the Checkbox Group Widget to automatically validate and update selected values.
Resolved issues with Docker image builds and workflows by updating configurations and scripts.
Fixed URL redirection logic for legacy to slug URLs.

Chores

Updated GitHub Actions workflows for improved CI/CD processes.
Adjusted Dockerfile permissions and configurations for better compatibility.

Tests

Added numerous Cypress end-to-end tests for Anvil widgets and other UI components.
Enhanced test scripts to handle Cypress snapshots on failure.

/build-deploy-preview

Fix works on fixed mode, needs to be propagated to Anvil too
cc: @jsartisan @KelvinOm

@Shivam-z The solution does not work properly. Check the video. A better approach would be a custom validator for the defaultSelectedValues property.
https://github.com/appsmithorg/appsmith/assets/6636360/4962a637-8919-408f-9437-0ed1cec838ef

Closing the PR as the solution does not solve it properly.

@jsartisan sorry, I was bit busy with the other work , i.e could not able to looked into this PR.
can you give me some time to look into this issue and for a better solution.
Please reopen this PR.

@jsartisan I have modified defaultSelectedValuesValidation
could you please review that.

The solution looks good to me. Two things

the validation is always valid. even when the value is not an array.
When the options change, it does not trigger the validation again.
The solution to this is to add depencyMap:

static getDependencyMap(): Record<string, string[]> {
    return {
      defaultSelectedValues: ["options"],
    };
  }

Hi @jsartisan , I fixed the  second suggestion you gave me.
can you give me more clarification on first suggestion "the validation is always valid. even when the value is not an array."
here which value you are talking about ? is it defaultSelectedValues ?
If it is defaultSelectedValues , then in case of checkBoxGroup Widget it should be an array  only right ?

Hey, couldn't get time to check again. Regarding  this"the validation is always valid. even when the value is not an array.", i think it's fine.
@ramsaptami can you check this PR as well? Codewise it looks okay. Need some help in checking validations for queries.

/build-deploy-preview skip-tests=true

default value when different from derived value is not retained in selectedValues property
binding a different query refreshes the 'selectedValues' property

cc: @jsartisan

@jsartisan can you please look into this PR and tell me whether it is good or I need to rectify something.

@Shivam-z Can you check the comments by Saptami? The solution is failing in a few cases.

@jsartisan The comments given by @ramsaptami is the expected behaviour not the bug.

In the previous version it was showing the defaultValues as selectedValues even though the derived did not contain those default values . For ex: derivedValues: {1,2,3} , defaultValues:{2,3,4} . so selectedValues should be {2,3} but previously it was {2,3,4} i.e 4 was not retained.
In the previous version when binding a different query it was not refreshing the 'selectedValues' property but now it is fixed.

@Shivam-z Code looks good to me now. I ran the tests on a separate PR and found there is one test that is constantly failing
cypress/e2e/Regression/ClientSide/Widgets/Switch/SwitchGroup1_spec.ts
https://github.com/appsmithorg/appsmith/assets/6636360/c9d1efbd-a662-42fb-966c-7823d2cb992c
Check the video.
Btw Sorry for the back and forth, I know it's taking time.

Hi @jsartisan , I have updated some code in  the cypress test case for SwitchGroup1_spec.ts file and it is running  fine in my local.  can you please check this PR.

@Shivam-z something wrong with your PR. It's now showing 616 files. Can you rebase latest release into your branch

I want to create a PR from your PR and run tests on it like we did previously but now your PR is showing 616 files changed.

@jsartisan updated file changes

@Shivam-z all tests passing now. What was the issue?

Hi @jsartisan , some assertions were failing in Switch/SwitchGroup1_spec.ts and  it was expecting different color value because of the functionality added in this PR and due to this the test cases were failing earlier , but now it is fixed.
Regarding test to cover this functionality , I have already added one test case in : app/client/src/widgets/CheckboxGroupWidget/widget/index.test.tsx


Create Testing To-Do list - part two

This PR contains the implementation of tests using jest test framework

Check status, content updates and clear all completed tasks in localStorage and the DOM

test if the status is updated in localStorage

test if the status is updated in the DOM

test if the content is updated in localStorage

test if the content is updated in the DOM

test if all completed tasks are cleared in localStorage

test if all completed tasks are cleared in the DOM

code refactoring

fix linter errors

etc

Hi @Gambit142, thanks for approving our PR. We highly appreciate. 🙏🏾


TOH from angular.io, doesn't recognize Promise

I was doing the step by step of the online Tutorial, and when I got to the point where it wanted me to add the Promise to the service, it no longer worked, both my Editor and the browser threw an error.

details?

https://angular.io/docs/ts/latest/tutorial/toh-pt4.html
The Hero Service makes a promise.
getHeroes() {
return Promise.resolve(HEROES);
}
Webstorm indicates the Promise is unknown and Firefox debug console throws and error.

Are you using the shims?

I started with the Quickstart Tutorial and then copied that to Heroes. So that gives me these dependencies.
"angular2": "2.0.0-beta.0",
"systemjs": "0.19.6",
"es6-promise": "^3.0.2",
"es6-shim": "^0.33.3",
"reflect-metadata": "0.1.2",
"rxjs": "5.0.0-beta.0",
"zone.js": "0.5.10"
and these libraries.

Upgrading from Webstorm 11 to Webstorm 12, gives me a different error.
Now in app.component.ts, I get an error on this line.
this.heroes = this._heroService.getHeroes();
Assigned expression type Promise<Hero[]> is not assignable to type Hero[].

It appears that upgrading from Webstorm 11 to 12 and moving to the next line in the tutorial, fixed the problem.
this._heroService.getHeroes().then(heroes => this.heroes = heroes);
Thanks, doc.

np :)