Responsive Projects

Can I make the following projects responsive
Analog clock
Password generator
Flip cards
Study timer
Progress Bar
[GSSOC'21]
Please assign me this issue
@urvashi-code1255 @Vishal-raj-1 @991rajat @harshgupta20 @ridsuteri

@Bhavya-Sehgal all the issues are resolved now , i am closing this issue now :)

@Bhavya-Sehgal all the issues are resolved now , i am closing this issue now :)

Please keep it open as I am working on one more project i.e Image Editor , after that you may close.

ohk @Bhavya-Sehgal :)


Make storage list as list output

Currently ocdev storage list output shows following output:
$ ocdev storage list
deploymentconfigs/nodejs
  pvc/pvc-x9kkn (allocated 100GiB) as nodejs
    mounted at /home

But it should give list output so that it will be easy to use it in description in application and component and for better UX.

This is blocking #278
I'm working on this, and will then move over to the other storage commands.
Will start by moving storage to client-go

Fixed in #295


feat: add LFP Battery setting for car settings

Disclosure this is not complete in anyway. This adds the settings and updates the webpage. I created this PR based upon https://github.com/teslamate-org/teslamate/commit/a413e8ce2cabf6c1eb024d88c0c87a957f45c241 from @adriankumpf and my work on #2727.
What is missing is:

Dashboards. @swiffer mentioned he would work on those
All the updates to "LC_Messages" - no clue what these are 🤷🏼

Do your worst!
Edit: moving to "completed" from my original post:
Completed after original push

Migration scripts - Can someone validate this? Based it upon a457d17 where the streaming api setting was created.
Test scripts - attempted in 7604d17 (Edit: and then many more 😄 but got it working! 🥳 ).

Since we are just creating a toggle, does Tesla have any documentation we can link to for a user to check if their car is an LFP battery or not?

@mark3-dev - really dumb question. But what updates do I need to do to the default.pot files? It looks like random numbers are added to the end of lines.  But what updates do I need to do to the default.pot files? It looks like random numbers are added to the end of lines. Mimicking your PR #3993

@cwanja Those numbers are the line numbers of where the gettext translations are used. You can update the pot files by following this https://docs.teslamate.org/docs/development#update-pot-files-extract-messages-for-translation

@mark3-dev - really dumb question. But what updates do I need to do to the default.pot files? It looks like random numbers are added to the end of lines. Mimicking your PR #3993

@cwanja Those numbers are the line numbers of where the gettext translations are used. You can update the pot files by following this https://docs.teslamate.org/docs/development#update-pot-files-extract-messages-for-translation

Thanks @mark3-dev. Feel like I know the answer here, but will ask anyways. Is there any way execute this from the GUI in the branch? Might be crazy to say, but I have modified the code in GitHub UI. I do not have a local repo or anything.

@mark3-dev - really dumb question. But what updates do I need to do to the default.pot files? It looks like random numbers are added to the end of lines. Mimicking your PR #3993

@cwanja Those numbers are the line numbers of where the gettext translations are used. You can update the pot files by following this https://docs.teslamate.org/docs/development#update-pot-files-extract-messages-for-translation

Thanks @mark3-dev. Feel like I know the answer here, but will ask anyways. Is there any way execute this from the GUI in the branch? Might be crazy to say, but I have modified the code in GitHub UI. I do not have a local repo or anything.

@cwanja I'm not sure if there is any other way to do it other than pulling down the files and running it.

Weird that all my datapoints are missing from the LFP battery after the last update. Anyway to see if it's still in the database? I dont believe its even plotting anymore.

@07stuntar1 - as we've said - in terms of data there is no difference between LFP / non-LFP. The only difference that has been make back then was in terms of how the data is visualized. You seem to are operating on different databases.

@07stuntar1 - as we've said - in terms of data there is no difference between LFP / non-LFP. The only difference that has been make back then was in terms of how the data is visualized. You seem to are operating on different databases.

How can I fix it? The rest of the pages data is fine. It’s just the battery page

Raising my hand here - I am at a loss for running the pots update. I tried through VS code and GitHub codespaces. Could not get mix working. If there is a way to add a collaborator on this branch, please let me know. Otherwise, someone can open a new branch and use my changes as a baseline to get this added.

Welp. I have no clue how I did it. But I did 🍾
Can someone review and test? @JakobLichterfeld @swiffer

Successfully tested

[x] Migration
[x] Setting
[ ] Dashboard

Will take care of changing dashboards after merge!

Sorry, due to merging #3993, may I ask you to update the pot again? And merge the settings_test? Sorry for the inconvenience.

Sorry, due to merging #3993, may I ask you to update the pot again? And merge the settings_test? Sorry for the inconvenience.

I try to solve it via a separate branch as I do not have write access to your repo.


[BUG] [WINDOWS OS] Error while running EasyEyes/threshold on npm installed Windows PC

Error while running EasyEyes/threshold on npm installed windows PC
To Reproduce

Clone EasyEyes threshold repo from github
perform the following commands in command prompt
npm install
npm run build
npm run examples
npm start -- --name=demoExperiment

browser opens with local host

Expected behavior
No error while running demo experiment
Screenshots

**Desktop **

OS: Windows
Browser: chrome

Dear sravyam28
Thanks. THe screenshots are very helpful. We'll try to fix this, and keep
you posted.
I created a Trello card for it, and assigned it to Gus.
Best
Denis
p.s.  we are enhancing all error messages to report more info, which may
help diagnose this error, along with others.
[image: photo]
Denis Pelli
Professor of Psychology & Neural Science, New York University
+1-646-258-7524 | @.***
http://psych.nyu.edu/pelli/ | Skype: denispelli <#>
| http://denispelli.com
[image: facebook] https://www.facebook.com/denispelli [image: linkedin]
https://www.linkedin.com/in/denispelli/ [image: twitter]
https://twitter.com/denispelli
On Tue, Apr 4, 2023 at 5:08 PM sravyam28 @.***> wrote:

Error while running EasyEyes/threshold on npm installed windows PC
To Reproduce
Clone EasyEyes threshold repo from github
perform the following commands in command prompt
npm install
npm run build
npm run examples
npm start -- --name=demoExperiment
browser opens with local host
Expected behavior
No error while running demo experiment
Screenshots
[image: Screenshot from 2023-04-04 14-04-06]
https://urldefense.proofpoint.com/v2/url?u=https-3A__user-2Dimages.githubusercontent.com_117389237_229922347-2D21681d05-2Dc22c-2D4278-2Da828-2D0ad3da376f6d.png&d=DwMCaQ&c=slrrB7dE8n7gBJbeO0g-IQ&r=7X-NKAXavKeKD9gIvst_RX6MqmtP6wERm4LVB5ZkcI4&m=Pt_TIvf1kXTsiTvFRePvznebPK0uhpOAzC-0Zt-1SM9texweEnWBONgN5tU73gUK&s=xUB3wbMdM_oIh9LWJdU2-Df6EgkPIlPIyUnmD0rXNS8&e=
[image: Screenshot from 2023-04-04 14-05-09]
https://urldefense.proofpoint.com/v2/url?u=https-3A__user-2Dimages.githubusercontent.com_117389237_229922614-2D8dece746-2Dbe3b-2D4b7e-2Dacfc-2Db6dabc7ff46a.png&d=DwMCaQ&c=slrrB7dE8n7gBJbeO0g-IQ&r=7X-NKAXavKeKD9gIvst_RX6MqmtP6wERm4LVB5ZkcI4&m=Pt_TIvf1kXTsiTvFRePvznebPK0uhpOAzC-0Zt-1SM9texweEnWBONgN5tU73gUK&s=Zar9E66gtRoDCs-8Jn4eHJwyNaHj4Ox_f2OWcZr30TY&e=
[image: Screenshot from 2023-04-04 14-05-31]
https://urldefense.proofpoint.com/v2/url?u=https-3A__user-2Dimages.githubusercontent.com_117389237_229922654-2D2b9517c3-2Dfc72-2D4451-2Db679-2D46b591ec525f.png&d=DwMCaQ&c=slrrB7dE8n7gBJbeO0g-IQ&r=7X-NKAXavKeKD9gIvst_RX6MqmtP6wERm4LVB5ZkcI4&m=Pt_TIvf1kXTsiTvFRePvznebPK0uhpOAzC-0Zt-1SM9texweEnWBONgN5tU73gUK&s=UfdOXXBv2Qp3ys3TgHY1T95PMIYTDUBpoutbfyPW6qk&e=
[image: Screenshot from 2023-04-04 14-05-47]
https://urldefense.proofpoint.com/v2/url?u=https-3A__user-2Dimages.githubusercontent.com_117389237_229922668-2D967dfcf5-2D455f-2D44c0-2D9e26-2D5f5e33dcbf45.png&d=DwMCaQ&c=slrrB7dE8n7gBJbeO0g-IQ&r=7X-NKAXavKeKD9gIvst_RX6MqmtP6wERm4LVB5ZkcI4&m=Pt_TIvf1kXTsiTvFRePvznebPK0uhpOAzC-0Zt-1SM9texweEnWBONgN5tU73gUK&s=qSltB3GuZgRfSGIN0NDBBdkOb-IYeAD5QrGf_YAhkf8&e=
**Desktop **

OS: Windows
Browser: chrome

—
Reply to this email directly, view it on GitHub
https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_EasyEyes_threshold_issues_67&d=DwMCaQ&c=slrrB7dE8n7gBJbeO0g-IQ&r=7X-NKAXavKeKD9gIvst_RX6MqmtP6wERm4LVB5ZkcI4&m=Pt_TIvf1kXTsiTvFRePvznebPK0uhpOAzC-0Zt-1SM9texweEnWBONgN5tU73gUK&s=orhh7DFoxJ_xl56wj4oUTIug4PLLCBuk-z4KJqdb29k&e=,
or unsubscribe
https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_ADKWX63WKCWUHCGBGNONEDLW7SEVPANCNFSM6AAAAAAWTHPLUU&d=DwMCaQ&c=slrrB7dE8n7gBJbeO0g-IQ&r=7X-NKAXavKeKD9gIvst_RX6MqmtP6wERm4LVB5ZkcI4&m=Pt_TIvf1kXTsiTvFRePvznebPK0uhpOAzC-0Zt-1SM9texweEnWBONgN5tU73gUK&s=qaX4n943VnD1o980kazkfJ1GPFUkiEVbhJa1kwtXPok&e=
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Updating with the error seen with the latest repo (as I see some new commits are made)

https://trello.com/c/qFL95Z1u


poetry install breaks while installing sphinx-bootstrap-theme

Since version 58 of the setuptools package, the 2to3 functionality is no longer supported. This means that calling poetry install will fail while installing the sphinx-bootstrap-theme-package.
A solution that works is to downgrade setuptools to an earlier version, e.g. by calling poetry run pip install setuptools==57.5.0 prior to poetry install. However, this should probably be automated if possible.
This is on the forward-branch; I don't know if the problem exists on other branches as well.

@Philipp15b I tired updating it to 0.8.1 and the issue vanishes.


Add a slide on visitor pattern with lambdas

Originally posted by @sponce in https://github.com/hsf-training/cpluspluscourse/pull/79#discussion_r771845566

So this is essentially the overload pattern:
template<typename... Ts>
struct Overload : Ts ... {
    using Ts::operator()...;
};
template<typename... Ts>
Overload(Ts...) -> Overload<Ts...>;

int main(){
    std::variant<char, long, float, int, double, long long> v;
    auto overloadSet = Overload{
        [](char) { return "char"; },
        [](int) { return "int"; },
        [](unsigned int) { return "unsigned int"; },
        [](long int) { return "long int"; },
        [](long long int) { return "long long int"; },
        [](auto) { return "unknown type"; },
    };
    std::visit(overloadSet, v);
}

(excerpted from here)
There is a lot of stuff going on here like variadic templates, variadic using declarations of member functions, deduction guides and aggregate initialization into base classes. I would still show it to beginners, because the code is short and the usage is easy. But understanding why this works requires more knowledge on the language rules.


Good work bro

Can you do this for the "vice online" game, brother? If possible I can even pay

Can you do this for the "vice online" game, brother? If possible I can even pay

I wanted too

.

ok


can not import dataset

As shown in figure

This problem occurred after my server was restarted, which was fine before.

@leoyahaha , unfortunately the bug request doesn't have enough information to investigate the issue. Could you please add more information about your CVAT version, how you updated it and so on.

@leoyahaha
I will close the issue, because there are not any response from your site.
If you are ready to provide more information, do not hesitate to reopen.
Thank you.


Client.save does not save

so i was using a signed in client with username and pass to save, but when i tried to load nothing happens
Reproduction Steps
On PyDroid 3
import gd
import asyncio
async def main():
    # client signing in
    await client.save()
asyncio.run(main())

Expected Results
when clicking load chnges should be visible
Actual Results
nothing happens with no error thrown

[x ] I have searched the open issues for duplicates.
[x ] I have shown the entire traceback, if possible.
[ x] I have removed my token from display, if visible.

System Information
/storage/emulated/0 $ python -m gd --version

python v3.9.7-final
gd.py v0.11.0-final
aiohttp v3.7.4.post0
click v8.0.3
system Linux 4.14.133+ 1 SMP PREEMPT Tue Nov 9 02:49:51 CST 2021
/storage/emulated/0 $

Please post a more complete example, with actual changes you're making.

Closing due to inactivity.


json.decoder.JSONDecodeError: Unterminated string starting - malformed DAG after some time

Affected module
Ingestion Framework
Describe the bug
After some time OpenMetadata workflow factory can't parse .json DAG config.
To Reproduce
[2024-02-22T16:23:00.717+0000] {dagbag.py:346} ERROR - Failed to import: /airflow-dags/dags/Data_Platform_UC_metadata_i5ZZdx5s.py Traceback (most recent call last):   File "/home/airflow/.local/lib/python3.10/site-packages/airflow/models/dagbag.py", line 342, in parse     loader.exec_module(new_module)   File "<frozen importlib._bootstrap_external>", line 883, in exec_module   File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed   File "/airflow-dags/dags/Data_Platform_UC_metadata_i5ZZdx5s.py", line 7, in <module>     workflow = workflow_factory.WorkflowFactory.create("/airflow-dags/dags/Data_Platform_UC_metadata_i5ZZdx5s.json")   File "/home/airflow/.local/lib/python3.10/site-packages/openmetadata_managed_apis/workflows/workflow_factory.py", line 60, in create     workflow_config_dict = load_config_file(config_file)   File "/home/airflow/.local/lib/python3.10/site-packages/openmetadata_managed_apis/workflows/config.py", line 29, in load_config_file     config = json.loads(expanded_config_file)   File "/usr/local/lib/python3.10/json/__init__.py", line 346, in loads     return _default_decoder.decode(s)   File "/usr/local/lib/python3.10/json/decoder.py", line 337, in decode     obj, end = self.raw_decode(s, idx=_w(s, 0).end())   File "/usr/local/lib/python3.10/json/decoder.py", line 353, in raw_decode     obj, end = self.scan_once(s, idx) json.decoder.JSONDecodeError: Unterminated string starting at: line 1 column 3552 (char 3551)

And the json is an valid JSON.
Screenshots or steps to reproduce
It happens or regular basis for all the pipelines. Right now we are doing Kafka and Databricks.
Expected behavior
DAG is successufly ran and if fails then due to configuration.
Version:

OS: AKS
Python version: openmetadata ingestion 1.3
OpenMetadata version: 1.3
OpenMetadata Ingestion package version: [e.g. openmetadata-ingestion[docker]==1.3]

Additional context
Add any other context about the problem here.

hi @Nemeczek, thanks for details and sharing the files that were raising the exception.
I copied those files on a 1.3.1 container and I am not able to reproduce the error.
The only final difference I can think of is if on your instance you have some environment variables being expanded on the json.
Can you share via DM on Slack the env vars you have on your ingestion container?
Thanks

Have been in touch with @Nemeczek, looks like the issue might come from some caching on the Azure blob storage that is used to store the files. Waiting for further details

99.9% this issue is caused by Azure Blob. I think files are beign cached for certain amount of time - and after that cache expires te pipeline starts to fail. When pipeline is run manually it works. But scheduled runs do not.
Moreover I edited the DAG workflow .py file. I added printout statements to see if really JSON contains some malformed content. To my surprise the manual run did contain these statements but the scheduled did not... Once I confirm that by changing few settings in our k8s I will close this issue with an comment. Maybe some poor soul will face the same issue

Thanks for the details @Nemeczek and the debugging.
This will definitely be a great addition to the docs. Also, if there's anything we need to generalize on the airflow plugin to handle these scenarios, we can do so. We'll just need your help on testing the pieces.
Thanks,
Pere

In order to use the Airflow we decided to use Azure Blob Storage as PersistentVolume using this guide - Storage class using blobfuse .
Which is a very good solution for teams that are on Azure and using AKS. After every few days our DAGs started to get malformed. After manually editing dag python file (the one from dags/.py) I realised that the Executor pods are actually using the old dag file. And this sort of behaviour was caused by the recommended config by the documentation mentioned:
  - -o allow_other
  - --file-cache-timeout-in-seconds=120
  - --use-attr-cache=true
  - --cancel-list-on-mount-seconds=10  # prevent billing charges on mounting
  - -o attr_timeout=120
  - -o entry_timeout=120
  - -o negative_timeout=120
  - --log-level=LOG_WARNING  # LOG_WARNING, LOG_INFO, LOG_DEBUG
  - --cache-size-mb=1000  # Default will be 80% of available memory, eviction will happen beyond that.

We managed to fix this by disabling the cache (I think the --o direct_io and --cache-size-mb=0 would do but I actually disabled every possible cache. Why? Because the DAG .py and .json files are small and are not that often used so I think it would generate much costs.
Without cache:
      - --o direct_io
      - --file-cache-timeout-in-seconds=0
      - --use-attr-cache=false
      - --cancel-list-on-mount-seconds=10
      - --o attr_timeout=0
      - --o entry_timeout=0
      - --o negative_timeout=0
      - --log-level=LOG_WARNING
      - --cache-size-mb=0

Of course post mortem I was able to find similar issues:
https://github.com/Azure/azure-storage-fuse/issues/1171
https://github.com/Azure/azure-storage-fuse/issues/1139
So I am closing the issue because there is nothing wrong with OM - I hope this issue will save someone headache


Pull Request for ACL feature request #403

What is the purpose of the change
Pull Request for ACL feature request
Brief changelog
RPCHook impl, and acl table store and communication
Verifying this change
verified, compile succeed locally
Follow this checklist to help us incorporate your contribution quickly and easily. Notice, it would be helpful if you could finish the following 5 checklist(the last one is not necessary)before request the community to review your PR.

[x] Make sure there is a Github issue filed for the change (usually before you start working on it). Trivial changes like typos do not require a Github issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
[x] Format the pull request title like [ISSUE #123] Fix UnknownException when host config not exist. Each commit in the pull request should have a meaningful subject line and body.
[x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[x] Write necessary unit-test(over 80% coverage) to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add integration-test in test module.
[x] Run mvn -B clean apache-rat:check findbugs:findbugs checkstyle:checkstyle to make sure basic checks pass. Run mvn clean install -DskipITs to make sure unit-test pass. Run mvn clean test-compile failsafe:integration-test  to make sure integration-test pass.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

@linhu93 please add your team NO. and describe your design as comment.


How can I setup the index.merge.scheduler.max_thread_count configuration?

CrateDB version:
The latest CrateDB, last commit: https://github.com/crate/crate/commit/5173b655a9fbf72028876ae7b6eb5c4d2431e307
Environment description:
MacOS

Problem description:
Cannot set it by create or alter clause, nor can make it through modify crate.yml..

Invalid property "merge.scheduler.max_thread_count" passed to [ALTER | CREATE] TABLE statement
Index settings found. These have been unsupported since CrateDB 2.0 and should've been migrated.

We currently don't expose that setting. Can you elaborate on 2) ? I think we never did expose it so I'm wondering how you were able to set it in the past. What version are you upgrading from and when were the tables created that have those settings?

Hi, @mfussenegger . Yes, it is true that this configuration item is not exposed in CreatDB, but there are a few scenarios where it needs to be configured. For example, a cluster that only has non-ssd type disk. May I ask why we do not expose these configuration items?

No particular reason other than that we didn't have the requirement so far.
Due to 2) I was under the impression you're having an issue with this on an existing cluster. So this is not the cas?
We're happy to take a contribution that exposes the setting. (E.g. see https://github.com/crate/crate/commit/021335400b8dcfc6c797a7f29e3acf3da1da9f13 where we exposed a different setting to have an idea how to do that)

Due to 2) I was under the impression you're having an issue with this on an existing cluster. So this is not the cas?

Yes, it's similar to that case.

We're happy to take a contribution that exposes the setting.

Thanks. I raised up https://github.com/crate/crate/pull/9492, PTAL.

Closed by https://github.com/crate/crate/pull/9492


Open .dll in new console window on Linux .Net Core

I am able to run program.dll in same console window by running:
var process = new Process
{

    StartInfo = new ProcessStartInfo
    {
        FileName = "dotnet",
        Arguments = "program.dll",
        UseShellExecute = true,
        RedirectStandardOutput = false,
        RedirectStandardError = false,
        CreateNoWindow = false
    }
};

process.Start();

How to open program.dll in new console window on Linux using .NET Core 2.0?
Flag CreateNoWindow = false do not open new console as on Windows system.
Is it a bug?

Issue moved to dotnet/corefx #28182 via ZenHub


Support use of ingress for accessing ray dashboard when ray cluster is created.

The current implementation of "cluster.up()" generates a route resource to expose the ray dashboard to the internet. However, routes are specific to OpenShift and not  available in vanilla kubernetes. We should add support for using ingress resources as well which can be used with kubernetes.
This should also address the issue here:
https://github.com/project-codeflare/codeflare-sdk/issues/143#issuecomment-1615279300

Note that our cluster.cluster_dashboard_uri() should then also utilize the ingress API as opposed to the routes API (similar to what is being done currently in cluster.local_client_url()

Hi @Bobbins228 I think we should use the template to create ingress. Also, the route cr should be removed from the generated appwrapper yaml because of the route CRD is not supported in a K8s cluster.


[aws-sdk-cpp] Regenerate feature list

Re-run generateFeatures.ps1 to include new clients such as imagebuilder. Update generateFeatures.ps1 to support manifest files.

/azp run


Upload CSV/JSON

User Stories

Upload exported boards

As a user, I expect to be able to upload my exported boards in JSON or CSV format.

Upload during template selection

As a user, I expect to be able to upload my exported boards when selecting a template (look at screenshot)

Two upload methods

As a user, I expect to have two options for uploading CSV or JSON files:
a) Click to open a file picker to select the file.
b) Drag and drop the file onto the upload field.

Clear upload instructions

As a user, I expect clear instructions for uploading files:

Title: "Import CSV/JSON" or in German: "CSV/JSON importieren"
Description: "Upload file or drag here" or in German: "Datei hochladen oder hierher ziehen"

Automatic template selection

As a user, I expect that after uploading my file, the corresponding template is automatically selected, and I only need to click "Create new board" to open the board.

Some information that is important for implementation is missing here. For example, what happens if cards from other users are (also) imported, even tho they are not participants of the new session?

or example, what happens if cards from other users are (also) imported, even tho they are not participants of the new session

or in that regard, if the user doesn't exist at all 👀
I think the JSON should be able to reference the author(s) by id and name. So the import flow could look like this:

author has id ref in JSON:

user exists in DB: use determined name/avatar
user doesn't exist: throw error OR use default OR go to step 2

If author has name field, use that (plus default avatar or randomly generated)
otherwise use some kind of default, maybe "Unknown Author" with a default/ghost avatar

In my opinion, using the original authors for the imported cards is kinda a no-go, since it's not guaranteed that the users know of the new session. Me as a user wouldn't be that happy about my cards (with me as an author) being using on a board I don't know of.

But that defeats at least a main point of the import then, doesn't it? I want to be able to import a board and still be able to edit my own cards / reactions / filter by user if I'm in the session. Treating every note like it's from someone else would'nt allow this.
Regarding your point I think there are other ways to verify the integrity of the board. For example an imported note could be marked as such (with a very small icon or something along those lines) which would verify if the note was just written by the author or if it was imported.

I don't see a reason why this cannot/shouldn't be done for registered users. For anonymous accounts sure, but there is no technical limitation which would disallow just adding the verified accounts to a board that comes to my mind. You could even add an privacy option that could disallow this behaviour (make it default if you want) and would lead to what you suggested instead.
However, if you're concerned about security concers this only begs the question why owners are allowed to edit everyone's notes. Deleting them, sure, but I honestly can't comprehend why this is allowed 😅

I share your opinion, we should question why owners are able to edit all notes.
Still, I as a user don't want to be automatically added to the participants of a session. I want to get asked at least if I wanna join.

I think the easiest solution for this is a setting that allows whether your account may be used in other sessions or as an export. This does not only concern exports/imports, by the way – there might be a future option to duplicate sessions in the templates/sessions section, where the same issue would occur.
Combined with the other suggestion of marking imported notes I believe this ticks all the boxes regarding privacy, integrity, and still being a viable feature.
We should definitely discuss this within the team though, as it obviously isn't a trivial topic 😄

or actually just f it, we can just keep the names, as soon as the session feature is ready the import/export is probably only used for archiving anyways 🤷♂

I spoke to our data protection officer and he said that it is completely sufficient if we mark the edited notes. What we could or should do is just give the moderator the rights to edit notes.

implemented in https://github.com/inovex/scrumlr.io/releases/tag/v3.10.0


Cannot create undertow endpoint from war deployment

A camel deployment can only access the undertow subsystem when it is a WAR deployment, otherwise the deployment is not processed by undertow DUPs and hence access to server/host not available.
There may however be the case where we don't want to deploy a war based servlet endpoint, but instead use camel-undertow to create that endpoint. This currently leads to infinite recursion when done from a ServletContextListener.

This now works with an @ApplicationScoped RouteBuilder


Null is returned

This check https://github.com/olmokramer/scrollbar-width.js/blob/master/scrollbar-width.js#L17 makes function return null in normal budo module run
require('scrollbar-width')() // null

This package seems to detect not only scrollbar width, but also if scrollbar is actually present.

I haven't looked at this code for a few years, but if I remember correctly, that is because while the page is still loading the width of the scrollbar may not be determined correctly yet. You'll have to wait until the document is loaded, e.g.
document.addEventListener('DOMContentLoaded', function() {
    require('scrollbar-width')(); // should report correct width
}

Yep, which makes it useless as direct require, unfortunately :/

Well, I'm afraid there's nothing I can do about that; it is not possible to get reliable results before the page has finished loading.

Actually every other scrollbar detector package does that ok - it is enough just to remove that document load check.
Otherwise that is more correct to be called document-scrollbar-width.


Fix installation in a virtualenv

Currently termsql cannot be installed in a virtualenv because of the absolute path used when trying to install the manpage:
➜  venvs mkdir termsql
➜  venvs python3 -m venv termsql
➜  venvs source termsql/bin/activate
(termsql) ➜  venvs pip install git+https://github.com/tobimensch/termsql.git
Collecting git+https://github.com/tobimensch/termsql.git
  Cloning https://github.com/tobimensch/termsql.git to /tmp/pip-8nt1sqi4-build
Installing collected packages: termsql
  Running setup.py install for termsql ... error
    Complete output from command /home/enki/venvs/termsql/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-8nt1sqi4-build/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-8x95luaw-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/enki/venvs/termsql/include/site/python3.6/termsql:
    running install
    running build
    running build_scripts
    creating build
    creating build/scripts-3.6
    copying and adjusting termsql -> build/scripts-3.6
    copying where -> build/scripts-3.6
    copying limit -> build/scripts-3.6
    copying groupby -> build/scripts-3.6
    copying orderby -> build/scripts-3.6
    copying select -> build/scripts-3.6
    changing mode of build/scripts-3.6/termsql from 644 to 755
    running install_data
    copying termsql.1.gz -> /usr/share/man/man1/
    error: could not create '/usr/share/man/man1/termsql.1.gz': Permission denied

    ----------------------------------------
Command "/home/enki/venvs/termsql/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-8nt1sqi4-build/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-8x95luaw-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/enki/venvs/termsql/include/site/python3.6/termsql" failed with error code 1 in /tmp/pip-8nt1sqi4-build/
You are using pip version 9.0.3, however version 18.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
(termsql) ➜  venvs

After the pull request is applied everything works correctly:
➜  venvs mkdir termsql
➜  venvs python3 -m venv termsql
➜  venvs source termsql/bin/activate
(termsql) ➜  venvs pip install git+https://github.com/mgrela/termsql.git
Collecting git+https://github.com/mgrela/termsql.git
  Cloning https://github.com/mgrela/termsql.git to /tmp/pip-wqtvzjuu-build
Installing collected packages: termsql
  Running setup.py install for termsql ... done
Successfully installed termsql-0.3
You are using pip version 9.0.3, however version 18.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
(termsql) ➜  venvs termsql --version
0.3
(termsql) ➜  venvs

Solved issue.


Some random distributions do not accept size=None arguments

From a discussion in #7690
Some of numba's random distribution functions cannot handle size=None arguments, despite size=None being the default value for all of these functions.
import numpy as np
import numba as nb

# this works
@nb.njit
def nb_chi2(df):
    return np.random.chisquare(df)

nb_chi2(2)

# this also works
np.random.chisquare(2)

# this does not work
@nb.njit
def nb_chi2(df, size):
    return np.random.chisquare(df, size)

nb_chi2(2, None)

# while this does
np.random.chisquare(2, None)

This means you have to write something like this everywhere if you want to use np.random.chisquare in a jitted function, though you'd hope that numba's dispatch mechanism would be handling this for you.
if size is None:
    return np.random.chisquare(df)
else:
    return np.random.chisquare(df, size)

Trying the above nonfunctioning function gives this error:
              Traceback (most recent call last):
                File "/Users/vhaenel/git/numba/numba/core/types/functions.py", line 308, in get_call_type
                  sig = temp.apply(nolitargs, nolitkws)
                File "/Users/vhaenel/git/numba/numba/core/typing/templates.py", line 351, in apply
                  sig = generic(args, kws)
                File "/Users/vhaenel/git/numba/numba/core/typing/templates.py", line 972, in generic
                  result = self._definition_func(self.context, *args, **kws)
                File "/Users/vhaenel/git/numba/numba/core/overload_glue.py", line 37, in stub
                  return body(tyctx)  # noqa: F821
                File "/Users/vhaenel/git/numba/numba/core/overload_glue.py", line 140, in body
                  sig = typing.apply(ol_args, ol_kwargs)
                File "/Users/vhaenel/git/numba/numba/core/typing/templates.py", line 414, in apply
                  sig = typer(*args, **kws)
                File "/Users/vhaenel/git/numba/numba/core/typing/randomdecl.py", line 277, in typer
                  return self.array_typer(size)(a)
                File "/Users/vhaenel/git/numba/numba/core/typing/randomdecl.py", line 63, in typer
                  shape, ndim = normalize_shape(size)
                File "/Users/vhaenel/git/numba/numba/core/typing/randomdecl.py", line 37, in normalize_shape
                  ndim = len(shape)
              TypeError: object of type 'NoneType' has no len()

@stuartarchibald points out that the issue is likely in here.
https://github.com/numba/numba/blob/290bcaa63804fb99b1fe238b0f8fe1caf7686899/numba/core/typing/randomdecl.py#L264-L278

My main question is - is it worth just rewriting these functions to use the new API? It'd be quite a project (that I'm happy to chip away at), but would improve the clarity of randomimpl, which currently uses both extension APIs.

@rishi-kulkarni thanks for opening a ticket to track this. Ideally rewriting these functions to use the new APIs (@overload/@intrinsic etc) would be the way to go. Having a mixture of the two tends to cause problems, particularly when @glue_typing is involved (this acts as a conversion shim between the two). If you were interested in contributing in this area by translating the existing implementations to the new API, this would be welcomed. I think it might be a little challenging in places but I think once one of the functions is translated the rest should be able to just follow the same pattern. Many thanks for your help.

@stuartarchibald I'll take a crack at it. At first glance, it seems like this issue goes all the way down to the np.random.random calls that these distributions use for their randomness, which look harder to change due to Numba's desire to match Numpy's (admittedly legacy) PRNG.
The easiest (though admittedly not perfectly clean) solution I see is to add an overload for np.random.random that dispatches to np.random.random() in the size=None case, at which point fixing the other functions becomes fairly straightforward. Does this sound about right to you, or are there other considerations to keep in mind?

@rishi-kulkarni Many thanks for offering to work on this. I think your assessment is correct, getting the np.random.random function as an @overload will probably unlock the same for the rest of distribution functions. Foreseeable issues include:

there may be problems where a typing_key is needed for the typer functions and support for this would need to be added to @overload.
a load of the CPython RNG implementation (standard library random module) shares the same code, if it makes it easier to debug I suggest duplicating code paths for now and then when it all works we can figure out how to de-duplicate.

Thanks again!


CTD When opening radial menu - campcraft

Crash happened when opening radial menu campcraft. After removing ModComponent the menu back to normal
Melonloader Log below. Tested in Game ver v2.27. Replication done.
[02:41:12.094] ------------------------------
[02:41:12.118] MelonLoader v0.6.2 Open-Beta
[02:41:12.119] OS: Windows 10
[02:41:12.119] Hash Code: 2AD1478D8329B7784C949251EAF68C4C50E2FE9DA6CBB4BDF1DCD43E9026C63C
[02:41:12.119] ------------------------------
[02:41:12.119] Game Type: Il2cpp
[02:41:12.119] Game Arch: x64
[02:41:12.119] ------------------------------
[02:41:12.120] Core::BasePath = G:\SteamLibrary\steamapps\common\TheLongDark
[02:41:12.120] Game::BasePath = G:\SteamLibrary\steamapps\common\TheLongDark
[02:41:12.120] Game::DataPath = G:\SteamLibrary\steamapps\common\TheLongDark\tld_Data
[02:41:12.120] Game::ApplicationPath = G:\SteamLibrary\steamapps\common\TheLongDark\tld.exe
[02:41:12.120] Runtime Type: net6
[02:41:12.292] ------------------------------
[02:41:12.293] Game Name: TheLongDark
[02:41:12.293] Game Developer: Hinterland
[02:41:12.294] Unity Version: 2021.3.16f1
[02:41:12.294] Game Version: 2.27
[02:41:12.295] ------------------------------
[02:41:12.734] Preferences Loaded!
[02:41:12.869] Loading UserLibss from 'G:\SteamLibrary\steamapps\common\TheLongDark\UserLibs'...
[02:41:12.876] Loading Plugins from 'G:\SteamLibrary\steamapps\common\TheLongDark\Plugins'...
[02:41:12.877] 0 Plugins loaded.
[02:41:13.271] [MelonStartScreen] Initializing...
[02:41:13.301] [MelonStartScreen] Using Start Screen Theme: "Default"
[02:41:14.197] Loading Il2CppAssemblyGenerator...
[02:41:14.209] [Il2CppAssemblyGenerator] Contacting RemoteAPI...
[02:41:14.928] [Il2CppAssemblyGenerator] RemoteAPI.DumperVersion = null
[02:41:14.929] [Il2CppAssemblyGenerator] RemoteAPI.ObfuscationRegex = null
[02:41:14.930] [Il2CppAssemblyGenerator] RemoteAPI.MappingURL = null
[02:41:14.931] [Il2CppAssemblyGenerator] RemoteAPI.MappingFileSHA512 = null
[02:41:14.946] [Il2CppAssemblyGenerator] Using Dumper Version: 2022.1.0-pre-release.13
[02:41:14.947] [Il2CppAssemblyGenerator] Using Il2CppInterop Version = 1.4.5
[02:41:14.947] [Il2CppAssemblyGenerator] Using Unity Dependencies Version = 2021.3.16
[02:41:14.947] [Il2CppAssemblyGenerator] Using Deobfuscation Regex = null
[02:41:14.948] [Il2CppAssemblyGenerator] Cpp2IL is up to date.
[02:41:14.948] [Il2CppAssemblyGenerator] UnityDependencies is up to date.
[02:41:14.949] [Il2CppAssemblyGenerator] Checking GameAssembly...
[02:41:15.121] [Il2CppAssemblyGenerator] Assembly is up to date. No Generation Needed.
[02:41:15.132] Loading Mods from 'G:\SteamLibrary\steamapps\common\TheLongDark\Mods'...
[02:41:15.133] ------------------------------
[02:41:15.138] Melon Assembly loaded: '.\Mods\CraftingRevisions.dll'
[02:41:15.139] SHA256 Hash: '8b81773336d0d0cb6ab4c00e0a5c146559285111a6fb3c3a8e86008424162e1e'
[02:41:15.141] Melon Assembly loaded: '.\Mods\GearSpawner.dll'
[02:41:15.141] SHA256 Hash: '6c868c4339c3a040938026f81b465f1c5ac0a718a632fb35ea237c5911894bf9'
[02:41:15.143] Melon Assembly loaded: '.\Mods\LocalizationUtilities.dll'
[02:41:15.143] SHA256 Hash: '4576d7a6537ba2c77b07ce7d785816efe7bda8de079c808a9af16e917f79e06c'
[02:41:15.155] Melon Assembly loaded: '.\Mods\ModComponent.dll'
[02:41:15.156] SHA256 Hash: 'fd60d50db1bb8a8e35c8d405267d0ed7895a22b285ae8f93cece1e89d5a96080'
[02:41:15.158] Melon Assembly loaded: '.\Mods\ModSettings.dll'
[02:41:15.158] SHA256 Hash: '322812eff13e31276bd77a7a86499a23292d480e66733effd0c65a7e5e6b6669'
[02:41:15.406] ------------------------------
[02:41:15.406] LocalizationUtilities v2.0.0
[02:41:15.406] by ds5678
[02:41:15.407] Assembly: LocalizationUtilities.dll
[02:41:15.408] ------------------------------
[02:41:15.413] ------------------------------
[02:41:15.413] ModSettings v2.0.0
[02:41:15.413] by zeobviouslyfakeacc, Digitalzombie
[02:41:15.414] Assembly: ModSettings.dll
[02:41:15.414] ------------------------------
[02:41:15.420] ------------------------------
[02:41:15.420] CraftingRevisions v2.2.4
[02:41:15.420] by STBlade
[02:41:15.421] Assembly: CraftingRevisions.dll
[02:41:15.421] ------------------------------
[02:41:15.427] ------------------------------
[02:41:15.427] GearSpawner v2.3.2
[02:41:15.427] by STBlade
[02:41:15.427] Assembly: GearSpawner.dll
[02:41:15.427] ------------------------------
[02:41:15.433] ------------------------------
[02:41:15.433] ModComponent v6.2.6
[02:41:15.433] by STBlade
[02:41:15.434] Assembly: ModComponent.dll
[02:41:15.434] ------------------------------
[02:41:15.434] ------------------------------
[02:41:15.434] 5 Mods loaded.
[02:41:16.154] Class::Init signatures have been exhausted, using a substitute!
[02:41:16.172] Registered mono type Il2CppInterop.Runtime.DelegateSupport+Il2CppToMonoDelegateReference in il2cpp domain
[02:41:16.199] Registered mono type MelonLoader.Support.MonoEnumeratorWrapper in il2cpp domain
[02:41:16.201] Registered mono type MelonLoader.Support.SM_Component in il2cpp domain
[02:41:16.208] Support Module Loaded: G:\SteamLibrary\steamapps\common\TheLongDark\MelonLoader\Dependencies\SupportModules\Il2Cpp.dll
[02:41:16.238] Registered mono type ModSettings.ModSettingsGUI in il2cpp domain
[02:41:16.742] [ModComponent] Release Compilation
[02:41:30.905] [ModComponent] Running Dependency Checks..
[02:41:32.140] [ModComponent] Panel_Crafting_Initialize
[02:41:32.793] Building Mod Settings GUI
[02:41:32.815] Registered mono type ModSettings.DescriptionHolder in il2cpp domain
[02:41:32.831] Building Custom Mode GUI
[02:41:32.834] Registered mono type ModSettings.CustomModeGUIBuilder+HinterlandSettingVisibilityListener in il2cpp domain
[02:41:32.860] Done! Took 68 ms. Have a nice day!
[02:41:34.676] [ModComponent] Registering pending sound banks.
[02:41:51.612] Registered mono type ModSettings.SliderFixPatches+SliderBarDepthFixer in il2cpp domain
[02:41:51.627] During invoking native->managed trampoline
[02:41:51.635] During invoking native->managed trampoline
[02:41:51.642] During invoking native->managed trampoline
[02:41:51.649] During invoking native->managed trampoline
[02:41:51.656] During invoking native->managed trampoline
[02:41:51.663] During invoking native->managed trampoline
[02:41:51.670] During invoking native->managed trampoline
[02:41:51.678] During invoking native->managed trampoline
[02:41:51.685] During invoking native->managed trampoline
[02:41:51.691] During invoking native->managed trampoline
[02:41:51.698] During invoking native->managed trampoline
[02:41:51.706] During invoking native->managed trampoline
[02:41:51.713] During invoking native->managed trampoline
[02:41:51.721] During invoking native->managed trampoline
[02:41:51.728] During invoking native->managed trampoline
[02:41:51.736] During invoking native->managed trampoline
[02:41:51.743] During invoking native->managed trampoline
[02:41:51.750] During invoking native->managed trampoline
[02:41:51.758] During invoking native->managed trampoline
[02:41:51.764] During invoking native->managed trampoline
[02:41:51.771] During invoking native->managed trampoline
[02:41:51.778] During invoking native->managed trampoline
[02:41:51.785] During invoking native->managed trampoline
[02:41:51.792] During invoking native->managed trampoline
[02:41:51.799] During invoking native->managed trampoline
[02:41:51.806] During invoking native->managed trampoline
[02:41:51.812] During invoking native->managed trampoline
[02:41:51.820] During invoking native->managed trampoline
[02:41:51.827] During invoking native->managed trampoline
[02:41:51.834] During invoking native->managed trampoline
[02:41:51.840] During invoking native->managed trampoline
[02:41:51.846] During invoking native->managed trampoline
[02:41:51.853] During invoking native->managed trampoline
[02:41:51.858] During invoking native->managed trampoline
[02:41:51.865] During invoking native->managed trampoline
[02:41:51.872] During invoking native->managed trampoline
[02:41:51.879] During invoking native->managed trampoline
[02:41:51.886] During invoking native->managed trampoline
[02:41:51.892] During invoking native->managed trampoline
[02:41:51.899] During invoking native->managed trampoline
[02:41:51.907] During invoking native->managed trampoline
[02:41:51.913] During invoking native->managed trampoline
[02:41:51.920] During invoking native->managed trampoline
[02:41:51.929] During invoking native->managed trampoline
[02:41:51.935] During invoking native->managed trampoline
[02:41:51.942] During invoking native->managed trampoline
[02:41:51.948] During invoking native->managed trampoline
[02:41:51.955] During invoking native->managed trampoline
[02:41:51.962] During invoking native->managed trampoline
[02:41:51.969] During invoking native->managed trampoline
[02:41:51.975] During invoking native->managed trampoline
[02:41:51.984] During invoking native->managed trampoline
[02:41:51.990] During invoking native->managed trampoline
[02:41:51.997] During invoking native->managed trampoline
[02:41:52.003] During invoking native->managed trampoline
[02:41:52.011] During invoking native->managed trampoline
[02:41:52.017] During invoking native->managed trampoline
[02:41:52.025] During invoking native->managed trampoline
[02:41:52.031] During invoking native->managed trampoline
[02:41:52.038] During invoking native->managed trampoline
[02:41:52.045] During invoking native->managed trampoline
[02:41:52.053] During invoking native->managed trampoline
[02:41:52.059] During invoking native->managed trampoline
[02:41:52.067] During invoking native->managed trampoline
[02:41:52.073] During invoking native->managed trampoline
[02:41:52.080] During invoking native->managed trampoline
[02:41:52.087] During invoking native->managed trampoline
[02:41:52.094] During invoking native->managed trampoline
[02:41:52.102] During invoking native->managed trampoline
[02:41:52.108] During invoking native->managed trampoline
[02:41:52.115] During invoking native->managed trampoline
[02:41:52.122] During invoking native->managed trampoline
[02:41:52.129] During invoking native->managed trampoline
[02:41:52.136] During invoking native->managed trampoline
[02:41:52.143] During invoking native->managed trampoline
[02:41:52.150] During invoking native->managed trampoline
[02:41:52.157] During invoking native->managed trampoline
[02:41:52.167] During invoking native->managed trampoline
[02:41:52.174] During invoking native->managed trampoline
[02:41:52.180] During invoking native->managed trampoline
[02:41:52.186] During invoking native->managed trampoline
[02:41:52.192] During invoking native->managed trampoline
[02:41:52.199] During invoking native->managed trampoline
[02:41:52.205] During invoking native->managed trampoline
[02:41:53.832] [ModComponent] Registering pending sound banks.
[02:41:54.066] [GearSpawner] Spawning items for scene 'PrepperCacheE' ...
[02:41:54.067] [GearSpawner] Could not find any spawn entries for 'preppercachee'
[02:41:54.070] [GearSpawner] Spawned 'Pilgram' items for scene 'PrepperCacheE' in 1 ms
MelonLoader mentioned something about [Attempted to read or write protected memory]

Downgrade MelonLoader to v0.6.1 and fixed


question

Do not plan to implement bip39 (bip 32 bip044)
I did it in python.  But it's very slow

Your program is great, it needs to be continued.

You mean to scan/attack https://en.bitcoin.it/wiki/Seed_phrase ?

Yes
https://iancoleman.io/bip39/

My code
https://github.com/Noname400/Hunt-to-Mnemonic


Enahnce OuiComboBox - refine type to search error handling

Problem:
Currently, OuiComboBox offers a variation for single selection. A user can either open the selectable UI and scroll to select a value, or search within the combo box to find a match for their query, and can make a selection, and the selectable portion of combo box is dismissed, retaining the selected value in the search field.
However, if the entered search does not match any values, the user is presented with an error state, and the search box is not cleared when the combo box search results are closed, retaining the error state. This feels clunky and like "yelling at the user", and could be further refined.

Solution:
As a user is typing, it is valid to present an error state when no match is found. However, if no selection is made because no value was selected, when the focus is lost from the input box, the value should be cleared or returned to the last valid selection. Provide a prop to builders to set this interaction (clear or returned).
In addition, it is not immediately obvious that search can be performed in the combo box, and I propose adding a prop to allow OuiIcon to be turned on/off by the builder.
Tasks:

[ ] Refine search interactions by providing a prop to allow builders to select clear or return to last valid selection
[ ] Add prop to set OuiIcon type=search true or false
[ ] #98

If this is supposed to behave as a select box, it shouldalways have one of its options always selected, which means that

I can provide a default value (This already has that)
Once I select a value, I should not be able to clear it.I should only be able to select between other values

@ashwin-pc  there is already a prop that allows a builder to configure requirement 2

@ashwin-pc  good call out with # 2, I have updated the issue.

I thought , it allows us select multiple options so default option won't be there. is it supposed to behave like "select" element in HTML ?

In the case of selecting multiples or a single (which is the use case for @ashwin-pc ) it is still weird when a value that is entered doesn't match anything. There is another implementation where if a string doesn't match a value, the user can create the value that way.
I am not sure how the component is constructed, but I do think we need to touch up the interaction.

According to @ashwin-pc a default value can be set already. Is this accurate ?

Default value here, means initially we can set selectedOptions, but once user start entering anything right or wrong, that value will get overridden and we will have retain that .

@kaddy645  I am not sure why we must retain that. Its leading to a poor user experience and is likely to increase errors.
The request is to clear the value if it doesn't match unless the component is configured for custom options (renderOption & OuiComboBoxOptionOption)


Bug Summary

Describe the bug
Sorry but I am quite new about Docker and I did not understand why in the Dockerfile it is called a file that apparently is missing (maybe must be generated by the previous dockerfile commands????).
As a consequence, I got this error while I am trying to build the Docker image:
ERROR: failed to solve: failed to compute cache key: failed to calculate checksum of ref 581922ad-c5e5-466c-9dac-9be6e15ce4bf::il5wmk5wwugil7djvxrpnqinn: "/hash.file": not found

To Reproduce
Steps to reproduce the behavior:

I downloaded the repository through git clone
From the oktoberfest folder I run: sudo docker build -t oktoberfest .

System [please complete the following information]:

OS: Ubuntu 22.04.2 LTS
Virtual environment: Conda

Additional context
The full output of the Docker build command before the error is :
[+] Building 1.6s (26/26) FINISHED
 => [internal] load build definition from Dockerfile                                                                                0.0s
 => => transferring dockerfile: 1.81kB                                                                                0.0s
 => [internal] load .dockerignore                                                                                0.0s
 => => transferring context: 50B                                                                                0.0s
 => [internal] load metadata for docker.io/library/python:3.8.12                                                                                1.4s
 => CANCELED [ 1/22] FROM docker.io/library/python:3.8.12@sha256:53cb5152064a7e7b485ad42704ea63c5155b264c82e7f17de99d3aa28e4f8956                                          0.0s
 => => resolve docker.io/library/python:3.8.12@sha256:53cb5152064a7e7b485ad42704ea63c5155b264c82e7f17de99d3aa28e4f8956                                                     0.0s
 => => sha256:60d1cda1542582095795c25bff869b0c615e2a913c4026ed0313ede156b60468 2.22kB / 2.22kB                                                                             0.0s
 => => sha256:53cb5152064a7e7b485ad42704ea63c5155b264c82e7f17de99d3aa28e4f8956 1.86kB / 1.86kB                                                                             0.0s
 => => sha256:52bb9574949f3991ed435968cbb3b68b7b3ab3d041633ad40866ee447896c176 8.59kB / 8.59kB                                                                             0.0s
 => [internal] load build context                                                                                0.0s
 => => transferring context: 344.69kB                                                                                0.0s
 => CACHED [ 2/22] RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF                                          0.0s
 => CACHED [ 3/22] RUN echo "deb https://download.mono-project.com/repo/debian stable-buster main" | tee /etc/apt/sources.list.d/mono-official-stable.list                 0.0s
 => CACHED [ 4/22] RUN apt-get update                                                                                0.0s
 => CACHED [ 5/22] RUN apt-get install -y         mono-devel         ssh         zip RUN rm -rf /var/lib/apt/lists/*                                                       0.0s
 => CACHED [ 6/22] WORKDIR /root                                                                                0.0s
 => CACHED [ 7/22] ADD keys /root/.ssh                                                                                0.0s
 => CACHED [ 8/22] RUN chmod 700 /root/.ssh/id_rsa                                                                                0.0s
 => CACHED [ 9/22] RUN pip install poetry==1.3.2                                                                                0.0s
 => CACHED [10/22] RUN poetry config virtualenvs.create false                                                                                0.0s
 => CACHED [11/22] ADD pyproject.toml /root/pyproject.toml                                                                                0.0s
 => CACHED [12/22] ADD poetry.lock /root/poetry.lock                                                                                0.0s
 => CACHED [13/22] RUN poetry install --no-root                                                                                0.0s
 => CACHED [14/22] RUN ZIP=ubuntu.tar.gz                                                                                0.0s
 => CACHED [15/22] RUN wget https://github.com/percolator/percolator/releases/download/rel-3-05/$ZIP -O /tmp/$ZIP                                                          0.0s
 => CACHED [16/22] RUN tar xvzf /tmp/$ZIP                                                                                0.0s
 => CACHED [17/22] RUN chmod -R 755 /tmp/*                                                                                0.0s
 => CACHED [18/22] RUN dpkg -i percolator-v3-05-linux-amd64.deb                                                                                0.0s
 => CACHED [19/22] RUN rm /tmp/$ZIP                                                                                0.0s
 => CACHED [20/22] RUN rm -r /root/.ssh                                                                                0.0s
 => CACHED [21/22] ADD oktoberfest/ /root/oktoberfest                                                                                0.0s
 => ERROR [22/22] ADD hash.file /root/hash.file                                                                                0.0s
------
 > [22/22] ADD hash.file /root/hash.file:
------
Dockerfile:58
--------------------
  56 |
  57 |     # Used by ProteomicsDB runs to describe the oktoberfest version
  58 | >>> ADD hash.file /root/hash.file
  59 |
--------------------
ERROR: failed to solve: failed to compute cache key: failed to calculate checksum of ref 581922ad-c5e5-466c-9dac-9be6e15ce4bf::m26jfdzlh33j9vlfpl8kk62hu: "/hash.file": not found

You can resolve this by running git describe --long --dirty --always > hash.file in the directory before building the image.
@LLautenbacher do you remember why we don't run this command inside the Dockerfile?

This should be fixed in #77. I will merge into the development after merging #75.


Cookie Consent removed from Template in 3.0

Per https://github.com/aspnet/AspNetCore/issues/10346 the Cookie Consent section will be removed in ASP.NET Core 3.0. This doc will need to be updated to mention this and note how to add necessary bits.

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

ID: 28d0490e-205f-20a5-ace5-904f4c8ad78f
Version Independent ID: 4a2c8d95-fdd2-fdb1-b61d-802d0a8539c3
Content: General Data Protection Regulation (GDPR) support in ASP.NET Core
Content Source: aspnetcore/security/gdpr.md
Product: aspnet-core
Technology: aspnetcore-security
GitHub Login: @Rick-Anderson
Microsoft Alias: riande

@isaac2004 Please let Rick know if you'll be submitting a PR. I'd hate to have him spend time on it if you're already working on it.

@Rick-Anderson PR already submitted


ci: dependabot -> renovate

:tada: This PR is included in version 1.3.3 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


CRITICAL:root:twint.feed:Follow:IndexError when running .Followers script

Hi all,
I'm getting the above error when I run this script:
import twint

c = twint.Config()
c.Username = "twitter"

twint.run.Followers(c)

Edit - it also does it for the .Following script

I'm getting this error all the way around.

Update: After removing my version of twint and installing directly from the git repo, some functionality has returned.
It might help to install directly from source.


Add Precision argument to equality for numeric and float type columns

Describe the feature
It would be helpful to have an argument to the equality test that would specify the precision required for equality for numeric and float type columns by first rounding them before comparison. Currently equality can fail on seemingly identical tables due to precision errors as part of processing.
Describe alternatives you've considered
Removing these columns from the comparison, or implementing an overwritten macro to do this myself.
Additional context
Who will this benefit?
Anyone using the equality test with numeric/float type columns.
Are you interested in contributing this feature?
I have a working solution that I use locally based off the existing equality code, it works fine but is maybe not the cleanest way to do it.
{% test equality(model, compare_model, compare_columns=None, precision = None) %}
  {{ return(adapter.dispatch('test_equality', 'dbt_utils')(model, compare_model, compare_columns, precision)) }}
{% endtest %}

{% macro default__test_equality(model, compare_model, compare_columns=None, precision = None) %}

{% set set_diff %}
    count(*) + coalesce(abs(
        sum(case when which_diff = 'a_minus_b' then 1 else 0 end) -
        sum(case when which_diff = 'b_minus_a' then 1 else 0 end)
    ), 0)
{% endset %}

{#-- Needs to be set at parse time, before we return '' below --#}
{{ config(fail_calc = set_diff) }}

{#-- Prevent querying of db in parsing mode. This works because this macro does not create any new refs. #}
{%- if not execute -%}
    {{ return('') }}
{% endif %}

-- setup
{%- do dbt_utils._is_relation(model, 'test_equality') -%}

{%- if not precision -%}
    {#-
        If the compare_cols arg is provided, we can run this test without querying the
        information schema — this allows the model to be an ephemeral model
    -#}
    {%- if not compare_columns -%}
        {%- do dbt_utils._is_ephemeral(model, 'test_equality') -%}
        {%- set compare_columns = adapter.get_columns_in_relation(model) | map(attribute='quoted') -%}
    {%- endif -%}

    {% set compare_cols_csv = compare_columns | join(', ') %}
{% else %}
    {#-
        If rounding is required, we need to get the types, so it can't be ephermeral
    -#}
    {%- do dbt_utils._is_ephemeral(model, 'test_equality') -%}
    {%- set columns = adapter.get_columns_in_relation(model) -%}

    {% set columns_list = [] %}
    {%- for col in columns -%}
        {%- if (compare_columns and col.name|lower in compare_columns|map('lower')) or not compare_columns -%}
            {%- if col.is_float() or col.is_numeric() -%}
                {# Cast is required due to postgres not having round for a double precision number #}
                {%- do columns_list.append('round(cast(' ~ col.name ~ ' as ' ~ dbt.type_numeric() ~ '),' ~ precision ~ ') as ' ~ col.name) -%}
            {%- else -%}
                {%- do columns_list.append(col.name) -%}
            {%- endif -%}
        {% endif %}
    {%- endfor -%}

    {% set compare_cols_csv = columns_list | join(', ') %}
{% endif %}

with a as (

    select * from {{ model }}

),

b as (

    select * from {{ compare_model }}

),

a_minus_b as (

    select {{compare_cols_csv}} from a
    {{ dbt.except() }}
    select {{compare_cols_csv}} from b

),

b_minus_a as (

    select {{compare_cols_csv}} from b
    {{ dbt.except() }}
    select {{compare_cols_csv}} from a

),

unioned as (

    select 'a_minus_b' as which_diff, a_minus_b.* from a_minus_b
    union all
    select 'b_minus_a' as which_diff, b_minus_a.* from b_minus_a

)

select * from unioned

{% endmacro %}

@rlh1994 conceptually I am into this, as long as it works in a backwards-compatible way. Offhand, I'm not sure how many tests this already has, but part of this PR would likely include fleshing that out to add a bunch of cases for the newly supported options (probably including some negative tests, i.e. making sure that it correctly fails).
I haven't reviewed this in depth, but gave it a skim and it looks like it's significantly less hassle than I would have assumed! I thought that the cross-database support was going to be a nightmare 💀
Feel free to spin up a PR and let's get some testing attached to it!

You shall not close!


Separate outputs

We create a separate file for each modelpoint.
Do we need that? Can't it be one common output?

It's okay if the run is aggregated because then we have always the same number of  row (e.g. 720 periods).
But for individual, it's not possible because for some variables there might be multiple records.
For example, only one record for bel but 3 records for fund development because policyholder has 3 funds.
Then we have a mismatch in number of rows.
We can create common output for aggregated setting but I see it as a feature which is not extremly important.


Update contract to include OIDC information

Fixes #3571
Proposed Changes

Update contract to include OIDC relevant information. This includes:

Audience of the Destination
Audience of the Reply
Audience of the Dead-Letter-Sink
OIDCServiceAccountName
Audience of the ingress

/retest-required

/retest-required

feature.go:199: failed to wait for resources to be deleted: timed out waiting for the condition

not related.
/retest-required

/test reconciler-tests

/retest

/retest-required

/retest-required


Order ignored in partition attributes

Thanks to @jingjingwang and @shbae
...

I guess it's caused by the new RACO optimization where a shuffle is eliminated if the relation is already partitioned in the same way, but the order of the hash indices seems to be incorrect. This is the join of the JSON plan:
    "operators": [
      {
        "opName": "MyriaScan(shbae:graphs:toy_graph2)",
        "opId": 18,
        "relationKey": {
          "relationName": "toy_graph2",
          "userName": "shbae",
          "programName": "graphs"
        },
        "opType": "TableScan"
      },
      {
        "opName": "MyriaShuffleConsumer",
        "opId": 19,
        "argOperatorId": 20,
        "opType": "ShuffleConsumer"
      },
      {
        "argColumnNames": [
          "row",
          "value",
          "value1",
          "col",
          "value11"
        ],
        "opName": "MyriaSymmetricHashJoin((($5 = $0) and ($2 = $4)); $0,$1,$3,$5,$6)",
        "opId": 21,
        "argChild2": "18",
        "argChild1": "19",
        "argSelect1": [
          0,
          1,
          3
        ],
        "argSelect2": [
          1,
          2
        ],
        "argColumns1": [
          0,
          2
        ],
        "argColumns2": [
          1,
          0
        ],
        "opType": "SymmetricHashJoin"
      },

operator 18 should give us tuples partitioned by ($1, $0) as specified in argColumns2, but shbae:graphs:toy_graph2 was partitioned using ($0, $1) (http://ec2-54-183-236-108.us-west-1.compute.amazonaws.com:8753/dataset/user-shbae/program-graphs/relation-toy_graph2), so there still needs to be a Shuffle. I used round-robin in my deployment so my plan had another ShuffleConsumer instead of a Scan, so I had no problem.

I think the problem is that hash partitioning in Raco is using a set instead of a list. It is ignoring order but shouldn't be. Should be an easy fix.

Tracking related superfluous shuffle generation bug in https://github.com/uwescience/raco/issues/566


Keep LLDB connection to iOS device alive while running from CLI.

Description
Instead of detaching from the spawned App process on the device immediately, keep the LLDB client connection open (in autopilot mode) until the App quits or the server connection is lost.
This replicates the behavior of Xcode, which also keeps a debugger attached to the App after launching it.
Tests
This change will be covered by all running benchmarks (which are launched via "flutter run"/"flutter drive"), and probably be covered by all tests as well.
Breaking Change
I don't believe this should introduce any breaking changes. The LLDB client automatically exits when the app dies or the device is disconnected, so there shouldn't even be any user-visible changes to the behavior of the tool (besides the output of "-v").

cc @tvolkert
The original PR which added --justlaunch was https://github.com/flutter/flutter/pull/4161. It's not clear from the description whether that was an intentional choice.


Implemented a servers property into revolt.Client

Added a servers property to revolt.Client what returns a list of servers the client can see

Thanks.


example help

I downloaded this library example  when  i use basic demo ,it response 'Unable to create resource'  error all the time, please help me debug this error,i use windows environment，thank you ~~
this is upload file
require __DIR__ . '/../../vendor/autoload.php';

use TusPhp\Exception\TusException;
use TusPhp\Exception\FileException;
use TusPhp\Exception\ConnectionException;

$client = new \TusPhp\Tus\Client('http://bigupload.test/server.php');
$client->setApiPath('/basic/upload.php');

// Alert: Sanitize all inputs properly in production code
if ( ! empty($_FILES)) {
    $fileMeta  = $_FILES['tus_file'];
    $uploadKey = hash_file('md5', $fileMeta['tmp_name']);

    try {

        $client->setKey($uploadKey)->file($fileMeta['tmp_name'], time() . '_' . $fileMeta['name']);

        $bytesUploaded = $client->upload(5000000); // Chunk of 5 mb

        echo json_encode([
            'status' => 'uploading',
            'bytes_uploaded' => $bytesUploaded,
            'upload_key' => $uploadKey
        ]);
    } catch (ConnectionException | FileException | TusException $e) {
        echo json_encode([
            'status' => 'error',
            'bytes_uploaded' => -1,
            'upload_key' => '',
            'error' => $e->getMessage(),
        ]);
    }
} else {
    echo json_encode([
        'status' => 'error',
        'bytes_uploaded' => -1,
        'error' => 'No input!',
    ]);
}

this is verify file

<?php

/**
 * Sends HEAD request to figure out uploaded offset
 * if the file was uploaded partially previously.
 */

require __DIR__ . '/../../vendor/autoload.php';

use TusPhp\Exception\FileException;
use GuzzleHttp\Exception\ConnectException;

$client = new \TusPhp\Tus\Client('http://bigupload.test/server.php');

$uploadKey = uniqid('tus_file_');

try {

    $offset = $client->setKey($uploadKey)->getOffset();

    $status = false !== $offset ? 'resume' : 'new';
    $offset = false === $offset ? 0 : $offset;

    echo json_encode([
        'status' => $status,
        'bytes_uploaded' => $offset,
        'upload_key' => $uploadKey,
    ]);
} catch (ConnectException $e) {
    echo json_encode([
        'status' => 'error',
        'bytes_uploaded' => -1,
    ]);
} catch (FileException $e) {
    echo json_encode([
        'status' => 'resume',
        'bytes_uploaded' => 0,
        'upload_key' => '',
    ]);
}

this is nginx conf
server {
    listen 80;
    server_name bigupload.test *.bigupload.test;
    root "C:/laragon/www/bigupload/example";

    index index.html index.htm index.php;

    location / {

        try_files $uri $uri/ C:/laragon/www/bigupload/example/server.php?$query_string;

    }

    location ~ \.php$ {
        include snippets/fastcgi-php.conf;
        fastcgi_pass php_upstream;
        #fastcgi_pass unix:/run/php/php7.0-fpm.sock;
    }

    charset utf-8;

    location = /favicon.ico { access_log off; log_not_found off; }
    location = /robots.txt  { access_log off; log_not_found off; }
    location ~ /\.ht {
        deny all;
    }
}

From your nginx config it seems that your tus server endpoint is http://bigupload.test instead of http://bigupload.test/server.php.
$client = new \TusPhp\Tus\Client('http://bigupload.test');

I have tried your suggestion, but it has not changed, still returns "{"status":"error","bytes_uploaded":-1,"upload_key":"","error":"Unable to create resource." }", I feel very confused, what other might make this error?

From your nginx config it seems that your tus server endpoint is http://bigupload.test instead of http://bigupload.test/server.php.
$client = new \TusPhp\Tus\Client('http://bigupload.test');

From your nginx config it seems that your tus server endpoint is http://bigupload.test instead of http://bigupload.test/server.php.
$client = new \TusPhp\Tus\Client('http://bigupload.test');

I have tried your suggestion, but it has not changed, still returns "{"status":"error","bytes_uploaded":-1,"upload_key":"","error":"Unable to create resource." }", I feel very confused, what other might make this error?

@ximengyi you can get full error trace by commenting catch statements in above methods. Also check your server log to find any clue on the error. Looking at the error I can only say that there is some permission issue in the uploads dir.

Thank you, I have run successfully, as you said, this is the problem of folder permissions. I moved the environment to linux, I found the error log, windows did not prompt, prompted under linux, I put the relevant files The folder permissions are set to 777, it works, hahaha, thank you very much~

Which folders need to be reset permissions under Linux?


Ability to get socket identifier

It would be pretty nice to be able to use the socket connection identifier for cases where you may want to ping a message to other clients from say a backend API, without pinging the sender.

@andreaselia I don't know if I have understood. You are talking about authenticated channels?

@andrewsmedina an example better to what I mean would be in Laravel you're able to broadcast "toOthers" which relies on having the current socket identifier so the the event doesn't get fired to the sender.
Andreas triggers an event that gets send to the backend
backend sends the event toOthers
Andrew receives the event triggered by the backend, but Andreas does not


Is there a license for the data?

In face I don't know if there is any license issue for the data.
As we mirror the data from this repo: https://github.com/tesseract-ocr/tessdata
I would suggest you consult tesseract-ocr team.

Thank you.
It seems like they use this license: https://github.com/tesseract-ocr/tessdata/blob/master/LICENSE


UI Bugs

Model Builder Version: In which Model Builder version was the bug encountered?
Visual Studion Version: In which Visual Studio version was the bug encountered?
Bug description
A clear and concise description of what the bug is.
Steps to Reproduce

List the minimal steps required to reproduce the bug.
Thanks for reporting!

Expected Experience
A description of what you expected to happen. If applicable, add screenshots or "Machine Learning" Output Logs to help explain what you expected.
Actual Experience
Not Aligned

@romalpani is  this normal experience?  This is happened because we have large column name that is more than the width of the combo box.
Not themed

Additional Context
Add any other context about the problem here, such as unusual system configurations, network restrictions, etc.

LGTM


[logs] changing process-agent log message to only log nonempty queues

What does this PR do?
Changing process-agent log message to only log nonempty queues.
Motivation
We should only log helpful messages. We were logging messages like
2020-12-30 18:23:33 EST | PROCESS | INFO | (collector.go:208 in func1) | Delivery queues: process[size=0, weight=0], pod[size=0, weight=0]
Additional Notes
Since size of the queue is changing, two consecutive calls may have different results. Hence I made one call to Len() functions and saved the variables.
Describe your test plan
Make sure that no statements matching Delivery queues: process[size=0, weight=0], pod[size=0, weight=0] is logged.

Looks good! Let's fix the PR labels and milestone then gtg.

Looks good! Let's fix the PR labels and milestone then gtg.


No support for emojis or emoticons

Any data that I'm pulling that includes emojis gives me weird characters:
What I'm getting:
Howdy ðWeâre the folks
How it should look:
Howdy 👋We’re the folks at
Is there any fix for this? Thank you :)

Can you share the URL of the feed, or a minimal example?

https://remoteok.io/remote-jobs.rss is the feed I'm using.

This appears to be a problem with the feed itself, rather than rss-parser. The characters appear broken in Chrome browser as well.
You should contact the host about the broken encodings. They may need to specify encoding="UTF-8" in their xml or HTTP response. I suspect there's a deeper bug though.


Create template/skeleton

Can we have the possibility to create "templates" or "skeleton" for the page?
Imagine in my bookstack I've docs for bikes and smartphones. That two differents item but always the same infos for each item and at the moment we've only a title and a content so I'll need to copy/paste a template like so:
Template for Bike :
Name: Super bike
Km: 2.000 km
...
Template for Smarthphone:
Name: Apple X
4G: YES
...
So my suggestion is to have the possibility to create a template with custom fields and categorize them (something more beautiful than ).
At the template creation we could :

Create custom fields (num, textarea, select, checkbox, etc.)
Make fields required or not
Create fieldset/cateogry to organise a group the fields and reorganize them wirh jQuery Sortable
If the field is empty it'll not appear in the page.
... other sugg?

I think this'll be a powerful feature.

Hi @hotgeart, This is very similar to #129, Let me know if there's a clear definable difference between this issue and #129 otherwise I'll look to close this to prevent duplicate issues.

@ssddanbrown Ooops sorry for the duplicate, I'll close. Yes, I guess we want the same things.


Document CloudEvents contract

Event sources set some fairly arbitrary attributes on the CloudEvents they generate (source, subject, ...).
We should be consistent (e.g. always use the AWS arn as the source and some contextual attribute as the subject) and document our event types.

Note: we now have schemas for event types inside schemas/ (ref. #253), but we still need to come up with a standard template for documenting CloudEvents attributes across TriggerMesh's integrations.
Examples include:

What type, source, id can be expected for each source based on a given spec.
Custom extension attributes, if any.

(related) If attributes from the event data are propagated to the event context, what constraints and naming conventions apply.


Action on right click?

There is onClick handler, but it is not for right click
I wand to close the notification on right click (in addition to close button)

there is currently no such function.


feat(platform): add NetworkUtils  to Platform

Issue #, if available:
Add NetworkUtils to Platform
Description of changes:

Extend Platform by adding NetworkUtils with 2 methods to disable and enable MQTT/HTTPS connections
Add NetworkUtils  implementations for Linux/Windows and MacOS (stub) using Platform.Commands
Update unit tests to mirror Platform extension (but not cover new code)

Why is this change necessary:
Logic to disable/enable Nucleus MQTT connectivity is required to implement cases when configuration is changed in offline state.
How was this change tested:
Scenarios in auth/uat repo will test that addition on Linux and Windows.
Any additional information or context required to review the change:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

As a follow up, you need to ensure there is an @After step which will always re-enable the disabled network, no matter what happens (if the test passes, fails, or blows up).

Sure I did that with top order due to other cleanup After was failed when network connection has been broken.
Please take a look here


TCK: Add test where LRA is cancelled due to timeout on @Compensate

No such Test is available today.

I think @mmusgrov was already working on this kind of tests.

Good, then we now have an Issue for it and we can track the progress.
When there is no issue for it, other people don't know that info.

Good, then we now have an Issue for it and we can track the progress.
When there is no issue for it, other people don't know that info.

https://github.com/eclipse/microprofile-lra/issues/6

In the original PR for that issue I had 5 or 6 time limit based tests. The PR review was delayed by quite a while and my change set no longer merged cleanly when it was finally reviewed - hence the delay is re raising the PR.

So this is a duplicate of #6. Why don't we/I add more text to #6 saying what the original PR tested

So can add clarification to issue #6 and close this issue as a duplicate?

Added tests to #6, see https://github.com/eclipse/microprofile-lra/issues/6#issuecomment-535839247


[BUG] Postgres export looking for "_type" column that doesn't exist anywhere

Mage version
0.9.58
Describe the bug
While using the data exporter Postgres I'm getting the below error looking for a _type that doesn't exist in the data going into the exporter or on the database it's trying to export into

Transformer going into the exporter

Prisma definition of the table on the database

To reproduce

docker compose setup of a mariadb, postgres, and mage
Process data from another database (mine is Mariadb in the compose network)
Try to export transformed data into the postgres database
See error

Expected behavior
Export data like other exporters have worked
Screenshots
No response
Operating system
OS: Linux
Browser: Firefox
Additional context
No response

I've updated to the latest version and the issue persists.  I had to rerun my other pipelines I built before this one and they don't have any issues.   This one and ones where I'm trying to export to database in the same way fail the same way. They say column "_first_column" of relation "table_name" does not exist

@bfg-coding could you add allow_reserved_words=True in the method params?

@bfg-coding your issue be resolved by specifying allow_reserved_words=True in the method. Feel free to reopen the ticket if it's not resolved.


pull request for e2e test at 11/08/2016 18:56:05

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

optest/docs/updated_at.md
:white_check_mark:Succeeded

Details

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


Unable to retrieve more than 100 Tweets.

Hi,
I am fairly new to Python and Tweepy and trying to extract 3000 tweets for a class sentiment analysis project where a particular handle has been mentioned.
Below is my code:
import tweepy
from secrets import apikey, apikeysecret, accesstoken, accesstokensecret #My API Credentials

auth = tweepy.OAuthHandler(apikey, apikeysecret)
auth.set_access_token(accesstoken, accesstokensecret)

api = tweepy.API(auth)

tweets = api.search(q='@amazonin', count = 3000)
tweets

However, I am only getting 100 tweets with this query despite providing a count of 3000. I am not sure if passing the same request multiple times using a for loop with some delay would help as I would get a time out request from the server due to API Rate Limits. Please advise.

The count parameter for the standard search API that API.search uses has a maximum of 100.
For pagination, you should us a Cursor.


Workergroup: Support for rbac.extraClusterRoleRules

Add support for arbitrary cluster role rules in addition to the default API rule.

implemented as rbac.extraRules in 965a8c4


update the readme with basic getting started docs

Added basic getting started instructions to the README.
Fixes #3

Codecov Report

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

@@           Coverage Diff           @@
##           master      #19   +/-   ##
=======================================
  Coverage   73.52%   73.52%
=======================================
  Files          10       10
  Lines          68       68
=======================================
  Hits           50       50
  Misses         18       18

Continue to review full report at Codecov.

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


Add output to Clear-SbQueue

Resolves #27

@Splaxi is this what you had in mind?

This is PERFECT! 🤘

🤘


reset connections

I am getting errors like this from time to time.  Possibly it would help to do a retry or something?
+ l8_process_scene.py --verbose -s s3queue --clean --list-file job_20719258.csv LC80011152015035LGN00
.....Traceback (most recent call last):
  File "/opt/planet/programs/landsat_ingestor/ingestor/l8_process_scene.py", line 110, in <module>
    status = main(sys.argv[1:])
  File "/opt/planet/programs/landsat_ingestor/ingestor/l8_process_scene.py", line 101, in main
    overwrite = args.overwrite)
  File "/opt/planet/programs/landsat_ingestor/ingestor/l8_process_scene.py", line 56, in process
    verbose=verbose)
  File "/opt/planet/programs/landsat_ingestor/ingestor/puller.py", line 18, in pull
    return puller_s3queue.pull(scene_root, scene_dict, verbose=verbose)
  File "/opt/planet/programs/landsat_ingestor/ingestor/puller_s3queue.py", line 34, in pull
    for d in rv.iter_content(chunk_size=1024 * 1024 * 10):
  File "/usr/local/lib/python2.7/dist-packages/requests/models.py", line 616, in generate
    decode_content=True):
  File "/usr/local/lib/python2.7/dist-packages/requests/packages/urllib3/response.py", line 236, in stream
    data = self.read(amt=amt, decode_content=decode_content)
  File "/usr/local/lib/python2.7/dist-packages/requests/packages/urllib3/response.py", line 183, in read
    data = self._fp.read(amt)
  File "/usr/lib/python2.7/httplib.py", line 561, in read
    s = self.fp.read(amt)
  File "/usr/lib/python2.7/socket.py", line 380, in read
    data = self._sock.recv(left)
  File "/usr/lib/python2.7/ssl.py", line 241, in recv
    return self.read(buflen)
  File "/usr/lib/python2.7/ssl.py", line 160, in read
    return self._sslobj.read(len)
socket.error: [Errno 104] Connection reset by peer

A similar failure that would presumably benefit from appropriate retry.
+ python -u /opt/planet/programs/landsat_ingestor/ingestor/l8_process_scene.py --verbose -s s3queue --clean --overwrite --list-file job_52562854.csv LC81150352015226LGN00
.......
.....
.......
...................................................................Traceback (most recent call last):
  File "/opt/planet/programs/landsat_ingestor/ingestor/l8_process_scene.py", line 115, in <module>
    status = main(sys.argv[1:])
  File "/opt/planet/programs/landsat_ingestor/ingestor/l8_process_scene.py", line 106, in main
    overwrite = args.overwrite)
  File "/opt/planet/programs/landsat_ingestor/ingestor/l8_process_scene.py", line 56, in process
    verbose=verbose)
  File "/opt/planet/programs/landsat_ingestor/ingestor/puller.py", line 18, in pull
    return puller_s3queue.pull(scene_root, scene_dict, verbose=verbose)
  File "/opt/planet/programs/landsat_ingestor/ingestor/puller_s3queue.py", line 49, in pull
    for d in rv.iter_content(chunk_size=1024 * 1024 * 10):
  File "/usr/local/lib/python2.7/dist-packages/requests/models.py", line 638, in generate
    for chunk in self.raw.stream(chunk_size, decode_content=True):
  File "/usr/local/lib/python2.7/dist-packages/requests/packages/urllib3/response.py", line 256, in stream
    data = self.read(amt=amt, decode_content=decode_content)
  File "/usr/local/lib/python2.7/dist-packages/requests/packages/urllib3/response.py", line 186, in read
    data = self._fp.read(amt)
  File "/usr/lib/python2.7/httplib.py", line 569, in read
    s = self.fp.read(amt)
  File "/usr/lib/python2.7/socket.py", line 380, in read
    data = self._sock.recv(left)
socket.error: [Errno 104] Connection reset by peer
Task ended with status 1

@kapadia - feel free to take this if you would like.


How/when to use continuous improvement & Maturity Assessment work items

I have been searching for resources to know better  about the usage and recommendation on continuous improvement & Maturity Assessment work items. However, i could not succeed in finding an URL to read about them. Can you please through some light on the availability of tutorial items with the URLs.

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

ID: a197bf55-89c7-682d-bb1c-e82bec732349
Version Independent ID: 5aa2afac-cb82-3f72-643c-25a0173cce98
Content: Using work items to track user stories, & more - Azure Boards and TFS
Content Source: docs/boards/work-items/about-work-items.md
Product: devops
Technology: devops-agile
GitHub Login: @KathrynEE
Microsoft Alias: kaelli

Still I don't find details for the work items i had referred in our query.

@karunakaranck Thank you for the feedback, assigning this to the author for review.
Is this in reference to the CMMI model?
If so, please refer to the model's process and work item types for basic guidance.

@karunakaranck - I'm updating the topic to provide links to the detail information on each process model. As noted, there is more information provided in CMMI process.


Update header to 1.3.224

CI gfxreconstruct build queued with queue ID 10363.

CI gfxreconstruct build # 1839 running.

CI gfxreconstruct build # 1839 passed.


auto change account

Can you add the feature to change accounts when a certain account has reached the limit of 750 captures because if you suspend many accounts at the same time, it is easy to be recognized and banned. And can you make it change accounts randomly out of order

Can you add the feature to change accounts when a certain account has reached the limit of 750 captures because if you suspend many accounts at the same time, it is easy to be recognized and banned. And can you make it change accounts randomly out of order

It isn't easy to be recognised. There are thousands of people playing PokeMeow. They can't just ban people if they stop playing at the same time.


Update script to safely de-activate, and keep latest active.

What's this PR do?
So funny story, apparently I had made this script in #6475 and completely forgot about it. 👴 However, I think there were some smart things that we talked about today so I updated it based on that discussion!

It now keeps the most recently accessed account for each duplicated email.
Instead of deleting accounts, the script now deactivates the dupes & renames them to a "valid" but obviously fake email so they don't conflict when syncing to Northstar.

How should this be reviewed?
👀
Any background context you want to provide?
🔥
Relevant tickets
References #6409.
Checklist

[ ] Documentation added for new features/changed endpoints.
[ ] Tested on staging.
[ ] Pinged a PM if this is a larger PR that would benefit from some additional testing love.

👯 🎱 🔥 💃


outputFormat option not honored

In image-handler.js there is an option for setting the outputFormat of the image:
if (request.outputFormat !== undefined) {
   await modifiedImage.toFormat(request.outputFormat);
}

However, the manner in which the image-request.js feeds that request object into there doesn't actually pass that through from the actual request:
    async setup(event) {
        try {
            this.requestType = this.parseRequestType(event);
            this.bucket = this.parseImageBucket(event, this.requestType);
            this.key = this.parseImageKey(event, this.requestType);
            this.edits = this.parseImageEdits(event, this.requestType);
            this.originalImage = await this.getOriginalImage(this.bucket, this.key)
            return Promise.resolve(this);
        } catch (err) {
            return Promise.reject(err);
        }
    }

Are we missing something or are we unable to tell the serverless-image-handler what the output format of the file should be?
The context is we have TIFF images and need them to be converted (see #45 for more details).

Hey @leviwilson - Thanks for providing a corresponding PR to this. I've added it to our review board and hope to have it pushed out in the next minor release. Appreciate your time and effort on this!

We have updated our solution, and I believe your issue has been fixed. If you still see the issue with the latest version (v4.2), please feel free to reopen the issue.
You can refer to the recent changes here

@georgebearden @beomseoklee - I am using the latest version and I still see the issue.

@adrienne Can you provide how you are using so that I can reproduce?

@beomseoklee
Here's an example of something that doesn't work. I get a webp image regardless of "outputFormat" .
var obj = JSON.stringify({
  "outputFormat": "png",
  "bucket": "s3-media",
  "key": "images/products/revised/PRODUCT_1.png",
  "edits": {
    "resize": {
      "width": 1170,
      "height": 600,
      "fit": "contain",
      "background": {
        "r": 255,
        "g": 255,
        "b": 255,
        "alpha": 1
      }
    },
    "flatten": {
      "background": {
        "r": 255,
        "g": 255,
        "b": 255,
        "alpha": null
      }
    }
  }
});

console.log(btoa(obj));

@adrienne
Currently, there's a bug related to webp, and you can see how to fix at https://github.com/awslabs/serverless-image-handler/issues/200.
Meanwhile, can you try the below one?
var obj = JSON.stringify({
"bucket": "s3-media",
"key": "images/products/revised/PRODUCT_1.png",
  "edits": {
    "toFormat": "png",
    "resize": {
      "width": 1170,
      "height": 600,
      "fit": "contain",
      "background": {
        "r": 255,
        "g": 255,
        "b": 255,
        "alpha": 1
      }
    },
    "flatten": {
      "background": {
        "r": 255,
        "g": 255,
        "b": 255,
        "alpha": null
      }
    }
  }
});

console.log(btoa(obj));

@beomseoklee - i had to switch to using your above code (with toFormat inside the edits key) and update to the beta version of the template, but this is now working. (Using outputFormat alone does not work, even on the new beta version of the template.)

@adrienne Can you check 2 things?

Can you verify your AutoWebP parameter is No?
Can you run CloudFront distribution invalidation, then access the URL again?


Venmo transaction history suddenly returning a 404

When running sync-venmo-transactions with the appropriate flags like I've been doing for months, I'm now suddenly seeing this (REDACTED some info):
Error: Failed to get Venmo statement, code 404 Not Found, err:
Response {
    status: 404,
    version: HTTP/1.1,
    headers: {
        "content-length": "0",
        "connection": "keep-alive",
        "date": "Tue, 24 Oct 2023 13:55:58 GMT",
        "server": "nginx",
        "set-cookie": "v_id=REDACTED; Max-Age=157680000; Domain=venmo.com; Path=/; Expires=Sun, 22 Oct 2028 13:55:58 GMT; Secure",
        "cache-control": "no-cache",
        "x-frame-options": "SAMEORIGIN",
        "x-powered-by": "Express",
        "x-envoy-upstream-service-time": "32",
        "strict-transport-security": "max-age=31536000",
        "x-cache": "Error from cloudfront",
        "via": "1.1 1aba6ba202ee10ab71536cbc38bd5866.cloudfront.net (CloudFront)",
        "x-amz-cf-pop": "ORD53-C1",
        "x-amz-cf-id": "REDACTED",
    },
    body: Body(
        Empty,
    ),
}

I'm unsure if they've shut down the https://venmo.com/transaction-history/statement endpoint, but I wouldn't assume so, since changing the fetch_venmo_statement to https://account.venmo.com/transaction-history/statement throws a redirect to that URL.

Is the entire Venmo API completely down now?

Is the entire Venmo API completely down now?

Possibly so.


A question

Excuse, what is the difference between the setting of args.model == 'cycleGAN' and args.model =='makeupGAN'

Hello there, sorry for the late reply.
cycleGAN is basically only CycleGAN. makeupGAN is CycleGAN + Makeup Loss.


[enhancement] Add support for @Json.Property on instance methods

@Json.Property is currently not applicable to methods while e.g., Jackson supports this feature.
This is to be avoided on e.g., accessor methods, because jsonb is able to resolve these automatically, but this is useful if computation is required for a given method to provide a more suitable representation during serialization.
I personally had a use for this for certain DTOs delegating other objects and not serializing them completely, but it would be useful in many other cases.
Perhaps if you would like to conventionalize the avoidance of this feature (so people don't just put it on their accessor methods, i.e. getters setters), you could create a new annotation @Json.Computed for this purpose, and specifically state in the documentation that it is to be avoided (I've been told there was a reason that this feature was omitted from avaje-jsonb).
In every case I've had a use for this method, it would not have been useful for deserialization - the property is to be completely ignored and only when serializing, run to retrieve a computed value.
CC @SentryMan

@Json.Property on instance methods

It would not really be valid to put it on a setter method, but a getter/accessor should be ok.
Note that avaje-jsonb didn't originally support interfaces in terms of "deserialisation only" but it does now. This seems related in that the deserialisation of interfaces is based on getter/accessors (no use of fields). So in that sense it seems reasonable to expect a @Json.Property to be used there.


Unable to install intero due to weird package dependency error

What's the right place for debugging and troubleshooting? Pasting the error message below. I have a global GHC & cabal set-up alongside stack. Is that the problem? Do I have to nuke my regular setup?
The following GHC options are incompatible with GHCi and have not been passed to it: -threaded -O0
Configuring GHCi with the following packages: Nightwatch
Intero 0.1.13 (GHC 7.10.3)
Type :intro and press enter for an introduction of the standard commands.

<command line>: cannot satisfy -package aeson-<IP_ADDRESS>
    (use -v for more information)

---

This is the buffer where Emacs talks to intero. It's normally hidden,
but a problem occcured.

It may be obvious if there is some text above this message
indicating a problem.

The process ended. Here is the reason that Emacs gives us:

  exited abnormally with code 1

For troubleshooting purposes, here are the arguments used to launch intero:

  stack ghci --with-ghc intero "--docker-run-args=--interactive=true --tty=false" --no-load --no-build --ghci-options -odir=/var/folders/j7/fgt692sj0wzg0lvrk86ctnxc0000gn/T/intero1855H2s --ghci-options -hidir=/var/folders/j7/fgt692sj0wzg0lvrk86ctnxc0000gn/T/intero1855H2s Nightwatch

After fixing this problem, you could switch back to your code and
run M-x intero-restart to try again.

You can kill this buffer when you're done reading it.

Have you done a stack build of the project you are running intero on?

@mgsloan thanks for replying. Trying stack build first. Will report back.

Thanks for reporting @saurabhnanda. I've made an issue #90 explaining this and for making it more automated!

@mgsloan @chrisdone everything seems to be working fine after stack build. So excited to see symbol auto-completion. Hopefully coding in Haskell will be an order of magnitude easier now :)


Figure out how to automatically include generated REST API documentation in the doc site

Suggested by @ialarmedalien , and a very good idea:

export and save the API docs that huma produces and add them to the DTS docs (ideally using the magic of github actions, rather than having to do it manually)

Here's an interesting link: https://blog.stoplight.io/pdf-api-documentation

The short story on this issue seems to be that persistent generated API documentation seems not to be "a thing." There are various providers of generated API documentation, and they all seem to want everyone to flock to their platforms to get hosted documentation. I wonder if it's sufficient (once we have a "permanently hosted" DTS instance) to just link to the online docs, since they're already formatted properly.