[docs] Custom GridPagination, MuiPagination don't work

Duplicates

[X] I have searched the existing issues

Related page
https://mui.com/x/react-data-grid/components/
Kind of issue
Unclear explanations
Issue description
How to custom paginate (renders the page size control, the number of rows in the page and also the buttons to go to the previous and next page.)
Context 🔦
I'm using MUI's template this is the result I want. I followed the instructions on the document but it still doesn't work.
(This is the result I want.)

(But this is the actual result)

can you helf me, thank you!

Hi @huyentrangle. 👋 Your issue here concerns the MUI X Data Grid (mui/mui-x), which is not a part of the mui/material-ui repo. In the future, when you encounter problems with the Data Grid, you'll want to open an issue in that repo instead.
From what I can gather, it appears that you're trying to use the demo from this X doc with custom pagination, but for some reason you're ending up with the default styles. I don't have any other context so I can't tell you why this is happening—when I open it in CodeSandbox, for instance, it looks the way it's supposed to.
I'm going to close this here, because the problem is not related to this repo. If you're having trouble customizing the MUI X Data Grid, I would suggest asking the community on Stack Overflow for help.


Update animation is wrong for the chart edges

Expected behavior
To animate the chart, I'm shifting the data array and add new values. Left edge looks normal, the right edge is always interpolating from 0 it seems, though it's never 0. Interpolation modes do not help. Changing max value (scales.x.max) to clip the data doesn't help either, looks like update animation only works with visible area.
Note the blue line is jumping, it should be perfectly still, the value is always 300, it never changes:
https://user-images.githubusercontent.com/852547/203623866-a14f8357-e19d-43bc-b784-4d82ea84872c.mp4
Current behavior
It should be smooth on the right edge, not jumping. The right edge value is never 0 though chart.update() seems to always interpolate the rightmost point value from 0. I'm using 3.2.1 because later versions do not work.
Reproducible sample
https://gist.github.com/joric/b994737d1fd228e4e248007400084637
Optional extra steps/info to reproduce
Open gist in browser.
Possible solution
I don't have any solution at the moment. I tried to change scales.x.max but it doesn't help.
Context
I'm trying to implement a smooth dynamic scrolling chart with a constant data feed.
chart.js version
v3.2.1
Browser name and version
Chrome 107 for windows
Link to your project
https://gist.github.com/joric/b994737d1fd228e4e248007400084637

For example by disabling animations in y-direction:
      animations: {
        y: {
          duration: 0
        }
      },

https://codepen.io/kurkle/pen/GRGxdLW

closing due to v3 not being supported anymore


Cap streak forgiveness points to 3

This PR is a suggestion which I've raised here to discuss with other Manifold users and team members.
Currently user.streakForgiveness increments every month, and quite a few people accumulated 6 of them already. This will soon enable 1+ week long breaks that won't break the user's prediction streak, which doesn't feel right.
This Pull Request caps the streakForgiveness value to 3, during the execution of the incrementStreakForgivenessInternal function which runs at the beginning of every month.

Thanks for the suggestion (and implementation)! I'd rather reward long-time users by giving them as long of a streak-forgiveness as possible.


Crash in CoreData when opening Inbox

`

Crashed: NSManagedObjectContext 0x280086840
0  libobjc.A.dylib                0x19e7e2a70 objc_msgSend + 16
1  CoreData                       0x1a34a0578 -[NSManagedObjectContext(_NSInternalAdditions) _didSaveChanges] + 2060
2  CoreData                       0x1a3489dc4 -[NSManagedObjectContext save:] + 3164
3  CleverTapSDK                   0x107992db4 -[CTInboxController _save] + 207 (CTInboxController.m:207)
4  CleverTapSDK                   0x107992c98 __37-[CTInboxController _deleteMessages:]_block_invoke + 195 (CTInboxController.m:195)
5  CoreData                       0x1a35c3650 developerSubmittedBlockToNSManagedObjectContextPerform + 164
6  libdispatch.dylib              0x19e7735ac _dispatch_client_callout + 20
7  libdispatch.dylib              0x19e779a64 _dispatch_lane_serial_drain + 568
8  libdispatch.dylib              0x19e77a498 _dispatch_lane_invoke + 400
9  libdispatch.dylib              0x19e783a5c _dispatch_workloop_worker_thread + 584
10 libsystem_pthread.dylib        0x19e7d9718 _pthread_wqthread + 276
11 libsystem_pthread.dylib        0x19e7df9c8 start_wqthread + 8

`

Hi @sachinvas
Are you able to reproduce this yourself, or are you only seeing it via user crash reports?

Closing due to inactivity. We don't have a good way to diagnose or debug these crashes without repro steps.

we are also facing a crash in CTInboxController


Error running command sed -i

@sergargar Did you run $ terraform apply when getting this ERROR?

Hi @sergargar This command:
$ sed -i -v 's/"\/static/"https:\/\/storage\.googleapis\.com\/${google_storage_bucket.data_bucket.name}\/webfiles\/build\/static/g' modules/module-1/resources/storage_bucket/webfiles/build/static/js/main.adc6b28e.js

is replacing /static/ in main.adc6b28e.js file. Maybe you can try to run the command above first.

Which terraform version are you using?

terraform --version
Terraform v1.4.4
on darwin_arm64

provider registry.terraform.io/hashicorp/archive v2.3.0
provider registry.terraform.io/hashicorp/google v4.61.0
provider registry.terraform.io/hashicorp/null v3.2.1
provider registry.terraform.io/hashicorp/random v3.5.0
provider registry.terraform.io/hashicorp/template v2.2.0

Hmm... this could be issue with sed on Mac @sergargar
This is my terraform version
➜  ~ terraform --version
Terraform v1.4.4
on linux_amd64

The installation steps says it requires Linux machine https://github.com/ine-labs/GCPGoat/blob/main/README.md#installation

I will try it in a Linux machine then, thank you.


306 : Support http persistent connections

Support http persistent connections
Fixes #306

@mstzn36 Thanks for your pull request, let me find someone who can review it

@dmzaytsev this pull request is for you, please review

@mstzn36 please see 4 comments above

@mstzn36 also I believe your test handlesPersistentConnection()  not completed.
You need to be sure FtBasic reuse the connection. I would suggest use decorator of BkBasic' in the test. You should make at least two requests to the server and check BkBasic` uses same socket.

@mstzn36 according our quality rules

Pull request description explains the solution proposed and contains a link to the original ticket it is related to.

please add the link to the original ticket to the pull request description

@dmzaytsev i made some changes according to review. Take a look please.
I think i don't need check that two requests use same socket. And i don't know how i can test
I just check response header whether it has connection keep-alive parameter.
If a request has connection keep alive parameter then server doesn't close connection after the current request/response is complete.
If a request has connection closed parameter then the server closes connection after the current request/response is complete.

@mstzn36 I'm not sure if you have added some headers and prevented the socket from closing so it will be enough to implement persistent connections. That's why I asked  to test it. btw you will get a resource leak if you never close the socket. It should be closed by client or by timeout or by some resource limit...
anyway let's ask the architect.
@yegor256 do you think @mstzn36  on right way?
Maybe it would better to use NIO channels/selectors in this case?

@dmzaytsev I don't know... looks difficult to understand :( maybe it's better to create just a test in this ticket and "puzzle" the implementation?

@dmzaytsev @yegor256 TCP connection pooling and keep-alive are behind the scenes :( So i think it is enough that i just check request and response header in the test. fyi.

@yegor256 sure, I think so
@mstzn36 I didn't mean you have to implement all job in one PR...
Let's follow Yegor's suggestion.
please remove the condition for closing the socket from `BkBasic'(the socket should be closed always), put a puzzle instead. In the unit test make  one connection and check the headers.

@mstzn36 Pull request description should explain the solution proposed.
you've created the unit test and the puzzle

@dmzaytsev please take a look.

@mstzn36 4 comments above

@dmzaytsev I didn't use FtRemote because i need to create a connectionthrough HttpURLConnection and manage it myself. Please see  https://github.com/yegor256/takes/pull/337#issuecomment-112151309
Other feedbacks are fixed.

@mstzn36 got it, thanks

@rultor merge

@rultor merge

@dmzaytsev Thanks for your request. @yegor256 Please confirm this.

@mstzn36 there is something very wrong with indentation. Why are you using more than 4 spaces? We always (no exceptions) use 4 spaces. Please fix, it's difficult to read your code

@yegor256 Sorry,I thought qulice checks all indentation standarts. I fixed

@mstzn36 I posted a few comments. I still believe that implementation is wrong... I would recommend to remove it, puzzle, and leave just a test in this branch.

@yegor256 I think it isn't proper for puzzle. I believe the implementation is OK but maybe there is a problem about test. We can use mock for testing if you agree. I really want to solve this issue. If you have any suggestion,i would be very happy to hear

@mstzn36 I'm not against you closing this ticket, but the bigger the branch, the longer we will discuss it. It's better to make the branch smaller and puzzle everything else. Anyway, see my comments above.

@yegor256 thank you for comments

@ypshenychka review this ticket please, for compliance with our quality rules

@davvd Quality is good here.

@davvd Quality is good here.

@ypshenychka thanks for the review

@dmzaytsev 10 mins was added to the account of @ypshenychka (for QA review), in transaction 63437714... thanks, I just added 24 mins to your account, payment 63437732, 239 hours and 42 mins spent... extra minutes for review comments (c=9)... added +24 to your rating, now it is equal to +1504


Fix for issue #107

Every chef-client run try enable service[chef-push-jobs-client]
Description
[Describe what this change achieves]
Issues Resolved
[List any existing issues this PR resolves]
Check List

[ ] All tests pass. See https://github.com/chef-cookbooks/community_cookbook_documentation/blob/master/TESTING.MD
[ ] New functionality includes testing.
[ ] New functionality has been documented in the README if applicable
[ ] All commits have been signed for the Developer Certificate of Origin. See https://github.com/chef-cookbooks/community_cookbook_documentation/blob/master/CONTRIBUTING.MD

Fixing under the obvious fix policy


spec: non-integral constant can be converted to int

The program is:
package a
const a int = 1-1/1e100
const b int = 1-1/1e300

gotype rejects both assignments.
gc rejects only the first one with "constant 1 truncated to integer", but accepts the second one.
The spec says:
This rounding may cause a floating-point constant expression to be invalid in an integer context, even if it would be integral when calculated using infinite precision.

http://golang.org/ref/spec#Constant_expressions
But it does not say the opposite -- FP const may be valid in int context, even if it is not integral when calculated using infinite precision. I think it should say so.
The second point is that "constant 1 truncated to integer" error does not make sense.

https://go-review.googlesource.com/11369 addresses the spec issue.
Split out #11371 as a separate cmd/compile error.


python312Packages.lxml-html-clean: 0.2.2 -> 0.3.1

Diff: https://github.com/fedora-python/lxml_html_clean/compare/refs/tags/0.2.2...0.3.1
Changelog: https://github.com/fedora-python/lxml_html_clean/blob/0.3.1/CHANGES.rst

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Result of nixpkgs-review pr 347898 run on x86_64-linux 1

2 packages failed to build:

odoo
odoo.dist

48 packages built:

archivy
archivy.dist
gnome-feeds
mealie
mealie.dist
offpunk
offpunk.dist
python311Packages.extruct
python311Packages.extruct.dist
python311Packages.html-sanitizer
python311Packages.html-sanitizer.dist
python311Packages.html-text
python311Packages.html-text.dist
python311Packages.justext
python311Packages.justext.dist
python311Packages.lxml-html-clean
python311Packages.lxml-html-clean.dist
python311Packages.pywebcopy
python311Packages.pywebcopy.dist
python311Packages.readability-lxml
python311Packages.readability-lxml.dist
python311Packages.recipe-scrapers
python311Packages.recipe-scrapers.dist
python311Packages.trafilatura
python311Packages.trafilatura.dist
python312Packages.extruct
python312Packages.extruct.dist
python312Packages.html-sanitizer
python312Packages.html-sanitizer.dist
python312Packages.html-text
python312Packages.html-text.dist
python312Packages.justext
python312Packages.justext.dist
python312Packages.lxml-html-clean
python312Packages.lxml-html-clean.dist
python312Packages.pywebcopy
python312Packages.pywebcopy.dist
python312Packages.readability-lxml
python312Packages.readability-lxml.dist
python312Packages.recipe-scrapers
python312Packages.recipe-scrapers.dist
python312Packages.trafilatura
python312Packages.trafilatura.dist
qutebrowser
qutebrowser-qt5
qutebrowser-qt5.dist
qutebrowser.dist
tandoor-recipes


Problem with async_read

Hi,
I am trying to build a simple program (on Mac OS X - 1 source file only - see attached file) to test the library.
However, I am getting an error regarding the call to async_exec.
Would you be able to suggest where I am going wrong or let me know if you need any further information?

Can you replace
conn->async_exec(req, resp);

with
conn->async_exec(req, resp, deferred);

Let me know if that works for you.

Hi,
Thanks - the immediate error goes away to be replaced by a number of linker errors. I suspect I am neglecting to include some other headers but am not sure which. Could you help?

Apologies - I think you meant   "co_await conn->async_exec(req, resp, deferred);" - however I still get the linking errors.

Inclue de following in one of your cpp files: #include <boost/redis/src.hpp>.

Brilliant - it worked.


Documentation for Performing Security Assessments and Creating Data Flow Diagrams

There should be documentation on performing security assessments (mostly copy & paste from existing confluence page) as well as documentation on creating data flow diagrams (DFD) with mermaid.js.
Acceptance Criteria

[ ] Style guide/template for DFDs in mermaid.js within GitHub, which doesn’t seem to be as straight forward as in a WYSIWYG editor like draw.io and bears complexities as GitHub mermaid.js has a different feature set than mermaid.live

[ ] Make sure that diagrams run on the GitHub markdown renderer
[ ] Optional: Describe best practices for creating DFDs
[ ] Optional: One simple, one complex example of a DFD

[ ] Copy & paste information on security assessments and STRIDE methodology from existing confluence page

[ ] Check for copyright issues before any documentation is published on GitHub; link to sources of information

[ ] Default paths for storing DFDs in repos
[ ] Propose process for creating security assessments within GitHub (e.g., ask committer of repo for list of threats/vulnerabilities)

Questions

Where to document existing security measures relevant to the security assessment which aren’t documented so far (or are spread across multiple documentation pages)?

Ask the product teams to add to their own documentation?
Add a document next to the DFD summarizing the existing security measures discussed in the security assessment?

Request for Comments
Please feel free to add any ideas/criteria/questions or answers.

Similar issue #17 found,
Together, solutions bound,
Unity is sound.

Blueprints on display,
For the challenges we'll assay,
Clearing the work's fray.
C4Context
title System Context diagram for TaskManager Web App

Person(employee, "Employee", "A company employee who manages tasks.")
Person_Ext(itAdmin, "IT Administrator", "Maintains and monitors the infrastructure.")

Boundary(companyNetwork, "Company Network Trust Boundary") {

  System(taskManager, "TaskManager Web App", "Allows employees to manage and track daily tasks.")

  SystemDb(tasksDatabase, "Tasks Database", "Stores tasks, projects, and other related data.")

  Rel(employee, taskManager, "Creates & Manages tasks")
  Rel(taskManager, tasksDatabase, "Queries & Updates")

}

System_Ext(emailServer, "Company Email Server", "Sends notifications about tasks.")
Rel(taskManager, emailServer, "Sends task notifications")
Rel(emailServer, employee, "Emails task alerts")
Rel(itAdmin, taskManager, "Monitors & Maintains")

Mood shifts with the day,
Sinatra's voice leads the way,
Songs chase blues away.
C4Context
title System Context for "Sinatra Mood Matcher App"

Person(user, "App User", "Wants to find the perfect Sinatra song for the moment.")
Person(sinatra, "Frank Sinatra", "The iconic voice behind countless classics.")

Boundary(moodMatcherBoundary, "Mood Matcher Trust Boundary") {
  System(moodMatcherApp, "Sinatra Mood Matcher", "Suggests a Sinatra song based on user's mood or time.")
  SystemDb(songLyricsDB, "Sinatra Lyrics Database", "Stores the lyrics and themes of Sinatra songs.")

  Rel(user, moodMatcherApp, "Describes mood or time")
  Rel(moodMatcherApp, songLyricsDB, "Fetches song suggestion")
  Rel(songLyricsDB, sinatra, "Contains Sinatra's voice")
}

have brought chatgpt to its limits

In lines and nodes, my vision's artistry flows,
Mermaid.js graph, the solution in its prose.
A visual tale of the path that I chose.
%%{init:{'theme':'neutral','themeCSS':'.edge-pattern-dotted{stroke:#888!important;stroke-width:1px!important;stroke-dasharray:6 5!important;}'}}%%
flowchart LR
  %% ----------------------
  %% -- BEST PRACTICES ----
  %% ----------------------
  %%
  %% === OUT OF SCOPE ====
  %% Mark elements out of scope with ":::oos", eg. `backendprocess:::oos`
  %% Mark data flows out of scope by using dotted links, eg. `A -. "text" .-> B`
  %%
  %% === MOVING STUFF AROUND ====
  %% Use hidden links to force mermaid.js to reposition some elements, eg. `A ~~~ B`
  %% TODO: use hidden subgraphs to position elements closely together

  %% ----------------------
  %% -- START DFD ---------
  %% ----------------------

  ext_interactor["External \n Interactor"]
  ext_interactor2["External \n Interactor 2"]:::oos

  subgraph "Trust Boundary"
    direction TB
    process(("Process"))
    data_store[|borders:tb|"Data Store \n PostgreSQL"]
  end
    process -- "Data" --> data_store

  ext_interactor -- "Input" --> process
  ext_interactor2 -. "Out of scope \n data flow" .-> ext_interactor

  %% ----------------------
  %% -- END DFD -----------
  %% ----------------------

  classDef cluster fill:transparent,stroke:#d66,stroke-width:2px,stroke-dasharray: 10 6;
  classDef node fill:#fafafa,stroke:#222;
  classDef edgeLabel background-color:#ffffffaa,display:inline-block;
  classDef oos fill:#fff,stroke:#888,color:#888,stroke-dasharray: 5 5,stroke-width:1px;
  linkStyle default stroke:#222,stroke-width:1px;

Ok too, I don't want to discuss the format forever now :)
The advantage of not using the C4 graph is that you can use styling, which is helpful for me with the curve: linear.

Additional tools from todays security meeting to check out ( @SSIRKC ):

https://www.threatdragon.com/
https://threatmodeler.com/threatmodeler/


Improve error handling in tier creation

In the process of creating a new tier, I was shown this when I tried to save it:

These errors should show inline to indicate which box on the form they relate to.
The description length limit is because this is actually the headline. For a standalone tier you can actually put in a much longer rich text description, but there is no way to know that from this page. I spent ages editing my text down to 510 characters and then realised I didn't even need to.
It should indicate where you've hit the character limit. I had to go out and use a third party tool to tell me how many characters I was at to know how much I had to cut.
Why does the default amount need to be a suggested value? And why does the form even let you put in another value if it's not allowed?
Same for minimum amount cannot be less than minimum suggested - don't let me input that in the first place.

I strongly resonate with this issue, as I assume 95% of new collectives go through this flow when they discover Open Collective and these errors are not a nice welcome for them (I personally had a bad experience with that when we put CaptainFact on Open Collective more than two years ago).
However I wouldn't solve it like that: everything described here could be supported naturally if we move to our modern way to build forms, as proposed in https://github.com/opencollective/opencollective/issues/3438. This page uses old patterns and libraries that are now considered as deprecated in our codebase, it would be sad to invest too much energy in it to see it wiped away a short time after.

Should be resolved in https://github.com/opencollective/opencollective/issues/3438 by using inline validations and toast messages for server-side errors

Resolved by https://github.com/opencollective/opencollective/issues/3438


[WFLY-19258] Upgrade testsuite/integration/legacy to Netty 4.0.19.Final

https://issues.redhat.com/browse/WFLY-19258

More information about the wildfly-bot[bot]

Thanks @ehsavoie


Python Interpreter for Remote-SSH

I recently started using Remote Development extension in VS Code. I have multiple folders added to my Workspace. Each of the folders has a .vscode/settings.json file which sets the "python.pythonPath": "/usr/bin/python3" The issue I am seeing is that VS Code always has a warning on my status bar:

When I click on it it asks me to select one of the folders from my workspace and even if I go through all of them and select a python interpreter for each, the warning remains. Restarting VS Code brings up an error from the Python extension that there is no Interpreter selected.

Closing as dup of #5724


GPU OOM while fine-tuning MPT-7B

Hi! Thank you so much for this amazing package and models!
I'm attempting to finetune MPT-7B on a custom dataset by following the instructions here: https://github.com/mosaicml/llm-foundry/tree/main/scripts/train/finetune_example#quick-start
However, I'm running into the following issue:
OutOfMemoryError: CUDA out of memory. Tried to allocate 256.00 MiB (GPU 1; 79.21 GiB total capacity; 77.52 GiB already allocated; 47.56 MiB free; 77.52 GiB reserved in total by PyTorch) If reserved memory is >> allocated memory try setting max_split_size_mb to avoid fragmentation. See documentation for Memory Management and PYTORCH_CUDA_ALLOC_CONF

From this README (https://github.com/mosaicml/llm-foundry/tree/main/scripts/train#how-many-gpus-do-i-need-to-train-a-llm), shouldn't the memory required for fine-tuning MPT-7B be 127 = 84 GB? I'm running this on 2A100-80GB so didn't expect to encounter OOM issues.
Please let me know if I'm missing something!

Referring to this issue (https://github.com/mosaicml/llm-foundry/issues/117), I set device_train_microbatch_size as auto but then I got this:
RuntimeError: CUDA out of memory. The train loop failed with an internal microbatch of size 1.The GPU does not have enough memory to process even 1 sample during train.

Facing the same error.

@karthikmurugadoss Are you modifying the YAML in the finetune_example directory? If so, the simple answer might just be that that YAML is configured to be able to run on minimal hardware (ie CPU). The example YAML uses fp32 precision and does not have FSDP.

@alextrott16 Just confirming that I was able to get the fine-tuning to work.
For reference here is the config that I used:
max_seq_len: 512
global_seed: 17

# Run Name
run_name: # If left blank, will be read from env var $COMPOSER_RUN_NAME

# Model
model:
  name: hf_causal_lm
  pretrained_model_name_or_path: mosaicml/mpt-7b
  pretrained: true  # false: only use the architecture; true: initialize with pretrained weights
  init_device: cpu
  config_overrides:
    attn_config:
      attn_impl: torch

# Tokenizer
tokenizer:
  name: mosaicml/mpt-7b
  kwargs:
    model_max_length: ${max_seq_len}

# Dataloaders
train_loader:
  name: finetuning
  dataset:
    ############
    hf_name: json
    hf_kwargs:
      # Note: absolute paths for data_dir are more reliable;
      # relative paths will be interpreted relative to whatever your
      # working directory is when you run `train.py`
      data_dir: finetune_example
    # Note: `scripts/train` will be the working directory when resolving
    # the preprocessing_fn import path
    preprocessing_fn: finetune_example.preprocessing:multiple_choice
    split: train
    ############
    shuffle: true
    max_seq_len: ${max_seq_len}
    decoder_only_format: true
  drop_last: true
  num_workers: 8

# Optimization
scheduler:
  name: cosine_with_warmup
  t_warmup: 100ba
  alpha_f: 0.1

optimizer:
  name: decoupled_adamw
  lr: 6.0e-4
  betas:
  - 0.9
  - 0.95
  eps: 1.0e-08
  weight_decay: 0.0

algorithms:
  gradient_clipping:
    clipping_type: norm
    clipping_threshold: 1.0

max_duration: 1ep
eval_interval: 1
eval_first: false
eval_subset_num_batches: -1
global_train_batch_size: 2

# System
seed: ${global_seed}
device_eval_batch_size: 8
device_train_microbatch_size: auto
# device_train_microbatch_size: auto
precision: amp_bf16

# FSDP
fsdp_config:
  sharding_strategy: FULL_SHARD
  mixed_precision: PURE
  activation_checkpointing: true
  activation_checkpointing_reentrant: false
  activation_cpu_offload: false
  limit_all_gathers: true
  verbose: false

# Logging
progress_bar: false
log_to_console: true
console_log_interval: 1ba

callbacks:
  speed_monitor:
    window_size: 10
  lr_monitor: {}
  memory_monitor: {}
  runtime_estimator: {}

# loggers:
#   wandb: {}

# Checkpoint to local filesystem or remote object store
# save_interval: 500ba
# save_num_checkpoints_to_keep: 1  # Important, this cleans up checkpoints saved to DISK
# save_folder: ./{run_name}/checkpoints
# save_folder: s3://my-bucket/my-folder/{run_name}/checkpoints

# Load from local filesystem or remote object store
# load_path: ./gpt-125m/checkpoints/latest-rank{rank}.pt
# load_path: s3://my-bucket/my-folder/gpt-125m/checkpoints/latest-rank{rank}.pt


Finalize part one

Closes #75
A big PR. The soul of the original part-one code is still there, but much of the actual code has been shuffled around. This includes some quality-of-life improvements like expanding docstrings, tweaking tests, etc, but also includes some major functionality changes:

part-one now has a signing module
the signing module for both parts use the secp256k1 module directly as Sawtooth signing SDK is a little convoluted, and we don't want to introduce it in part-one (the the modules should match)
transactions now get signed
all validation functionality has been moved to a separate module
all mining functionality has been moved to a separate extra credit module

One notable thing not in this PR: an updated README for part-one. These will be updated once the learning materials are finalized.
To test, remove .skip from line 14 of code/part-one/tests/04-ExtraCredit-Mining.js, then run:
cd code/part-one/
npm test

@delventhalz Approved!!
I left comments on a commit-by-commit basis, and some of the comments are appearing as being on outdated versions of the files, even though I think they're still valid. (Might be bc GitHub got confused one of the last commits that added a lot of documentation comments?) I don't think any of the things I noted in my comments are blockers for this PR, but I would appreciate your going through them to see if any of them should be addressed via a later commit.

Updated the PR based on your comments. Left a few responses to others which are now marked outdated.


Feature shader include

Adds support for #include "..." and #include <...> directives within source files.

[x] Added an entry to CHANGELOG.md if knowledge of this change could be valuable to users
[x] Updated documentation to reflect any user-facing changes - in this repository
[ ] Updated documentation to reflect any user-facing changes - PR to the guide that fixes existing documentation invalidated by this PR. Should not be needed, as this is an addition.

Thanks for the PR!
Please include an example in the examples directory.
Use one of the compute examples as a base as they have less boilerplate.
In the one example, demonstrate both relative and standard includes in an external .glsl file and standard includes for embedded glsl.
This is important as the examples are not only helpful to users but also act as tests for the shader! macro.

Okay, I added a simple example and tried to polish the error messages. Unfortunately the way relative include directives are handled is, that if they fail, they fall back to inclusion from standard directories, which sometimes results in misleading error messages. I think that's something that could be improved upon with further PRs.

I was being pedantic about returning Err vs panic, because the difference will be relevant when proper proc macro diagnostics is stabilized. However now that I think about it we will probably need to return the correct span as well. So may as well leave it now and fix it up when diagnostics is stable.
I'll merge the PR now, thanks for your contribution!


WIP - Addresses Myriad 213, 214, and 136.

Resolve NMPorts (Still exists temporarily until 213 is fully resolved) by adding a more general Ports container class, Refactor ExecutorCommandLineGenerator classes to use this class (resolves Myriad-214 in the process). Refactor TackFactory classes as necessary to work with this. This adds a few methods to TaskUtils to get port Resources.
This significantly reduces the amount of code in the TaskFactories.

@yufeldman @sdaingade I modified a lot of your code in here, if you'd like to take a look.  Still a WIP, but trying to clean up the interface between ResourceEventHandler and TaskFactory so we only loop through resources once.  Fixed a few minor bugs in the commandlines we created as well.
@hokiegeek2 please look at this too.

@yufeldman OK cleaned up sorry about that

Looks really good, just a few minor comments and newbie questions

OK this is getting closer, still need to address @hokiegeek2's comments.  @yufeldman @sdaingade any comments?

sorry - got a bit busy - will try to review before tomorrow

@hokiegeek2 @yufeldman @sdaingade @DarinJ , is it ready to merge? I'd like to use it for for test :).

K82cn, just about.  I plan on finishing tomorrow.

@DarinJ , thanks very much :). So I can replace my workaround.

@hokiegeek2 @yufeldman I think I've got this thing mostly where I want it, though I'm sure we could iterate on it some more at a later date.  Please take a look when you get a chance.
@k82cn if you'd like to look it over an extra set of eyes would be appreciated.  I think this will make using reserved offers easier.

@DarinJ , sure; I'll go through this PR :).

Anymore comments?  Would like to get this merged, I realize it's a big large though so take your time.

I don't have more comments
Thank you for bearing with me
On Sat, Aug 6, 2016 at 12:42 PM, Darin<EMAIL_ADDRESS>wrote:

Anymore comments? Would like to get this merged, I realize it's a big
large though so take your time.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/apache/incubator-myriad/pull/79#issuecomment-238045207,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AC7vxl8XxgbQt8XFTVi1ASiSrp2SHAwzks5qdOOXgaJpZM4IyOyY
.

@hokiegeek2 made the adjustment, can you test on you're end?
I may change the cgroup stuff to go into the NodeManagerConfiguration vs MyriadConfiguration as I think that's more true to how mohitsoni originally had it.

@DarinJ Tested build on AWS cluster and everything looks great. I ran multiple MapReduce jobs and did several flex up/flex down sequences with no issues.


correct language in readme

Coverage remained the same at 95.499% when pulling<PHONE_NUMBER>15cdcdd242be4fe1f3c75d1b518491 on readme into 7726a492c8065fdae33aa2aa422cafc1ce31c3cc on master.


Fix cc toolchain autodetection to not error when BAZEL_DO_NOT_DETECT_…

…CPP_TOOLCHAIN is set.
Copies the fix from https://github.com/bazelbuild/bazel/pull/10440.
Part of https://github.com/bazelbuild/bazel/issues/10439.

What needs to be done to merge this?

Merged as https://github.com/bazelbuild/rules_cc/commit/7e650b11fe6d49f70f2ca7a1c4cb8bcc4a1fe239, closing this PR.


Jetstream connector

KEDA connector to support Jetstream NATS

@neha-Gupta1 can you please rebase your branch with master


How can I find Top SQL  by execution time?

I want to find the Top10 SQL from pinpoint hbase，how can I do that?
Thanks very much!

Hi Terrydb5,
Aggregation on annotations, or anything for that matter, is currently not in.
However, we think it is a key feature that we would like to include as soon as possible.

Xylux，thx。
does the SQL execution time are not saved?

SQL execution times are indeed saved (if by SQL execution time you mean the execution time of prepareStatements and executeQuerys).
What is currently not feasible to do is to map reduce on each unique SQLs for their execution times as this would require checking each and every span event stored.
We'll most likely end up implementing a separate aggregation pipeline to sort out these data before they're stored in hbase (but we're still a bit away).

sorry，may be my expression is not accurate。
my means "SQL execution time" is the SQL execution time-consuming。
If I want to develop this function myself，could you please give me some guidance，how can I get these data from collector before they're stored in hbase？
Thank you very much!

So by SQL execution time, I think I understand what you're saying. But you have to remember that there may be multiple parts to querying from a database.
If a connection is made yet, should we include the time it took to create a connection part of the execution time? If PreparedStatement is used, should we include the time it took the connection to prepare the statement into the execution time as well? Or should we simply use the Statement's executeQuery execution time?
These are some of the points that need to be considered imo before defining what SQL execution time is.
As for the collector part, you'll want to look at SpanHandler. This is where all the spans are received, and each span contains span events which may or may not have SQL related annotations.
You'll have to check each and every span event for the SQL (which is btw probably mapped to an id) and aggregate them. This is an extremely heavy operation especially for the collector (of which there may be multiple instances of) handling thousands of spans per second and will not be feasible.
You're more than welcome to try but I wouldn't recommend integrating this directly into the collector.
(The separate aggregation pipeline I mentioned above would be something like using Storm to offload this from the collector but this would be a huge undertaking)
Or you could possibly set up your own MapReduce batch to periodically aggregate the SQL execution times.

@Xylus Thanks for your reply!


x/tools/cmd/goimports: hangs in uninterruptible sleep

Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (go version)?
go version go1.7.3 linux/amd64
What operating system and processor architecture are you using (go env)?
GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/usr/local/google/home/tcoffee/go"
GORACE=""
GOROOT="/usr/lib/google-golang"
GOTOOLDIR="/usr/lib/google-golang/pkg/tool/linux_amd64"
CC="gcc"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build134362667=/tmp/go-build -gno-record-gcc-switches"
CXX="g++"
CGO_ENABLED="1"
What did you do?
Run goimports -w myfile.go.
What did you expect to see?
Program termination.
What did you see instead?
The goimports process goes into uninterruptible sleep, blocking on disk I/O (status 'D') for at least 20 minutes, and hence cannot be killed without rebooting.

tcoffee-google, is there anything special or interesting about myfile.go?

Are you using one of Google's internal FUSE filesystems? If so I'd mail the Google internal mailing lists for tips.

I have the same issue on Windows, it's a larger project. Command goimports $(go list -f {{.Dir}} ./... | grep -v vendor) outputs files but is incredibly slow - probably 1-2 seconds per file? Running with flags -d or -w nothing happens and goimport just hangs. I'm not sure if it's just very slow to process everything or if it really hangs. This took at most 2 seconds some time back.
I recently did go get -u golang.org/x/tools/cmd/goimports and used your (@bradfitz ) version before that but I'm experiencing the same issue. I recently upgraded to Go 1.11.1
Also, goimports runs with almost zero resources used (CPU, Disk, Memory):

Any ideas?

After a reboot the same issue persists. What's interesting though is that gofmt works perfectly, so I doubt that this is a OS issue.

I'm facing this too. goimports used to be much faster. Now, it hangs my editor for a second or two. Any idea how to fix it?

@arnavsharma93, this is a closed bug and we don't track closed bugs. If you want to open a new bug, please include a lot more info. Piling on this overloaded bug just gets distracting.


[Fix-13346] [Master] Pause a workflow instance that is complementing will automatically generate a new complement instance

Fix #13346

Codecov Report

:exclamation: No coverage uploaded for pull request base (2.0.8-prepare@feeda4a). Click here to learn what that means.
The diff coverage is n/a.

:exclamation: Current head d3daf3f differs from pull request most recent head 9230ab4. Consider uploading reports for the commit 9230ab4 to get more accurate results

@@               Coverage Diff                @@
##             2.0.8-prepare   #13411   +/-   ##
================================================
  Coverage                 ?   20.67%
  Complexity               ?     1601
================================================
  Files                    ?      540
  Lines                    ?    23068
  Branches                 ?     2759
================================================
  Hits                     ?     4769
  Misses                   ?    17806
  Partials                 ?      493

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

I have tested it and it works fine.


ConnectionError with the text_recognition_url  api

Hello,
I got the API keys for the 7 day trial but I can't find a way to run the script. I have the error below:
ConnectionError: HTTPSConnectionPool(host='westcentralus.api.cognitive.microsoft.com', port=443): Max retries exceeded with url: /vision/v2.0/recognizeText?mode=Handwritten (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x000001C64FD91CF8>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed',))
Any help please?
Thank you.

Détails du document
⚠ Ne pas modifier cette section. C’est obligatoire pour docs.microsoft.com ➟ Liaison des problèmes GitHub.

ID: e4c8bd02-16d6-d043-4f2c-a337a70954f5
Version Independent ID: 8fa84a6d-5c1e-3562-43aa-019f968edd0f
Content: Computer Vision Python quickstart handwritten text - Microsoft Cognitive Services
Content Source: articles/cognitive-services/Computer-vision/QuickStarts/python-hand-text.md
Service: cognitive-services
GitHub Login: @noellelacharite
Microsoft Alias: nolachar

PS: I m working from my local computer.

@Haager Thanks for the feedback! We are currently investigating and will update you shortly.

@Haager Thanks for the feedback! I have assigned the issue to the content author to investigate further and update the document as appropriate.
@noellelacharite Hi, I have reproduced the bug the customer mentioned above, I just did it as the document. Can you please check if there any change that will make the issue and update the document as necessary? Thanks a lot!

HTTPError: 400 Client Error: Bad Request for url: https://westcentralus.api.cognitive.microsoft.com/vision/v2.0/recognizeText?mode=Handwritten
The code same as above just changed the key for my account.

Hi, I have filed a work item for this bug, it will be fixed shortly. Thanks for your feedback. We will now proceed to close this thread. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion.

@YutongTie-MSFT i'm still facing the issue. find below the error msg i received:
ConnectionError: HTTPSConnectionPool(host='westcentralus.api.cognitive.microsoft.com', port=443): Max retries exceeded with url: /vision/v2.0/ocr?language=unk&detectOrientation=true (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f213da8b198>: Failed to establish a new connection: [Errno -2] Name or service not known',))


Rewrite Python stack traces

Python stack traces need some cleanup and augmentation:

[ ] references to lines outside submission.py should be removed (Python judge has code to do so)
[ ] references to lines  submission.py could be linked to the code (Python judge has code to do so)
[ ] how on earth did the message (Fout met boodschap: '8') in the example stack trace below get translated?

Example: [submission 5947797])(https://dodona.ugent.be/nl/submissions/5947797/)

The message Fout met boodschap: '8' cames from KeyError: '8'.
The solution is to add the errorname to to message.

I would also suggest to drop the Fout met boodschap.


OCM-6391 | fix: Fixed bug where deprecation shows for parent cmd

OCM-6391 is a previously finished ticket which had a small bug, it is now fixed. The deprecation msg was showing up in parent cmds, when it was only meant to show up in certain subcommands. This MR fixes that

/lgtm

/lgtm

/retest

did not print deprecation msg on usage of cmds, added manually to each run command in the same func, now prints when running the deprecated cmds

/lgtm

This change will break json output as the message is always printed:
$ rosa list clusters -o json
W: Region flag will be removed from this command in future versions
[]


Check Ubuntu version in install script

Closes #110

Yup, I tested it on docker with Ubuntu 14.04. I can add function to determine distro

I trying to understand how to stop script execution without terminal termination

At least we have a good enough solution for now


document znai documentation scenarios

I think we need to add a section to the znai docs with end-to-end use cases showing best practices on how to document:

REST API
Reference docs mixed with user guide
UI and CLI docs

some of it addressed already. No specific section though


Jacky Sylvain Pull Request

@@ -0,0 +1,12 @@
+#!/bin/bash
+# read the name of the user and print hello
+
+echo "Hello! Jacky Sylvain"
+read name
+echo "Welcome, $name"
+
+# single quotes prevent the expansion of the variable
+echo 'Your name was stored in $name'
+
+# exercise: write a script that asks the user for a
+# filename and create an empty file named after it

not supposed to paste your code here


V3

Implementation of useOnlineEffect. No tests yet to confirm on the correct path lol.

Thank you so much for your work on this. 🙌
Is there any rough release date for v3? I saw someone asking this in an issue but the user closed it without a hint.


Implement seal/unseal/status ops for HA vaults

NOTE all of this functionality relies on strongbox to determine safely
which Vaults are sealed and which are unsealed.  You can find the code
for that here: https://github.com/jhunt/go-strongbox
safe seal will interrogate strongbox to find all unsealed vaults,
and then seal those vaults transparently, waiting for background Consul
leader elections to take place.
safe status basically queries strongbox and pretty-prints what it
finds.  This is surprisingly useful.
safe unseal will find the sealed vaults, and determine how many seal
keys are required for an unseal.  It then prompts for the correct
number (up front) and then re-unseals all sealed backends.  It properly
resets seal progress on each backend first, to handle half-unsealed
Vaults.
This is an alternate implementation to PR #45, which is technically less
flexible (requires a helper component on the server deployment) but is
muuuuuuch simpler.

cc @geofffranks / @dennisjbell


solution: balance cache

Codecov Report

Merging #1253 (9736ff5) into master (9bdf6a2) will increase coverage by 31.45%.
The diff coverage is n/a.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@             Coverage Diff             @@
##           master    #1253       +/-   ##
===========================================
+ Coverage   36.05%   67.51%   +31.45%
===========================================
  Files         416       52      -364
  Lines        9929     1499     -8430
  Branches     1754      281     -1473
===========================================
- Hits         3580     1012     -2568
+ Misses       6340      486     -5854
+ Partials        9        1        -8

Impacted Files
Coverage Δ

src/index.ts
100.00% <0.00%> (ø)

src/persistentState.ts
100.00% <0.00%> (ø)

src/blockchains/index.ts
100.00% <0.00%> (ø)

src/workflow/create-tx/CreateErc20Tx.ts
76.80% <0.00%> (ø)

src/workflow/create-tx/CreateErc20WrappedTx.ts
69.38% <0.00%> (ø)

src/app/layout/Home/Home.tsx

src/transaction/CreateTx/FromField/index.ts

src/icons/ViewVisible.tsx

src/services/Services.ts

src/icons/EmoteHappy.tsx

... and 362 more

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


Mapping an array of Strings using a Model class

Hey guys,
Thank you for developing this awesome framework!
I have come across an issue with mapping an array of strings, and I need your help...
I am not sure whether this is possible, so any feedback will be greatly appreciated.
Lets say we have a response the comes in the following form:
[
  "Item1",
  "Item2"
]

I would like to have a model class that will conform to the Mappable protocol and in which I will be able to store the values that are returned in this array. Is this even possible?
The documentation states about a method called mapArray, but it says that in only works if the array is composed of JSON dictionaries (in this case it is not, there are only strings in the array).
I am using Alamofire for fetching the data from the server and the app is written in Swift.
Thanks in advance!

Hi there,
In this situation I would recommend accessing the data directly from the Alamofire response. You should be able to simply cast it to [String].
Alternatively, you may be able to subclass String and make the subclass Mappable, however I think that is more work than necessary for the your situation


use interface for logger

Allow for different logging libraries to be used.
We use logrus for most things and with this change we don't have to bend over backwards to make it play nice with our tools

Closing: I'll work with @casualjim to merge this on the correct branch.


[Critical] Fix the priority mechanism of DataCarrier's MultipleChannelsConsumer failure.

[ ] If this pull request closes/resolves/fixes an existing issue, replace the issue number. Closes #.
[x] Update the CHANGES log.

@kezhenxu94 Reported this bug to us, and noticed https://github.com/apache/skywalking/pull/8664 applied into the mainstream, the OAP server could report gRPC thread pool is full, rejecting the task, even the traffic is very low, and ElasticSearch is healthy, once #8664 is reverted, the error is gone in the same test scenario.
I did some research about my last change, and found out this bug only could occur when traffic is low.
I was using channels.getChannelSize() * channels.size(), and I thought it is the size, and actually channels.size() is the size already. So with this wrong usage, the priority is always very low, and hard(maybe never?) to reach over 50. Then the queue is full with a very low priority, not consuming anymore.
The fix is easy, make the priority back to expected value.

FYI @apache/skywalking-committers This is a critical bug, you all should be aware of.


Import error in utils package

from .utils import (
ImportError: cannot import name 'extract_cookies_from_brwoser' from 'gemini.utils'

You're very fast.
We're reusing some code from the previous Bard API package and adjusting the API interface, so it might be difficult to use right now. We aim to stabilize and implement the features of the Bard API by the end of February.
We're currently updating cookie values automatically in real-time and checking the frequency of these changes, so please wait a bit longer!
We'll work hard to meet our goal by the end of February.
Also, we're always looking for contributors in the open community. Please proceed with as much work as possible and submit a Pull Request. (Only the first Pull Request will be reviewed and approved based on code contributions.)

Oswin06
Please, try to use 1.0.4 or above!
We are currently modifying the package with a focus on extensive code refactoring and future maintainability, so errors may occur. We are also in the process of making adjustments to the returned dictionary for easier access in the future.
We appreciate your understanding. Thank you!!!
python uninstall python-gemini-api

python install python-gemini-api==1.0.4


typo: devtestlabs/resource-manager/Microsoft.DevTestLab/DTL

occured -> occurred
Reponse -> Response
seperated -> separated

Automation for azure-sdk-for-python

Can one of the admins verify this patch?

Automation for azure-sdk-for-ruby

Automation for azure-sdk-for-js

Automation for azure-sdk-for-go

Automation for azure-sdk-for-node

Automation for azure-sdk-for-java


Use new Python 3.12 f-string syntax

Now that we have updated this project to use Python 3.12 (#124), all multi-line f-strings should be updated to use the new syntax.
For example:
my_var: str = (
    f"""This is a {
        random.choice("good", "amazing", "wonderful")
    }. My next random number will be provided below in due course: {
        random.choice(
            999_999_999_999_999,
            420,
            10,
            0
        )
        if random.randint(0, 101) == 69
        else random.random()
    }"""
)

Would be changed to:
my_var: str = (
    f"This is a {random.choice("good", "amazing", "wonderful")}. "
    "My next random number will be provided below in due course: "
    f"{
        random.choice(
            999_999_999_999_999,
            420,
            10,
            0
        )
        if random.randint(0, 101) == 69
        else random.random()
    }"
)

(I am aware that this example can be simplified on to a single line without the line-length being exceeded, however this is just an example. Use the shown changes to help when the changed lines do exceed the maximum allowed line-length.)

Hey @CarrotManMatt. let me roll up my sleeves for this task

Can you assign me this please & also what part of the code would i need to refactor? (I assume it will be all of it?)

scope wise yeah I assume the entire code base but @CarrotManMatt may have other thoughts

Alright I will start working on it, thanks!


[FLINK-35412][State/Runtime] Batch execution of async state request callback

What is the purpose of the change
Currently, when there is a state request finished, a callback will be wrapped into a mail and inserted into the Mailbox. This PR put a batch of consecutive callbacks into one mail and execute them in batch, which reduce the interaction with the queue of mailbox. Additionally, the new introduced runner propagate the flag hasMail, which is essential for fine-grained scheduling of AsyncExecutionController (will exposed in later PR).
Brief change log

Introduce BatchCallbackRunner that receives single callbacks and run them in batch.

Verifying this change
This change is already covered by existing tests on AEC.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): no
The public API, i.e., is any changed class annotated with @Public(Evolving): no
The serializers: no
The runtime per-record code paths (performance sensitive): yes
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: no
The S3 file system connector: no

Documentation

Does this pull request introduce a new feature? no
If yes, how is the feature documented? not applicable

@jectpro7 Let me elaborate this a little more. This runner aims for encapsulating multiple callbacks into one mail, but still it runs the callback ASAP. There will be no waiting or gathering, and small batches are totally acceptable. We already have buffered the state requests in AEC, and I don't want to introduce more latency here. This is only a small optimization to reduce the mail and interaction with the queue of mail.
So the rules are:

If there is any callback, there will be a mail.
There is at most one mail at the same time.
At each mail, the task thread will handle at most specific number of callbacks.

Hope this helps you know what I'm trying to do.

Based on our testing, we were able to get some performance improvements with this PR.
Will merge this.


Permission denied on prover relayer

I have this error: taiko_client_prover_relayer_1 | /bin/sh: /script/start-prover-relayer.sh: Permission denied

Plz check: https://taiko.xyz/docs/reference/node-troubleshooting#simple-taiko-node-taiko_client_prover_relayer-1---binsh-scriptstart-prover-relayersh-not-found


Suspended Organisation handling

User shouldn't be able to push applications to it.
Create Space should be hidden an org is suspended.

Closing in favour of #2182


Mod

@pavs315 is taking this op

@pavs315 are you still working on this op?

@vivekkhandelwal1 hi yes, I'm currently working on the tests.

Closed by https://github.com/llvm/torch-mlir/commit/c51e2130f269615e0418ca421e5976f94022daee


chore(markdownlint): bump to v0.32.1 and simplify config with new ignore file

MarkdownLint now supports a .markdownlintignore file which allows for a simpler setup

#2nwzx8c

/approve


Better make test-e2e output

More information would be helpful determining what exact command didn't work:
 make test-e2e
go test github.com/redhat-developer/ocdev/tests/e2e
Running Suite: ocdev test suite
===============================
Random Seed:<PHONE_NUMBER>
Will run 9 of 9 specs

New project created and now using project : ocdev-1522247597
ocdev-1522247597
•Creating application: usecase5
Switched to application: usecase5
usecase5•ocdev-1522247597
•Creating application: usecase5-2
Switched to application: usecase5-2
usecase5-2Switched to application: usecase5
usecase5•2018/03/28 10:33:26 exit status 1
FAIL    github.com/redhat-developer/ocdev/tests/e2e     8.934s
Makefile:72: recipe for target 'test-e2e' failed
make: *** [test-e2e] Error 1

Perhaps outputting what runCmd is into the logs and adding more spacing between the log outputs too?
https://github.com/redhat-developer/ocdev/blob/master/tests/e2e/e2e_test.go#L151
ping @ashetty1

For this, I would like to output those commands only if there was an error. Please don't make verbose output if tests are passing, It is really hard to find something if logs are polluted with useless lines.

@kadel @cdrage sure, will do that.

Pushed a minor fix here: #286

This has been vastly improved by @ashetty1 's recent contributions. I'm going to close this! :grinning: thanks @ashetty1 !


Seperate "world" and "window"

Right now the world is responsible for part of the rendering. It shouldn't be. We want it to be as simple as possible to implement new worlds.

Definitely - I tried to move the opengl stuff into Window with my last pull request, but I noticed some odd things when I did that.
I had trouble untangling a lot of stuff when I split up main.py, but would love for someone else to take a look at it :)


Fixes #784: Download specific version of rancher/agent

@will-chan @cjellick

@cjellick I just noticed the Failed Build. Im looking into it.

@will-chan and @cjellick -- named it getRegistrationUrlAndImage..
I created a droplet with the changes. Works fine. Haven't figure out the build failure yet.

@wlan0 just to confirm, did you end-to-end test this by creating a machine in cattle and seeing that all the containers that were started on the machine (including the temporary/intermediate) ones were created with the pinned version of rancher/agent that is specified by cattle?

LGTM


[IOTDB-2350] Select into datatype cast error when writing back during the nested query

Coverage increased (+0.007%) to 68.048% when pulling b769de1699cec1cd70bba7f1cd3b5b8bd097db2b on Plutooooooo:IOTDB-2350 into 21acded32cda96932157dd7b2d954bad768181d2 on apache:master.


IME makes cursor disappear and input nothing

I'm under MacOS 10.10.2.
When using input ascii code it works well.
But when write Chinese (maybe other none Western characters as well) docs.
Steps:

Switch IME to U.S., input some ascii character, and do not input tailing blanks.
Switch IME to Pinyin Simplified, input some pinyin, and press space to commit Chinese characters to Atom editor.

Result:

the Chinese characters not add to the editor.
and the cursor lost.

I can't reproduce this problem with Atom 0.178.0-e4ca11d (--safe) on OS X 10.10.2.


i18n: Spanish Version es.po

Hello, great work of art once again.
Great contribution also from @glihm  and @dpinones  to be able to have the versions in several languages and in a clean way.
I have migrated what we had from the Spanish version, and added and improved the ones that were missing... It has been a hard and double road, but the truth is that I love the content.
Can you check how you see it? We think the only new 9.1 is missing from @Darlington02

Thanks, I have passed it to DRAFTS, in case any member in Spanish can review it.
Although we can improve and change with updates, or wrong words if any.
Also now the flow with po, is much better for this kind of work and updates without bothering us, more than the account.
Whatever you think is best we will do, thank you.

@enitrat we have gone through a first internal revision. Today we should be able to rebase and push the changes to this PR, which will be re-open. :+1:

Thanks @glihm and @enitrat  for the review and help, what a great ecosystem and teams are being created. We will be adding the new changes now that the translation flow is much better. Great work
The Spanish speaking version is ready to be launched. 🚀


#117 Issue

Use this template to add a workshop to this repo. Add the following items:

[ ] Your workshop design document, filled in with some details about your proposed workshop including its title and the three stages in the designer delineated, using the workshop-designer.md file in the template.

[ ] A README.md file that describes the steps of the workshop.

[ ] Powerpoint Slides for the workshop.

[ ] The workshop's solution in the /solution folder.

[ ] An embedded Train the Trainer video.

[ ] A Call to Action to enhance the workshop with a direct line to Microsoft Learn by linking to an appropriate Learn module.

[ ] Code quality check: no authentication keys should be included in solution or sample code

A reviewer will be assigned to the workshop and will work with you to shape it for production. Thank you for your contribution!

¡Muchas gracias @NikoMagafi ya revisé los archivos que has subido y todo super bien, mil gracias por tu tiempo y ayuda!


安装时出现npm error code ERESOLVE

安装的时候出现npm error ，看起来像是react升级了导致冲突
2.17.10
root@8a21b5c938d4:/ql $ docker exec -it qinglong bash -c "$(curl -fsSL https://raw.githubusercontent.com/FlechazoPh/QLDependency/main/Shell/XinQLOneKey.sh | bash)"
bash: line 40: 当前node版本(如果没有node，请自行安装): : command not found
bash: line 44: 当前npm版本(如果没有npm，请自行安装): : command not found
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable.It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning.
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: undefined@undefined
npm error Found<EMAIL_ADDRESS>npm error node_modules/react
npm error   dev<EMAIL_ADDRESS>from the root project
npm error
npm error Could not resolve dependency:
npm error peer<EMAIL_ADDRESS>|| ^17.0.0" from<EMAIL_ADDRESS>npm error node_modules/@monaco-editor/react
npm error   dev<EMAIL_ADDRESS>from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.
npm error
npm error
npm error For a full report see:
npm error /root/.npm/_logs/2024-09-13T23_41_50_498Z-eresolve-report.txt
npm error A complete log of this run can be found in: /root/.npm/_logs/2024-09-13T23_41_50_498Z-debug-0.log
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: undefined@undefined
npm error Found<EMAIL_ADDRESS>npm error node_modules/react
npm error   dev<EMAIL_ADDRESS>from the root project
npm error
npm error Could not resolve dependency:
npm error peer<EMAIL_ADDRESS>|| ^17.0.0" from<EMAIL_ADDRESS>npm error node_modules/@monaco-editor/react
npm error   dev<EMAIL_ADDRESS>from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.
npm error
npm error
npm error For a full report see:
npm error /root/.npm/_logs/2024-09-13T23_41_59_623Z-eresolve-report.txt
npm error A complete log of this run can be found in: /root/.npm/_logs/2024-09-13T23_41_59_623Z-debug-0.log
sh: docker: not found

OS: [unraid]
Version [2.17.10]

同问


Upgrade rocketmq libs version to fix CVEs

Contribution Checklist
Fixes ISSUE #755  .
Motivation

Upgrade rocketmq libs because current version brings in jars with CVEs.

Modifications

Edit eventmesh-admin/eventmesh-admin-rocketmq/gradle.properties file .
Edit eventmesh-connector-plugin/eventmesh-connector-rocketmq/gradle.properties file .

// Upgrade rocketmq version from 4.7.1 to 4.9.3
rocketmq_version=4.9.3

Removed unused dependencies.

logback-core:1.0.13
netty-tcnative-boringssl-static:1.1.33.Fork26

Add bc-java dependencies .

bcpkix-jdk15on:1.69
bcprov-jdk15on:1.69
bcutil-jdk15on:1.69

Documentation
none.

bc-java what is this dependency used for ? Are these jars used in rocketmq for security ?

bc-java what is this dependency used for ? Are these jars used in rocketmq for security ?

Yes .

Are there any compatibility issues with EventMesh for upgrading RocketMQ version to 4.9.3 ?

Are there any compatibility issues with EventMesh for upgrading RocketMQ version to 4.9.3 ?

Already tested.


add day2 sriov and ptp default provisioning

day-2 installation example of sriov operator from a workload cluster like volante in cars.lab domain

requires rebase

LGTM, squash commits and I think this will be good.

Looks Ok. Ready for merge.


Add support for the Meta XR Simulator

The Meta XR Simulator enables developers to simulate development on Meta devices. We should add support within the editor to improve the workflow of Godot XR developers
https://developer.oculus.com/documentation/native/xrsim-intro/

@m4gr3d did you put this in the wrong repo? I was planning to build a plugin for this, just haven't gotten around to it yet

@BastiaanOlij yeah, I accidentally created this issue when I was adding the entry to the XR roadmap project.

Is this on some roadmap somewhere? :D it would be handy to run XR with no XR device for tests etc

@jamie-pate It's already supported; see https://www.youtube.com/watch?v=znT4R-qSawg

On Linux, you can use Monado as an XR simulator, but it's harder to use than Meta's XR simulator (and I don't think it supports synthetic environments for MR, but I'm not sure)


Compile error with MSVC 14.1

Godot version: Godot 3.1 with 395ecc2235f91654ef7c06c7e73aabb352bb17fb

OS/device including version:

Windows 10 with Visual Studio 2017
PS F:\develop\godot> scons p=windows -j 4
scons: Reading SConscript files ...
Configuring for Windows: target=debug, bits=default
 Found MSVC version 14.1, arch amd64, bits=64

Issue description:

The compiler complains
main\default_controller_mappings.gen.cpp(4): error C2466: cannot allocate an array of constant size 0

The generated content of this file as below
/* THIS FILE IS GENERATED DO NOT EDIT */
#include "default_controller_mappings.h"
#include "typedefs.h"
const char* DefaultControllerMappings::mappings[] = {
};

Seems #17296 introduced this problem.

CC @cart

Interesting.  I'm about to go to bed, but I'm guessing this has to do with scons failing to locate or read the db files on windows.  I can try to look at this over the weekend, but it'll take some time to set up a windows dev environment.

Note that the PR did build fine against MSVC 2015: https://ci.appveyor.com/project/akien-mga/godot/build/1.0.6538
But it was built before recent changes to MSVC autodetection and better closing of files in SCons, so those changes might have impacted it too.

Indeed the f and g files are never closed.

I fixed closing the files with cc617dc5d, but not sure it would change anything regarding this bug here.

It's mainly the byte to string/string to byte conversions in Python 3.
This works (sorry I can't provide a diff, I did this in a branch with other changes on a private GitLab repo):
#!/usr/bin/env python

Import('env')
from compat import byte_to_str
from collections import OrderedDict

def make_splash(target, source, env):

    src = source[0].srcnode().abspath
    dst = target[0].srcnode().abspath

    with open(src, "rb") as f:
        buf = f.read()

    with open(dst, "w") as g:
        g.write("/* THIS FILE IS GENERATED DO NOT EDIT */\n")
        g.write("#ifndef BOOT_SPLASH_H\n")
        g.write("#define BOOT_SPLASH_H\n")
        g.write('static const Color boot_splash_bg_color = Color::html("#232323");\n')
        g.write("static const unsigned char boot_splash_png[] = {\n")
        for i in range(len(buf)):
            g.write(byte_to_str(buf[i]) + ",\n")
        g.write("};\n")
        g.write("#endif")

def make_splash_editor(target, source, env):

    src = source[0].srcnode().abspath
    dst = target[0].srcnode().abspath

    with open(src, "rb") as f:
        buf = f.read()

    with open(dst, "w") as g:
        g.write("/* THIS FILE IS GENERATED DO NOT EDIT */\n")
        g.write("#ifndef BOOT_SPLASH_EDITOR_H\n")
        g.write("#define BOOT_SPLASH_EDITOR_H\n")
        g.write('static const Color boot_splash_editor_bg_color = Color::html("#232323");\n')
        g.write("static const unsigned char boot_splash_editor_png[] = {\n")
        for i in range(len(buf)):
            g.write(byte_to_str(buf[i]) + ",\n")
        g.write("};\n")
        g.write("#endif")

def make_app_icon(target, source, env):

    src = source[0].srcnode().abspath
    dst = target[0].srcnode().abspath

    with open(src, "rb") as f:
        buf = f.read()

    with open(dst, "w") as g:
        g.write("/* THIS FILE IS GENERATED DO NOT EDIT */\n")
        g.write("#ifndef APP_ICON_H\n")
        g.write("#define APP_ICON_H\n")
        g.write("static const unsigned char app_icon_png[] = {\n")
        for i in range(len(buf)):
            g.write(byte_to_str(buf[i]) + ",\n")
        g.write("};\n")
        g.write("#endif")

def make_default_controller_mappings(target, source, env):
    dst = target[0].srcnode().abspath
    g = open(dst, "w")

    g.write("/* THIS FILE IS GENERATED DO NOT EDIT */\n")
    g.write("#include \"default_controller_mappings.h\"\n")
    g.write("#include \"typedefs.h\"\n")

    # ensure mappings have a consistent order
    platform_mappings = OrderedDict()
    for src in source:
        src_path = src.srcnode().abspath
        with open(src_path, "rb") as f:
            # read mapping file and skip header
            mapping_file_lines = f.readlines()[2:]

        current_platform = None
        for line in mapping_file_lines:
            if not line:
                continue
            line = line.strip()
            #g.write("//" + line.decode("ascii") + "\n")
            if len(line) == 0:
                continue
            #g.write("//" + line.decode("ascii") + "\n")
            if line[0] == ord("#"):
                #g.write("//" + line.decode("ascii") + "\n")
                current_platform = line[1:].strip()
                if current_platform not in platform_mappings:
                    platform_mappings[current_platform] = {}
            elif current_platform:
                line_parts = line.split(b",")
                guid = line_parts[0]
                if guid in platform_mappings[current_platform]:
                    g.write("// WARNING - DATABASE {} OVERWROTE PRIOR MAPPING: {} {}\n".format(src_path, current_platform, platform_mappings[current_platform][guid]))
                valid_mapping = True
                for input_map in line_parts[2:]:
                    if b"+" in input_map or b"-" in input_map or b"~" in input_map:
                        g.write("// WARNING - DISCARDED UNSUPPORTED MAPPING TYPE FROM DATABASE {}: {} {}\n".format(src_path, current_platform, line))
                        valid_mapping = False
                        break
                if valid_mapping:
                    platform_mappings[current_platform][guid] = line.decode("ascii")

    platform_variables = {
        "Linux": "#if X11_ENABLED",
        "Windows": "#ifdef WINDOWS_ENABLED",
        "Mac OS X": "#ifdef OSX_ENABLED",
        "Android": "#if defined(__ANDROID__)",
        "iOS": "#ifdef IPHONE_ENABLED",
        "Javascript": "#ifdef JAVASCRIPT_ENABLED",
        "UWP": "#ifdef UWP_ENABLED",
    }

    g.write("const char* DefaultControllerMappings::mappings[] = {\n")
    for platform, mappings in platform_mappings.items():
        variable = platform_variables[platform.decode("ascii")]
        g.write("{}\n".format(variable))
        for mapping in mappings.values():
            g.write("\t\"{}\",\n".format(mapping.decode("ascii")))
        g.write("#endif\n")

    g.write("};\n")
    g.close()

env.main_sources = []
env.add_source_files(env.main_sources, "*.cpp")

# order matters here.  higher index controller database files write on top of lower index database files
controller_databases = ["#main/gamecontrollerdb.txt", "#main/gamecontrollerdb_205.txt", "#main/gamecontrollerdb_204.txt", "#main/godotcontrollerdb.txt"]

env.Depends("#main/default_controller_mappings.gen.cpp", controller_databases)
env.Command("#main/default_controller_mappings.gen.cpp", controller_databases, make_default_controller_mappings)

env.main_sources.append("#main/default_controller_mappings.gen.cpp")

Export('env')

env.Depends("#main/splash.gen.h", "#main/splash.png")
env.Command("#main/splash.gen.h", "#main/splash.png", make_splash)

env.Depends("#main/splash_editor.gen.h", "#main/splash_editor.png")
env.Command("#main/splash_editor.gen.h", "#main/splash_editor.png", make_splash_editor)

env.Depends("#main/app_icon.gen.h", "#main/app_icon.png")
env.Command("#main/app_icon.gen.h", "#main/app_icon.png", make_app_icon)

SConscript('tests/SCsub')

lib = env.add_library("main", env.main_sources)
env.Prepend(LIBS=[lib])

Textfile is opened as binary.
Reading textfile as text fixes the problem.

Hmm, why does it affect only MSVC?

The issue appears to be tied to the version of Python that is used. According to Stof#0758 on Discord, there is a compatibility breakage between Python 2 and Python 3. Python 2 does not seem to care, if you open files via "rb" or "r". In Python 3 however, "rb" opens files in binary mode which results in line[0] etc. returning binary information instead of the expected text character. This results in statements like line[0] == "#" never being true which results in an empty generated array.
@akien-mga is using Python 2 in his build https://ci.appveyor.com/project/akien-mga/godot/build/1.0.6538
I'm using Python 3 and I assume @Geequlim is, too.

Ah, I didn't even see that it was using "rb", I would have just changed that, much easier and cleaner.  Thanks!

this is happening to me on mac


Typing a color with the Color(str) syntax causes parsing error spam while typing

Tested versions
4.3.dev4
System information
Godot v4.3.dev4 - Pop!_OS 22.04 LTS - X11 - GLES3 (Compatibility) - Mesa Intel(R) Graphics (ADL GT2) () - 12th Gen Intel(R) Core(TM) i5-1235U (12 Threads)
Issue description
Let's say I want to type Color("abcdef09"), but I'm a bit slow so I spend 0.4sec typing each letter. This isn't enough for the parser to start checking me for errors and give me the red background, but I get error spam nonetheless: "Invalid color name: {color}."

Also weird, but I'm not even getting an actual parsing error from this. No red background on the line where I had an invalid color, just the message in output that you normally don't look at while writing code.
Steps to reproduce
Type var lmofa = Color("abcdef09") somewhat slowly.
Minimal reproduction project (MRP)
N/A

I remember reporting this already 🤔
The editor will try to parse whatever you put in the quotes and repeat it inside error message, which can be abused in hilarious ways:


Improvement: filtering using iptables / ipfilter firewall ?

First of all, thank you for your great software. I use and like it a lot.
Coming to the question: dbab works great, but it may be circumvented if a site use IPs instead of names. What about adding support for (optional) IP filtering using firewall rules, too?
Tnx for your attention.

Hi,
After careful evaluation the situation, I have to conclude the issue to the "wontfix" category as I have never noticed such problem before. I'm not saying it doesn't exist, but I'm saying that it is so rare that the payoff doing so is minimum.
I'd suggest to try dbab-add-list to see if it works with IP as well.
Else, if you come up with a solution, I'd be happy to like link to your solution from dbab.
Thanks again for using dbab and reporting problems.


Feature pylint

Patch from https://github.com/geoadmin/template-service-flask/pull/2

Great, thanks a lot @ltshb
Do we have a default pylintrc?

.pylintrc should be the same for all services. You can find docu and the file under https://github.com/geoadmin/doc-guidelines/blob/master/PYTHON.md#linting-with-pylint


update pointfinder database to include all species

Dear @apetkau,
I tried to implement some control about Pointfinder and staramr analysis.

[X] Check fasta file presence and overview list
[ ] Check fasta content depending of mutations in each species

[X] Verify each mutation position into the amino acid and nucleotide sequence
[X] Convert negative coordinate to positive value
[X] Create a new file with the "real position"
[ ] Manage deletion and insertion
[ ] Manage bad information in the overview file

I have some trouble for insertion/deletions :
- how STARamr deals with that ? In fact what happen after the blast step if indel is present ?
- the second point is just I need more time to deal with problem in the database build:
- there is some bad information in the overview file (eg. sequence is present with the promoter but position start from the CDS...)

Hello @pimarin
Thanks so much for sending this message and for work you have done related to staramr 👍 . I am very grateful to hear about your efforts to sort out how staramr works and adding support for this feature.
However, please note that I currently have someone working with me on writing the code to add support for additional PointFinder organisms to staramr already. So some of the work you have done may already be in progress or completed.
Could you maybe describe a bit more about how you are approaching solving the problem? Are you trying to convert files in the PointFinder database such as coordinates  for promotors (e.g., here https://bitbucket.org/genomicepidemiology/pointfinder_db/src/bfa17543d776faf3962ba1e824dec5f55a66d73b/escherichia_coli/resistens-overview.txt#lines-66:72) to values that better match how staramr already handles coordinates?
The current approach we are taking is to modify the staramr code to handle promotor regions rather than modify the PointFinder database files. This means updating the PointFinder database is much easier since no files need to be changed.
To answer your questions:

how STARamr deals with that [insertions/deletions] ? In fact what happen after the blast step if indel is present ?

Blast should record insertions/deletions. But this is something you would have to sort out yourself with test data as I don't have the exact details.

the second point is just I need more time to deal with problem in the database build:

Which issues are you encountering with database building?

there is some bad information in the overview file (eg. sequence is present with the promoter but position start from the CDS...)

I understand what you mean by bad information. But I wouldn't call it bad so much as it's just in a different coordinate system. Mainly, coordinates are given with 1 starting from the coding region rather than 1 starting from the beginning of the sequence in the FASTA file. The direction I am taking with adding support for additional PointFinder organisms is adding code to staramr to handle converting between these different coordinate systems as staramr is running, rather than pre-processing the database files to modify coordinates.
I hope this helps you out. I am happy to answer any questions you may have and help you understand how staramr works. But, again, the work you are doing is already being handled by my group at this current moment.

Hi @apetka,
I will make a PR to illustrate my suggestion. Maybe it can you give some idea to modify staramr.
My way was to check the pointfinder database, then create a copy of the overview.txt file with past and updated position, but keeping all the previous database. And finaly just add a test to check if this file was created. If not, the code run to create it. This allow to work with any version of installed pointfinder and also to work when database is updated.
Do you have an idea for the next release of the 1.0 version ?
Staramr is a core tool in the French project about AMR studies (a kind of irida-like)
even if I failed to help you, it was a pleasure to learn python to work on your code !

Maybe depending of the policy of your dev community, we can work together ?

Hi @emarinier, I showed your commits and I would like to know if you have a date for the next release of staramr with your modifications ? I saw you integrated the indel, promoter position also.
Best whishes

Hi @emarinier I tested your dev branch to understand what you already done, and when I tested mutation in promoter, the tool detected a mutation but give a codon position in log output, I'm not sure using codon for promoter region is a good idea ?

Hi @emarinier, I showed your commits and I would like to know if you have a date for the next release of staramr with your modifications ? I saw you integrated the indel, promoter position also. Best whishes

Hey, I'm not sure on when it'll be released, because there's a lot of testing that needs to be done. The Pointfinder databases have a lot of special cases that need to be checked thoroughly, so it's taking me some time. I think it's getting close though.

Hi @emarinier I tested your dev branch to understand what you already done, and when I tested mutation in promoter, the tool detected a mutation but give a codon position in log output, I'm not sure using codon for promoter region is a good idea ?

Which mutation did you use? The testing I've done shows the results with nucleotide coordinates:
ampC_promoter_size_53bp
Isolate ID      Gene    Predicted Phenotype     Type    Position        Mutation     %Identity       %Overlap        HSP Length/Total Length Contig  Start   End
ampC_promoter_size_53bp-Cn42T   ampC_promoter_size_53bp (C-42T) unknown[ampC_promoter_size_53bp (C-42T)]        nucleotide      -42     C -> T  99.31   100.00  145/145 ampC_promoter_size_53bp      1       145

Mutation of a C to a T at position -42 in the promoter.

Hi @emarinier,
I tested just it in my input fasta :
>ampC_promoter_size_53bp
TGGCTGCTATCCTGACAGTTGTCACGCTGATTGGTGTCGTTACAATCTAACGCATCGCCAATGTAAATCCGGCCCGCCTATGGCGGGCCGTTTTGTATGGAAA*C*CAGACCCTATGTTCAAAACGACGCTCTGCACCTTATTAATT
>ampC_promoter_MUT
TGGCTGCTATCCTGACAGTTGTCACGCTGATTGGTGTCGTTACAATCTAACGCATCGCCAATGTAAATCCGGCCCGCCTATGGCGGGCCGTTTTGTATGGAAA*T*CAGACCCTATGTTCAAAACGACGCTCTGCACCTTATTAATT

In -42 position I added a T instead of a C but nothing happen in the pointfinder output, only one comment in the log :
CodonMutationPosition(_database_amr_gene_start=1, _nucleotide_position_amr_gene=51, _codon_start=17, _database_amr_gene_codon=AAC, _input_genome_codon=AAT)

And If I worked in aminoacid codon position (-42) is for -126 nucleic sequence, I don't have detected mutation. but I retrieve your result when I muted the 12th nucleic position of the sequence. But I retrieve this result on the CGE also and I don't understand where is the real star point

Hi @emarinier, I tested just it in my input fasta (I highlighted for the comment mutation position with *) :
>ampC_promoter_size_53bp
TGGCTGCTATCCTGACAGTTGTCACGCTGATTGGTGTCGTTACAATCTAACGCATCGCCAATGTAAATCCGGCCCGCCTATGGCGGGCCGTTTTGTATGGAAA*C*CAGACCCTATGTTCAAAACGACGCTCTGCACCTTATTAATT
>ampC_promoter_MUT
TGGCTGCTATCCTGACAGTTGTCACGCTGATTGGTGTCGTTACAATCTAACGCATCGCCAATGTAAATCCGGCCCGCCTATGGCGGGCCGTTTTGTATGGAAA*T*CAGACCCTATGTTCAAAACGACGCTCTGCACCTTATTAATT

In -42 position I added a T instead of a C but nothing happen in the pointfinder output, only one comment in the log :
CodonMutationPosition(_database_amr_gene_start=1, _nucleotide_position_amr_gene=51, _codon_start=17, _database_amr_gene_codon=AAC, _input_genome_codon=AAT)

It looks like you put the mutation at (Pointfinder) position 42, not negative 42.
In promoters, Pointfinder has a negative 0-based nucleotide coordinate space and a positive 1-based codon coordinate space.
In the case of ampC, the negative nucleotide portion is for the first 53 bases, which is derived from the FASTA record name (ampC_promoter_size_53bp). i.e. position "0" starts at sequence position 53. I don't know why they've chosen to do it this way, but these sorts of design decisions are why it's taking time to push this release.
With respect to output, you shouldn't see much of anything if no matching mutation is found in the Pointfinder DB. If you change something arbitrary, it shouldn't show up in the log output. What you're see is probably a print statement that I left in the development branch for debugging, as it's a work in progress development branch.
Hopefully that helps!

Humm I forgot the fact that fasta sequence contains promoter and a gene part..., you right ! So everything work fine now ! But I don't know who manage the decision for information submission, because I imagine you will check fasta name to retrieve the good 0 coordinate ? Ok I'll wait the release so !


[docs] Please clarify the Brief Intro to Kafka on Partitions

https://github.com/tulios/kafkajs/blob/e99be62c1bfeee5dd92ade6e3a2bdbca0a20d834/docs/KafkaIntro.md#L17

only one instance can read from a particular partition at a time

What exactly is an instance?
Could be:

instance of a Kafka class
node js process
kafka broker
kafka consumer group
kafka consumer

I'm not sure myself but I'd bet on both of "kafka broker" and "kafka consumer group"

The answer is "member in a consumer group". Multiple Kafka consumers can read from the same partition if they are part of different consumer groups, but only one member in a given consumer group is allowed to commit offsets for a particular partition at any given time.


Docs.MS CI Updates for Azure.ResourceManager.Dns

CI Update for release of Azure.ResourceManager.Dns

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

File
Status
Preview URL
Details

bundlepackages/azure-dotnet-preview.csv
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


Format on keystroke

Adds automatic formatting when you press ; or }. I wanted to add  too, but the server has some issues with this key that need to be fixed. Will add that later.

hawtness.


URL not available from PBS with 2018.07.29

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2018.07.29. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.

[x] I've verified and I assure that I'm running youtube-dl 2018.07.29

Before submitting an issue make sure you have:

[x] At least skimmed through the README, most notably the FAQ and BUGS sections
[x] Searched the bugtracker for similar issues including closed ones
[x] Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser

What is the purpose of your issue?

[x] Bug report (encountered problems with youtube-dl)
[ ] Site support request (request for adding support for a new site)
[ ] Feature request (request for a new functionality)
[ ] Question
[ ] Other

Description of your issue, suggested solution and other information
PBS has "updated" its web site on or about midnight of July 29, 2018. Version 2018.05.18 could obtain videos' URL before that point in time. Update to freshly available current version (2018.07.29) was also unable to obtain URL. Therefore, it seems youtube-dl will have to be modified to adapt to the new scheme.
Here is the output with and without the verbose flag for a video that is available through their website player:
ComputerName:~UserName$ youtube-dl -g "https://www.pbs.org/video/secrets-dead-alcatraz-escape/"
ERROR: No video formats found; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
ComputerName:~UserName$
ComputerName:~UserName$
ComputerName:~UserName$  youtube-dl --verbose "https://www.pbs.org/video/secrets-dead-alcatraz-escape/"
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
debug] Command-line args: [u'--verbose', u'https://www.pbs.org/video/secrets-dead-alcatraz-escape/']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2018.07.29
[debug] Python version 2.7.10 (CPython) - Darwin-15.6.0-x86_64-i386-64bit
[debug] exe versions: avconv 12.3, avprobe 12.3, ffmpeg 4.0.2, ffprobe 4.0.2, rtmpdump 2.4
[debug] Proxy map: {}
[debug] Using fake IP <IP_ADDRESS> (US) as X-Forwarded-For.
[pbs] Downloading JSON metadata
[pbs] secrets-dead-alcatraz-escape: Downloading webpage
[pbs] secrets-dead-alcatraz-escape: Downloading widget/partnerplayer page
[pbs] secrets-dead-alcatraz-escape: Downloading portalplayer page
ERROR: No video formats found; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 792, in extract_info
    ie_result = ie.extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 502, in extract
    ie_result = self._real_extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/pbs.py", line 653, in _real_extract
    self._sort_formats(formats)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 1281, in _sort_formats
    raise ExtractorError('No video formats found')
ExtractorError: No video formats found; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

ComputerName:~UserName$

Unfortunately, I have no suggested solution other than to follow the process that solved this when the scheme was last changed on or about May 17, 2018 (solved in 2018.05.18). And prior to that, it happened on or about August 5, 2017 (solved in 2017.08.06).
Thank you.

Thank you for solving the issue.
Now to wait for the solution to show up in the downloadable...


Combine :openapi-src-genner and :spec into single binary

It would make sense to have a single main method that can be used to connect these two pieces of functionality (generate openapi-v3 spec from crd, and generate java from openapiv3 spec) into a single operation

This task has been completed and a pull request has been submitted.

Landed as of the merging of https://github.com/goldmansachs/crdtools/pull/13


Add ability to drag nodes in the inspector/scenegraph

It would be nice to be able to click on a node's name, and drag it to another node to make it a child/parent of the other node.

This is related to https://github.com/scenerygraphics/sciview/issues/504


Digits For Audio datasets

I would like to ask if Digits supports audio datasets. if so where we can start.?

Hello, for the moment DIGITS only works with image data. Can you have a look at https://github.com/NVIDIA/DIGITS/issues/197 and provide information on what you're looking for and how you think this feature could be implemented? That will help us come up with the best solution for everyone.
I am closing this bug. Thanks for the feedback!


High security issues reported by Artifacthub

The artifacthub page for the kubewarden-controller show 5 security issues. Two of them with high severity. We should address these issues as soon as possible.

This issue remember this another open task: https://github.com/kubewarden/kubewarden-controller/issues/244
Maybe we can take this opportunity to also add this step in our CI to help us detect this kind of problem.

Reopening, until the new image is tagged and released. I will test main first


[Doc i18n] Cannot select the English language, forcing me jump into the Chinese language

Duplicates

[X] I have searched the existing issues

Latest version

[X] I have tested the latest version

Summary 💡
Hi, I lived in Beijing, China but mostly, read only English document for study and work.
When I opened Material UI document, it forced me jumping into the Chinese Version, which I'm totally confused.
I want to read English version, but changing language in setting bar (right-top coner) didn't work!
Plus: using Chromium can read English version
Examples 🌈
No response
Motivation 🔦
No response

What browser causes this behavior?

I also encounter this issue, and I'm using Microsoft Edge 97.0.1072.69 on Windows 11.


Feat/add polars delta merge support

Hi,
Placeholder, new to dagster and not good writting tests, but I guess that the PR gives you the idea of what Im trying to achieve. Now in polars you can do:

Hey @edgBR !
Thanks for the PR, sounds like a neat feature to have. Lets work on getting this merged, we would have to change a few things for that.

Hi @danielgafni ,
We have been busy with a PR to scikit-learn. I will update this next week.
Thanks for the support.
BR
E

Hey @edgBR !
It has been decided to merge this repo into the main Dagster project.
I'm going to start with it soon.
Do you want me to step in here and complete the rest of this PR so we can merge it faster?
I would like to see this merged before we move this code to Dagster.

Hi Daniel,
What is the timeline?
Im on vacation right now. If you need to complete this before 8th of January then yes you can go ahead.
If not I will do it as soon as Im back.
Our scikit-learn PR is done (yet to be merged but their CI pipeline was broke for 1day and half due to a bug upstream in conda), took most of my last days.
BR
E

Hey @edgBR !
I'm hoping to finish with this in around 2 weeks. The Dagster PR is already created.

Hey @edgBR ! The DeltaLake IOManger is being reworked in #52. You might want to get back to this after this PR is merged.


APIJWTClient and APIJWTTestCase classes added for unit testing

for unit testing, created a custom APIClient class that override login method, so by getting credentials will try to login, if login be successful, an Authorization header will be set for client.
also a custom APITestCase is created with above APIClient.

Thanks for this work, @aasmpro , but it feels a little specific to your use case.  I'm going to hold off on merging this for now.

@davesque you are right, do you have any suggestion for me to make it better?


Discriminate interfaces

Is there any form of discrimination interface using Simple Flat Mapper?
For example :
public interface Person {
void someMethod ();
}
class Teacher implements Person {
@override
void someMethod () {
}
}
class Child implements Person {
@override
void someMethod () {
}
}

there is discriminator support
see here https://simpleflatmapper.org/0205-inheritance-discriminator.html

in that case
JdbcMapper<Person> mapper =
        JdbcMapperFactory.newInstance()
                .discriminator(Person.class,
                            "person_type",
                            ResultSet::getString,
                            builder ->
                                builder
                                    .when("teacher", Teacher.class)
                                    .when("child", Child.class)
                )
                .newMapper(Person.class);

@rullyalves closing the ticket as I believe it does answer the questions, if you have any issue don't hesitate to reopen


Writing with uproot

Is there any documentation anywhere on how to write trees with uproot? Both completely new trees, and simply adding branches to existing trees?

The ability to write trees is a feature to be added this summer. @reikdas is the developer, and many of the writing-related milestones are in the issues list; they're the oldest open issues labeled "writing-improvements."

Writing trees isn't already in that list. Maybe it should be?

Oh, those were clean-up things before the main summer project. "Add the ability to write TTrees" might be too large of an item for a single GitHub issue. Reik has a roadmap (submitted to IRIS-HEP, not GitHub) that we could perhaps split up into issues, but it would probably clutter the issue list.
This feature won't be forgotten about. It's a major project.


[Feature] Ability to delay or re-apply styles (gmail)

Is your feature request related to a problem? Please describe.
In Gmail, styles get applied before most of the DOM is loaded and somehow since it's all dynamic, the style do not take effect until you turn them off and on again
Describe the solution you'd like
I would like a "timer on refresh" that would delay application of styles by some amount of time. In the case of Gmail, a second or so would likely be enough, but better make it configurable.
Additional context
If the extension can just detect load instead, that would be even better

The same problem occurs when trying to re-style notebook cells at observablehq.com


How to create new accessory or use Air Conditioner accessory

I want to control Air Conditioner. But there is not Air Conditioner accessory.
I only find the demo code .
a := accessory.NewSwitch(accessory.Info{
Name: "Lamp",
})
thank you for your help

You can use a cooler service for an air conditioner and wrap it in an accessory struct like this.
info := accessory.Info{Name: "Air Conditioner"}
a := accessory.New(info, accessory.TypeAirConditioner)

cooler := service.NewCooler()
a.AddS(cooler.S)

s, err := hap.NewServer(hap.NewFsStore("./db"), a)

Thank you for your reply. Use your code I could have a cooler device in APP. But the Air Conditioner have 5 characteristics, like on/off, mode(cold,hot,wet,wind), fan(low,mid,high,auto), CurrentTemperature, TargetTemperature. I do not know how to make this in a new accessory


Update AlxVoy.toml for v0.20.1

https://github.com/anoma/namada-testnets/pull/239

This is not an update, I don't think. Please change the name of the PR


Figure shortcode should allow to override resource parameters

Right now existing parameters in the front-matter take always precedence, which is obviously wrong.
If we add named parameters in the content, they should override the ones from the front-matter.

Closed by #60