Add DynamoDB base resource unit option

Add DynamoDB base resource unit option.
Option: dynamoBaseResourceUnit
Default value is 10.

Fix to use sources instead of source in Chart.yaml , It's worked for me.
-source: ["https://scalardl.readthedocs.io/en/latest/"]
+sources:
+  - https://scalardl.readthedocs.io/en/latest

$ ct lint --config .github/ct.yaml
Linting charts...
>>> helm version --short
>>> git rev-parse --is-inside-work-tree
>>> git merge-base origin/main HEAD
>>> git diff --find-renames --name-only c078b6c672b6fa1648c1dcdb9ad19bca79bd3846 -- charts

------------------------------------------------------------------------------------------------------------------------
 Charts to be processed:
------------------------------------------------------------------------------------------------------------------------
 schema-loading => (version: "1.3.0", path: "charts/schema-loading")
------------------------------------------------------------------------------------------------------------------------

>>> helm dependency build charts/schema-loading
Linting chart 'schema-loading => (version: "1.3.0", path: "charts/schema-loading")'
>>> yamale --schema /usr/local/etc/ct/chart_schema.yaml charts/schema-loading/Chart.yaml
Validating /Users/tei/work/src/scalar/helm-charts/charts/schema-loading/Chart.yaml...
Validation success! 👍
>>> yamllint --config-file /usr/local/etc/ct/lintconf.yaml charts/schema-loading/Chart.yaml
>>> yamllint --config-file /usr/local/etc/ct/lintconf.yaml charts/schema-loading/values.yaml
>>> helm lint charts/schema-loading
==> Linting charts/schema-loading

1 chart(s) linted, 0 chart(s) failed
------------------------------------------------------------------------------------------------------------------------
 ✔ schema-loading => (version: "1.3.0", path: "charts/schema-loading")
------------------------------------------------------------------------------------------------------------------------
All charts linted successfully

ref: https://helm.sh/docs/topics/charts/#the-chartyaml-file

Why don't upgrade the charts version (patch or minor)? Overwrite existing version?

Why don't upgrade the charts version (patch or minor)? Overwrite existing version?

Sorry for that, Can I upgrade the chart version 1.3.0 to 1.3.1?
I have not updated the chart version at this time as we use the same schema tool version on this chart.

Can I upgrade the chart version 1.3.0 to 1.3.1?

Yes, I think we can upgrade the chart version to v1.3.1. (Not the appVersion)

Can we overwrite the existing chart version?

If it's not being used, we can overwrite the version. Let @feeblefakie san judge.

LGTM! Let's use 1.3.1.

Thank you for your confirmation.
Chart vertion updated with 1.3.1 464bd042a82024e8acf68191800975492a3b49ea


heads up: update to R3.6.0

Hello everyone!
We need to update R to 3.6.0 as some tools, in particular PureCN require it.
I'm turning it on here:
https://github.com/chapmanb/cloudbiolinux/blob/master/contrib/flavor/ngs_pipeline_minimal/packages-conda.yaml
Please let us know if you see any terrible installation or R package issues.
Sergey

R 3.5.1 > 3.6.0 causes massive issues, so I reverted it for now.
Will continue testing.

Btw, is there a way to make changes to tools in packages-conda.yaml locally without having to update that file in the cloudbiolinux repo?

Yes-- when bcbio is doing an update, it grabs cloudbiolinux. If you do:
   mkdir tmpbcbio-install
   ln -s `pwd`/cloudbiolinux tmpbcbio-install/cloudbiolinux

it will skip that step and the link instead, so you can make the change locally and test it out before pushing it.

One thing we could do to get PureCN working is to install it into it's own environment, so we can skip having to deal with the R 3.6 issues in general for dealing with that specific issue while we get ready for R 3.6.

It would be a good idea. Currently I offload everything PureCN related to outside bcbio, but this would greatly simplify things.

I have pushed R3.6 and pureCN environemnt to cloudbiolinux. @roryk is currently fixing bcbio side of it, to make the right call of pureCN.

Updated by Rory:
https://github.com/bcbio/bcbio-nextgen/blame/e2ca576cf3ae03cc85eb775c41b4c55305f30b47/bcbio/structural/purecn.py#L101
Please reopen if you see any issues.


Add links to API documentation

In our XML documentation, it would be nice if we could link to the original (language-agnostic) API documentation.
There's nothing in standard XML documentation itself for this, but we should be able to use Markdown - ideally only in <remarks> sections to avoid confusing Intellisense.
Additionally, it would be nice to be able to add links even within autogenerated code. This should be feasible in the same way that we add snippets.

@SurferJeffAtGoogle: This was something you brought up a long time ago. Any particular examples of where you'd like a link, so that I could try it? (In particular, is there anywhere in autogenerated code that you want links?)

Closing through lack of feedback for now. We can reopen when we have more specific examples.


Does not show start tracking button in Basecamp

I have tried everything, but I am unable to see the start tracking button in Basecamp Classic.
I am using the newest version of Chrome extension.
Any suggestions?

This should be resolved with the updated version of this extension (v<IP_ADDRESS>). Please feel free to reopen this issue if not!


How to schedule vCheck for multiple vCenters in single job?

How to run vCheck on multiple vCenters
How to merge all vCenters output in single HTML file?

Might not be everything you are looking for but we've got 4-5 locations and someone wrote this script to search sub dir's for vCheck.ps1 and run it. So put a vCheck_USA, vCheck_France directory under the script.
$strSMTP = "eemail.home.now"
$strFrom =<EMAIL_ADDRESS>$arTo =<EMAIL_ADDRESS>$strSubject = "vCheck Reports"
$strMessage = "See attached vCheck Reports"
$ScriptPath = (Split-Path ((Get-Variable MyInvocation).Value).MyCommand.Path)
$ScriptInstances = Get-ChildItem -Path $ScriptPath -Filter vcheck.ps1 -Recurse
Remove-Item -Path "$ScriptPath\Output*" -Recurse
Foreach ($instance in $ScriptInstances)
{
$command = $instance.FullName + " –OutputPath $ScriptPath\Output"
Invoke-Expression -Command $command
}
$outputHTM = Get-ChildItem -Path "$ScriptPath\OutPut" -Filter *.htm -Recurse
$arAttachments = @()
Foreach ($htm in $outputHTM)
{
$arTemp = $htm.BaseName.Split(".")
$newFileName = $arTemp[0] + ".htm"
Rename-Item $htm.FullName $newfileName
$newfileName = $htm.DirectoryName + "" + $newFileName
$arAttachments += $newFileName
}
send-mailmessage -SmtpServer $strSMTP  -From $strFrom -To $arTo -Subject $strSubject -Body $strMessage -Attachments $arAttachments
#Clean up
Remove-Item -Path "$ScriptPath\Output*" -Recurse


Chain DB

We need a layer that sits on top of the immutable store and the volatile store, and presents a unified inferface.

It should move blocks from the volatile store to the immutable store whenever appropriate. There should be overlap between the two so that the chances of a gap between the two DBs in case of a truncation (remember that we do no fsyncs) of the immutable DB due to a disk error is minimized.

To be rebranded as the ChainState.

I horribly underestimated the time needed to implement this, but on the other hand, that's partly also because the Chain DB has been given much more autonomy. It has become quite a central part in the consensus layer.

See #617.


Run apt-get update prior to installing exim

After a while the known package location changes due to updates so the
container will not start again

I am pretty sure this will fix the issue I reported in https://github.com/fauria/docker-mailman/issues/7 but the repo this is forked from doesn't seem to have an image on dockerhub so I haven't tested it yet.


Parser Breakout

This is a PR that exposes the parsers and allows them to be imported. It also makes ethers a peer dependency. Doing this makes the parsers tree-shakable and can reduce bundle size for package consumers.

Closing this PR. Will expose parse as a package that we use here


Naming confusion

This is not a coding issue, but maybe an issue to do with marketing and publication. When I briefly looked at the library (which seems super cool!), I was wondering where the NPM link was. So I went to npmjs.com and searched for itr8 and came up short. Not being phased by that, I guessed the name was something else, and checked out the package.json. Turned out I got the name right, after all, which got me all the more confused. Then I scoured the readme and found that one could install it using npm i mftr/itr8, which I did, and it worked. Confusingly, searching for "mrft/itr8' did not come up with anything as well and https://www.npmjs.com/package/mrft/itr8 was a 404.
Then it dawned on me that you were not using the NPM repo at all and that NPM has a shortcut for GitHub 🙈 Which is fine - I have used it myself in the past for distributing patches and whatnot (and then forgot about it), but I am not sure everyone else is as persistent as me 😄 So you might want to consider simply publishing it to NPM, as many will think that it not being there means you need to copy the source and install it locally, which is a dead-sure turn-off. You can still namespace it under @mrft/itr8 if you want to.

Good point.
I am still polishing things to get to a state that I think is 'ready for publication', which is also why I feel in today's world it should be an ESM rather than a CJS module (but I was having a few issues along the way as you are aware).
Personally I don't see a lot of benefit in publishing to npm, since installing straight from github works just as well, but you are right that that is what everyone expects so it will only confuse people if it is not to be found on npmjs.
.
As you can see, marketing is not my strong suit :)
Thanks for being so persistent :)

Coolio.
P.S. I just went through the excruciatingly painful process of getting a package to work with typescript, new and old Node versions, so you might be able to catch some inspiration on that polish part from the package.json setup (https://github.com/fatso83/retry-dynamic-import). Lots of info in the Git logs for why/what.

I am somehow glad to hear that you also found it painful...
But great to know a place to check how other people solved it. Might give me some inspiration if I'm stuck.
I think I have it working now though (both module types + both a 'normal' version and a bundled&minified version). I've done an internal thing before using esbuild, but here I wanted to do it solely with tsc. Everything is still in a branch currently, but I'm hoping to release it soon.
I am also working on the npm publishing part. I guess I'll put it out there as-is, not following semver until I think it's stable and mature enough to move to a 1.0 version.

@fatso83: https://www.npmjs.com/package/itr8
Closing this issue.


Warning on the YAML flags with type: boolean

Example of an operation:
operation:
  train:
    flags:
      generate_pos:
          type: boolean
          default: false
          choices: [true, false]

Warning output: WARNING: unknown flag type 'boolean' for generate_pos - cannot coerce.

Thank you! This will be resolved in 0.6.7 - an early release version is available now.

I created an issue resolution project for this:
https://github.com/guildai/issue-resolution/tree/master/56-warning-flags-with-type-boolean
The fix is available in the current pre-release and will officially land in 0.7.0.

The fix is now generally available in 0.7.0. If this is still an issue, please re-open and we'll sort it out. Thanks again for the report.

thank you!


Backup fails- Could not describe schema: error in Stream

I am trying to use cain with an helm chart from the cain/examples/helm/ folder with little changes and fixes.
I'm using it with azure blob storage and passing the AZURE_STORAGE_ACCOUNT and AZURE_STORAGE_ACCESS_KEY environment variables as described in the README of https://github.com/nuvo/skbn.
But every time I run the backup, I get the following logs:
2019/03/10 14:43:11 Backup started!
2019/03/10 14:43:11 Getting clients
2019/03/10 14:43:12 Getting pods
2019/03/10 14:43:12 Testing existence of data dir
2019/03/10 14:43:12 Backing up schema
2019/03/10 14:43:15 Could not describe schema. make sure a schema exists for keyspace "system" or restore it using "--schema". error in Stream: command terminated with exit code 1

Even though the schema does exist in the cassandra pod.
Can you please help me reach a solution?

Problem Fixed.
You should add an option for cassandra with ssl.
To fix the issue, I edited the source code found in file pkg/cain/cqlsh.go
and added the flag "--ssl" in every line with the "cqlsh" command tool, then I built it from source- https://github.com/nuvo/cain#from-source


Add T&T query parameters

I redid the queries as per Zac's suggestion. I also fixed the missing value empty list bug.


Issue with guessing format of WEBP images

Presently, using image::load_from_memory will make an attempt to guess the image's format using magic numbers at the beginning of the image's bytes. WebP's magic bytes are defined here:
static MAGIC_BYTES: [(&'static [u8], ImageFormat); 11] = [
    //omitted other definitions
    (b"WEBP", ImageFormat::WEBP),
    //omitted other definitions

];

This would cause any byte sequence starting with the bytes for "WEBP" to be recognized as WebP images; however, WebP images do not actually begin with the ASCII bytes "WEBP", but instead, their file header looks like this:
 0                   1                   2                   3
 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|      'R'      |      'I'      |      'F'      |      'F'      |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                           File Size                           |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|      'W'      |      'E'      |      'B'      |      'P'      |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

(taken from the WebP Container Specification)
Because of this, WEBP images' bytes are not properly recognized by load_from_memory.

Could this be fixed, at least for now, by just changing it from "WEBP" to "RIFF"?

@mraof
Perhaps, but the RIFF container is generic -- not specific to WebP. A file with a RIFF header could be any one of these formats.

That's true, but right now this crate only supports WebP anyways, and the other image formats that use RIFF seem pretty low priority
Regardless, detecting that it's a RIFF container seems like the first step for detecting if it's any of these formats to me


error when trying to open certain datasets

e.g. dataset:1873396f-8d82-4d6c-93f7-52117470e4a1

@tgbugs I added a fix for this to the development branch.
The problem with this dataset was that the dataset has sparc:samples nodes but not sparc:subjects nodes.


(2152) Remove add/edit confirmation pages

This removes the confirmation pages we had for adding/editing entities. We'll be adding confirmation pages for publishing, but this will come in another PR.

In my branch I've added another "edit" spec for Professions where we click that "are you sure" button - are you alright to fix that up? That PR should be going in in a second

@Gweaton Sure - no probs 👍


Do not empty email addresses

When some user updates occur, a full user object
is not passed in. In this case, ensure that we
do not delete emails with an empty list
Closes #463

Coverage: 87.52% (+0.007%) from 87.513% when pulling 12538794ca4f6779dde299cd3921f4b7783a33af on v1.0-bug/463 into e0b14629bf1fafb3c844efac82b1e12afb3ecd58 on v1.0.


Netcat does not send the command On o Off

HI, I use the SR201-server with Home Assistant
I would like to use the sr201-server command line with netcat on windows 10.
But if I use echo -n "11" | nc -n -w 1 <IP_ADDRESS> 6722 does not send the command but only reads the status.
And as if he does not see "11"
I have tried so many ways but it doesn't send commands it always reads only the status.
How can I fix?

It's strange because with Putty I can turn the relays on or off.
But I would like to use netcat to create an executable .bat file to run at set times so as to compensate for the lack of a clock on the board

it work.
send binary file


how to unblock sites

hi i cant seem to find the extras folder to unblock the sites how do i do it
thanks

Duplicate of #311


Added parsing of 'throws (Type)' syntax.

New diagnostic if the parsing fails. Logic to parse an optional
parenthesized type identifier after the 'throws' keyword.
This will not compile the standard library right now because it cannot
parse the pattern
func f(_ body: (T) throws -> U) rethrows -> U {return try body(t)}
That pattern is really common in the standard library for things like
withUnsafeBufferPointer. I'm not sure what the problem is right now there.

Replace this paragraph with a description of your changes and rationale. Provide links to external references/discussions if appropriate.

Resolves SR-NNNN.

Also you could add some tests of typed rethrows to errors.swift


Make the choosers let you tip in to search

Let the choosers, e.g. the one for abilities, let select the first matching ability if you tip “tec“ it should find technician

This will be tracked in #54.


yarn:update add a handled error for missing tags

In the case of git dependencies, if the version is not tagged correctly the error is not caught as a resolvability error. This adds handling for the error message if a release is not tagged as expected.

Any way to capture this in a test? Would that be valuable?

Any way to capture this in a test? Would that be valuable?

I'll take a look at existing tests and see what we have for other resolvability errors.

@pavera Any comments on my previous feedback?

I'm good with merging this without tests if this is hard to test, but it sounds like the user error could be a better one if I understood your explanation correctly?


iptables are not working

Please use the following bug reporting template to help produce issues which are actionable and reproducible, including all command-line steps necessary to induce the failure condition. Please fill out all the fields! Issues with missing or incomplete issue templates will be closed.
If you have a feature request, please post to the UserVoice.
If this is a console issue (a problem with layout, rendering, colors, etc.), please post to the console issue tracker.
Important: Do not open GitHub issues for Windows crashes (BSODs) or security issues.  Please direct all Windows crashes and security issues to<EMAIL_ADDRESS> Ideally, please configure your machine to capture minidumps, repro the issue, and send the minidump from "C:\Windows\minidump".
Please fill out the below information:

Your Windows build number:  (Type ver at a Windows Command Prompt)
Microsoft Windows [Version 10.0.18362.329]
What you're doing and what's happening:  (Copy&paste the full set of specific command-line steps necessary to reproduce the behavior, and their output. Include screen shots if that helps demonstrate the problem.)

Launch Kali Linux (or probably any other distro) on WSL.
Type any command starting with "iptables", for example: "iptables -A INPUT -p tcp --dport 22 -j ACCEPT"

What's wrong / what should be happening instead:
I got the message: "iptables/1.8.3 Failed to initialize nft: Protocol not supported"
Strace of the failing command, if applicable:  (If some_command is failing, then run strace -o some_command.strace -f some_command some_args, and link the contents of some_command.strace in a gist here).
https://gist.github.com/PetrusTryb/063895a99369fff13279c03b38c27f94
For WSL launch issues, please collect detailed logs.

See our contributing instructions for assistance.

WSL1 does not support iptables.
See #767 and the UserVoice.
WSL2 has better networking support but I have not tried editing iptables on it.


Allow custom headers on WebSocketClientFactory or WebSocketClient

A service may need to add service-specific headers in addition to the WebSocket handshake headers (such as additional application-specific authentication tokens). It'd be nice to be able to add those custom headers before the connect method is called on the WebSocketClient.

Maybe it's WebSocketClientHandshaker instead of (or in addition to) WebSocketClient.

Pulled #123.

Thanks veebs!


[5.4] Introduce "all members" query to reduce non-determinism in serialization & interface printing

Eliminate some problematic sources of non-determinism involving the ordering of the members within an iterable declaration context. This pull request does a few things in that direction:

Mark more declarations (and more kinds of declarations) as "synthesized" when the compiler creates them, including (e.g.) properties (like hashValue), enums (like CodingKeys), and type aliases (inferred from associated types).
Rename "semantic members" query to "ABI members", because it is the set that is needed to make the ABI of a type (particularly classes) deterministic. This includes synthesized properties like hashValue.
Introduce an "all members" query based on the same infrastructure, which also includes synthesized types like enums and type aliases, as mentioned above. Use this for serialization and interface printing, to make those operations more deterministic.

The combination of the second and third bullets fixes rdar://63294687, a crash that occurs due to the synthesized hashValue property getting a different vtable slot in the defining module vs. a client module.
Cherry-pick of https://github.com/apple/swift/pull/35523

@swift-ci please test

@swift-ci please test


Upgrade Ruby to 2.7.5

Upgrades Ruby to 2.7.5. See commits for more details.
This PR should be tested before merge, as per https://docs.publishing.service.gov.uk/manual/ruby.html#update-ruby-version-in-the-relevant-repos.

CI Passes
Deploy to integration UNSTABLE, but this is due to alphagov/service-manual-frontend: Pull Request 1047, details here: https://gds.slack.com/archives/CAB4Q3QBW/p1646062575235059. tl;dr: another PR has created conditions in Jenkins/Github that appear to make this one fail, but it's actually fine (and will become fine once the other PR is merged).
Tested against live pages:

https://www.gov.uk/service-manual
https://www.gov.uk/service-manual/agile-delivery
https://www.gov.uk/service-manual/agile-delivery/agile-methodologies

No errors in grafana or sentry
No deprecations in logs


Started getting out of memory errors for full fine tuning - possibly update issue?

Please check that this issue hasn't been reported before.

[X] I searched previous Bug Reports didn't find any similar reports.

Expected Behavior
The train to work with a config that used to work before
Current behaviour
I get traditional
  File "/root/miniconda3/envs/py3.10/lib/python3.10/site-packages/transformers/modeling_utils.py", line 3366, in from_pretrained
    dispatch_model(model, **device_map_kwargs)
  File "/root/miniconda3/envs/py3.10/lib/python3.10/site-packages/accelerate/big_modeling.py", line 426, in dispatch_model
    model.to(device)
  File "/root/miniconda3/envs/py3.10/lib/python3.10/site-packages/transformers/modeling_utils.py", line 2179, in to
    return super().to(*args, **kwargs)
  File "/root/miniconda3/envs/py3.10/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1145, in to
    return self._apply(convert)
  File "/root/miniconda3/envs/py3.10/lib/python3.10/site-packages/torch/nn/modules/module.py", line 797, in _apply
    module._apply(fn)
  File "/root/miniconda3/envs/py3.10/lib/python3.10/site-packages/torch/nn/modules/module.py", line 797, in _apply
    module._apply(fn)
  File "/root/miniconda3/envs/py3.10/lib/python3.10/site-packages/torch/nn/modules/module.py", line 820, in _apply
    param_applied = fn(param)
  File "/root/miniconda3/envs/py3.10/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1143, in convert
    return t.to(device, dtype if t.is_floating_point() or t.is_complex() else None, non_blocking)
torch.cuda.OutOfMemoryError: CUDA out of memory. Tried to allocate 314.00 MiB (GPU 1; 23.69 GiB total capacity; 22.68 GiB already alloca
ted; 24.06 MiB free; 22.68 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
ERROR:torch.distributed.elastic.multiprocessing.api:failed (exitcode: 1) local_rank: 0 (pid: 380) of binary: /root/miniconda3/envs/py3.1
0/bin/python3

I am using docker on a machine with 8 4080 GPUs with 24GB VRAM and I'm fine tuning a llama-2-13B based model (synthia-13B-v1.2). It used to work, but I did docker pull and git pull to be on latest versions and now it does not work. nvito does not show any allocated memory (1MB). I have looked at the Out of memory FAQ in README and tried everything, see config. Is there a way to tell axolotl how much memory to use? I tried deepspeed/zero1.json, deepspeed/zero2.json and deepspeed/zero3.json.
Launching like this:
accelerate launch -m axolotl.cli.train llama-2-fft.yml --deepspeed deepspeed/zero1.json

(from the docker container)
I also tried rebooting the machine.
Steps to reproduce
Run docker
docker run --gpus '"all"' --rm -it --name axolotl --ipc=host --ulimit memlock=-1 --ulimit stack=67108864 -v ${HOME}/axolotl:/workspace/axolotl -v ${HOME}/.cache/huggingface:/root/.cache/huggingface winglian/axolotl:main-py3.10-cu118-2.0.1

then
accelerate launch -m axolotl.cli.train llama-2-fft.yml --deepspeed deepspeed/zero1.json

Config yaml
base_model: migtissera/Synthia-13B-v1.2
model_type: LlamaForCausalLM
tokenizer_type: LlamaTokenizer
is_llama_derived_model: true

load_in_8bit: false
load_in_4bit: false
strict: false

datasets:
  - path: train.jsonl
    type: alpaca:chat
dataset_prepared_path: last_run_prepared
val_set_size: 0.01
output_dir: ./fft-out

sequence_len: 4096
sample_packing: true
pad_to_sequence_len: true

adapter:
lora_model_dir:
lora_r:
lora_alpha:
lora_dropout:
lora_target_linear:
lora_fan_in_fan_out:

wandb_project: synthia-finetune-fft-13B
wandb_entity:
wandb_watch:
wandb_run_id:
wandb_log_model:

gradient_accumulation_steps: 1
micro_batch_size: 1
num_epochs: 3
optimizer: adamw_bnb_8bit
lr_scheduler: cosine
learning_rate: 0.00002

train_on_inputs: false
group_by_length: false
bf16: true
fp16: false
tf32: false

gradient_checkpointing: true
early_stopping_patience:
resume_from_checkpoint:
local_rank:
logging_steps: 1
xformers_attention:
flash_attention: true
flash_attn_cross_entropy: false
flash_attn_rms_norm: true
flash_attn_fuse_qkv: false
flash_attn_fuse_mlp: true

warmup_steps: 100
eval_steps: 0.05
eval_table_size:
eval_batch_size: 1
save_steps:
debug:
deepspeed: deepspeed/zero2.json # multi-gpu only
weight_decay: 0.1
fsdp:
fsdp_config:
special_tokens:
  bos_token: "<s>"
  eos_token: "</s>"
  unk_token: "<unk>"

Possible solution
No response
Which Operating Systems are you using?

[X] Linux
[ ] macOS
[ ] Windows

Python Version
Python 3.10.13
axolotl branch-commit
main/306fe19c54bd497ed5ea4b7e21a632317a58e3f8
Acknowledgements

[X] My issue title is concise, descriptive, and in title casing.
[X] I have searched the existing issues to make sure this bug has not been reported yet.
[X] I am using the latest version of axolotl.
[X] I have provided enough information for the maintainers to reproduce and diagnose the issue.

What gpus are you using?

Wait, I might have tuned 7B. Sorry, I will close this for now and report back.


Add better user feedback when a validation token is reused

When a validation token is used, it is deleted from the database so that it cannot be reused. If a user clicks on the old link, he/she is led to a 404 page.
Instead, when that occurs, we should redirect to the login page with the message "this token has already been used", although we cannot know for sure that it is the case.

We can know for sure with #215.

We're now handling various cases of token expired, invalid or not found differently.


"Source" and "mode" docs for policy

Improving the existing "mode" documentation and adding details about the "source" accessor.

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

@pilor Thanks very much Chris.
#sign-off


GEOMESA-1584 Optimized deletes for Filter.INCLUDE

Signed-off-by: Emilio Lahr-Vivaz<EMAIL_ADDRESS>

Looks good.  One quick question about C* support.


Fix failing static.SmokeTest.test_landing test

Fixed a failing test
Description
Initially, the test asserted existence for Hello text from the response. This text was not available or of use as of making this PR. The index.html template has a constant structure with <title>Concept to Clinic<\title> tag text . In addition, serving the index.html template should resolve a status 200 OK which is better for checking if the template was loaded.
Reference to official issue
Fixes #7
Motivation and Context
This will make the tests in the interface app pass for master branch.
How Has This Been Tested?
In the development setup using docker. Run:
sh tests/test_docker.sh
All tests should pass
Screenshots (if appropriate):
CLA

[x] I have signed the CLA; if other committers are in the commit history, they have signed the CLA as well

\o/


Added textures to vehicles used by VehicleLine

Now the prefab vehicle  line spawns the vehicles with their texture

Task linked: CU-nndc81 Add textures to vehicles


Still use autopep8 when enabling Black Formatter (in Jupyter Notebook)

Type: Bug

Open an Jupyter notebook
Right click and select "Format Notebook" (Or Press the shortcut key)

Extension version: 2023.14.0
VS Code version: Code 1.81.1 (6c3e3dba23e8fadc360aed75ce363ba185c49794, 2023-08-09T22:22:42.175Z)
OS version: Windows_NT x64 10.0.22000
Modes:

@Saltsmart This depends on what you have set as a the default formatter. Please share your settings.

@Saltsmart This depends on what you have set as a the default formatter. Please share your settings.
Even if I set black as the default formatter, this bug still exists.

Make sure that python.formatting.provider is None.

Make sure that python.formatting.provider is None.

This doesn't happen again!🍰🎉
By the way, python.formatting.provider shouldn't be valid since a formatter is given.
This is a minor bug.

Thie formatting feature is now removed so this should not occur.


Support ThenableReferences for $add

In the Firebase JS SDK a DatabaseReference#push call returns a ThenableReference which is a cross of a Promise and a DatabaseReference.
const thenableRef = firebase.database().ref().push("item");
console.log(thenableRef.key);
ref.then(_ => console.log('succeeded'));

This is useful because not only do you receive they client-side generated key, but you also have a way of determining when the operation succeeded.
AngularFire $firebaseArray#$add
In AngularFire $firebaseArray#$add is akin to DatabaseReference#push. However, we only return a promise created by $q, which doesn't contain the key property.
JSBin Demo

    .controller('MyCtrl', function($scope, $firebaseArray, $firebaseRef) {
      $scope.items = $firebaseArray($firebaseRef.items);
      const ref = $scope.items.$add({ name: 'itemSix' });
      console.log(ref);
      console.log(ref.key); // undefined
    });

I propose we support returning of a ThenableReference type object rather than just a promise created from $q.

The only reason the Firebase SDK returns both things is because historically we used a callback and then we added Promises later. I think Promises are the way to go to be honest and am not in favor of this particular proposal. It makes the API more complex and can lead people to thinking $add() is synchronous, which it is not. What's the use case that brought this up? That is, what will this enable that the current API does not?

Having the key is important when you need to share that key as a relation in the Realtime Database or when integrating with Firebase Storage.
    .controller('MyCtrl', function($scope, $firebaseArray, $firebaseRef, $firebaseStorage) {
      $scope.items = $firebaseArray($firebaseRef.items);
      const promiseWithKey = $scope.items.$add({ name: 'itemSix' });

      // create a record based off the key
      const userItemRef = $firebaseRef.userItems.child(promiseWithKey.key);
      $scope.userItems = $firebaseArray(userItemRef);

      // Create a storage ref based off the key
      const storageRef = firebase.storage().ref().child("items").child(promiseWithKey.key);
      const storage = $firebaseStorage(storageRef);
      const task = storage.$put(file);
    });

Without this key it makes really difficult to keep track of Realtime Database records that require sharing the generated push-id.

I agree having the key is critical, but the promise is already fulfilled with a ref from which you can get the key:
.controller('MyCtrl', function($scope, $firebaseArray, $firebaseRef, $firebaseStorage) {
  $scope.items = $firebaseArray($firebaseRef.items);
  $scope.items.$add({ name: 'itemSix' }).then(function(newRef) {
    // create a record based off the key
    const userItemRef = $firebaseRef.userItems.child(newRef.key);
    $scope.userItems = $firebaseArray(userItemRef);

    // Create a storage ref based off the key
    const storageRef = firebase.storage().ref().child("items").child(newRef.key);
    const storage = $firebaseStorage(storageRef);
    const task = storage.$put(file);
  }).catch(function(error) {
    console.log("Error adding item:", error);
  });
});

I don't think you should have to resolve an async action to get a key created synchronously. One of the finer points of AngularFire is that it reduces complex async code.

You have a good point. I do think it makes it a bit harder to document if there are two ways to get the key, but if this is purely additive, I will throw my support behind it.

Excellent! I do agree it can be confusing, but it can really be helpful when it comes to structuring data.

We could have both by simply adding the key to the thermals return value
On Jul 21, 2016 5:20 AM, "David East"<EMAIL_ADDRESS>wrote:
I don't think you should have to resolve an async action to get a key
created synchronously. One of the finer points of AngularFire is that it
reduces complex async code.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/firebase/angularfire/issues/809#issuecomment-234237091,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA6l5O7b9le6HvfyY-xBTG5RCY23ha9Aks5qX2P6gaJpZM4JH-I7
.

forgot password reset link , see the video link completely solved
https://youtu.be/daGZO6YAkRg


Property with constrained generic type cannot be assigned to

TypeScript Version:  2.5.3
Code
// A *self-contained* demonstration of the problem follows...
class Person<TPersonProps extends PersonProps = PersonProps> {

    props: TPersonProps;

    constructor(name: string) {
        const specificProps: PersonProps = {
            name
        };
        this.props = specificProps;
        this.props.name = name;
    }
}

interface PersonProps {
    name: string;
}

Expected behavior:
Compiles with no errors.
Note that line 10 doesn't throw an error, which is also an expected behavior.
Ideally I would be able to simply assign an object that matches the PersonProps interface:
    constructor(name: string) {
        this.props = {
            name
        };
    }

Actual behavior:
test.ts(9,9): error TS2322: Type 'PersonProps' is not assignable to type 'TPersonProps'.

That would be undesirable. The type parameter is constrained to be assignable to PersonProps and to default to PersonProps if not specified or inferred, but that does not make the reverse true. PersonProps is not assignable to the type parameter.
const p = new PersonProps<{name: string, location: {x: number, y: number}}>('Jake');
const p.props.location.x; // runtime error.

Ah, yes, I can see how this would break down.

In this case I'm wondering what the language support is for modeling and initializing components with extensible property types. It looks like a flaw in my design now. A way around it is to switch to composing the components instead of subclassing, but maybe someone can share a better way.
Here's a more complete React-like example of what I mean (and how I arrived at this error):

Panel is a super-class that defines some behavior and (eg. fullscreen)
EditorPanel is a specific type of Panel that has its own behavior (eg. readonly).

Ideally, I would initialize this.state in the parent class, instead of doing that in each of its subclasses. (And this is where my example breaks down if readonly isn't optional, as it happens to currently be.)
class Component<P, S> {
    props: P;
    state: S;

    constructor(props: P) {
        this.props = props;
    }
}

class Panel<TProps extends PanelProps = PanelProps, TState extends PanelState = PanelState>
        extends Component<TProps, TState> {

    constructor(props: TProps) {
        super(props);
        this.state = {
            fullscreen: false
        };
    }
}

interface PanelProps {
    name: string;
}

interface PanelState {
    fullscreen: boolean;
}

class EditorPanel extends Panel<EditorPanelProps> {

    constructor(props: EditorPanelProps) {
        super(props);
    }

    toString(): string {
        return JSON.stringify(this);
    }
}

interface EditorPanelProps extends PanelProps {
  readonly?: boolean;
}

Automatically closing this issue for housekeeping purposes. The issue labels indicate that it is unactionable at the moment or has already been addressed.


fix(pkg/driverbuilder): fixed PhotonOS builder template regex.

What type of PR is this?
/kind bug
Any specific area of the project related to this PR?
/area pkg
What this PR does / why we need it:
Properly match any kernel flavor.
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?:

fix(pkg/driverbuilder): fixed PhotonOS builder template regex.

/cc @dwindsor :)

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: FedeDP
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [FedeDP]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Mootools + jQuery + easyPieChart

Hi Robert,
We are using your code in a site where we have jQuery and Mootools side by side and unfortunately your script failed to work in this environment.
Here is an example:
http://jsfiddle.net/6ZdNZ/
Error is:
TypeError: this.renderer.draw is not a function
At:
// initial draw
this.renderer.draw(currentValue);

Thank you so much!


Add render of markdown essay as html with markdown in python

This should be a sufficient first step for #7. It keeps with the styles on the author html page and means you don't need to have any node packages installed.

Absolutely awesome stuff man, that was a good bit of work! Thank you!!
Doesn't look like I referenced/ added changes to your PR correctly but added FYI I've added toggle button to the author home page to let users switch between html/md to maintain backwards compatibility

This addresses #7


Collect data on test times

Each time run_tests.py is run, for each test:

collect the test name, start time, stop time, success/failure/timeout status, cpu cost (estimated and measured), jenkins job (and build number), configuration, language, etc...
batch together as a csv, and at the end of the run, upload to bigquery

This should quickly give us a (dashboardable) data set on which tests are fragile, which tests are configured to consume way more cpu than they need, etc...

So most of this data is already available in the Jenkins UI (e.g. https://grpc-testing.appspot.com/job/gRPC_master_linux/2108/testReport/(root)/c++_linux_dbg_native/). It's missing the CPU cost/estimated but that might be easy to add to the JUnit XML?
I think a dashboard could easily be built by running a continuous Jenkins job that scrapes master jobs' results and stores in BQ. We already did something similar to this, so I could put some time to make this.

Actually I reread your post, and I think adding a flag to run_tests.py to upload results to BQ would be better.

Yeah it could re-use a bunch of machinery, but it'd be great to have it
somewhere that's queryable... I've found it to be hugely beneficial for
general performance work.
On Fri, Apr 14, 2017 at 2:19 PM Matt Kwong<EMAIL_ADDRESS>wrote:

Actually I reread your post, and I think adding a flag to run_tests.py to
upload results to BQ would be better.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/grpc/grpc/issues/10666#issuecomment-294238794, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AJpudUic5FRxs0fBs7iqxVYA0y76L5Bwks5rv-LRgaJpZM4M-Ee9
.

This has been done and works on Kokoro as well :)


DbAdapter query parameters in PDO

$dbAdapter->query('SET @@session.time_zone = :tz',
[
':tz' => $timeZoneName,
]);
After https://github.com/zendframework/zend-db/pull/224, this line throws an error "Invalid parameter number: parameter was not defined"

This method changes param name before binding, but do not change it in query string
/**
* @param string $name
* @param string|null $type
* @return string
*/
public function formatParameterName($name, $type = null)
{
if ($type === null && ! is_numeric($name) || $type == self::PARAMETERIZATION_NAMED) {
// using MD5 because of the PDO restriction [A-Za-z0-9_] for bindParam name
return ':' . md5($name);
}
    return '?';
}

@ArtemChornovol scenario above needs tests - not sure what formatParameterName is supposed to help with here.

@ArtemChornovol damn, you right! The #224 introduced an issue, I completely failed to fix #35 not considering the params in the original SQL statement. This story is the proof that we need more tests for zend-db!!! I need to revert #224 and provide a new release 2.9.1. I'm working on it.


Modal dialog on Rotate device?

Dialog is maintained visible when the device is rotated?

Hi @webserveis ,
Yes, dialog maintained visible. As we tested there aren't any memory leaks or other bugs when the device is rotated.


Path based dev-dependencies break 'install --no-dev' when the dir does not exist

Resolves: python-poetry/poetry#668

[ ] Added tests for changed code.
[ ] Updated documentation for changed code.

Hello @sdispater , please take a look and let me know if it makes sense, if so I will provide tests and update docs.
Currently marking PR as WIP.

Hi @stephsamson , is there any chance to get a feedback from any of the maintainers?
Cheers!

Hey, is it possible to get a feedback?

This would be great to merge. Installing all deps takes between 5 and 10 minutes because changes to the source code causes cache busting for docker containers. This leads to every commit consuming N x 10 minutes longer of build time, where N=3 in our small case.

Hi @sdispater , please can you comment on this? 🙏
It would be great to have at least some feedback.

Please @sdispater @abn @dimbleby @radoering @finswimmer @branchvincent,
show some love to this good man and review his PR ❤
This bug is currently a show stopper for using poetry when building docker images. Path dependencies should be installed differently from regular dependencies in Dockerfiles, and sorting path dependencies under dev dependencies is the easiest way to differentiate.

Sorry for the late feedback. I took a quick look and I have some concerns:

Using sys.args at this place doesn't seem right.
There are not only two dependency groups anymore. --no-dev will be deprecated in 1.2.
The warning instead of an error is only fine if a lock file exists. If there is no lock file dev dependencies are required for implicit locking before install.

Unfortunately, some logic to determine if a warning is sufficient seems like a brittle fix that will easily break to me.
Nevertheless, the __init__ of DirectoryDependency (and FileDependency) might be too early for checking if the path exists. (URLDependency and VCSDependency do not check if the package is available in __init__). Maybe, there should just be some lazy evaluation: check for existence only if full_path is used for the first time?

Any progress here?

Since nothing has happened here for quite some time to address the concerns (which might be due to the late feedback), I'm closing this PR in favor of #520, which takes a more general approach. Nevertheless, thanks for your contribution.


fastlane sigh resigning with ad-hoc licensing not working

New Issue Checklist

[x] Updated fastlane to the latest version
[x] I have read the Contribution Guidelines

Issue Description
I am not being able to deploy my app to a registered device on my team account once I resign it with an ad-hoc license, in spite of the resign command finishing successfully - Uploading the app to the device through the iTunes seems to work at first, but once the installation is complete, its icon automatically disappears from the device.
Complete output when running fastlane, including the stack trace and command used
>>fastlane sigh resign<EMAIL_ADDRESS>--signing_identity "iPhone distribution: My-Company" -p "/Users/bsamorim/Library/MobileDevice/c2bc896a-1912-4954-8db6-eee58d84d098.mobileprovision"
/Users/bsamorim/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.50.1/sigh/lib/assets/resign.sh<EMAIL_ADDRESS>3CA286A8DAE229FBCAC2189E26CE65C4A97F3974 -p /Users/bsamorim/Library/MobileDevice/c2bc896a-1912-4954-8db6-eee58d84d098.mobileprovision<EMAIL_ADDRESS>security: SecPolicySetValue: One or more parameters passed to a function were not valid.
Print: Entry, ":CFBundleDisplayName", Does Not Exist
security: SecPolicySetValue: One or more parameters passed to a function were not valid.
security: SecPolicySetValue: One or more parameters passed to a function were not valid.
_floatsignTemp/Payload/Exponent.app: replacing existing signature
rm: _floatsignTemp/old-embedded-profile.plist: No such file or directory
[04:28:05]: Successfully signed<EMAIL_ADDRESS>Environment
Stack

Key
Value

OS
10.12.5

Ruby
2.2.4

Bundler?
false

Git
git version 2.11.0 (Apple Git-81)

Installation Source
~/.fastlane/bin/bundle/bin/fastlane

Host
Mac OS X 10.12.5 (16F73)

Ruby Lib Dir
~/.fastlane/bin/bundle/lib

OpenSSL Version
OpenSSL 1.0.2g  1 Mar 2016

Is contained
false

Is homebrew
true

Is installed via Fabric.app
false

Xcode Path
/Applications/Xcode.app/Contents/Developer/

Xcode Version
8.3.3

System Locale

Variable
Value

LANG
en_US.UTF-8
✅

LC_ALL
en_US.UTF-8
✅

LANGUAGE
en_US.UTF-8
✅

fastlane files:
No Fastfile found
No Appfile found
fastlane gems

Gem
Version
Update-Status

fastlane
2.50.1
✅ Up-To-Date

Loaded fastlane plugins:
No plugins Loaded
Loaded gems

Gem
Version

slack-notifier
1.5.1

CFPropertyList
2.3.5

claide
1.0.1

colored2
3.1.2

nanaimo
0.2.3

xcodeproj
1.4.4

rouge
1.11.1

xcpretty
0.2.6

terminal-notifier
1.7.1

unicode-display_width
1.1.3

terminal-table
1.7.3

plist
3.2.0

public_suffix
2.0.5

addressable
2.5.1

multipart-post
2.0.0

word_wrap
1.0.0

tty-screen
0.5.0

babosa
1.0.2

colored
1.2

highline
1.7.8

commander-fastlane
4.4.5

excon
0.55.0

faraday
0.12.1

unf_ext
<IP_ADDRESS>

unf
0.1.4

domain_name
0.5.20170404

http-cookie
1.0.3

faraday-cookie_jar
0.0.6

fastimage
2.1.0

gh_inspector
1.0.3

uber
0.0.15

declarative
0.0.9

declarative-option
0.1.0

representable
3.0.4

retriable
2.1.0

mime-types-data
3.2016.0521

mime-types
3.1

little-plugger
1.1.4

multi_json
1.12.1

logging
2.2.2

jwt
1.5.6

memoist
0.15.0

os
0.9.6

signet
0.7.3

googleauth
0.5.1

httpclient
2.8.3

google-api-client
0.12.0

json
1.8.1

mini_magick
4.5.1

multi_xml
0.6.0

rubyzip
1.2.1

security
0.1.3

xcpretty-travis-formatter
0.0.4

dotenv
2.2.0

bundler
1.14.6

faraday_middleware
<IP_ADDRESS>

generated on: 2017-08-04

Yes, I've looked into the Code Signing Troubleshooting Guide - all certificates for my adhoc provisioning profile were made successfully with the help of fastlane match

Hey @bernardosamorim - Would you mind sharing the complete output from your command line so we can have as much context about the issue as possible? Thanks!! 🚀

That is the complete output from the fastlane sigh resign command. Is there some other command whose output you'd like me to share?


Command line options support

Here's a simple breakdown of how this is set up:

The user's option/arguments are captured to the var "$ARGS" in setup.sh
The user is then passed to inc/option-handler.sh, which validates the option, grabs the constants, and passes the user to the appropriate script (install, update, etc).
inc/pause.sh and inc/exit.sh have been modified so that if $ARGS was set, it skips user input (the script they selected automatically starts and the toolkit autoexits when complete).

Notes:

inc/option-handler.sh also checks if the app supports password-reset options by grep'ing the app's menu for "Reset Password"
if an invalid option is used, the help file is shown (found in setup.sh)
if an invalid argument (app name) is used, the user is prompted to check spelling/list of supported apps
$ARGS is reset in app-constant-reset
I have not tested this as a cron-job, but it should work

Command line options supported (from updated readme):
$ sudo bash setup.sh -[o]ption (appname)

-i appname or --install appname - Install an app
-u appname or --uninstall appname - Uninstall an app
-b appname or --backup appname - Backup an the config file for an app
-r appname or --restore appname - Restore an app config file from backup
-m appname or --manualupdate appname - Manually update a specific app
-p appname or --passwordreset appname - Reset the password to an app
-a appname or --accessdetails appname - View the access details for an app
-t or --updatetoolkit - Update AtoMiC-ToolKit
-U or --updateall - Update Linux and all apps

Feature proposed in #119
As always, let me know if you see any issues.

I forgot to mention one other thing in the notes:
If the user hasn't accepted the eula and set a username and they run the toolkit using an option/arg, they'll be prompted to set one and then the script will the run the options.
That's what the change to inc/usercheck.sh is for.


Shared object fails to build

I fixed this locally by adding set(CMAKE_POSITION_INDEPENDENT_CODE ON) to CMakeLists.txt, but I'm not familiar enough with cmake to be certain that would have no drawbacks.
[ 98%] Linking C static library libchdr-static.a
[100%] Linking C shared library libchdr-shared.so
[100%] Built target chdr-static
/usr/bin/ld: libflac-static.a(stream_decoder.c.o): relocation R_X86_64_PC32 against symbol `FLAC__STREAM_METADATA_APPLICATION_ID_LEN' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status
CMakeFiles/chdr-shared.dir/build.make:202: recipe for target 'libchdr-shared.so' failed
make[2]: *** [libchdr-shared.so] Error 1
CMakeFiles/Makefile2:221: recipe for target 'CMakeFiles/chdr-shared.dir/all' failed
make[1]: *** [CMakeFiles/chdr-shared.dir/all] Error 2
Makefile:129: recipe for target 'all' failed
make: *** [all] Error 2

It does enable -fPIC which is the right way to fix it.
Please submit a PR (setting this flag only when building a shared library), and I will merge it.

This is a outside my realm of expertise by a fair margin, but I've poked at this a bit and am not entirely happy with the results (at least as far as my understanding is concerned). Since it's the deps in need of enabling pic, short of compiling them twice I'm not yet clear on the best approach. Thus far the best solution I have is adding it only to zlib, lzma, and flac, but while that leaves libchdr static unmodified from the current build, those static deps will be changed, and I'm getting the impression that isn't preferable. I'll keep poking at it later on and see what I can come up with. If nothing else, this is an opportunity to learn.
Current method (can be added at the end of CMakeLists.txt):
set_property(TARGET flac-static PROPERTY POSITION_INDEPENDENT_CODE ON)
set_property(TARGET lzma-static PROPERTY POSITION_INDEPENDENT_CODE ON)
set_property(TARGET zlibstatic PROPERTY POSITION_INDEPENDENT_CODE ON)

Can you try again with latest code (merged a pull request tonight) ?

Using the standard method (cmake .. && make from within build directory), no luck just yet.
/usr/bin/ld: liblzma-static.a(LzmaDec.c.o): relocation R_X86_64_PC32 against symbol `LzmaDec_InitDicAndState' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status
CMakeFiles/chdr-shared.dir/build.make:202: recipe for target 'libchdr-shared.so' failed
make[2]: *** [libchdr-shared.so] Error 1

Using the standard method (cmake .. && make from within build directory), no luck just yet.

Don't do that. Use this instead:
cmake -DCMAKE_POSITION_INDEPENDENT_CODE=ON ../

Duly noted. Builds fine with those flags. I probably should get more familiar with cmake, considering how often I'm forced to interact with it.

Should be fixed by @realnc PR I just merged.


All of the checks are failing when not running in dev

When running the docker images, either from DockerHub or a local build I get the following errors ...
❌ get-ip (error). Took 56 ms↻ Retry■ Show Error
⏸ location (timed-out). Took 10841 ms
❌ headers (error). Took 71 ms↻ Retry■ Show Error
❌ domain (error). Took 99 ms↻ Retry■ Show Error
❌ dns (error). Took 67 ms↻ Retry■ Show Error
❌ dns-server (error). Took 99 ms↻ Retry■ Show Error
❌ tech-stack (error). Took 93 ms↻ Retry■ Show Error
⏸ hosts (timed-out). Took 10841 ms
❌ quality (error). Took 71 ms↻ Retry■ Show Error
✅ cookies (success). Took 71 ms
❌ redirects (error). Took 88 ms↻ Retry■ Show Error
✅ robots-txt (success). Took 77 ms
❌ dnssec (error). Took 99 ms↻ Retry■ Show Error
❌ status (error). Took 88 ms↻ Retry■ Show Error
⏸ ports (timed-out). Took 10841 ms
❌ screenshot (error). Took 98 ms↻ Retry■ Show Error
❌ txt-records (error). Took 88 ms↻ Retry■ Show Error
❌ sitemap (error). Took 98 ms↻ Retry■ Show Error
❌ hsts (error). Took 98 ms↻ Retry■ Show Error
❌ features (error). Took 99 ms↻ Retry■ Show Error
❌ carbon (error). Took 93 ms↻ Retry■ Show Error
❌ trace-route (error). Took 93 ms↻ Retry■ Show Error

... while your instance on https://web-check.xyz/ runs just fine.
When starting via docker-compose I am getting the following log and errors:
Web-Check  |
Web-Check  | ><EMAIL_ADDRESS>start
Web-Check  | > react-scripts start
Web-Check  |
Web-Check  | (node:26) [DEP_WEBPACK_DEV_SERVER_ON_AFTER_SETUP_MIDDLEWARE] DeprecationWarning: 'onAfterSetupMiddleware' option is deprecated. Please use the 'setupMiddlewares' option.
Web-Check  | (Use `node --trace-deprecation ...` to show where the warning was created)
Web-Check  | (node:26) [DEP_WEBPACK_DEV_SERVER_ON_BEFORE_SETUP_MIDDLEWARE] DeprecationWarning: 'onBeforeSetupMiddleware' option is deprecated. Please use the 'setupMiddlewares' option.
Web-Check  | Starting the development server...
Web-Check  |
Web-Check  | One of your dependencies, babel-preset-react-app, is importing the
Web-Check  | "@babel/plugin-proposal-private-property-in-object" package without
Web-Check  | declaring it in its dependencies. This is currently working because
Web-Check  | "@babel/plugin-proposal-private-property-in-object" is already in your
Web-Check  | node_modules folder for unrelated reasons, but it may break at any time.
Web-Check  |
Web-Check  | babel-preset-react-app is part of the create-react-app project, which
Web-Check  | is not maintianed anymore. It is thus unlikely that this bug will
Web-Check  | ever be fixed. Add "@babel/plugin-proposal-private-property-in-object" to
Web-Check  | your devDependencies to work around this error. This will make this message
Web-Check  | go away.
Web-Check  |
Web-Check  | Compiled with warnings.
Web-Check  |
Web-Check  | [eslint]
Web-Check  | src/components/Form/Modal.tsx
Web-Check  |   Line 74:6:  React Hook React.useEffect has a missing dependency: 'handleEscPress'. Either include it or remove the dependency array  react-hooks/exhaustive-deps
Web-Check  |
Web-Check  | src/components/misc/FancyBackground.tsx
Web-Check  |   Line 338:6:  React Hook useEffect has a missing dependency: 'App'. Either include it or remove the dependency array  react-hooks/exhaustive-deps
Web-Check  |
Web-Check  | src/pages/Home.tsx
Web-Check  |   Line 41:7:   'FindIpButton' is assigned a value but never used   @typescript-eslint/no-unused-vars
Web-Check  |   Line 124:9:  'findIpAddress' is assigned a value but never used  @typescript-eslint/no-unused-vars
Web-Check  |
Web-Check  | src/pages/Results.tsx
Web-Check  |   Line 151:6:  React Hook useCallback has a missing dependency: 'startTime'. Either include it or remove the dependency array                                   react-hooks/exhaustive-deps
Web-Check  |   Line 173:6:  React Hook useEffect has missing dependencies: 'address', 'addressType', and 'setIpAddress'. Either include them or remove the dependency array  react-hooks/exhaustive-deps
Web-Check  |
Web-Check  | src/utils/docs.ts
Web-Check  |   Line 264:26:  Unnecessary escape character: \'  no-useless-escape
Web-Check  |   Line 291:43:  Unnecessary escape character: \'  no-useless-escape
Web-Check  |
Web-Check  | Search for the keywords to learn more about each warning.
Web-Check  | To ignore, add // eslint-disable-next-line to the line before.
Web-Check  |
Web-Check  | WARNING in [eslint]
Web-Check  | src/components/Form/Modal.tsx
Web-Check  |   Line 74:6:  React Hook React.useEffect has a missing dependency: 'handleEscPress'. Either include it or remove the dependency array  react-hooks/exhaustive-deps
Web-Check  |
Web-Check  | src/components/misc/FancyBackground.tsx
Web-Check  |   Line 338:6:  React Hook useEffect has a missing dependency: 'App'. Either include it or remove the dependency array  react-hooks/exhaustive-deps
Web-Check  |
Web-Check  | src/pages/Home.tsx
Web-Check  |   Line 41:7:   'FindIpButton' is assigned a value but never used   @typescript-eslint/no-unused-vars
Web-Check  |   Line 124:9:  'findIpAddress' is assigned a value but never used  @typescript-eslint/no-unused-vars
Web-Check  |
Web-Check  | src/pages/Results.tsx
Web-Check  |   Line 151:6:  React Hook useCallback has a missing dependency: 'startTime'. Either include it or remove the dependency array                                   react-hooks/exhaustive-deps
Web-Check  |   Line 173:6:  React Hook useEffect has missing dependencies: 'address', 'addressType', and 'setIpAddress'. Either include them or remove the dependency array  react-hooks/exhaustive-deps
Web-Check  |
Web-Check  | src/utils/docs.ts
Web-Check  |   Line 264:26:  Unnecessary escape character: \'  no-useless-escape
Web-Check  |   Line 291:43:  Unnecessary escape character: \'  no-useless-escape
Web-Check  |
Web-Check  | webpack compiled with 1 warning
Web-Check  | No issues found.
Web-Check  | Compiling...
Web-Check  | Compiled with warnings.
Web-Check  |
Web-Check  | [eslint]
Web-Check  | src/components/Form/Modal.tsx
Web-Check  |   Line 74:6:  React Hook React.useEffect has a missing dependency: 'handleEscPress'. Either include it or remove the dependency array  react-hooks/exhaustive-deps
Web-Check  |
Web-Check  | src/components/misc/FancyBackground.tsx
Web-Check  |   Line 338:6:  React Hook useEffect has a missing dependency: 'App'. Either include it or remove the dependency array  react-hooks/exhaustive-deps
Web-Check  |
Web-Check  | src/pages/Home.tsx
Web-Check  |   Line 41:7:   'FindIpButton' is assigned a value but never used   @typescript-eslint/no-unused-vars
Web-Check  |   Line 124:9:  'findIpAddress' is assigned a value but never used  @typescript-eslint/no-unused-vars
Web-Check  |
Web-Check  | src/pages/Results.tsx
Web-Check  |   Line 151:6:  React Hook useCallback has a missing dependency: 'startTime'. Either include it or remove the dependency array                                   react-hooks/exhaustive-deps
Web-Check  |   Line 173:6:  React Hook useEffect has missing dependencies: 'address', 'addressType', and 'setIpAddress'. Either include them or remove the dependency array  react-hooks/exhaustive-deps
Web-Check  |
Web-Check  | src/utils/docs.ts
Web-Check  |   Line 264:26:  Unnecessary escape character: \'  no-useless-escape
Web-Check  |   Line 291:43:  Unnecessary escape character: \'  no-useless-escape
Web-Check  |
Web-Check  | Search for the keywords to learn more about each warning.
Web-Check  | To ignore, add // eslint-disable-next-line to the line before.
Web-Check  |
Web-Check  | WARNING in [eslint]
Web-Check  | src/components/Form/Modal.tsx
Web-Check  |   Line 74:6:  React Hook React.useEffect has a missing dependency: 'handleEscPress'. Either include it or remove the dependency array  react-hooks/exhaustive-deps
Web-Check  |
Web-Check  | src/components/misc/FancyBackground.tsx
Web-Check  |   Line 338:6:  React Hook useEffect has a missing dependency: 'App'. Either include it or remove the dependency array  react-hooks/exhaustive-deps
Web-Check  |
Web-Check  | src/pages/Home.tsx
Web-Check  |   Line 41:7:   'FindIpButton' is assigned a value but never used   @typescript-eslint/no-unused-vars
Web-Check  |   Line 124:9:  'findIpAddress' is assigned a value but never used  @typescript-eslint/no-unused-vars
Web-Check  |
Web-Check  | src/pages/Results.tsx
Web-Check  |   Line 151:6:  React Hook useCallback has a missing dependency: 'startTime'. Either include it or remove the dependency array                                   react-hooks/exhaustive-deps
Web-Check  |   Line 173:6:  React Hook useEffect has missing dependencies: 'address', 'addressType', and 'setIpAddress'. Either include them or remove the dependency array  react-hooks/exhaustive-deps
Web-Check  |
Web-Check  | src/utils/docs.ts
Web-Check  |   Line 264:26:  Unnecessary escape character: \'  no-useless-escape
Web-Check  |   Line 291:43:  Unnecessary escape character: \'  no-useless-escape
Web-Check  |
Web-Check  | webpack compiled with 1 warning
Web-Check  | No issues found.```

Most likely I am missing something 😅

Running `yarn dev` without Docker works fine, though 🤔

@Lissy93 Thank you, this is resolved now.

This issue resurfaced and is not limited to Docker any longer.
On macOS and Linux the following steps can be used to reproduce the issue with docker:
Run the following commands an a supported (x64) plattform:
git clone https://github.com/Lissy93/web-check/
cd web-check
docker pull lissy93/web-check:latest
docker-compose up

Browse to web-check and and enter a domain / IP to scan. All checks will be failing.
At least in my case this is not limited to Docker and the only way to get web-check properly working is by running yarn && yarn dev as outlined in the README.
Building the release from source as outlined in the README with yarn build && yarn start or following the suggestions of yarn with ...
yarn build
yarn global add serve
server -s build

... will result in the same scenario where web-check is served without errors but with all checks failing.
Checking the JS console we can see the following error for all checks ...
Error info:
SyntaxError: The string did not match the expected pattern.

... except:
Fetch Error - get-ip

[22:55:20] The get-ip job failed after 85ms, with the following error:
undefined is not an object (evaluating 'e.error')

While at the same time the app logs on the server seem to retrieve the string correctly:
   ┌────────────────────────────────────────────┐
   │                                            │
   │   Serving!                                 │
   │                                            │
   │   - Local:    http://localhost:3000        │
   │   - Network:  http://<IP_ADDRESS>:3000   │
   │                                            │
   └────────────────────────────────────────────┘

 HTTP  8/22/2023 10:48:52 PM <IP_ADDRESS> GET /
 HTTP  8/22/2023 10:48:52 PM <IP_ADDRESS> Returned 200 in 12 ms
 HTTP  8/22/2023 10:48:52 PM <IP_ADDRESS> GET /manifest.json
 HTTP  8/22/2023 10:48:52 PM <IP_ADDRESS> Returned 200 in 2 ms
 HTTP  8/22/2023 10:48:52 PM <IP_ADDRESS> GET /static/js/main.e13d23ab.js
 HTTP  8/22/2023 10:48:52 PM <IP_ADDRESS> GET /static/css/main.69716f74.css
 HTTP  8/22/2023 10:48:52 PM <IP_ADDRESS> Returned 200 in 5 ms
 HTTP  8/22/2023 10:48:52 PM <IP_ADDRESS> Returned 200 in 1 ms
 HTTP  8/22/2023 10:48:52 PM <IP_ADDRESS> GET /static/css/main.69716f74.css.map
 HTTP  8/22/2023 10:48:52 PM <IP_ADDRESS> Returned 200 in 1 ms
 HTTP  8/22/2023 10:48:52 PM <IP_ADDRESS> GET /static/js/main.e13d23ab.js.map
 HTTP  8/22/2023 10:48:52 PM <IP_ADDRESS> Returned 200 in 10 ms
 HTTP  8/22/2023 10:48:52 PM <IP_ADDRESS> GET /web-check.png
 HTTP  8/22/2023 10:48:52 PM <IP_ADDRESS> Returned 200 in 1 ms
 HTTP  8/22/2023 10:48:52 PM <IP_ADDRESS> GET /static/media/PTMono-Regular.295a1f32faf05a5784d8.ttf
 HTTP  8/22/2023 10:48:52 PM <IP_ADDRESS> Returned 200 in 2 ms
 HTTP  8/22/2023 10:49:00 PM <IP_ADDRESS> GET /api/get-ip?url=http://<IP_ADDRESS>
 HTTP  8/22/2023 10:49:00 PM <IP_ADDRESS> Returned 200 in 2 ms
 HTTP  8/22/2023 10:49:00 PM <IP_ADDRESS> GET /api/ssl?url=http://<IP_ADDRESS>
 HTTP  8/22/2023 10:49:00 PM <IP_ADDRESS> GET /api/cookies?url=http://<IP_ADDRESS>
 HTTP  8/22/2023 10:49:00 PM <IP_ADDRESS> GET /api/robots-txt?url=http://<IP_ADDRESS>
 HTTP  8/22/2023 10:49:00 PM <IP_ADDRESS> Returned 200 in 2 ms
 HTTP  8/22/2023 10:49:00 PM <IP_ADDRESS> Returned 200 in 2 ms
 HTTP  8/22/2023 10:49:00 PM <IP_ADDRESS> Returned 200 in 1 ms

Running in dev reveals the checks are running and failing as expected which works in docker using yarn fine as well.
Do you have any idea what might cause the issues?
Can anyone else reproduce this as well?

`29 jobs failed
Finished in 12000 ms
Show Details
❌ get-ip (error). Took 1275 ms

⏸ location (timed-out). Took 10034 ms
❌ headers (error). Took 2975 ms
❌ domain (error). Took 3112 ms
❌ dns (error). Took 2994 ms
❌ dns-server (error). Took 3111 ms
❌ tech-stack (error). Took 3010 ms
⏸ hosts (timed-out). Took 10034 ms
❌ quality (error). Took 3010 ms
❌ cookies (error). Took 1976 ms
❌ ssl (error). Took 3010 ms
❌ redirects (error). Took 2995 ms
❌ robots-txt (error). Took 1976 ms
❌ dnssec (error). Took 3076 ms
❌ status (error). Took 3010 ms
⏸ ports (timed-out). Took 10034 ms
❌ screenshot (error). Took 3111 ms
❌ txt-records (error). Took 2995 ms
❌ sitemap (error). Took 3010 ms
❌ hsts (error). Took 3112 ms
❌ security-txt (error). Took 3010 ms
❌ social-tags (error). Took 3102 ms
❌ linked-pages (error). Took 3112 ms
❌ mail-config (error). Took 3112 ms
❌ features (error). Took 3112 ms
❌ carbon (error). Took 2995 ms
❌ trace-route (error). Took 3112 ms
❌ firewall (error). Took 3112 ms
⏸ http-security (timed-out). Took 10034 ms
❌ rank (error). Took 3077 ms
❌ archives (error). Took 3102 ms
❌ block-lists (error). Took 3112 ms
❌ threats (error). Took 3102 msCheck the browser console for logs and more info
It's normal for some jobs to fail, either because the host doesn't return the required info, or restrictions in the lambda function, or hitting an API limit.`
`Application Error
u@https://jsonhero.io/build/_shared/chunk-LYGVB3WT.js:1:148
S/<@https://jsonhero.io/build/_shared/chunk-LYGVB3WT.js:1:407
Gf@https://jsonhero.io/build/_shared/chunk-PZ2Z7HGX.js:9:6560
ho</L.unstable_runWithPriority@https://jsonhero.io/build/_shared/chunk-PZ2Z7HGX.js:1:4026
rn@https://jsonhero.io/build/_shared/chunk-PZ2Z7HGX.js:5:38448
Xe@https://jsonhero.io/build/_shared/chunk-PZ2Z7HGX.js:9:6029
yi@https://jsonhero.io/build/_shared/chunk-PZ2Z7HGX.js:7:10750
ra</Cs/<@https://jsonhero.io/build/_shared/chunk-PZ2Z7HGX.js:5:38670
ho</L.unstable_runWithPriority@https://jsonhero.io/build/_shared/chunk-PZ2Z7HGX.js:1:4026
rn@https://jsonhero.io/build/_shared/chunk-PZ2Z7HGX.js:5:38448
Cs@https://jsonhero.io/build/_shared/chunk-PZ2Z7HGX.js:5:38618
ge@https://jsonhero.io/build/_shared/chunk-PZ2Z7HGX.js:5:38551
Gs@https://jsonhero.io/build/_shared/chunk-PZ2Z7HGX.js:7:11365
Jr@https://jsonhero.io/build/_shared/chunk-PZ2Z7HGX.js:9:17406
ra</se.hydrate@https://jsonhero.io/build/_shared/chunk-PZ2Z7HGX.js:9:19885`
i use docker run,have same issues.

Hiya,
Sorry about that, looks like the Docker container was using the wrong start command and the API side wasn't getting spun up like it should. I've pushed an update now (this issue was the same as #33) and so this should be fixed :)

@Lissy93 Awesome! Thank you 😊


The instruction QAOA is not supported by the target system

Problem
The function get_result_processor lacks of a transpiler function, which is required by Qiskit 1.0
How
Add qiskit.transpiler.preset_passmanagers.generate_preset_pass_manager after the QAOAansatz.

The method of obtaining the accuracy on a QPU needs to be modified.


Terminal will not work

Hello, my os's terminal is not working. Every time I run a command, it doesn't put back up the prompt.
Code

@SpaceboyRoss01 it's hard to say without seeing isolated test case. But looks like you aren't calling the command callback.

Closing for now, let me know if that issue is still present.


Crash on iOS when application is terminating

Godot version
Godot v4.2.rc1
Plugin version
v3.0.6
Phone information
iOS 15/16
Issue description
Crash report from App Store. 10% of the users are impacted.

Steps to reproduce
I don't know how to simulate app termiation event.
Additional context
No response

Hi @abcjjy according to the log you've sent, I can't say with certainty that the cause of the application termination is due to our plugin.
Do you have more information? Can you try to verify if this bug also happens without our plugin enabled?

@abcjjy does this crash still happen? Can you try to verify if this bug also happens without our plugin enabled?

This issue only appears in xcode crash log. I haven't found a way to reproduce it yet.

Hi @abcjjy this bug still reproduce on new Plugin/Godot versions?

No, it disappears


MINOR: Improve Docker examples readme

This patch adds some clarity about the environment variables usage and limitations. It also removes the invalid example and adds few style fixes.
See https://github.com/apache/kafka/pull/17705#issuecomment-2488517083.

@VedarthConfluent @kagarwal06 fyi

@showuon @mimaison fyi

@VedarthConfluent @kagarwal06, call for review. Thanks.

Why are we keeping this information in a README, shouldn't this be directly part of the documentation?

Why are we keeping this information in a README, shouldn't this be directly part of the documentation?

+1. @fvaleri , could you help create a JIRA and if you have time, adding the content in README to the doc?
Thank you.


Import / Export Mapping sorting Issue

Description: Weird behavior - after update to <IP_ADDRESS> - when sorting the Mappings in an Import / Export Profile
Environment: Lokal Dev-Environment (DDEV)
Steps to reproduce: Create new Profile, add some Mappings and try to sort it.
Expected result: Create the right Order by hitting up / down.
Actual result: Hitting the up / down Button moves other elements

[public] Automated response: This issue is linked to the internal issue https://shopware.atlassian.net/browse/NEXT-37591.
[created from NEXT-37591, comment 486932]


About gradient computation wrong in torch1.10

If i use torch1.3 or 1.4, my gpu can't run cuda, so i use 'torch-1.10.2+cu113-cp38-cp38-linux_x86_64.whl'(for convience, i use the ACTOR's environment, but change the torch version)
I try to train CMU Mocap.
If i don't use lie
python train_motion_vae.py --name cmutry --dataset_type mocap  --batch_size 128 --motion_length 100 --lambda_kld 0.01 --eval_every 2000 --plot_every 50 --print_every 20 --save_every 2000 --save_latest 50 --time_counter  --gpu_id 0 --iters 50000
it fine,
but if i use lie as following:
python train_motion_vae.py --name cmutrylie --dataset_type mocap  --batch_size 128 --motion_length 100 --lambda_kld 0.01 --eval_every 2000 --plot_every 50 --print_every 20 --save_every 2000 --save_latest 50 --time_counter --use_lie --gpu_id 0 --iters 50000
I got the wrong about gradient computation
so i addtorch.autograd.set_detect_anomaly(True)in vae_trainer.py > Trainer > train
then i got this (i change the code, so the line may not same as your version in github)
[W python_anomaly_mode.cpp:104] Warning: Error detected in BmmBackward0. Traceback of forward call that caused the error:   File "train_motion_vae.py", line 108, in <module>     logs = trainer.trainIters(prior_net, posterior_net, decoder)   File "/home/ac/ywk/KGAN/action-to-motion-master/trainer/vae_trainer.py", line 233, in trainIters     gen_log_dict = self.train(prior_net, posterior_net, decoder, self.opt_prior_net, self.opt_posterior_net,   File "/home/ac/ywk/KGAN/action-to-motion-master/trainer/vae_trainer.py", line 121, in train     mse = mse + self.recon_criterion(x_pred, data[:, i])   File "/home/ac/ywk/KGAN/action-to-motion-master/trainer/vae_trainer.py", line 331, in mse_lie     generated_joints = self.pose_lie_2_joints(lie_param, real_joints)   File "/home/ac/ywk/KGAN/action-to-motion-master/trainer/vae_trainer.py", line 347, in pose_lie_2_joints     pose_joints = self.lie_to_joints(lie_params, pose_batch, root_translation)   File "/home/ac/ywk/KGAN/action-to-motion-master/trainer/vae_trainer.py", line 352, in lie_to_joints     joints = self.lie_skeleton.forward_kinematics(lie_params, joints, root_translation)    File "/home/ac/ywk/KGAN/action-to-motion-master/lie/pose_lie.py", line 97, in forward_kinematics     joints[:, chain[i], :] = torch.matmul(matR, translation_vec).squeeze_()\  (function _print_stack) Traceback (most recent call last):   File "train_motion_vae.py", line 108, in <module>     logs = trainer.trainIters(prior_net, posterior_net, decoder)   File "/home/ac/ywk/KGAN/action-to-motion-master/trainer/vae_trainer.py", line 233, in trainIters     gen_log_dict = self.train(prior_net, posterior_net, decoder, self.opt_prior_net, self.opt_posterior_net,   File "/home/ac/ywk/KGAN/action-to-motion-master/trainer/vae_trainer.py", line 133, in train     losses.backward()   File "/home/ac/anaconda3/envs/actor/lib/python3.8/site-packages/torch/_tensor.py", line 307, in backward     torch.autograd.backward(self, gradient, retain_graph, create_graph, inputs=inputs)   File "/home/ac/anaconda3/envs/actor/lib/python3.8/site-packages/torch/autograd/__init__.py", line 154, in backward     Variable._execution_engine.run_backward( RuntimeError: one of the variables needed for gradient computation has been modified by an inplace operation: [torch.cuda.FloatTensor [128, 3, 1]] is at version 38; expected version 37 instead. Hint: the backtrace further above shows the operation that failed to compute its gradient. The variable in question was changed in there or anywhere later. Good luck!
I fix the problem by rewrite.   file <pose_lie.py>    line 95  (in your github version)
translation_vec = translation_mat[:, chain[i], :].unsqueeze_(-1).clone().detach().to(joints.device)
it can run, but very slowly.
Output show :
3m 29s (- 8720m 48s) niter: 20 completed:   0%) g_loss: 1.039  g_recon_loss: 1.026  g_kld_loss: 1.275
but in the no use lie version,only 1/10 time consuming, only about 890min.
Is this time consuming right in the GPU RTX 3090?
Thank you!

Hi, sorry for the late reply. Using lie does slow down the training process. Usually it takes 1-2 days to finish 50000 iterations. Could you make sure that GPU is utlized?

Hi, sorry for the late reply. Using lie does slow down the training process. Usually it takes 1-2 days to finish 50000 iterations. Could you make sure that GPU is utlized?

Thank you for your reply. I'm sure that GPU is in use.
I think the reason why the training slows down is that I modified the <pose_lie.py> and transferred the data between GPU and CPU during the operation.


SharedMemoryObject::attach shm_open(development-simulator) failed: No such file or directory terminate called after throwing an instance of 'std::runtime_error' what(): Failed to create shared memory! Aborted (core dumped)

SharedMemoryObject::attach shm_open(development-simulator) failed: No such file or directory terminate called after throwing an instance of 'std::runtime_error' what(): Failed to create shared memory! Aborted (core dumped)
Solved: need to click start the mini cheetah in the sim screen then the error will disappear

i meet the same problem. But i cannot understand the solution. what does "click start the mini cheetah" mean? Would you please describle in detail？

@yanghengyii : I know it's old, but this might help someone. Before running the controller the sim has to run first:
cd build ./sim/sim

Then on the left-hand side, select the robot type (e.g. Mini Cheetah) then set to Simulator. Then press Start
After that you can run the controller as indicated in the instructions. e.g.:
./user/JPos_Controller/jpos_ctrl 3 s


Tutorial 0 shows no runtime for unmarked region

All of the application runtime should be in the unmarked region.

This doesn't seem to be a problem any more.


remove write_version=saver_pb2.SaverDef.V1

This PR fixes the failed testAdditionalHooks and testRestoredModelPerformance test for PR #14341

Nagging Assignee: It has been 14 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

FYI @sguada this seems like a trivial slim change safe to merge? It affects a test.


EIP 2612 implementation

I am curious about how signing of EIP 2612 digest happens...
I am using this package to sign messages and get the v, r, s: https://github.com/dmihal/eth-permit
FIX #118
On the relevant function ( signERC2612Permit()) I am providing ethers.provider as the needed provider:
const { v, r, s } = await signERC2612Permit(
  ethers.provider,
  ERC20.address,
  holder.address,
  spender.address,
  value,
);

The provider... is not a signer... unless I hardhat is overloading it under the hood... how can the message be signed?
Is that provider overloaded with signing abilities?
I'd like to have a test case of a bad actor trying to sign an EIP-2612 message on the holder's behalf but I am not sure how I would do this.
Please advise.
How can the eth-permit package sign the message using that provider?

@ajsantander all issues have been resolved. I also resolved conflicts for the second time on the ERC20 test. I'd appreciate if you could inform the V3 team to not touch the ERC20 test until this PR gets merged.
There is one outstanding issue right now, which I am trying to resolve with the author of the eth-permit library, please read the issue and see if you can chime in to resolve the problem and make this PR mergable.
Also, as a sidenote, it appears that CI tests do not run on external to the organization PRs like this one, see if you can tweak the repo's configuration to enable building for non-org PRs.

Closing this until needed

hey @ajsantander, why did you close the PR? this is still WIP


Check for previous/existing GitHub issues/module proposals

[X] I have checked for previous/existing GitHub issues/module proposals.

Check this module doesn't already exist in the module indexes

[X] I have checked for that this module doesn't already exist in the module indexes; or I'm proposing the module to be migrated from CARML/TFVM.

Bicep or Terraform?
Bicep
Module Classification?
Resource Module
Module Name
avm/res/maintenance/maintenance-configuration
Module Details
Maintenance Configuration, migration from CARML
Do you want to be the owner of this module?
No
Module Owner's GitHub Username (handle)
No response
(Optional) Secondary Module Owner's GitHub Username (handle)
No response

@krbar, just double checking: do you mean to migrate this one from CARML (without becoming the owner)? Thanks!

@krbar, just double checking: do you mean to migrate this one from CARML (without becoming the owner)? Thanks!

Yes

@matebarabas PR in review: https://github.com/Azure/bicep-registry-modules/pull/729

[x] PR merged; Module published.
[x] GitHub teams are available and assigned to their parents.
[x] CODEOWNERS file updated.

Thank you for your work @krbar! I'm closing this issue now.
Since this module was migrated from CARML without an owner, an orphaned module request was also created: https://github.com/Azure/Azure-Verified-Modules/issues/432


aaaaaaaaaaaaaaa

<!---   *** BEFORE SUBMITTING: PASTE CLIPBOARD HERE TO COMPLETE YOUR REPORT ***   ---!>

Hi @candrafn I'm closing this since no useful information was given. However, it could be that you are using a really old version of Spyder. The latest Spyder release is 5.2.2 so an update could help you


add new source "check_redifish"

With this it should be possible to import inventory files generated via bb-Ricardo/check_redfish --inventory option.

[x] add description in settings.ini
[x] split up documentation
[x] write proper documentation for source
[x] document class and function
[x] Add support for IP addresses
[x] Fix way of aligning discovered and existing inventory items
[x] add source redfish tag description

the first implementation of check_redfish source should be done.


Use a callback ref in the Real World Example

Hello. Here's a minor PR for you that replaces a string ref with a callback.

Thanks, appreciate it!


User should be able to add new tags

Tags needs a separate table in the database.

Tags table consists of tag name, tag ID, frequency(optional parameter).

posts table will contain a reference to tags

user table will contain a reference to subscribed topics of tags


DBeaver(3.8.5) unable to connect to Cassandra 2.1.2 (NoHostAvailableException)

My DBeaver Enterprise Edition(3.8.5) is unable to connect to a remote Cassandra store (2.1.2) on a Unix machine in the same network.It's throwing a NoHostAvailableException- All host(s) tried for query failed. The firewall is down on the Unix machine,the tcp port in cassandra.yaml is 9042 & I am using the same port in the DBeaver Connection configuration. I am also using SSH tunnel in the configuration to connect to the Unix machine.

Make sure you set correct connection parameters (Cassandra host name).
To test you can run telnet <host> 9042 on you SSH target host.  Where <host> is the value you enter on Cassandra connection page.
Usually when you connect over SSH you should set Cassandra host name to "localhost" if it is on the same machine.

I am using "localhost" for Cassandra host name. On the SSH tunnel window, following are the Unix machine details
Host/IP: XX.XXX.XX.53
Port:22
Username: xxxxxp
Authentication method:Password
Password: xxxxxxxxx
However, when SSH tunnel is "checked",  I get the following error
com.datastax.driver.core.exceptions.NoHostAvailableException: All host(s) tried for query failed (tried: /<IP_ADDRESS>:45942 (com.datastax.driver.core.exceptions.TransportException: [/<IP_ADDRESS>:45942] Channel has been closed))
I get a different error when SSH tunnel is "unchecked" with the machine details still present
com.datastax.driver.core.exceptions.NoHostAvailableException: All host(s) tried for query failed (tried: localhost/<IP_ADDRESS>:9042 (com.datastax.driver.core.exceptions.TransportException: [localhost/<IP_ADDRESS>:9042] Cannot connect), localhost/0:0:0:0:0:0:0:1:9042 (com.datastax.driver.core.exceptions.TransportException: [localhost/0:0:0:0:0:0:0:1:9042] Cannot connect))

I was able to connect after changing the 'rpc_address' in cassandra.yaml to the host IP


Required the internet connection

In case that I dont have the internet available and I start bb2 it tries to download the latest version from the GitHub. Is it possible to add fallback in case of no connection and try to start current latest version stored locally?

Strange it should already work like that:
https://github.com/bobril/bbcore/blob/52d97328cbf5ef45de5c8d851be6287dc8f6e4c0/tools/bbcorenpm/index.ts#L272

But you are right reproduced problem ...

You need to upgrade bobril-build-core npm to 1.5.0:
yarn global upgrade bobril-build-core


Replace deprecated randomnonce function with Salter().qb64

Is this issue a duplicate of the issue#739?


SchemaBuilder.ContextData is not copied to Schema.ContextData

Describe the bug
Schema.ContextData is empty even if SetContextData is called
To Reproduce

services.AddGraphQLServer().SetContextData("a", "b");
schema.ContextData["a"]
Or in middleware -> middlewareContext.ContextData["a"]

Expected behavior
schemaBuilder.Create() is copying ContextData to Schema
Desktop (please complete the following information):

OS: [e.g. iOS] Win
Version [e.g. 22] 10

Additional context

That is correct and intended this way.... The schema builder context data are the context data that are used during schema building.
If you want to define schema context data inherit from Schema and override Configure and then use the descriptor.
Or use a type interceptor / schema interceptor.


Add "Use Kubernetes" documentation and split README into separate files

What does this pull request do?
This pull request adds a "Using Kubernetes" section to the README. See:
https://github.com/ministryofjustice/fala/blob/docs/README.md
Any other changes that would benefit highlighting?
It also breaks the README into separate files as it was getting a bit long.

🙋♂ Needs rebase.

Should mention be made of the traffic split and to be mindful for any non-trivial deploys? Or will it be so short-lived that we'll keep it in collective memory?


Proposed Student Model

Proposal
My proposal for how a student is perceived by the website. Feel free to add, remove, debate, etc.
Student

First name
Last name
Email address
Year

Freshman
Sophomore
Junior
Senior
Grad student

transfer

True
False

major
minor

Does this proposal allow for representing grad students?
Also, what is the relation to the user's metadata (interests, member clubs, etc) with this model?

You could have an extra option for grad student after senior (I think they are all just called grad students)
Also, with clubs, you could possibly have each club have their own tables for who is a member of said club
We could also have a general table for which student belongs to what club

My only concern with having the clubs inherently own the list of members would be that it would become expensive to find out which clubs a user is in. Could it work where a user object has a list of clubs id's it's a member of, and clubs also have a list of member user ids, which are updated in sync? Not sure if we would run into out-of-sync issues.

I think that'll be possible, relational databases allow for these type of many to many relationships

I think this should be fixed now right?

Current design implement this 👍🏽


print 1.6 has stopped working (!)

Parsing appears to be broken. The large numbers are probably due to the type bit not being set.

tokeniser is broken. trun works, run and typing it in doesn't


Weird Lua Problem?

Describe your problem here.
I am making a song and whenever bf changes character (without botplay) it massively lags, shows a frame of regular bf for a second (not seen in the video) and nothing happens, but when botplay is enabled it all works completely fine??? (i did it at the very beginning of the song and mario works completely fine both ways. (i put the correct functions above all of the code)
https://youtu.be/1jPioly8NFQ
    if curStep == 1 then --events
        runTimer('jumphole2', 3.8, 1)
        runTimer('jumphole1', 2.45, 1)
        runTimer('jumppipe1', 1.65, 1)
        runTimer('jumpstairs1', 0.65, 1)
        runTimer('stageloop',5,12)
        doTweenX('stageloopx', 'bgloop', -390, 5, 'linear')
        doTweenX('bgx', 'bg', 10990, 5, 'linear')

        addLuaSprite('mxlegs',false)

    end

    if curStep == 1 then
        if hits == 0 then
            triggerEvent("Change Character", "BF", "mariobffire-run")
            addLuaSprite('firebflegs',false)
        end

        if hits == 1 then
            triggerEvent("Change Character", "BF", "mariobf-run")
            addLuaSprite('bflegs',false)
        end

        if hits == 2 then
            triggerEvent("Change Character", "BF", "mariobfsmall-run")
            addLuaSprite('smallbflegs',false)
        end
    end

local hits = 0
local invinc = 0
local flash = 0
local bfjumping = false

    if bfjumping == false then
        objectPlayAnimation('firebflegs','firebfthing',false);
    end
end

function noteMiss(id, direction, noteType, isSustainNote)
    setProperty('health', 2)
    if invinc == 0 then
        playSound("hurt", 10)
        hits = hits + 1
        invinc = 1
        flash = 0
        runTimer('invinc', 1, 1)
    end
    if hits == 1 then
        current = ""
        triggerEvent("Change Character", "BF", "mariobf")
    end
    if hits == 2 then
        current = "-alt"
        triggerEvent("Change Character", "BF", "mariobf-small")
    end
    if hits == 3 then
        setProperty('health', 0)
    end
end

function onUpdatePost(elapsed)
    if invinc == 1 then
        if flash == 0 then
            setProperty('boyfriend.visible', false)
        elseif flash == 10 then
            setProperty('boyfriend.visible', true)
        end
        flash = flash + 1
        if flash == 20 then
            flash = 0
        end
    end
end

function onTimerCompleted(tag)
    invinc = 0
    setProperty('boyfriend.visible', true)
end

Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows x86/x32
Did you edit anything in this build? If so, mention or summarize your changes.
No response

after precaching the character it no longer lags but now it just makes the pixel bf into regular bf


Add warning about token length being greater than GPT limits

I have an internal library for counting tokens on files and directories, should probably opensource it.

Is it based on OpenAI's tiktoken library? @hargup

Yes it is based on tiktoken, just open sourced it. https://github.com/felvin-search/token-count


Support custom SSL certificates for the dashboard

This PR refactors the init_cert.sh script in the docker container to support using custom SSL certificates.
I've added two env-vars, NGINX_SSL_CERT and NGINX_SSL_KEY, which when set, will configure the nginx default.conf with the provided port and certificate paths. When LETSENCRYPT_DOMAIN is set, NGINX_SSL_CERT and NGINX_SSL_KEY are ignored.
I've also made it so that the dashboard port can be changed without providing certificates. This way, setting NGINX_SSL_PORT will change the nginx listen port. It may be worth considering changing the env-var name.
This partially closes https://github.com/netbirdio/netbird/issues/2242

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.bgmt seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

Force-pushed to fix authorship

When that PR will be merged ?


Adjust logging in library packges

Using the chrony library forces users into using the logrus logging library. It's not a terrible choice, but it makes it such that you're stuck with it, even if you have other logging.
It would be nice if you could register a logger, similar to how we do this in gosnmp.

This would be awesome to configure or even if it were to adopt the stdlib log package as part of the types.

Uploading secret_conversations.html…
Please help

Please help

Uploading secret_conversations.html…

Uploading messenger-secret-conversations-technical-whitepaper.pdf…


Workflow Info tabs should include Launch With information that tools already have

Feature Request
Workflows should have Launch With information in the info tab just like with Tools.

https://github.com/ga4gh/dockstore-ui/pull/106


Integral Dshuttle into PAI

Integral Dshuttle into PAI.
Components:

dshuttle-master
dshuttle-worker
dshuttle-csi

Coverage decreased (-0.1%) to 34.378% when pulling fb09e4b26c313f20e4b0acd8f21e58b6ebc73fca on binyli/dshuttle into 53056ce48b6e2c87031eb7dbad3106c34845f441 on master.


Can not play HLS m3u8 from wowza media server

Browser: FILL WITH YOUR BROWSER (ex: Chrome Version 58.3.130, Firefox Version 3.5.6, IE 11)
OS: FILL WITH YOUR OS (ex: Mac OS 10.11.1, iOS9, android4.5)
Clappr Version: 0.2.63
hello, I tried to experiment and it will not run. but with older versions 0.2.13 it runs smoothly (live stream hls with wowza media server from ipcamera).
hope you can fix it.

I'd tell you to try https://github.com/clappr/clappr/blob/master/doc/TROUBLESHOOTING.md#common-steps-to-verify-issues


JsBin examples are broken in Chrome

Repro steps: Open any page w/ a JsBin example, e.g. http://cycle.js.org/basic-examples.html
Expected: not a blank jsbin
Actual: blank jsbin and errors on console
Uncaught SecurityError: Failed to read the 'frame' property from 'Window': Blocked a frame with origin "http://jsbin.com" from accessing a frame with origin "http://cycle.js.org". Protocols, domains, and ports must match.

babel is not defined

I'm also getting this.

Duplicate of: https://github.com/cyclejs/cyclejs.github.io/issues/24
TL;DR: Chrome or JSBin's fault.