text:
Overview of sampling dates of the entire Viridian dataset

Before running sc2ts on the entire dataset, we should check whether there are dates with an unusually high number of samples, like the one seen on 2020 New Year Eve (see #225).

Basically fix #227

Excellent - let's just add a skip-date argument to the CLI so and add 2020-12-31 in our runscripts.
I guess one thing to follow up on just to be sure would be to do some analysis on the pango lineages from 2021-11-29. Do they all look roughly like what should be sampled on that date?

I'm comparing the per-Pangolin label counts of samples collected on 2021-11-29 (the focal date) in the Viridian dataset versus those from the cov-lineage website (recorded here).
The cov-lineages website keeps track of the earliest and latest dates of each Pangolin lineage (earliest_date and latest_date in the table below), as well as the sample count per collection date (date_count in the table below). It seems that the focal collection date lies between the earliest and latest dates reported by the cov-lineages website for each Pangolin lineage.

pango_label
viridian_count
earliest_date
latest_date
date_count
is_focal_date_within_range

AY.4.2.2
821
2021-04-12
2022-03-13
842
True

AY.4.2
1972
2021-01-01
2022-08-15
2260
True

AY.4
6187
2020-05-11
2023-02-22
8330
True

AY.4.5
28
2021-01-11
2022-04-07
177
True

AY.122
346
2020-05-11
2024-07-23
2939
True

AY.4.2.1
564
2020-12-21
2022-03-09
583
True

AY.4.8
63
2021-07-13
2022-01-29
68
True

AY.43
768
2020-05-11
2023-03-08
5120
True

BA.1
104
2020-06-25
2024-01-20
286
True

AY.46.5
202
2021-02-06
2022-02-03
196
True

AY.9.2
50
2020-10-15
2022-12-17
375
True

AY.120
253
2020-10-26
2022-09-28
331
True

BA.1.19
10
2020-06-01
2022-05-30
20
True

AY.34.1
58
2020-04-01
2022-12-17
160
True

AY.5
309
2020-11-15
2022-12-17
503
True

B.1.617.2
279
2020-03-27
2023-10-09
1834
True

AY.98
579
2020-10-14
2022-12-17
643
True

AY.36
54
2020-08-11
2022-02-23
208
True

AY.44
725
2020-09-09
2022-12-21
2082
True

AY.6
90
2021-03-09
2022-05-23
131
True

AY.4.2.3
56
2021-04-30
2022-04-12
187
True

AY.111
122
2021-02-05
2022-02-23
142
True

BA.1.1
13
2020-01-27
2024-06-25
60
True

AY.25.1.2
1
2021-08-03
2023-07-17
4
True

AY.34
54
2020-11-18
2022-08-30
174
True

AY.4.9
15
2020-08-11
2022-12-17
70
True

BA.1.17
26
2020-11-06
2023-08-30
55
True

AY.4.10
10
2021-09-10
2022-01-28
42
True

AY.39.1
22
2021-01-06
2022-09-28
117
True

AY.129
10
2020-05-11
2022-12-17
195
True

AY.33
7
2020-10-26
2022-12-17
141
True

AY.127
106
2021-01-09
2022-12-17
655
True

AY.126
80
2020-10-14
2022-05-15
725
True

AY.4.2.5
27
2021-10-22
2022-01-27
27
True

AY.125
27
2020-08-11
2022-12-17
335
True

AY.42
18
2020-10-15
2022-12-17
194
True

AY.98.1
40
2020-11-04
2022-12-17
637
True

AY.121
50
2020-05-11
2022-10-14
475
True

AY.90
25
2021-05-02
2022-01-19
25
True

AY.3
598
2020-08-01
2022-09-27
1497
True

AY.5.4
3
2021-04-30
2022-12-17
56
True

AY.7
18
2021-05-01
2022-01-15
17
True

AY.100
343
2020-08-31
2022-08-04
1038
True

AY.4.3
8
2021-04-30
2022-01-29
54
True

AY.25
421
2020-07-21
2023-05-03
1240
True

AY.4.11
4
2021-05-03
2022-12-17
10
True

AY.46.6
13
2020-08-11
2022-11-09
420
True

AY.109
13
2021-06-25
2022-03-24
26
True

AY.39
194
2021-01-08
2022-10-23
610
True

AY.118
35
2021-02-09
2022-09-13
150
True

BA.1.17.2
14
2020-10-23
2023-10-01
36
True

AY.61
1
2021-04-22
2022-01-14
5
True

AY.121.1
10
2021-01-02
2022-03-01
93
True

BA.1.14
2
2021-01-10
2023-01-13
7
True

AY.34.2
8
2021-07-12
2022-02-03
38
True

AY.123.1
2
2021-01-12
2022-02-13
17
True

AY.103
1284
2020-05-14
2023-02-01
3695
True

AY.4.13
3
2021-05-03
2022-03-04
27
True

AY.108
4
2021-05-25
2022-04-12
11
True

AY.25.1
301
2020-09-11
2022-12-29
1228
True

AY.45
1
2021-01-01
2022-07-04
11
True

AY.65
1
2020-09-11
2022-04-02
7
True

AY.46
7
2020-06-01
2022-09-15
94
True

AY.43.6
2
2021-08-31
2022-01-24
149
True

BA.1.15
4
2020-11-10
2024-01-17
27
True

AY.124
25
2020-05-11
2022-12-17
123
True

AY.84
1
2020-05-11
2022-01-24
21
True

AY.46.2
2
2021-03-09
2022-01-27
20
True

AY.47
41
2020-11-13
2022-04-19
130
True

AY.20.1
2
2021-09-05
2022-01-28
7
True

AY.131
1
2021-08-12
2022-08-01
5
True

AY.43.8
3
2021-01-12
2022-02-15
58
True

AY.124.1.1
1
2021-06-26
2022-05-31
8
True

AY.23
1
2020-03-12
2022-11-09
44
True

AY.9
3
2021-01-20
2022-07-21
26
True

AY.85
1
2021-01-09
2022-03-28
27
True

AY.101
1
2021-05-01
2022-10-01
43
True

AY.119
170
2020-10-29
2022-10-24
420
True

AY.43.9
1
2021-05-03
2022-02-01
12
True

AY.7.1
3
2021-02-09
2022-02-27
55
True

BA.1.18
3
2020-11-13
2023-08-07
31
True

AY.123
2
2021-03-11
2022-03-17
87
True

AY.26
56
2021-01-07
2023-01-05
185
True

BA.1.13
5
2021-08-31
2022-10-04
10
True

B.1.640.1
1
2021-01-01
2022-06-03
58
True

AY.92
1
2021-04-10
2022-12-07
108
True

AY.4.15
1
2021-09-08
2022-01-13
30
True

AY.128
1
2021-05-15
2022-01-15
7
True

AY.73
1
2021-05-03
2022-02-05
13
True

AY.69
1
2021-05-15
2022-02-10
106
True

AY.117
117
2020-05-11
2022-06-02
235
True

AY.87
2
2021-05-18
2022-01-22
2
True

AY.33.2
1
2021-04-30
2023-01-13
25
True

AY.110
1
2021-03-09
2022-06-16
0
True

AY.119.2
134
2021-01-11
2022-05-26
205
True

AY.75
17
2021-01-06
2022-10-04
60
True

AY.20
44
2021-01-05
2022-04-06
230
True

AY.25.3
8
2021-07-15
2022-06-23
94
True

AY.3.1
33
2020-11-20
2022-01-30
86
True

AY.114
23
2021-05-17
2022-02-01
31
True

AY.4.4
1
2021-01-19
2022-02-22
33
True

AY.112.2
1
2021-01-10
2022-04-12
23
True

AY.116.1
10
2021-06-07
2022-02-01
24
True

AY.54
10
2021-02-09
2022-02-10
29
True

AY.107
8
2021-01-05
2022-05-29
26
True

AY.120.1
3
2020-12-27
2022-02-15
17
True

AY.113
29
2020-12-16
2022-12-21
138
True

AY.43.3
2
2021-08-11
2022-02-09
32
True

AY.122.4
9
2021-08-30
2022-04-04
37
True

AY.99.2
5
2021-02-28
2022-10-10
239
True

AY.64
2
2021-05-22
2021-12-29
15
True

AY.46.4
12
2020-11-09
2022-02-09
38
True

AY.1
4
2021-03-31
2023-04-22
20
True

AY.3.3
10
2021-09-01
2022-02-07
32
True

AY.119.1
1
2020-11-09
2022-05-30
11
True

AY.122.6
2
2021-05-03
2022-07-14
116
True

AY.46.1
13
2021-06-25
2022-11-23
21
True

AY.5.3
6
2021-07-02
2022-01-15
15
True

AY.25.1.1
9
2021-07-26
2021-12-30
7
True

AY.14
8
2021-03-30
2023-01-12
18
True

AY.39.2
3
2021-07-06
2022-05-05
22
True

AY.16
4
2020-10-26
2022-01-17
10
True

AY.74
1
2021-04-09
2023-08-20
27
True

AY.105
1
2021-05-12
2022-02-01
2
True

BA.2
2
2020-03-28
2024-08-06
5
True

AY.124.1
10
2021-06-21
2022-01-30
18
True

AY.43.5
7
2021-10-22
2022-01-24
13
True

BA.1.21
1
2021-01-09
2023-05-15
24
True

AY.72
1
2021-05-24
2022-02-08
10
True

The sample counts are pretty well correlated as well.

Great - so we're happy that the samples for this date (2021-11-29) look OK, and (by extension) the conclusion that we only need to filter the samples for 2020-12-31?

I just checked 2021-12-06 (the other date with >18k samples) as well, and it looks okay. So, yes, I think we just need to skip 2020-12-31.

I guess we can close this now that we know there is really only one egregious collection date to skip.

Yep.

authors: jeromekelleher szhan


text:
Make begining of line stick to output not center of node

This node is connected to first output, but when I drag it , it seems like it is connected to the second output. Is there a way to prevent that behavior, for example  make begining of line stick to output not center of outputing node?
https://user-images.githubusercontent.com/73838040/148565888-2b6ce9ee-b535-45d8-8d4b-737822a0d2fd.mp4

I see you have modified the code. By default the modules are horizontal.
Can you indicate the modifications you have made? Put some example in codepen ...
It is not very clear to me where it is connected. The inputs are up and the outputs are down?
It seems to be connected to the input above with the node input below.
If you have not modified the javascript. View for vertical lines: https://github.com/jerosoler/Drawflow/issues/20#issuecomment-774637314
Jero

that was issue with my code, found it and solved it

source: gharchive/issue

authors: adamburczy jerosoler

repo: jerosoler/Drawflow

license: MIT

license_type: permissive

license_source: github-api


text:
Number of Clusters as the Max Eigenvalue?

Hi, is there a particular reason as to why you are setting the max(k) to be the number of clusters for SpectralClustering towards the end of the Verification Stage in the dave.py file?

In our work, we use spectral clustering in combination with the eigengap heuristic, based on this paper.
Overview:

Laplacian Matrix: Compute the graph Laplacian L = D - W, where D is the degree matrix and W is the adjacency matrix.

Eigen Decomposition: Perform eigen decomposition on L to obtain eigenvalues and eigenvectors.

Eigengap Heuristic: Determine the number of clusters by finding the largest gap between consecutive eigenvalues.

We modify the eigengap heuristic to set the number of clusters to match the last large enough eigengap.

authors: jerpelhan jwahnn

repo: jerpelhan/DAVE


text:
Unable to compile

To reproduce, include this line in cargo.toml: cv-convert = "^0.25.0"
Error:
   Compiling tensorflow-sys v0.24.0
error: failed to run custom build command for `torch-sys v0.14.0`

Caused by:
  process didn't exit successfully: `C:\Users\the_a\face\target\debug\build\torch-sys-fb796f8c78e77e3b\build-script-build` (exit code: 1)
  --- stdout
  cargo:rerun-if-env-changed=LIBTORCH_USE_PYTORCH
  cargo:rerun-if-env-changed=LIBTORCH

  --- stderr
  Error:
  Cannot find a libtorch install, you can either:
  - Install libtorch manually and set the LIBTORCH environment variable to appropriate path.
  - Use a system wide install in /usr/lib/libtorch.so.
  - Use a Python environment with PyTorch installed by setting LIBTORCH_USE_PYTORCH=1

  See the readme for more details:
  https://github.com/LaurentMazare/tch-rs/blob/main/README.md

How would you approach this? Ty!

Fixed after reading the readme. There are features not present in this lib's cargo.toml, but exist, and must be selectively enabled:
cv-convert = { version = "^0.25.0", default-features = false, features = [
    'opencv_0-85',
    'nalgebra_0-32',
]}


text:
Add GitHub Repository Reader

Adds reader for GitHub repositories (GithubRepositoryReader)

accepts owner, repo at the constructor level.
optionally pass GitHub access token, the environment variable GITHUB_TOKEN will be used if it is not provided.
use_parser allows it to parse the supported files by utilizing existing DEFAULT_FILE_EXTRACTOR such as images, videos, markdown etc. files. Defaults to false and it requires all the dependencies of parsers (such as pytorch, sentencepeiece etc) if set to true
optionally pass list of file extensions to ignore specific files with given file extensions i.e. ignore_file_extensions = [".png", ".jpeg"]
optionally pass list of directories to ignore specific directories i.e. `ignore_directories = ["examples", "gpt_index/readers"]
it depends on httpx as I used it in the GithubClient instead of requests (because it has better support for async requests)

It recursively fetches tree objects and construct their full path relative to root of the repository. After all the tree objects (blob's with tree_sha) fetched they are passed to BufferedAsyncIterator. Only buffer_size of tree objects fetched concurrently and stored at once, thus less memory usage during the generation of documents. (I was initially looping over the tree objects and fetching blobs one at a time but as I was testing with a large repository it was consuming a lot of  memory and it was slow.
Generated documents contains decoded base64-encoded-string in utf-8 as text and file name and full path as extra_info
Testing

Currently I am testing in a FastAPI environment with multiple repositories at the same time.
I am also testing with different GPTxxxIndexes.

@ahmetkca quick heads up: we recently launched LlamaHub as the repo for our loaders https://llamahub.ai/. But since this PR came out before that release + i'm very excited about this Github integration, I'm happy to merge into the core gpt index repo for now, and I can take over trying to port it over later.

@ahmetkca quick heads up: we recently launched LlamaHub as the repo for our loaders https://llamahub.ai/. But since this PR came out before that release + i'm very excited about this Github integration, I'm happy to merge into the core gpt index repo for now, and I can take over trying to port it over later.

Congrats. It looks amazing. Firstly, I liked the fact that it decouples the dependency of loaders from gpt_index core.

@ahmetkca quick heads up: we recently launched LlamaHub as the repo for our loaders https://llamahub.ai/. But since this PR came out before that release + i'm very excited about this Github integration, I'm happy to merge into the core gpt index repo for now, and I can take over trying to port it over later.

Congrats. It looks amazing. Firstly, I liked the fact that it decouples the dependency of loaders from gpt_index core.

@jerryjliu Actually I could add it to llama-hub repo as well because it is much easier for me to use it, especially when you use gpt_index as a dependency for your project.

@jerryjliu Actually I could add it to llama-hub repo as well because it is much easier for me to use it, especially when you use gpt_index as a dependency for your project.

totally up to you!
by the way, this reader probably deserves a post on its own. Do you have screenshots of its usage for both load_data(branch=...) and load_data(commit_sha=...)? Would love to advertise the functionality of this, this is great

@jerryjliu Actually I could add it to llama-hub repo as well because it is much easier for me to use it, especially when you use gpt_index as a dependency for your project.

totally up to you!
by the way, this reader probably deserves a post on its own. Do you have screenshots of its usage for both load_data(branch=...) and load_data(commit_sha=...)? Would love to advertise the functionality of this, this is great

Thanks, by usage, do you mean using it with GPTIndex? I actually wanted to get your advice on this which GPTIndex would be more suited to GitHub repository?

@jerryjliu Actually I could add it to llama-hub repo as well because it is much easier for me to use it, especially when you use gpt_index as a dependency for your project.

totally up to you!
by the way, this reader probably deserves a post on its own. Do you have screenshots of its usage for both load_data(branch=...) and load_data(commit_sha=...)? Would love to advertise the functionality of this, this is great

Thanks, by usage, do you mean using it with GPT_Index? I actually wanted to get your advice on this which GPT_Index would be more suited to GitHub repository?

You could probably start off using GPTSimpleVectorIndex, it's what most people start off with. Let me know if that doesn't work though https://gpt-index.readthedocs.io/en/latest/getting_started/starter_example.html

I am not getting the following mypy  error:
mypy .
gpt_index/readers/github_readers/github_repository_reader.py:85: error: Too many arguments for "__init__" of "object"  [call-arg]
Found 1 error in 1 file (checked 174 source files)
make: *** [Makefile:8: lint] Error 1

I am experimenting with different GPT***Indexex right now and also learning everything about gpt_index at the same time. It seems GitHub repos might require different PromptTemplate. So far I have tried GPTSimpleVectorIndex, GPTSimpleKeywordTableIndex ,GPTRAKEKeywordTableIndex, GPTListIndex and, GPTTreeIndex.
So far GPTSimpleKeywordTableIndex and GPTRAKEKeywordTableIndex looks promising, the responses have more details but they are slower. GPTSimpleVectorIndex is still quite good but not as detailed as former two but it is much faster.
I couldn't construct GPTTreeIndex due to following error:
error_code=None error_message='The server experienced an error while processing your request. Sorry about that! You can retry your request, or contact us through our help center at help.openai.com if the error persists.' error_param=None error_type=server_error message='OpenAI API error received' stream_error=False
The server experienced an error while processing your request. Sorry about that! You can retry your request, or contact us through our help center at help.openai.com if the error persists. {
  "error": {
    "message": "The server experienced an error while processing your request. Sorry about that! You can retry your request, or contact us through our help center at help.openai.com if the error persists.",
    "type": "server_error",
    "param": null,
    "code": null
  }
}
 500 {'error': {'message': 'The server experienced an error while processing your request. Sorry about that! You can retry your request, or contact us through our help center at help.openai.com if the error persists.', 'type': 'server_error', 'param': None, 'code': None}} {'Date': 'Thu, 09 Feb 2023 08:21:54 GMT', 'Content-Type': 'application/json', 'Content-Length': '292', 'Connection': 'keep-alive', 'Access-Control-Allow-Origin': '*', 'Openai-Model': 'text-davinci-003', 'Openai-Organization': 'user-n32qlegjqqzlzp00snnq67xx', 'Openai-Processing-Ms': '30203', 'Openai-Version': '2020-10-01', 'Strict-Transport-Security': 'max-age=15724800; includeSubDomains', 'X-Request-Id': '10a8123f79ec39d9e35ceeb215062636'}

and I also get the following error message a lot as well:
INFO:openai:error_code=None error_message='The server had an error while processing your request. Sorry about that!' error_param=None error_type=server_error message='OpenAI API error received' stream_error=False
error_code=None error_message='The server had an error while processing your request. Sorry about that!' error_param=None error_type=server_error message='OpenAI API error received' stream_error=False
Traceback (most recent call last):
  File "/home/ahmetk/Projects/gpt_index/gpt_index/utils.py", line 157, in retry_on_exceptions_with_backoff
    return lambda_fn()
           ^^^^^^^^^^^
  File "/home/ahmetk/Projects/gpt_index/gpt_index/langchain_helpers/chain_wrapper.py", line 100, in <lambda>
    lambda: llm_chain.predict(**full_prompt_args),
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/ahmetk/.pyenv/versions/3.11.0/envs/gpt_index-github-reader/lib/python3.11/site-packages/langchain/chains/llm.py", line 104, in predict
    return self(kwargs)[self.output_key]
           ^^^^^^^^^^^^
  File "/home/ahmetk/.pyenv/versions/3.11.0/envs/gpt_index-github-reader/lib/python3.11/site-packages/langchain/chains/base.py", line 155, in __call__
    raise e
  File "/home/ahmetk/.pyenv/versions/3.11.0/envs/gpt_index-github-reader/lib/python3.11/site-packages/langchain/chains/base.py", line 152, in __call__
    outputs = self._call(inputs)
              ^^^^^^^^^^^^^^^^^^
  File "/home/ahmetk/.pyenv/versions/3.11.0/envs/gpt_index-github-reader/lib/python3.11/site-packages/langchain/chains/llm.py", line 88, in _call
    return self.apply([inputs])[0]
           ^^^^^^^^^^^^^^^^^^^^
  File "/home/ahmetk/.pyenv/versions/3.11.0/envs/gpt_index-github-reader/lib/python3.11/site-packages/langchain/chains/llm.py", line 79, in apply
    response = self.generate(input_list)
               ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/ahmetk/.pyenv/versions/3.11.0/envs/gpt_index-github-reader/lib/python3.11/site-packages/langchain/chains/llm.py", line 74, in generate
    response = self.llm.generate(prompts, stop=stop)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/ahmetk/.pyenv/versions/3.11.0/envs/gpt_index-github-reader/lib/python3.11/site-packages/langchain/llms/base.py", line 79, in generate
    raise e
  File "/home/ahmetk/.pyenv/versions/3.11.0/envs/gpt_index-github-reader/lib/python3.11/site-packages/langchain/llms/base.py", line 76, in generate
    output = self._generate(prompts, stop=stop)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/ahmetk/.pyenv/versions/3.11.0/envs/gpt_index-github-reader/lib/python3.11/site-packages/langchain/llms/openai.py", line 158, in _generate
    response = self.client.create(prompt=_prompts, **params)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/ahmetk/.pyenv/versions/3.11.0/envs/gpt_index-github-reader/lib/python3.11/site-packages/openai/api_resources/completion.py", line 25, in create
    return super().create(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/ahmetk/.pyenv/versions/3.11.0/envs/gpt_index-github-reader/lib/python3.11/site-packages/openai/api_resources/abstract/engine_api_resource.py", line 153, in create
    response, _, api_key = requestor.request(
                           ^^^^^^^^^^^^^^^^^^
  File "/home/ahmetk/.pyenv/versions/3.11.0/envs/gpt_index-github-reader/lib/python3.11/site-packages/openai/api_requestor.py", line 227, in request
    resp, got_stream = self._interpret_response(result, stream)
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/ahmetk/.pyenv/versions/3.11.0/envs/gpt_index-github-reader/lib/python3.11/site-packages/openai/api_requestor.py", line 620, in _interpret_response
    self._interpret_response_line(
  File "/home/ahmetk/.pyenv/versions/3.11.0/envs/gpt_index-github-reader/lib/python3.11/site-packages/openai/api_requestor.py", line 680, in _interpret_response_line
    raise self.handle_error_response(
openai.error.RateLimitError: The server had an error while processing your request. Sorry about that!
INFO:openai:error_code=None error_message='The server had an error while processing your request. Sorry about that!' error_param=None error_type=server_error message='OpenAI API error received' stream_error=False

I don't know if it is something to do with my account.
Hopefully, I'll try to have a demo by the end of this Friday. I want to experiment with different settings as well.

I am experimenting with different GPT***Indexex right now and also learning everything about gpt_index at the same time. It seems GitHub repos might require different PromptTemplate. So far I have tried GPTSimpleVectorIndex, GPTSimpleKeywordTableIndex ,GPTRAKEKeywordTableIndex, GPTListIndex and, GPTTreeIndex.
So far GPTSimpleKeywordTableIndex and GPTRAKEKeywordTableIndex looks promising, the responses have more details but they are slower. GPTSimpleVectorIndex is still quite good but not as detailed as former two but it is much faster.
I couldn't construct GPTTreeIndex due to following error:
error_code=None error_message='The server experienced an error while processing your request. Sorry about that! You can retry your request, or contact us through our help center at help.openai.com if the error persists.' error_param=None error_type=server_error message='OpenAI API error received' stream_error=False
The server experienced an error while processing your request. Sorry about that! You can retry your request, or contact us through our help center at help.openai.com if the error persists. {
  "error": {
    "message": "The server experienced an error while processing your request. Sorry about that! You can retry your request, or contact us through our help center at help.openai.com if the error persists.",
    "type": "server_error",
    "param": null,
    "code": null
  }
}
 500 {'error': {'message': 'The server experienced an error while processing your request. Sorry about that! You can retry your request, or contact us through our help center at help.openai.com if the error persists.', 'type': 'server_error', 'param': None, 'code': None}} {'Date': 'Thu, 09 Feb 2023 08:21:54 GMT', 'Content-Type': 'application/json', 'Content-Length': '292', 'Connection': 'keep-alive', 'Access-Control-Allow-Origin': '*', 'Openai-Model': 'text-davinci-003', 'Openai-Organization': 'user-n32qlegjqqzlzp00snnq67xx', 'Openai-Processing-Ms': '30203', 'Openai-Version': '2020-10-01', 'Strict-Transport-Security': 'max-age=15724800; includeSubDomains', 'X-Request-Id': '10a8123f79ec39d9e35ceeb215062636'}

and I also get the following error message a lot as well:
INFO:openai:error_code=None error_message='The server had an error while processing your request. Sorry about that!' error_param=None error_type=server_error message='OpenAI API error received' stream_error=False
error_code=None error_message='The server had an error while processing your request. Sorry about that!' error_param=None error_type=server_error message='OpenAI API error received' stream_error=False
Traceback (most recent call last):
  File "/home/ahmetk/Projects/gpt_index/gpt_index/utils.py", line 157, in retry_on_exceptions_with_backoff
    return lambda_fn()
           ^^^^^^^^^^^
  File "/home/ahmetk/Projects/gpt_index/gpt_index/langchain_helpers/chain_wrapper.py", line 100, in <lambda>
    lambda: llm_chain.predict(**full_prompt_args),
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/ahmetk/.pyenv/versions/3.11.0/envs/gpt_index-github-reader/lib/python3.11/site-packages/langchain/chains/llm.py", line 104, in predict
    return self(kwargs)[self.output_key]
           ^^^^^^^^^^^^
  File "/home/ahmetk/.pyenv/versions/3.11.0/envs/gpt_index-github-reader/lib/python3.11/site-packages/langchain/chains/base.py", line 155, in __call__
    raise e
  File "/home/ahmetk/.pyenv/versions/3.11.0/envs/gpt_index-github-reader/lib/python3.11/site-packages/langchain/chains/base.py", line 152, in __call__
    outputs = self._call(inputs)
              ^^^^^^^^^^^^^^^^^^
  File "/home/ahmetk/.pyenv/versions/3.11.0/envs/gpt_index-github-reader/lib/python3.11/site-packages/langchain/chains/llm.py", line 88, in _call
    return self.apply([inputs])[0]
           ^^^^^^^^^^^^^^^^^^^^
  File "/home/ahmetk/.pyenv/versions/3.11.0/envs/gpt_index-github-reader/lib/python3.11/site-packages/langchain/chains/llm.py", line 79, in apply
    response = self.generate(input_list)
               ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/ahmetk/.pyenv/versions/3.11.0/envs/gpt_index-github-reader/lib/python3.11/site-packages/langchain/chains/llm.py", line 74, in generate
    response = self.llm.generate(prompts, stop=stop)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/ahmetk/.pyenv/versions/3.11.0/envs/gpt_index-github-reader/lib/python3.11/site-packages/langchain/llms/base.py", line 79, in generate
    raise e
  File "/home/ahmetk/.pyenv/versions/3.11.0/envs/gpt_index-github-reader/lib/python3.11/site-packages/langchain/llms/base.py", line 76, in generate
    output = self._generate(prompts, stop=stop)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/ahmetk/.pyenv/versions/3.11.0/envs/gpt_index-github-reader/lib/python3.11/site-packages/langchain/llms/openai.py", line 158, in _generate
    response = self.client.create(prompt=_prompts, **params)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/ahmetk/.pyenv/versions/3.11.0/envs/gpt_index-github-reader/lib/python3.11/site-packages/openai/api_resources/completion.py", line 25, in create
    return super().create(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/ahmetk/.pyenv/versions/3.11.0/envs/gpt_index-github-reader/lib/python3.11/site-packages/openai/api_resources/abstract/engine_api_resource.py", line 153, in create
    response, _, api_key = requestor.request(
                           ^^^^^^^^^^^^^^^^^^
  File "/home/ahmetk/.pyenv/versions/3.11.0/envs/gpt_index-github-reader/lib/python3.11/site-packages/openai/api_requestor.py", line 227, in request
    resp, got_stream = self._interpret_response(result, stream)
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/ahmetk/.pyenv/versions/3.11.0/envs/gpt_index-github-reader/lib/python3.11/site-packages/openai/api_requestor.py", line 620, in _interpret_response
    self._interpret_response_line(
  File "/home/ahmetk/.pyenv/versions/3.11.0/envs/gpt_index-github-reader/lib/python3.11/site-packages/openai/api_requestor.py", line 680, in _interpret_response_line
    raise self.handle_error_response(
openai.error.RateLimitError: The server had an error while processing your request. Sorry about that!
INFO:openai:error_code=None error_message='The server had an error while processing your request. Sorry about that!' error_param=None error_type=server_error message='OpenAI API error received' stream_error=False

I don't know if it is something to do with my account.
Hopefully, I'll try to have a demo by the end of this Friday. I want to experiment with different settings as well.

sweet! yeah just a simple notebook showcasing the different functions you added to the reader. let me know if you'd need any help

is there discord channel ?

yes! https://discord.gg/dGcwcsnxhU

Is there discord channel? I think it would be easier to communicate there.

probably #app-showcase in the discord channel (or #llama-hub since this has to do with data loading, even though it's not a part of llamahub yet)

source: gharchive/pull-request

authors: ahmetkca jerryjliu


text:
Optimize property call opcodes

In with contexts the object base value must be resolved before executing a call operation.
Since this happens rarely the base resolving code paths has been seperated to an other VM opcode
so these extra checks do not burden the general property call steps.
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik frobert@inf.u-szeged.hu

Performance results:

Benchmark
Perf (sec)

3d-cube.js
0.807 -> 0.791 : +1.989%

3d-raytrace.js
1.037 -> 1.030 : +0.643%

access-binary-trees.js
0.560 -> 0.570 : -1.809%

access-fannkuch.js
2.095 -> 2.032 : +2.998%

access-nbody.js
1.087 -> 1.063 : +2.230%

bitops-3bit-bits-in-byte.js
0.506 -> 0.484 : +4.446%

bitops-bits-in-byte.js
0.665 -> 0.637 : +4.161%

bitops-bitwise-and.js
0.926 -> 0.919 : +0.728%

bitops-nsieve-bits.js
1.132 -> 1.099 : +2.906%

controlflow-recursive.js
0.366 -> 0.361 : +1.393%

crypto-aes.js
0.878 -> 0.867 : +1.222%

crypto-md5.js
0.600 -> 0.589 : +1.779%

crypto-sha1.js
0.595 -> 0.580 : +2.458%

date-format-tofte.js
0.748 -> 0.743 : +0.729%

date-format-xparb.js
0.526 -> 0.522 : +0.719%

math-cordic.js
1.174 -> 1.141 : +2.837%

math-partial-sums.js
0.737 -> 0.723 : +1.990%

math-spectral-norm.js
0.541 -> 0.524 : +3.259%

string-base64.js
1.407 -> 1.395 : +0.861%

string-fasta.js
1.341 -> 1.329 : +0.956%

Geometric mean:
+1.835%

Binary sizes (bytes)
22b08518c7:132664
01b8c34049:132664

@rerobika Quite a lot has changed since the first LGTMs. Please, rebase to latest master and re-measure the results.

@akosthekiss These are the new results:

Benchmark
Perf (sec)

3d-cube.js
0.808 -> 0.822 : -1.758%

3d-raytrace.js
1.033 -> 1.059 : -2.563%

access-binary-trees.js
0.559 -> 0.581 : -3.965%

access-fannkuch.js
2.095 -> 2.104 : -0.442%

access-nbody.js
1.086 -> 1.108 : -2.045%

bitops-3bit-bits-in-byte.js
0.507 -> 0.509 : -0.468%

bitops-bits-in-byte.js
0.665 -> 0.669 : -0.615%

bitops-bitwise-and.js
0.925 -> 0.938 : -1.359%

bitops-nsieve-bits.js
1.133 -> 1.140 : -0.622%

controlflow-recursive.js
0.383 -> 0.365 : +4.493%

crypto-aes.js
0.877 -> 0.890 : -1.481%

crypto-md5.js
0.598 -> 0.601 : -0.409%

crypto-sha1.js
0.595 -> 0.594 : +0.190%

date-format-tofte.js
0.748 -> 0.754 : -0.849%

date-format-xparb.js
0.521 -> 0.530 : -1.753%

math-cordic.js
1.175 -> 1.184 : -0.775%

math-partial-sums.js
0.738 -> 0.740 : -0.264%

math-spectral-norm.js
0.546 -> 0.538 : +1.327%

string-base64.js
1.399 -> 1.407 : -0.585%

string-fasta.js
1.344 -> 1.353 : -0.685%

Geometric mean:
-0.718%

Binary sizes (bytes)
8410570dd9:132664
9911d37147:132664
Since the requested change decreases the performance, I'm going to revert the patch for it's original state.

Auch. (After the revert, please run the measurements again.)

@akosthekiss Here comes the reverted results:

Benchmark
Perf (sec)

3d-cube.js
0.809 -> 0.790 : +2.326%

3d-raytrace.js
1.039 -> 1.026 : +1.278%

access-binary-trees.js
0.560 -> 0.571 : -1.963%

access-fannkuch.js
2.101 -> 2.034 : +3.184%

access-nbody.js
1.087 -> 1.066 : +1.927%

bitops-3bit-bits-in-byte.js
0.506 -> 0.484 : +4.351%

bitops-bits-in-byte.js
0.667 -> 0.637 : +4.385%

bitops-bitwise-and.js
0.928 -> 0.919 : +0.993%

bitops-nsieve-bits.js
1.134 -> 1.099 : +3.070%

controlflow-recursive.js
0.366 -> 0.363 : +0.814%

crypto-aes.js
0.879 -> 0.867 : +1.423%

crypto-md5.js
0.599 -> 0.591 : +1.377%

crypto-sha1.js
0.595 -> 0.580 : +2.506%

date-format-tofte.js
0.746 -> 0.741 : +0.566%

date-format-xparb.js
0.527 -> 0.525 : +0.431%

math-cordic.js
1.173 -> 1.142 : +2.676%

math-partial-sums.js
0.738 -> 0.721 : +2.299%

math-spectral-norm.js
0.542 -> 0.523 : +3.552%

string-base64.js
1.405 -> 1.398 : +0.470%

string-fasta.js
1.341 -> 1.336 : +0.378%

Geometric mean:
+1.814%

Binary sizes (bytes)
5151f9161f:132664
86b173d5a6:132664
Almost the same as the first measure.
Btw, if you are interested why the change caused performance drop:
All the binary lvalue operations (+=, *=, etc..)  used the PUSH_IDENT_REFERENCE instruction. After the change, this instruction contained extra checks which didn't relate to these operations.

authors: akosthekiss rerobika

repo: jerryscript-project/jerryscript

license_source: bigquery


text:
Typing of TCase does not require well-typedness of the motive

The current typing rule is:
  TyCase
    : {@0 r : Rezz α}
      (d : NameIn dataScope)
      (@0 dt : Datatype (dataParScope d) (dataIxScope d)) → @0 sigData sig d ≡ dt →
      {@0 ps : dataParScope d ⇒ α}
      {@0 is : dataIxScope d ⇒ α}
      (bs : Branches α (dataConstructorScope dt))
      (rt : Type (x ◃ α))
    → Γ ⊢ u ∶ a
    → (unType a) ≅ (unType $ dataType d k ps is)
    → TyBranches Γ dt ps rt bs
    → Γ ⊢ TCase u bs rt ∶ (substTopType r u rt)

The motive rt here can be literally anything, we don't even enforce that it is a type. This seems like an oversight.
Also, the typing rule for a branch of a TCase substitutes the constructor application into the motive, but it is not clear how this could ever be well-typed. The motive should also depend on the indices, and these should be substituted in each branch together with the constructor.

Fixed by https://github.com/jespercockx/agda-core/commit/b41cf084359b3142093a413189dc47fef728cd9e

repo: jespercockx/agda-core

license: Unlicense


text:
Make it clear that cheetsheets are auto-generated

Is your feature request related to a problem? Please describe.
Sometimes somebody will raise a PR making manual changes to a cheatsheet file. These cheatsheet files are actually auto-generated and depend on files in pkg/i18n.
In lazygit we print a message at the top of the cheatsheet saying that it's auto-generated i.e.:
		content = fmt.Sprintf("_This file is auto-generated. To update, make the changes in the "+
			"pkg/i18n directory and then run `%s` from the project root._\n\n%s", CommandToRun(), content)

We should do that here too in https://github.com/jesseduffield/lazydocker/blob/master/scripts/generate_cheatsheet.go

I'll take this one.

@gusandrioli go right ahead :) Let me know if you need any pointers

authors: gusandrioli jesseduffield

repo: jesseduffield/lazydocker


text:
Library support for delivery status: Implement handling of messages not sent

It would be good if there's a way, like a delegate, don't know, that we can flag a message like it wasn't sent, just like the Messages in iOS does, which flags the message with a red alert icon. And when the user tap on that icon, the message is re-sent.
On my implementation, I can detect when a message was sent or not, but I don't know how to show to the user that alert, despite a simple UIAlertView.
Thanks y congratulation on this wonderful tool.

This code is preventing me from adding a subview to the messageBubbleContainerView as it automatically gets deleted. Is there a workaround fo this?
dispatch_async(dispatch_get_main_queue(), ^{
        for (NSUInteger i = 0; i < self.messageBubbleContainerView.subviews.count; i++) {
            if (self.messageBubbleContainerView.subviews[i] != _mediaView) {
                [self.messageBubbleContainerView.subviews[i] removeFromSuperview];
            }
        }
    });

can i insert a pending icon instead of set "pending" the bottom label ?

Hello everyone!
I'm sorry to inform the community that I'm officially deprecating this project. 😢 Please read my blog post for details:
http://www.jessesquires.com/blog/officially-deprecating-jsqmessagesviewcontroller/
Thus, I'm closing all issues and pull requests and making the necessary updates to formally deprecate the library. I'm sorry if this is unexpected or disappointing. Please know that this was an extremely difficult decision to make. I'd like to thank everyone here for contributing and making this project so great. It was a fun 4 years. 😊
Thanks for understanding,
— jsq

authors: calvinsug estemendoza jessesquires joshuawilde

repo: jessesquires/JSQMessagesViewController

license: mit


text:
spotify-wine cannot be installed any more with 'Administrator' account

The spotify-wine container doesn't work any more. Wine refuses to install with the error message. Please install Spotify using a normal account instead of an Administrator account.

I tried creating a new user account and run wine under that user but that doesn't seem to work.
root@153a68bfb4c7:~# adduser user
root@153a68bfb4c7:~# su - user -c "wine /usr/src/SpotifySetup.exe"
wine: cannot find L"Z:\\usr\\src\\SpotifySetup.exe"

This was fixed by adding +x and +r permissions to /usr/src/SpotifySetup. Now of course I've got the Make sure that your X server is running and that $DISPLAY is set correctly. error.
To work around this I whitelist the XAUTHORITY and DISPLAY environment variables.
root@153a68bfb4c7:~# su --login --whitelist-environment=XAUTHORITY,DISPLAY user -c "wine /usr/src/SpotifySetup.exe"

This results in the same error message as before. Please install Spotify using a normal account instead of an Administrator account.  I've searched for a way to run something with less privileges in Wine. The only thing I could find was wine runas /trustlevel:0x2000 <program> in a thread on OneDrive.exe[1]. This wine container however doesn't have C:\Windows\System32\runas.exe. Does anyone know how to add it?
Here's the script I'm using to start the container.
# Credit to @paddy-hack
SESSIONXAUTH=${XAUTHORITY:-$HOME/.Xauthority}
DOCKER_XAUTH=${SESSIONXAUTH}.docker
cp --preserve=all $SESSIONXAUTH $DOCKER_XAUTH
echo "ffff 0000  $(xauth nlist $DISPLAY | cut -d\  -f4-)" \
    | xauth -f $DOCKER_XAUTH nmerge -

docker run --rm -it \
	-v /etc/localtime:/etc/localtime:ro \
	-v $DOCKER_XAUTH:$DOCKER_XAUTH:ro \
	-e XAUTHORITY=$DOCKER_XAUTH \
	--cpuset-cpus 0 \
	-v /tmp/.X11-unix:/tmp/.X11-unix  \
	-e DISPLAY=unix$DISPLAY \
	--device /dev/snd:/dev/snd \
	--name spotify-wine \
	jess/spotify-wine bash

[1] https://bugs.launchpad.net/ubuntu/+source/playonlinux/+bug/1750155

Is there a solution to that? How do we install apps that can't have administrator privilege?

@dhsdshdhk, I am unaware of a solution for this. I am not an expert in Wine. My guess is that someone with enough knowledge about the working of Wine can probably get this working.

I managed to find runas in an older version of wine staging:
sudo apt-get install -y winehq-staging=5.11~focal wine-staging=5.11~focal wine-staging-amd64=5.11~focal wine-staging-i386=5.11~focal --allow-downgrades
However, Spotify still detects admin and refuses to install

authors: bwyyoung dhsdshdhk sir-ragna

repo: jessfraz/dockerfiles


text:
ACMEDNS with reused credentials for many domains makes it impossible to issue a certificate

Describe the bug:

I configured cert-manager with ACMEDNS (DNS01 challenge) according to the official docs, reusing the same credentials block in the Issuer config for the main wildcard and multi-level wildcard domains (e.g. *.domain.com, *.clients.domain.com), using an ACME-DNS instance hosted on a different domain (e.g. acmedns.myotherdomain.com). It worked normally in this case.
Then I added ~6 more domains (*.z.com, cats.com, dogs.com, ...) and it started having troubles issuing the certificate.
Some challenges were ok, others were "invalid" or "pending" state forever.
I could see "msg"="propagation check failed" "error"="DNS record for ... not yet propagated" or Incorrect TXT record errors logged for many days.
After looking into the cert-manager code I figured out the problem could have been caused by the fact that challenges are run in parallel and I use a single acmedns instance with a single acmedns credentials. Starting cert-manager with --max-concurrent-challenges 1 caused the certificate to be issued. I can't easily verify (other than waiting for the next renewal).
If that is the possible cause, maybe it would be worth documenting it or at least keep this issue in the archive.
The admedns docs explicitly says You can specify multiple domains with the same credentials if you like.
Expected behaviour:

A certificate should be issued correctly.
Steps to reproduce the bug:

configure cert-manager with acme-dns for *.domain.com, *.clients.domain.com, cats.com, pets.com using a single instance of acmedns at acmedns.myadmehos.com and reuse the same credentials for every domain in the Issuer config.

Anything else we need to know?:
Environment details::

Kubernetes version: 1.19.4
Cloud-provider/provisioner: Scaleway
cert-manager version: 1.2.0-alpha.1, 1.1.0
Install method: e.g. helm/static manifests: Helm

/kind bug

Hi! I was wondering if we could create a small minimal working environment e.g. using kind in order to reproduce the issue? e.g.,

run acme-dns as a container with some credentials,
create a local kind cluster using the same docker network,
install cert-manager 1.1
create an issuer that tagets acme-dns,
create many short-lived certs (1 minute?),
wait until renewal

What do you think?

/priority important-soon
/area acme/dns01
/milestone Next

I think it might be a shortcoming of acme-dns. The readme says (emphasis mine):

Rolling update of two TXT records to be able to answer to challenges for certificates that have both names: yourdomain.tld and *.yourdomain.tld, as both of the challenges point to the same subdomain.

Meaning that if your configuration requires more than two challenges for the same acme-dns subdomain they will roll over each other.
My workaround is to issue one set of acme-dns credentials for each domain.

It is really acme-dns limitation, thanks @svvac for mentioning this possibility.
I have looked into the relevant acme-dns code, it uses LIMIT 2 in the SQL query. It then presents up to those 2 most-recent challenges.
Theoretically more than 2 TXT records could be supported but there is 4096 byte limit in DNS response and acme-dns author doesn't like the idea of supporting more than 2 records.

So the first possible workaround is appending --max-concurrent-challenges 1 (maybe even --max-concurrent-challenges 2; untested) argument to the cert-manager to limit the concurrent challenges. That way calls to acme-dns are serialized.

The other way way seems to be using multiple acme-dns subdomains (with their respective credentials) as @svvac suggested. I haven't tested this myself (yet) but it makes sense, this should also work.

Keeping the issue open as the cert-manager documentation for acme-dns should be amended to describe this limitation.

/milestone v1.3

TBD for v1.3: document on https://cert-manager.io the workaround/limitation for acme-dns

/assign

I'll take care of adding the documetation now

/milestone v1.4
/unassign

/assign maelvls

For future reference, here is a detailed explanation of why one cannot use more than 2 subdomains with acme-dns.
Imagining that I am running acme-dns on 81.82.83.84, and if I want to have certificate for the subdomains mael.pw, blog.mael.pw and minio.mael.pw using a single acme-dns credential (da81d9b9-4ed1-5343-9a44-4e78f9ead5d9), my nameserver would look like this:
NAME                              TYPE    TTL    DATA
acme-dns.mael.pw.                 NS      300    acme-dns.mael.pw.
acme-dns.mael.pw.                 A       300    81.82.83.84
_acme-challenge.mael.pw.          CNAME   300    da81d9b9-4ed1-5343-9a44-4e78f9ead5d9.acme-dns.mael.pw
_acme-challenge.blog.mael.pw.     CNAME   300    da81d9b9-4ed1-5343-9a44-4e78f9ead5d9.acme-dns.mael.pw
_acme-challenge.minio.mael.pw.    CNAME   300    da81d9b9-4ed1-5343-9a44-4e78f9ead5d9.acme-dns.mael.pw

I then create this Certificate:
kind: Certificate
spec:
  issuerRef: acme-dns-mael-pw
  dnsNames:
    - mael.pw
    - blog.mael.pw
    - minio.mael.pw

cert-manager will first do a call to acme-dns.mael.pw to add the TXT records. The TXT records in my acme-dns's database will look like:
NAME                              TYPE  TTL    DATA
da81d9b9-4ed1-5343-9a44-4e78f9ead5d9.acme-dns.mael.pw.      TXT   300    D-XoblaY4uYM-PO8FrRcbRj45cQF-aYluYM4Xob
da81d9b9-4ed1-5343-9a44-4e78f9ead5d9.acme-dns.mael.pw.      TXT   300    D-52Wm4V7xoUpGax-F8FrPO45cQRcbRj-XoblaY4uYM
da81d9b9-4ed1-5343-9a44-4e78f9ead5d9.acme-dns.mael.pw.      TXT   300    D-UpGxoax52Wm4V7-52Wm4V7xoUpGax-Y4uYXobMla

Let's Encrypt then proceeds with trying out the challenges.
Since ACME servers have to follow CNAME records (like any other DNS client), the resolution of _acme-challenge.mael.pw. should looks like this:
_acme-challenge.mael.pw.
└── CNAME da81d9b9-4ed1-5343-9a44-4e78f9ead5d9.acme-dns.mael.pw
    ├── TXT D-XoblaY4uYM-PO8FrRcbRj45cQF-aYluYM4Xob
    ├── TXT D-52Wm4V7xoUpGax-F8FrPO45cQRcbRj-XoblaY4uYM
    └── TXT D-UpGxoax52Wm4V7-52Wm4V7xoUpGax-Y4uYXobMla

Let's Encrypt is able to work with these multiple TXT records, as per RFC 8555, sec. 8.4). When resolving the challenge's domain, it iterates over the values of the returned TXT records looking for D-XoblaY4uYM-PO8FrRcbRj45cQF-aYluYM4Xob.
When a TXT record is requested, acme-dns runs this function returns at most 2 TXT records for one given "domain" (in acme-dns's ligua, "domain" refers to the UID that identifies one set of credentials, for example da81d9b9-4ed1-5343-9a44-4e78f9ead5d9). I reproduced and simplified the function for the purpose of the demonstration:
func GetTXTForDomain(domain string) ([]string, error) {
    var txts []string
    q := db.Prepare(`SELECT Value FROM txt WHERE Subdomain=$1 LIMIT 2`) // 🔥
    rows, _ := q.Query(domain)
    for rows.Next() {
        txts = append(txts, rows.Scan())
    }
    return txts, nil
}

The 3 TXT records were properly registered by acme-dns; but when my acme-dns calls to the function:
values := GetTXTForDomain("da81d9b9-4ed1-5343-9a44-4e78f9ead5d9")
fmt.Printf("%v", values)

it only returns the 2 first TXT values!
D-XoblaY4uYM-PO8FrRcbRj45cQF-aYluYM4Xob
D-52Wm4V7xoUpGax-F8FrPO45cQRcbRj-XoblaY4uYM

The challenge for _acme-challenge.minio.mael.pw. will never succeed.
As detailed in joohoi/acme-dns#76, the reason for only returning two TXT records is due to one limitation one specific ACME server: Boulder. Boulder, which is Let's Encrypt's ACME backend, can only process DNS responses 4096 bytes long.

authors: jakexks james-w k3a maelvls svvac

repo: jetstack/cert-manager


text:
The Issuer now becomes Ready=False when ingressClassName is not found

This PR partly fixes https://github.com/jetstack/cert-manager/issues/4537.
Since we added support for Ingress v1, we have slightly changed the semantics of the class field:
apiVersion: cert-manager.io/v1
kind: Issuer
metadata:
  name: letsencrypt
spec:
  acme:
    email: mael+give-me-my-cluster@vls.dev
    server: https://acme-v02.api.letsencrypt.org/directory
    privateKeySecretRef:
      name: letsencrypt
    solvers:
      - http01:
          ingress:
            class: traefik # ⚠

Before cert-manager 1.5.0, this field meant that the annotation kubernetes.io/ingress.class would be set on the v1beta1 Ingress used with the solver pod.
Since cert-manager 1.5.0, if your Kubernetes cluster is recent enough (1.21 and above), cert-manager creates an Ingress v1 instead. Since the annotation was deprecated with Ingress v1, it made sense for us to use the field spec.ingressClassName instead.
Unfortunately, this change is breaking: users who used to not have to create an IngressClass are now forced to create one and there is no indication that you should create one. As an example, I spent well over 2 hours this afternoon trying to understand why the solver Ingress wasn't being picked up by Traefik.
In this PR, I suggest that we mark the Issuer (and ClusterIssuer) "unready" when the class refers to an IngressClass that cannot be found.
With this change, it will become easy to find the source of the issue by either looking at the CertificateRequest or the Issuer. For example, cmctl shows this:
$ cmctl status certificate example
...
Issuer:
  Name: letsencrypt
  Kind: Issuer
  Conditions:
    Ready: False, Reason: InvalidConfig, Message: the IngressClass "traefik" does not exist, please create it
CertificateRequest:
  Name: example-c8wzg
  Namespace: default
  Conditions:
    Approved: True, Reason: cert-manager.io, Message: Certificate request has been approved by cert-manager.io
  Ready: False, Reason: Pending, Message: Referenced issuer does not have a Ready status condition
  Events:
    Type    Reason           Age   From          Message
    ----    ------           ----  ----          -------
    Normal  cert-manager.io  39s   cert-manager  Certificate request has been approved by cert-manager.io
    Normal  IssuerNotReady   39s   cert-manager  Referenced issuer does not have a Ready status condition

With kubectl get issuers, it looks like this:
$ kubectl get issuer -owide
NAME          READY   STATUS                                                        AGE
letsencrypt   False   the IngressClass "traefik" does not exist, please create it   179m

A message also shows in the cert-manager logs:
E0107 16:44:13.263031 1687571 setup.go:111] cert-manager/issuers "msg"="no IngressClass found"
"error"="the IngressClass \"traefik\" does not exist, please create it"

The Issuer Ready=False looks like this:
kind: Issuer
status:
  conditions:
  - message: the IngressClass "traefik" does not exist, please create it
    observedGeneration: 2
    reason: InvalidConfig
    status: "False"
    type: Ready

/kind feature
/area acme/http01
Notes to the reviewer:

No tests have been written yet since I am looking for feedback on the idea at this point.
Right now, Issuer objects are not reconciled when IngressClass objects are added/modified, which means you will have to force the reconciliation of your Issuer after getting Ready=False.

A few thoughts:

when was IngressClass actually introduced?
is there an actual requirement for an IngressClass to exist? I believe not.. a user could run an older version of an ingress controller (or their own custom version) which doesn't require this to be created
marking the entire Issuer not-ready if a single solver refers to an 'unknown' class is a very heavy hammer, and a breaking change for users. They may be using a DNS01 solver instead of this particular HTTP01 solver, and so I think it's not a good idea to mark it as not ready altogether.

If we are going to do this, I think adding a Warning event on the Challenge resource or something similar might make more sense? As this is the point where a single solver is actually selected for solving with. We could also be 'permissive' and still attempt to proceed, whilst firing a Warning event to inform the user for those cases where this is stopping the challenge completing.

During yesterday's biweekly meeting, it has been decided that:

We are going to revert to using the annotation instead of ingressClassName for 1.6 and 1.7.
We have decided not to backport to 1.5 because it is going to cause more work; instead, we will be adding a big red warning on the 1.4 -> 1.5 as well as the 1.5 release notes about the fact that you should skip 1.5 and jump directly to 1.6 due to the ingressClassName regression.

Therefore I will now close this PR.

authors: maelvls munnerz


text:
Check post data error

If the server is not running (e.g. localhost) then we get a stack trace
without this. We should check the error.
Eventually, we can implement a more graceful retry policy.
Signed-off-by: Charlie Egan charlieegan3@users.noreply.github.com

/lgtm

repo: jetstack/preflight


text:
66 fix multi cluster envs

What this PR does / why we need it: Multi cluster environements currently do not work with Tarmak. This PR fixes this by tagging subnets and instances appropriately so that clusters can function properly
Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #66
Special notes for your reviewer:
Release note:

Fix multi cluster environments by supporting multiple clusters in a single VPC

@dippynark can you take a look at my comments. Again also the verify boilterplate is failing because we don't have the LICENSE headers in the newly added files

/approve

/lgtm

/lgtm

authors: dippynark simonswine

repo: jetstack/tarmak


text:
#81 - update readme

Updated readme based on elements from Ziggy's readme and your post at laracast.
Added instructions for installation and setup on Vue, and other frameworks.

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

authors: digvijayad secondmanveran

repo: jetstreamlabs/zora


text:
Revert the name of the execution script to OUT_FILE_INPUT_SCRIPT

When a user specifies a custom LT name to create the input deck for LAMMPS, the execution script should also inherit the same root, as it was up to the 24 Jun 22. This is a very trivial change. I hope it is in line with the intended use of Moltemplate.
Cheers!

I have added the option -run-example to make it optional to append the example Run Section at the end of the LAMMPS input script. I have also changed the cp -p and cat commands to a sed regexp removing leading spaces, which improve the readability of LT files but are annoying in the rendered input deck.

We should say to the ATB team that a new option -overlay-all is available. This change goes in the direction of streamlining Moltemplate usage.

Thank you for your patience and all of your thoughtful changes that you made in this diff, Otello.  There were a lot of improvements (even to the manual!).
I will compile the new manual and upload it to moltemplate.org today.
These days, I have to do work on moltemplate when my family is asleep.  I just have been too sleep deprived myself to face it.  Hopefully that will change.  I have not abandoned moltemplate!

I will also get the new version of moltemplate (v2.20.18) uploaded to https://moltemplate.org/download today.
Thank you very much, again!

authors: hothello jewettaij

repo: jewettaij/moltemplate


text:
Is not working with N2

The library is not working with N2. Is there a way?
Traceback (most recent call last):
File "simplerw.py", line 4, in
import RPi.GPIO as GPIO
File "/usr/local/lib/python2.7/dist-packages/RPi/GPIO/init.py", line 23, in
from RPi._GPIO import *
RuntimeError: This module can only be run on a Raspberry Pi!

Thanks - I don't own a N2, so no way to test.

I have the same issue, have you had any luck?

Any updates?

authors: bromic1 dikokob jfath vadimsavitskii


text:
🐞 [BUG] -

Issue Verification

[X] I have verified that this is a new bug report.
[X] I'm interested in working on this issue
[X] I'm part of GSSOC organization

Describe the bug
links aren't clickable in Django-cheatsheets section
Expected behavior
No response
Steps to reproduce
No response
Additional Context
No response

All of the links? Can you provide more context which of the links are not working

last 3 links in cheatsheets section are'nt clickable

Okay.

authors: AmruthaPariprolu jfmartinz

repo: jfmartinz/ResourceHub


text:
added dsa sheet

added dsa sheet
Pull Request
Description
i have added a dsa sheet
Closes #
Type of change

[x] Adding a new Resource
[ ] Adding a new Category
[ ] Documentation enhancement or fixes
[ ] Website enhancement or fixes

Checklist:

[x] I read carefully CONTRIBUTING.md
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation

Screenshots (if appropriate):
Please add screenshots to help explain your changes.
Additional

This PR is duplciate
https://github.com/jfmartinz/ResourceHub/tree/main/Data Structures and Algorithm (DSA)#practice-sheet


text:
Doesn't work in Debian 11

● disable-c6.service - Ryzen Disable C6
Loaded: loaded (/usr/local/lib/systemd/system/disable-c6.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Wed 2021-09-01 02:44:34 CEST; 7s ago
Process: 2461 ExecStart=/usr/local/bin/zenstates.py --c6-disable (code=exited, status=203/EXEC)
Main PID: 2461 (code=exited, status=203/EXEC)
CPU: 1ms
wrz 01 02:44:34 debian-pc systemd[2461]: disable-c6.service: Failed at step EXEC spawning /usr/local/bin/zenstates.py: No such file or directory
wrz 01 02:44:34 debian-pc systemd[1]: Starting Ryzen Disable C6...
wrz 01 02:44:34 debian-pc systemd[1]: disable-c6.service: Main process exited, code=exited, status=203/EXEC
wrz 01 02:44:34 debian-pc systemd[1]: disable-c6.service: Failed with result 'exit-code'.
wrz 01 02:44:34 debian-pc systemd[1]: Failed to start Ryzen Disable C6.
The file is clearly there
$ ls -a /usr/local/bin
.  ..  zenstates.py

Okay, did some
$ sudo apt install python
and it worked


text:
Complexity Limits / DDOS Circuit Breaker

Hi!
First of all, awesome library. Kudos!
I was wondering if there's any good way to guard against malicious input like this:
{% for i in (1..50000000000) %}
g
{% endfor %}

While this won't leak data, if a user creates a template like this it could bind up web workers, background job queues, etc.
I assume it's hard to know about this type of thing until render-time because of how variables are resolved within loops, but is there a good spot to put some sort of circuit-breaker complexity counter to prevent effectively infinite looping?
Perhaps:

store an optional max_complexity within the Environment
add a check within for loop rendering to check cumulative length against max_complexity, like:

cumulative_length = functools.reduce(lambda x, y: x * y, [fl.length for fl in context.loops], length)
if cumulative_length > context.env.max_complexity:
	raise ...

Hi @AlecRosenbaum,
Yes, I think in Context.loop, after the new ForLoop has been pushed onto the loop stack.
A slight variation on your example:
    from operator import mul

    # ...

    @contextmanager
    def loop(self, namespace: Namespace, forloop: ForLoop) -> Iterator[Context]:
        """Just like ``Context.extend``, but keeps track of ForLoop objects too."""
        self.loops.append(forloop)

        if (
            reduce(mul, (loop.length for loop in self.loops))
            > self.env.loop_iteration_limit
        ):
            raise LoopIterationLimitError("loop iteration limit reached")

        with self.extend(namespace) as context:
            try:
                yield context
            finally:
                self.loops.pop()

There are some corner cases to consider. The include, render and tablerow tags all have the potential to loop over things, possibly causing loop_iteration_limit to be exceeded. Nothing a little refactoring can't solve though.
I am mindful of the lack of "resource limits" (the term Ruby Liquid uses) in Python Liquid, and took steps towards similar features when writing LiquidScript. Steps that I intend to implement in Python Liquid in the future. Along with an output stream limit (in bytes), a loop limit is defiantly a feature I would like to include in Python Liquid.
Working Example
Ignoring include, render and tablerow loops for a minute, the following will work now, with Python Liquid version 1.3.0.
from contextlib import contextmanager
from functools import reduce
from operator import mul

from typing import Iterator

from liquid import Environment
from liquid import Context

from liquid.context import Namespace
from liquid.builtin.tags.for_tag import ForLoop
from liquid.exceptions import Error
from liquid.template import BoundTemplate

class LoopIterationLimitError(Error):
    """Exception raised when the maximum number of loop iterations is reached."""

class ContextWithLimits(Context):
    loop_iteration_limit = 1000

    @contextmanager
    def loop(self, namespace: Namespace, forloop: ForLoop) -> Iterator[Context]:
        """Just like ``Context.extend``, but keeps track of ForLoop objects too."""
        self.loops.append(forloop)

        if (
            reduce(mul, (loop.length for loop in self.loops))
            > self.loop_iteration_limit
        ):
            raise LoopIterationLimitError("loop iteration limit reached")

        with self.extend(namespace) as context:
            try:
                yield context
            finally:
                self.loops.pop()

class BoundTemplateWithLimits(BoundTemplate):
    context_class = ContextWithLimits

# Example usage
env = Environment()
env.template_class = BoundTemplateWithLimits

t = env.from_string(
    """\
{% for x in (1..100) -%}
{% for y in (1..11) -%}
{{x}},{{y}}
{% endfor -%}
{% endfor -%}
"""
)

print(t.render())
# LoopIterationLimitError: loop iteration limit reached, on line 1

Thank you for such a prompt and complete response! That should completely satisfy our usecase. The working example is super helpful, and makes it easy to integrate this functionality into the rendering process.
If leaving this issue open is helpful to track "resource limits" as a feature then I'm happy to leave it, but otherwise your reply has solved my issue. 🙂

:thumbsup: Lets keep it open.

Released in Python Liquid version 1.4.0. (docs)

authors: AlecRosenbaum jg-rp

repo: jg-rp/liquid


text:
Release binary

Hello there,
Sometimes I am using your tool, but I am not always on a machine that can compiles your the program.
Would it be possible for you to release an executable so we can use it without installing the tools to compile it?
Thank you,

Hello Flo354,
I've added a Github Action to build the project and upload the output artifacts. These artifacts will eventually expire, but should work well enough for the use case here.
The latest nightly download link is available here.

Thank you!

repo: jglim/ODB


text:
Fix mistakes in Japanese translations(dia_ja.txt) and adding new translations.

Preflight Checklist

[x] I agree to follow the Code of Conduct that this project adheres to.
[x] I have searched the issue tracker for a feature request that matches the one I want to file, without success.

Describe the bug
Hi. diagrams.net Authors.
First thank you for the great tool.
I am a Japanese programmer and I would like to correct some mistakes in the Japanese translation of diagrams.net and add new translations.
I would like the following diff to be reflected in the Japanese translation file (src/main/webapp/resources/dia_ja.txt).
In Japan, English product and service names are often used as they are without translating them into Japanese. In some cases, translating the name makes it difficult to understand.
Examples: Android, Facebook, Bootstrap
Please feel free to review it.
Thanks :)
Diff in dia_ja.txt
diff --git a/src/main/webapp/resources/dia_ja.txt b/src/main/webapp/resources/dia_ja.txt
index 23a98dc7..511d6f68 100644
--- a/src/main/webapp/resources/dia_ja.txt
+++ b/src/main/webapp/resources/dia_ja.txt
@@ -6,7 +6,7 @@ accessDenied=アクセス拒否されました
 action=Action
 actualSize=実寸
 add=追加する
-addAccount=Add account
+addAccount=アカウントを追加する
 addedFile=追加された {1}
 addImages=画像を追加する
 addImageUrl=画像のURLを追加する
@@ -25,7 +25,7 @@ allProjects=すべてのプロジェクト
 allSpaces=すべてのスペース
 allTags=すべてのタグ
 anchor=アンカー
-android=アンドロイド
+android=Android
 angle=角度
 arc=円弧
 areYouSure=よろしいですか？
@@ -65,7 +65,7 @@ block=ブロック
 blockquote=ブロッククォート
 blog=ブログ
 bold=太字
-bootstrap=ブートス トラップ
+bootstrap=Bootstrap
 border=Border
 borderColor=罫線の色
 borderWidth=枠線の太さ
@@ -89,26 +89,26 @@ changeOrientation=向きを変更する
 changeUser=ユーザーを変更する
 changeStorage=Change storage
 changesNotSaved=変更は保存されませんでした。
-classDiagram=Class Diagram
+classDiagram=クラス図
 userJoined={1} がチャットに参加しました。
 userLeft={1} がチャットを去りました。
 chatWindowTitle=チャット
 chooseAnOption=オプションを選んでください
 chromeApp=Chrome アプリ
 collaborativeEditingNotice=Important Notice for Collaborative Editing
-compare=Compare
+compare=比較する
 compressed=圧縮
 commitMessage=メッセージを省略する
 configLinkWarn=This link configures draw.io. Only click OK if you trust whoever gave you it!
 configLinkConfirm=Click OK to configure and restart draw.io.
 csv=CSV
 dark=黒
-diagramXmlDesc=XML File
-diagramHtmlDesc=HTML File
-diagramPngDesc=Editable Bitmap Image
-diagramSvgDesc=Editable Vector Image
-didYouMeanToExportToPdf=Did you mean to export to PDF?
-draftFound=ドラフト{1}が見つかりました。読み込む、または廃棄する。
+diagramXmlDesc=XMLファイル
+diagramHtmlDesc=HTMLファイル
+diagramPngDesc=ビットマップ画像
+diagramSvgDesc=ベクター画像
+didYouMeanToExportToPdf=PDFにエクスポートするつもりでしたか?
+draftFound=下書き{1}が見つかりました。読み込む、または廃棄する。
 draftRevisionMismatch=There is a different version of this diagram on a shared draft of this page. Please edit the diagram from the draft to ensure you are working with the latest version.
 selectDraft=Select a draft to continue editing:
 dragAndDropNotSupported=画像のドラッグアンドドロップには対応していません。その代わりに画像読み込みを選択しますか？
@@ -122,7 +122,7 @@ clearDefaultStyle=デフォルトスタイルをクリア
 clearWaypoints=途中点をクリア
 clipart=クリップアート
 close=閉じる
-closingFile=Closing file
+closingFile=ファイルを閉じる
 collaborator=共同編集者
 collaborators=共同編集者
 collapse=折りたたむ
@@ -132,8 +132,8 @@ collapsible=折りたたみ可
 comic=コミック
 comment=コメント
 commentsNotes=コメント / 備考
-compress=Compress
-configuration=Configuration
+compress=圧縮する
+configuration=設定
 connect=接続する
 connecting=接続中
 connectWithDrive=Googleドライブに接続する
@@ -145,8 +145,8 @@ containsValidationErrors=検証エラーがあります
 copiedToClipboard=クリップボードにコピーされました
 copy=コピー
 copyConnect=接続時にコピーする
-copyCreated=A copy of the file was created.
-copyData=Copy Data
+copyCreated=ファイルをコピーしました
+copyData=データをコピーする
 copyOf={1}のコピー
 copyOfDrawing=図のコピー
 copySize=Copy Size
@@ -159,7 +159,7 @@ crop=切り落とす
 curved=曲がった
 custom=カスタム
 current=現在
-currentPage=Current page
+currentPage=現在のページ
 cut=切り取り
 dashed=破線
 decideLater=後で決める
@@ -191,7 +191,7 @@ discardChanges=変更を破棄します
 disconnected=接続が切れました
 distribute=整列
 done=完了
-doNotShowAgain=Do not show again
+doNotShowAgain=再び表示しない
 dotted=点線
 doubleClickOrientation=ダブルクリックして向きを変更する
 doubleClickTooltip=ダブルクリックして文字を挿入する
@@ -244,7 +244,7 @@ enterName=名前を入力する
 enterPropertyName=属性名の入力する
 enterValue=値を設定する
 entityRelation=ER
-entityRelationshipDiagram=Entity Relationship Diagram
+entityRelationshipDiagram=ER図
 error=エラー
 errorDeletingFile=ファイルを削除中にエラーが発生しました。
 errorLoadingFile=ファイル読み込みエラー
@@ -271,7 +271,7 @@ exportOptionsDisabled=エクスポートは使えません
 exportOptionsDisabledDetails=所有者は、視聴者や編集者がダウンロード、印刷、コピーをすることを認めていません。
 externalChanges=External Changes
 extras=拡張
-facebook=フェイスブック
+facebook=Facebook
 failedToSaveTryReconnect=保存に失敗しました。再接続中です。
 featureRequest=機能追加の依頼
 feedback=フィードバック
@@ -285,7 +285,7 @@ overwrite=上書き
 synchronize=Synchronize
 filename=ファイル名
 fileExists=ファイルはすでに存在します。
-fileMovedToTrash=File was moved to trash
+fileMovedToTrash=ファイルはゴミ箱に移動しました
 fileNearlyFullSeeFaq=容量がいっぱいです。FAQを参考にしてください。
 fileNotFound=ファイルが見つかりません
 repositoryNotFound=倉庫が見つかりません
@@ -353,14 +353,14 @@ github=GitHub
 gitlab=GitLab
 gliffy=Gliffy
 global=全体
-googleDocs=Google Docs
+googleDocs=Google ドキュメント
 googleDrive=Google ドライブ
 googleGadget=Google Gadget
 googlePlus=Google+
 googleSharingNotAvailable=Sharing is only available via Google Drive. Please click Open below and share from the more actions menu:
-googleSlides=Google Slides
-googleSites=Google Sites
-googleSheets=Google Sheets
+googleSlides=Google スライド
+googleSites=Google サイト
+googleSheets=Google スプレッドシート
 gradient=グラデーション
 gradientColor=色
 grid=グリッド
@@ -411,7 +411,7 @@ insertRowBefore=行を上に挿入
 insertRowAfter=行を下に挿入
 insertText=テキスト
 inserting=挿入中
-installApp=Install App
+installApp=アプリをインストール
 invalidFilename=ダイアグラム名に次の文字を含めることはできません。 \ / | : ; { } < > & + ? = "
 invalidLicenseSeeThisPage=あなたの免許証が有効ではない、これを参照してくださいpage.
 invalidInput=Invalid input
@@ -426,12 +426,12 @@ keyboardShortcuts=キーボードショートカット
 layers=レイヤー
 landscape=横向き
 language=言語
-leanMapping=マッピングを傾く
+leanMapping=Lean Mapping
 lastChange={1}前に保存されました。
 lessThanAMinute=1分以内に
 licensingError=ライセンス エラー
 licenseHasExpired=ライセンス{1} は{2}に期限がきれました。 ここをクリックしてください。
-licenseRequired=This feature requires draw.io to be licensed.
+licenseRequired=この機能には、draw.ioのライセンスが必要です。
 licenseWillExpire=ライセンス{1} に期限切れになります{2}. ここをクリックしてください。
 lineJumps=Line jumps
 linkAccountRequired=図が公式表示されていない場合は、リンクを表示するために Google アカウントが必要です。
@@ -469,7 +469,7 @@ maps=Maps
 mathematicalTypesetting=数式組版
 makeCopy=複製する
 manual=マニュアル
-merge=Merge
+merge=マージ
 mermaid=Mermaid
 microsoftOffice=Microsoft Office
 microsoftExcel=Microsoft Excel
@@ -521,7 +521,7 @@ notAUtf8File=UTF-8ではありません
 notConnected=接続されていません
 note=備考
 notion=Notion
-notSatisfiedWithImport=Not satisfied with the import?
+notSatisfiedWithImport=インポートに満足していませんか?
 notUsingService={1}を使っていませんか？
 numberedList=番号付きリスト
 offline=オフライン
@@ -544,7 +544,7 @@ openRecent=最近開いたファイル
 openSupported=このソフトを使って保存された.XMLフォーマットのファイルのみ開くことが出来ます。
 options=オプション
 organic=系統樹
-orgChart=Org Chart
+orgChart=組織図
 orthogonal=直角
 otherViewer=他の閲覧者
 otherViewers=他の閲覧者
@@ -564,7 +564,7 @@ paperSize=用紙サイズ
 pattern=パターン
 parallels=Parallels
 paste=貼り付け
-pasteData=Paste Data
+pasteData=貼り付けデータ
 pasteHere=ここに貼り付け
 pasteSize=Paste Size
 pasteStyle=スタイルを貼り付け
@@ -649,7 +649,7 @@ saveAndExit=保存して閉じる
 saveAs=名前を付けて保存
 saveAsXmlFile=XMLファイルとして保存しますか？
 saved=保存済み
-saveDiagramFirst=Please save the diagram first
+saveDiagramFirst=最初に図を保存してください
 saveDiagramsTo=ファイルの保存先
 saveLibrary403=このライブラリを編集する権限がありません。
 saveLibrary500=ライブラリ保存中にエラーが発生しました。
@@ -691,7 +691,7 @@ simple=シンプル
 simpleArrow=シンプルな矢印
 simpleViewer=Simple Viewer
 size=サイズ
-sketch=Sketch
+sketch=スケッチ
 solid=実線
 sourceSpacing=始点の間隔
 south=下
@@ -700,18 +700,18 @@ space=スペース
 spacing=間隔
 specialLink=特別なリンク
 standard=標準
-startDrawing=Start drawing
-stopDrawing=Stop drawing
+startDrawing=描き始める
+stopDrawing=描き終える
 starting=起動中
 straight=直線
-strikethrough=Strikethrough
+strikethrough=取り消し線
 strokeColor=線の色
 style=スタイル
 subscript=下付き文字
 summary=概要
 superscript=上付き文字
 support=サポート
-swimlaneDiagram=Swimlane Diagram
+swimlaneDiagram=スイムレーン
 sysml=SysML
 tags=タグ
 table=テーブル
@@ -729,7 +729,7 @@ title=タイトル
 to=から
 toBack=背面に移動
 toFront=前面に移動
-tooLargeUseDownload=Too large, use download instead.
+tooLargeUseDownload=大きすぎます。代わりにダウンロードを利用してください。
 toolbar=Toolbar
 tooltips=ツールチップ
 top=上
@@ -788,7 +788,7 @@ businessprocess=ビジネス・プロセス
 charts=チャート
 engineering=エンジニアリング
 flowcharts=フローチャート
-gmdl=材料設計
+gmdl=Material Design
 mindmaps=マインドマップ
 mockups=モックアップ
 networkdiagrams=ネットワーク図

To Reproduce
Nothing
Expected behavior
Nothing
Screenshots
Nothing
draw.io version (In the Help->About menu of the draw.io editor):

14.7.1

Desktop (please complete the following information):
all
Smartphone (please complete the following information):
all
Additional context
Nothing

Thanks a lot :) All is updated and for words such as:
android
bootstrap
Facebook
Lean Mapping
gmdl
blank fields are left in Japanese column because you use them without translation.
Kind regards,

authors: mararad tell-k

repo: jgraph/drawio


text:
According to the custom horizontal or vertical spacing size, realize equal spacing horizontal distribution or vertical distribution

[x] I agree to follow the Code of Conduct that this project adheres to.
[x] I have searched the issue tracker for a feature request that matches the one I want to file, without success.

Is your feature request related to a problem? Please describe.
When I need to typeset multiple shapes and assign them to a specified spacing value, such as 0 or other numerical values, I cannot complete this operation. Neither horizontal nor vertical specified spacing operations can be completed.
Describe the solution you'd like
By adding an input box for entering a specified value next to the existing spacing distribution button, you can achieve specified spacing distribution in the horizontal or vertical direction.
Describe alternatives you've considered
I want to express such a function

Now the positions of A1 and B1 are not equal, but I want to set them to the specified size distance
Then I input 20pt at the position of C, and click the d horizontal distribution button
The distance between them becomes A1 and B1, which becomes a custom 20pt
Additional context
The main background of this requirement is that when we need to accurately layout graphic spacing, we need the support of this feature.
Thanks for the reply Thanks！

Darn, wish this was a feature..

authors: Mikestriken luomgf


text:
Update Citrix icons

[ ✓] I agree to follow the Code of Conduct that this project adheres to.
[ ✓] I have searched the issue tracker for a feature request that matches the one I want to file, without success.
Is your feature request related to a problem? Please describe.
No, its to make icons more modern
Describe the solution you'd like
https://community.citrix.com/tech-zone/design/diagrams-and-posters

I have included links and details. Please add these as there are components missing in order to do a proper diagram

#4550


text:
Dockerized the app

@alderg Added a "Dockerfile" and instructions to use the app in docker.

@kencochrane Fixed the comments that was given. Sorry for the delay. I lost the track of this.

@davidjgraph Committing back the Dockerfile that was accidentally deleted. Please do the needful.


text:
fillColor should affect marker's fill color

For some reason strokeColor affects both fill and stroke colors of edge markers.
Usage example: oval marker overlapping a vertex non-transparently, where black or white marker fill color signifies something.

Do you have a reproduction diagram XML for GraphEditor we can see this?

authors: VsevolodGolovanov davidjgraph

repo: jgraph/mxgraph


text:
Documentation - layout issue on elements -> messages

Layout issue on elements -> messages

http://bulma.io/documentation/elements/messages/

@adambair can you check if this is fixed? I couldn't reproduce the bug but I think I know where it was coming from.

Fixed.

authors: adambair jgthms

repo: jgthms/bulma-website


text:
Ability to reset the jitterFactor

Hi all,
We would like to pass arguments from our config to the RetryPolicy. By default there is not jitterFactor, so we initialise the RetryPolicy by passing 0.0, but this raises an exception. It would be great if the library would just accept this default value. This can also come in handy if you want to disable the withJitter(double) later on, because you want to set a withJitter(long, TimeUnit).
Cheers, Fokko

Coverage remained the same at 84.192% when pulling 3ab54f01b4d6afafbdc08ec0042ab163702c1b38 on Fokko:fd-reset-jitterfactor into b66cf3fd1a692c87b4a4d8d70ec630c26ebb5fb2 on jhalterman:master.

Thanks!

authors: Fokko coveralls jhalterman

repo: jhalterman/failsafe


text:
optional max_guesses (intended usage '!hangman ruby 6')

I'd like to see this feature added so we can scale the difficulty as desired...
I'll be glad to amend changes and squash as needed.

Looks good, the regex will make it reject negative values, but how about an upper limit?

Good idea... want to cap at 12?

Updated to take the minimum between guess_max and Game::DEFAULT_GUESS_MAX

Thanks @jhass ... modified to enforce an upper limit by taking the minimum value from the tuple {guess_max, Game::DEFAULT_GUESS_MAX}

Thanks!

authors: jhass rthbound

repo: jhass/DeBot


text:
New module to add thymeleaf (+HTMX, Alpine) as "client side" technology

I would like to add a module which adds

thymeleaf
webjars
htmx
alpine
tailwind (or bootstrap)
skeleton layout and index files

Would you consider this more a server module or a client module or even split the different parts (e.g. webjars a very simple dedicated module)?
Would you say such a module makes sense or is it not useful to have a "classic" server side rendering technology within the landscape?
This is heavily inspired by what Taming Thymeleaf is doing and what the ttcli brings in https://github.com/wimdeblauwe/ttcli

I think it's a great idea.
Personally, I'm tired of all these javascript frameworks, on the long run they require too much effort to keep your app up to date, fix vulnerabilities and maintain skills.
I imagine I'm not the only one.
I think JHipster Lite is the perfect vehicle for such approach.

@gmarziou Exactly why I would like to have such a module. Most often the decision to use a full blown javascript framework is just rushed because everyone is doing it.

Adding a 1st bounty, to motivate someone to init this module :)

I will start with the boot thymeleaf module. I think adding at at this level. The question is where to add the webjars module and htmx. I would say webjars can be added quite early, while htmx should depend on thymeleaf and webjars, so the column after thymeleaf.

You don't pic the level, you just need to define the dependencies, level will be calculated

yes basically that's what I meant😅 it depends on spring boot module.

@renanfranca : I reopen this ticket as I think it's not finished, right ?

@renanfranca : I reopen this ticket as I think it's not finished, right ?

@pascalgrimaud : You are right, I will keep working on it 👍

Awesome @renanfranca! If you need some help or feedback feel free to give me a ping!

Awesome @renanfranca! If you need some help or feedback feel free to give me a ping!

Thank you very much @atomfrede !

@renanfranca Nice work thanks for starting this! Should we split the bounty? Or @pascalgrimaud what do you say both claim the bounty? Anyways, I would say we can close this, happy to have this eventually.

Thanks @pascalgrimaud .

@atomfrede : I increase the bounty to $600 (100+500), so you can claim each $300 :)

@renanfranca Nice work thanks for starting this! Should we split the bounty? Or @pascalgrimaud what do you say both claim the bounty? Anyways, I would say we can close this, happy to have this eventually.

@atomfrede: Thank you too! Nice work! That was a long issue, I am happy that we successfully finished it.

@atomfrede : I increase the bounty to $600 (100+500), so you can claim each $300 :)

@pascalgrimaud: Thank you very much!!! 😄

@pascalgrimaud: Bounty Claimed https://opencollective.com/generator-jhipster/expenses/181527 . Thanks 😄 ✌

@renanfranca : approved

authors: DamnClin atomfrede gmarziou pascalgrimaud renanfranca

repo: jhipster/jhipster-lite


text:
IE support?

Hey, I'm interested in using this! But I noticed the builds have been failing for IE. Sorry I haven't tested myself, but is this indicative of IE support or should it be good to use?

Hey, it's been working until I upgraded to the latest isomorphic-fetch. It's top of my list to work on right. Will let you know when its fixed (Hopefully day or two)

IE Support is now back. Technically it never went away, it was just the tests were broken

authors: jhollingworth pstoica

repo: jhollingworth/marty


text:
ENV Variables are not being used at startup of Drupal

DRUPAL_DEFAULT_ACCOUNT_PASSWORD
DRUPAL_DEFAULT_ACCOUNT_EMAIL
DRUPAL_DEFAULT_ACCOUNT_NAME
DRUPAL_DEFAULT_EMAIL

These are being used and configured on install but we do not use the install feature. We need these to be read and configured on each boot

We've decided to go a different route, so this is no longer relevant.

repo: jhu-idc/idc-isle-buildkit


text:
"View > Zoom" resets, "forgets and remembers" settings

Description
Hi, the zoom in function seems to "forget" that is zoomed in.
Steps to reproduce issue
(After you create the app and launch it)
1.- Click View > Zoom in
2.- Click somewhere, changing to a different page
3.- The zoom goes back to 0
4.- (This is where it gets more odd) Click View > Zoom in
5.- The zoom in is now BIGGER (it's as if the app suddenly remembered the previous zoom, and Added more zoom in)
6.- You can do this several times and the zoom will always default to 0 if you switch pages, and go to an even larger zoom in if you click View > Zoom in.
Details

Are you nativefying a public website?
Yes
Feature request? Have you looked at nativefier --help to see if an existing option could fit your needs?
Yes, saw that there's a --zoom option, but this is different, after the app is created.
Full nativefier command used to build your app: nativefier "http://app.hubspot.com" --name "HubSpot"
Version of Nativefier (run nativefier --version): 7.4.1
Version of node.js (run node --version): v6.9.4
OS: OSX Sierra
Error message / stack trace (if any):

<Error message / Stack trace here>

@sogen yeah, confirmed, I've experienced similar weirdness too. Here I'm working around the problem by never touching the in-app zoom controls, and only relying on build-time --zoom flag.

Yes, just made a new "app" using the --zoom flag, worked great.

confirmed as well.
The issue with me is that the original URL is temporary for other usages so the zoom flag wont work for me so I have to do it manually each time but this is a bit awkward to deal with it.

authors: MichaelTunnell ronjouch sogen

repo: jiahaog/nativefier


text:
🛑 O365 is down

In 0c7ce08, O365 (https://outlook.office.com) was down:

HTTP code: 417
Response time: 95 ms

Resolved: O365 is back up in c4b6d11 after 11 minutes.

repo: jiannystein/upptime


text:
🛑 O365 is down

In 2e5ded2, O365 (https://outlook.office.com) was down:

HTTP code: 417
Response time: 110 ms

Resolved: O365 is back up in 651ca0a after 18 minutes.


text:
Get the currently playing track

Add command for currently playing track. Suggested command:
spty track info

Fix / implements this in 0.2.0

repo: jibone/spty-rb


text:
installation not allowed to Write organization package

Dependabot updates fail workflow runs like https://github.com/jidicula/clang-format-action/actions/runs/8308629065/job/22739076838 for republishing images.
Error: buildx failed with: ERROR: denied: installation not allowed to Write organization package

Fixed in https://github.com/jidicula/clang-format-action/pull/191

repo: jidicula/clang-format-action


text:
Thanks for this app

Thank you for your application, really cool stuff.
I took it upon myself to make a clone of your application for the Russian analogue of Hacker News http://tmfeed.ru
https://github.com/JiLiZART/tmfeed-menu
I've tested your app on linux, and can make some builds for Ubuntu if you need.

@JiLiZART You're welcome. Thanks for trying it out. Feel free to make a pull request and we can make this app i18n compatible.

I'm closing this. Feel free to add PR to make this app i18n compatible.

authors: JiLiZART jingweno

repo: jingweno/hacker-menu


text:
Best way to handle Time in sqlLite

Hello, I have receiving this error when trying to bind the query to the gorm.Model
sql: Scan error on column index 4: unsupported Scan, storing driver.Value type []uint8 into type *time.Time
I am using sqlite3, and what is the best option in order to Scan and bind Time correctly for this dialect: using int/text in the table definition and callback in gorm?

hi @mccalv - Please check

https://github.com/go-sql-driver/mysql#timetime-support
https://stackoverflow.com/questions/29341590/go-parse-time-from-database/29343013#29343013

If you still have problems then re-ppen this issue

Thanks for you answer, but still this not solve the problem, both the answers are related to Mysql and not to SqlIte which I am currently using

authors: mccalv pedromorgan

repo: jinzhu/gorm


text:
getting error -> toaster always shows up as "info"-Toast

when i call the toaster, the toaster shows as info, no matter what type i am setting inside my controller.
the console shows an error too,(but this error only shows up when i set the closebutton to "true" or use the showCloseButton option in the controller):
[$sce:itype] Attempted to trust a non-string value in a content requiring a string: Context: html
any ideas what wnt wrong?
i am calling the toaster like:
toaster.pop('error','ERROR', vm.error.message);
When i include a console.log to check what toast.type is set, i get two logs...
function addToast(toast, toastId) {
toast.type = mergedConfig['icon-classes'][toast.type];
console.log(toast.type);
if (!toast.type) {
toast.type = mergedConfig['icon-class'];
}
...
}
i get two logs:

type-error
undefined

so first, this script sets the type correct, but immediately get overwritten with "undefined" ???

Can you please provide a quick plunkr or jsfiddle demonstrating the problem?  I suspect it has very little to do with the toast type and more likely either an html parsing issue or a bad configuration.

Do you have an update on an example jsfiddle or plunkr?

authors: Stabzs sevensix

repo: jirikavi/AngularJS-Toaster


text:
Stay in Notification Center

is possible that the notification will remain in the Notification Center ?

I think it's precise name is "Windows Action Center" if that helps.

Also looking for this feature! There is a duration setting in the win API. I will make a pr within this week if there is no response.

I tried to not call the DestroyWindow function to stay in the "Windows Action Center", it seems to be no problems.

Along the lines of what @usradd said, I think the best solution would be to change the code so that if you set duration=0 then the notification never closes.

@jithurjacob Along the lines of what @usradd said, I think the best solution would be to change the code so that if you set duration=0 then the notification never closes.

This has been requested in issue #15 with the intention of being implemented but would love to see this supported.

duration = None worked for me .

Set "duration = None" is easy, but it will raise an error, and you will fail to call the function "show_toast()" again.
In fact, you can just comment line 153 in __init__.py, and the problem can be solved.
Function "on_destroy()" will be like:
    def on_destroy(self, hwnd, msg, wparam, lparam):
        """Clean after notification ended.

        :hwnd:
        :msg:
        :wparam:
        :lparam:
        """
        nid = (self.hwnd, 0)
        # Shell_NotifyIcon(NIM_DELETE, nid)
        PostQuitMessage(0)

        return None

@Arsennnic Just try catch the exception will do the job as well :)
from win10toast import ToastNotifier

toaster = ToastNotifier()
try:
    toaster.show_toast("Test", "Hello world!", duration=None)
except TypeError:
    pass

Or simply let the thread die
toaster.show_toast("Test", "Hello world!", duration=None, threaded=True)

One question for people, taking this kind of approach means hijacking the line sleep(duration) and prevent DestroyWindow(self.hwnd) from executing.
But UnregisterClass(self.wc.lpszClassName, None) will also not executed. Is it going to raise any problem if the notification is not unregistered? Or does unregistering means removing it from that Action Center?

authors: Arsennnic JuicyJuuce SamuelYvon ed-french eugene-yang kurbanis mrchaosbude umutinevi usradd


text:
Use polarity instead of negative for Lit's public API

This resolves #53

bors r+

repo: jix/varisat


text:
Support multiple providers

It looks like only one global set of credentials for Okta can be used. However, Ueberauth allows multiple providers to be configured using the same strategy. So in the example given in the documentation:
config :ueberauth, Ueberauth,
  providers: [
    okta: { Ueberauth.Strategy.Okta, [] }
  ]

The provider here is :okta, but another one could be defined using this strategy, and it could require different credentials. But the credentials are provided globally for the strategy, with no reference to the individual provider:
config :ueberauth, Ueberauth.Strategy.Okta.OAuth,
  client_id: System.get_env("OKTA_CLIENT_ID"),
  client_secret: System.get_env("OKTA_CLIENT_SECRET"),
  site: "https://your-doman.okta.com"

Thanks @giddie ! This is a fairly big oversight. I'll get a fix up shortly

@giddie I have changes in #11 . Would you be able to test it with your setup? (I no longer am able to use Okta so can't test end-to-end myself)
I'm going to try and add some unit tests later, but am timed out for now

This seems to work much better. Thanks for the quick work. Just one small tweak was required to get the flow working for me:
https://github.com/jjcarstens/ueberauth_okta/pull/12

authors: giddie jjcarstens


text:
add_data to allow injecting additional metadata

m2m and mptt tracking code depends on this small core change

If this is accepted, I can likely PR the m2m and mptt code as is.
If this is rejected or changed, the m2m and mptt code will need some changes.
So I decided to submit this first.

For example of how I would use add_data, see https://github.com/agfunder/django-auditlog/commit/95e78dd97268e00ff4a268d7f4ee51582e33e07f#diff-f5c12bf42e8cd5ef3a793400e11cd5dfR23
Basically, allows internal code to automatically add some useful metadata into additional_data field.

Ill be able to review this properly in a day or so when I can pull the changes and play around with it

Maybe tests only require change to test_model_without_additional_data

authors: agfunder audiolion

repo: jjkester/django-auditlog


text:
Does not work with Auto-delete exchanges

Would be great to add "auto-delete" option to exchanges.
This option is passed to channel.exchangeDeclare in https://github.com/jlavallee/JMeter-Rabbit-AMQP/blob/master/src/main/com/zeroclue/jmeter/protocol/amqp/AMQPSampler.java#L94 as described at https://www.rabbitmq.com/api-guide.html#exchanges-and-queues
Thanks, Tim

Pull requests welcome :)

authors: jlavallee timbortnik

repo: jlavallee/JMeter-Rabbit-AMQP


text:
'babel-preset-es2015' module not found

Have any idea? Seems like npm install --save-dev babel-preset-es2015-rollup installed just fine however below still happens.
Node: 4.4.5
C-C02P37U0G3QD:learn-rollup evans.863$ ./node_modules/.bin/rollup -c
{ [Error: Cannot find module 'babel-preset-es2015'] code: 'MODULE_NOT_FOUND' }
Error transforming /Users/evans.863/work/zack/learn-rollup/src/scripts/main.js with 'babel' plugin: Cannot find module 'es2015'
Error: Error transforming /Users/evans.863/work/zack/learn-rollup/src/scripts/main.js with 'babel' plugin: Cannot find module 'es2015'
    at Function.Module._resolveFilename (module.js:325:15)
    at Function.require.resolve (internal/module.js:16:19)
    at module.exports (/Users/evans.863/work/zack/learn-rollup/node_modules/babel-preset-es2015-rollup/node_modules/modify-babel-preset/index.js:76:21)
    at Object.<anonymous> (/Users/evans.863/work/zack/learn-rollup/node_modules/babel-preset-es2015-rollup/index.js:3:18)
    at Module._compile (module.js:409:26)
    at Object.Module._extensions..js (module.js:416:10)
    at Module.load (module.js:343:32)
    at Function.Module._load (module.js:300:12)
    at Module.require (module.js:353:17)
    at require (internal/module.js:12:17)
Type rollup --help for help, or visit https://github.com/rollup/rollup/wiki

EDIT: My .babelrc is:
{
  "presets": ["es2015-rollup"]
}

It looks like you've installed the babel-preset-2015-rollup, but you're trying to include babel-preset-es2015.
Double-check that your .babelrc looks like this:
{
  "presets": [ "es2015-rollup" ]
}

That should fix the problem.

@jlengstorf Thanks for the quick response dude. My .babelrc is in face:
{
  "presets": ["es2015-rollup"]
}

That's odd.
Just in case, try this:
npm prune
npm cache clean
npm install

Then run it again.
For some sanity-checking: .babelrc is in the app root, along with package.json, and that's where you're running the Rollup command, right?

I just pruned, cleared cache and installed again and called ./node_modules/.bin/rollup -c from root and still getting that error.
I went ahead and created a repo if you are interested in checking it out. I'm sure you are busy so no rush.
Also thanks for the write up on rollup.js I know I find it extremely helpful.

I also had that issue and found a fix here: https://github.com/rollup/rollup-plugin-babel/issues/72
Talkbacked it on the youtube post too.
Again, thank you J for the great Rollup course. I learn in lots of places, some are well established and funded organizations and your teaching and course configuration is well above the standard. I'd love it if you would produce one about Ramda and functional JS.

@2474 This is odd, because I just cloned your repo, cleaned my npm cache, and ran ./node_modules/.bin/rollup -c and... it all worked as expected. Are you on Mac/OS X?
I'm not sure if I've got something locally installed that would change the outcome you're getting, but here's my current setup:
$ node -v
v4.4.5
$ npm -v
3.10.4
$ ./node_modules/.bin/rollup -c
# No error here.

# For the sake of completeness, my globally-installed packages.
$ npm list -g --depth=0
/usr/local/lib
├── bower@1.7.9
├── hexo-cli@1.0.2
├── hugo@0.0.3
├── node-libs-browser@1.0.0
└── npm@3.10.4

But, like @eylon-uk mentioned, rollup/rollup-plugin-babel#72 has a fix. The relevant config is here:
{
  "presets": [
    [
      "es2015",
      {
        "modules": false
      }
    ]
  ],
  "plugins": ["external-helpers"]
}

I just tried that in your repo and it works as expected. Give it a shot and let me know if it's still causing problems.

I'm:
Node 4.4.5
NPM 2.15.5
OSX Yosemite 10.10.5
I'll try updating NPM and all else, I'll check out the issue @eylon-uk mentioned.
Thanks for looking into this guys!

I have the same issue.
node v4.2.2
npm 2.14.7
osx yosemite 10.11.6

@yonida Just to sanity check: is your .babelrc in the same directory as node_modules?
If you haven't already, also try:
npm install --save-dev babel-preset-es2015

That plus the fix in my comment above should get you up and running.

I had the same issue ,
and i modified .babelrc to
{   "presets": [     [       "es2015",       {         "modules": false       }     ]   ],   "plugins": ["external-helpers"] }
and have it fixed.

I try { "presets": [ [ "es2015", { "modules": false } ] ] },it works;

@jlengstorf #12  help me!

我看了以上评论，还是没能解决我的问题！当我运行 npm run dev 还是报这个错误：
Error transforming D:\workSpace\git\rollup-learning\src\scripts\main.js with 'babel' plugin: It look
s like your Babel configuration specifies a module transformer. Please disable it. If you're using t
he "es2015" preset, consider using "es2015-rollup" instead.

@gongph please share your repo. This looks like a configuration error.
Please use the config in this comment and see if it helps.

my repo is Here .  @jlengstorf

@gongph Your .babelrc needs to match the config I've shared with you twice now. Check the previous comments for the correct config.

Any explanation where this is coming from? Tested the repo without modifications. Works on one machine (OS X) fails on the other as described here (Ubuntu 16.04, although I doubt that the OS is the problem).
It is pretty frustrating having to add a config addition on specifically for one machine without getting the background.
(P.S.: many thanks for the tutorial)

I wish I know. I'm thinking this should probably be opened as an issue on rollup/babel-preset-es2015-rollup, because it's intermittent and — at least judging by the errors — shouldn't be happening.
I'll open an issue.

@wellnoidea I edited my last comment to mention you, but I'm not sure if it actually notified you. (If so, sorry!)
If it didn't, I'm hoping to get the error code you're getting on the machine that fails. I'd like to open an issue with the babel-preset-es2015-rollup repo to dig into this, but I don't have the the information they'll need to debug it.

@jlengstorf Sorry for the delay. I'll post code & error by tomorrow.

Checked both machines
first runs npm@3.6.0 everything works fine
the second one runs npm@2.15.9 install fails with
{ [Error: Cannot find module 'babel-preset-es2015'] code: 'MODULE_NOT_FOUND' }
Error transforming /[...]/rollup-babel/script.js with 'babel' plugin: Cannot find module 'es2015' (While processing preset: "/[...]/rollup-babel/node_modules/babel-preset-es2015-rollup/index.js")

after upgrading npm on the second machine to 3.6.0 installation works just fine

Confirmed. Downgrading to npm 2.15.9, reinstalling the node dependencies via npm will bring the error back.
Going back to 3.6.0 and reinstalling and everything runs just fine.

I tested that with this repo and a minimized version:
https://github.com/wellnoidea/babel-rollup

Awesome: it's an npm version issue and not a ghost. :)
That's incredibly helpful. I'll add a note to the article and close this afterward. Very much appreciate your help, @wellnoidea!

The solution is to use a newer version: npm install --save-dev gulp-babel@7 babel-core babel-preset-env

Having the same issue....
ERROR in ./js/app.js
Module build failed (from ./node_modules/babel-loader/lib/index.js):
Error: Cannot find module 'babel-preset-es2015' from 'C:\xampp\htdocs\REACT_PROJECTS\RGR'
at Function.module.exports [as sync] (C:\xampp\htdocs\REACT_PROJECTS\RGR\node_modules\resolve\lib\sync.js:58:15)
at resolveStandardizedName (C:\xampp\htdocs\REACT_PROJECTS\RGR\node_modules@babel\core\lib\config\files\plugins.js:101:31)
at resolvePreset (C:\xampp\htdocs\REACT_PROJECTS\RGR\node_modules@babel\core\lib\config\files\plugins.js:58:10)
at loadPreset (C:\xampp\htdocs\REACT_PROJECTS\RGR\node_modules@babel\core\lib\config\files\plugins.js:77:20)
at createDescriptor (C:\xampp\htdocs\REACT_PROJECTS\RGR\node_modules@babel\core\lib\config\config-descriptors.js:154:9)
at items.map (C:\xampp\htdocs\REACT_PROJECTS\RGR\node_modules@babel\core\lib\config\config-descriptors.js:109:50)
at Array.map ()
at createDescriptors (C:\xampp\htdocs\REACT_PROJECTS\RGR\node_modules@babel\core\lib\config\config-descriptors.js:109:29)
at createPresetDescriptors (C:\xampp\htdocs\REACT_PROJECTS\RGR\node_modules@babel\core\lib\config\config-descriptors.js:101:10)
at passPerPreset (C:\xampp\htdocs\REACT_PROJECTS\RGR\node_modules@babel\core\lib\config\config-descriptors.js:58:96)
@ multi ./node_modules/webpack-dev-server/client?http://localhost:8080 (webpack)/hot/dev-server.js ./js/app.js main[2]
i ｢wdm｣: Failed to compile.

{
"presets": [
"@babel/preset-env"
]
}
this will do the trick

authors: 2474 Jatin-8898 LisMin NeedAChange eylon-uk gongph jlengstorf karthik2883 lazercaveman wellnoidea yonida

repo: jlengstorf/learn-rollup

license: ISC


text:
Can't select root folder for media to rename

I'm running Filebot in unRAID, which updates the container as they are provided. Today, while trying to select a "movies" root folder to rename and export, the app will open into that folder, and expect me to select a file. If a folder is selected within the root "movies" folder, it'll open it. I've restarted the app and the problem still exists. In short, I can't select a root folder for Filebot to review, rename files, and export them.

For me, it is all folders. It will keep expanding the folder until I hit a file.

I also reproduce the problem.
I reported the issue on FileBot forum: https://www.filebot.net/forums/viewtopic.php?f=11&t=13073

Fixed in latest Docker image (v1.14.0).

authors: PepsiBlue14 aaddaammgg jlesage

repo: jlesage/docker-filebot


text:
Ideas for elemental filter...

function in  that checks for elemental prop, slices filtered skills from array, which is passed by a component in App?
Consider coming up with a better idea than the array skill solution...it feels... "good enough"... not "awesome!!"

Moving these thoughts to the Build issue