Make the PypiArtifactGenerator implement the ArtifactGenerator interface

Task Description
As part of #1145, we need to refactor the PypiArtifactGenerator to implement the ArtifactGenerator.
Task Relationships
This task:

Is a sub-task of: #1145
Relates to: #1294 , #1295

Help

Our chat
Points of contact:

@carlspring
@sbespalov
@fuss86

You can close this issue. The feature was done in https://github.com/strongbox/strongbox/pull/1291/files

Implemented by @Firstmol.


4张3090lora微调Qwen7B爆显存

Reminder

[X] I have read the README and searched the existing issues.

Reproduction
# model
model_name_or_path: /sshfs/pretrains/Qwen/Qwen1.5-7B-Chat/
# quantization_bit: 4

# method
stage: sft
do_train: true
finetuning_type: lora
lora_target: q_proj,v_proj

# ddp
ddp_timeout: 180000000
deepspeed: examples/deepspeed/ds_z2_config.json

# dataset
dataset: PQ
template: qwen
cutoff_len: 8196
max_samples: 100000
val_size: 0.1
overwrite_cache: true
preprocessing_num_workers: 16

# output
output_dir: saves/PQ/Qwen1.5-7B-Chat/SFT-05-11
logging_steps: 10
save_steps: 5000
plot_loss: true
overwrite_output_dir: true

# train
per_device_train_batch_size: 1
gradient_accumulation_steps: 1
learning_rate: 0.0001
num_train_epochs: 3.0
lr_scheduler_type: cosine
warmup_steps: 0.1
fp16: true

# eval
per_device_eval_batch_size: 1
evaluation_strategy: steps
eval_steps: 5000

#!/bin/bash

NPROC_PER_NODE=4

CUDA_VISIBLE_DEVICES=4,5,6,7 python -m torch.distributed.run \
    --nproc_per_node $NPROC_PER_NODE \
    --nnodes 1 \
    --standalone \
    src/train.py bash/yaml/train/PQ_sft.yaml

报错信息
Traceback (most recent call last):
  File "/sshfs/chenghao/LLaMA-Factory/src/train.py", line 14, in <module>
    main()
  File "/sshfs/chenghao/LLaMA-Factory/src/train.py", line 5, in main
    run_exp()
  File "/sshfs/chenghao/LLaMA-Factory/src/llmtuner/train/tuner.py", line 33, in run_exp
    run_sft(model_args, data_args, training_args, finetuning_args, generating_args, callbacks)
  File "/sshfs/chenghao/LLaMA-Factory/src/llmtuner/train/sft/workflow.py", line 73, in run_sft
    train_result = trainer.train(resume_from_checkpoint=training_args.resume_from_checkpoint)
  File "/home/chenghao/miniconda3/envs/llama_factory/lib/python3.10/site-packages/transformers/trainer.py", line 1780, in train
    return inner_training_loop(
  File "/home/chenghao/miniconda3/envs/llama_factory/lib/python3.10/site-packages/transformers/trainer.py", line 2118, in _inner_training_loop
    tr_loss_step = self.training_step(model, inputs)
  File "/home/chenghao/miniconda3/envs/llama_factory/lib/python3.10/site-packages/transformers/trainer.py", line 3045, in training_step
    self.accelerator.backward(loss)
  File "/home/chenghao/miniconda3/envs/llama_factory/lib/python3.10/site-packages/accelerate/accelerator.py", line 1995, in backward
    self.deepspeed_engine_wrapped.backward(loss, **kwargs)
  File "/home/chenghao/miniconda3/envs/llama_factory/lib/python3.10/site-packages/accelerate/utils/deepspeed.py", line 166, in backward
    self.engine.backward(loss, **kwargs)
  File "/home/chenghao/miniconda3/envs/llama_factory/lib/python3.10/site-packages/deepspeed/utils/nvtx.py", line 15, in wrapped_fn
    ret_val = func(*args, **kwargs)
  File "/home/chenghao/miniconda3/envs/llama_factory/lib/python3.10/site-packages/deepspeed/runtime/engine.py", line 1964, in backward
    self.optimizer.backward(loss, retain_graph=retain_graph)
  File "/home/chenghao/miniconda3/envs/llama_factory/lib/python3.10/site-packages/deepspeed/runtime/zero/stage_1_and_2.py", line 2040, in backward
    self.loss_scaler.backward(loss.float(), retain_graph=retain_graph)
  File "/home/chenghao/miniconda3/envs/llama_factory/lib/python3.10/site-packages/deepspeed/runtime/fp16/loss_scaler.py", line 63, in backward
    scaled_loss.backward(retain_graph=retain_graph)
  File "/home/chenghao/miniconda3/envs/llama_factory/lib/python3.10/site-packages/torch/_tensor.py", line 522, in backward
    torch.autograd.backward(
  File "/home/chenghao/miniconda3/envs/llama_factory/lib/python3.10/site-packages/torch/autograd/__init__.py", line 266, in backward
    Variable._execution_engine.run_backward(  # Calls into the C++ engine to run the backward pass
torch.cuda.OutOfMemoryError: CUDA out of memory. Tried to allocate 1.70 GiB. GPU 3 has a total capacity of 23.68 GiB of which 782.94 MiB is free. Including non-PyTorch memory, this process has 22.90 GiB memory in use. Of the allocated memory 20.97 GiB is allocated by PyTorch, and 1.50 GiB is reserved by PyTorch but unallocated. If reserved but unallocated memory is large try setting PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True to avoid fragmentation.  See documentation for Memory Management  (https://pytorch.org/docs/stable/notes/cuda.html#environment-variables)
[2024-05-13 10:37:02,349] torch.distributed.elastic.multiprocessing.api: [WARNING] Sending process 3759535 closing signal SIGTERM
[2024-05-13 10:37:02,350] torch.distributed.elastic.multiprocessing.api: [WARNING] Sending process 3759536 closing signal SIGTERM
[2024-05-13 10:37:02,350] torch.distributed.elastic.multiprocessing.api: [WARNING] Sending process 3759537 closing signal SIGTERM
[2024-05-13 10:37:02,843] torch.distributed.elastic.multiprocessing.api: [ERROR] failed (exitcode: 1) local_rank: 3 (pid: 3759538) of binary: /home/chenghao/miniconda3/envs/llama_factory/bin/python
Traceback (most recent call last):
  File "/home/chenghao/miniconda3/envs/llama_factory/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/home/chenghao/miniconda3/envs/llama_factory/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/chenghao/miniconda3/envs/llama_factory/lib/python3.10/site-packages/torch/distributed/run.py", line 816, in <module>
    main()
  File "/home/chenghao/miniconda3/envs/llama_factory/lib/python3.10/site-packages/torch/distributed/elastic/multiprocessing/errors/__init__.py", line 347, in wrapper
    return f(*args, **kwargs)
  File "/home/chenghao/miniconda3/envs/llama_factory/lib/python3.10/site-packages/torch/distributed/run.py", line 812, in main
    run(args)
  File "/home/chenghao/miniconda3/envs/llama_factory/lib/python3.10/site-packages/torch/distributed/run.py", line 803, in run
    elastic_launch(
  File "/home/chenghao/miniconda3/envs/llama_factory/lib/python3.10/site-packages/torch/distributed/launcher/api.py", line 135, in __call__
    return launch_agent(self._config, self._entrypoint, list(args))
  File "/home/chenghao/miniconda3/envs/llama_factory/lib/python3.10/site-packages/torch/distributed/launcher/api.py", line 268, in launch_agent
    raise ChildFailedError(
torch.distributed.elastic.multiprocessing.errors.ChildFailedError:
============================================================
src/train.py FAILED
------------------------------------------------------------
Failures:
  <NO_OTHER_FAILURES>
------------------------------------------------------------
Root Cause (first observed failure):
[0]:
  time      : 2024-05-13_10:37:02
  host      : auc
  rank      : 3 (local_rank: 3)
  exitcode  : 1 (pid: 3759538)
  error_file: <N/A>
  traceback : To enable traceback see: https://pytorch.org/docs/stable/elastic/errors.html
============================================================

Expected behavior
No response
System Info
No response
Others
No response

应该是cutoff_len设置太大了，可以试试4k,3k

应该是cutoff_len设置太大了，可以试试4k,3k

感谢老哥！解决了


Compile module into set of program MASTs

see motivation here.  Also provided below.
compile module AST into a set of program MASTs. To do this we need to expose
a new method on the assembler to compile a module rather than a program (something
similar to Assembler::compile_module() but without internal parameters).

Open question: how to initialize the assembler? Specifically, which libraries to
initialize it with. stdlib and midenlib are the two libraries we need for sure - but
how to handle accounts which rely on some user-defined libraries? i.e., should there
be a way to specify an "on-chain" library somehow?

TODO: build a Merkle tree out of MAST roots of compiled programs. The roots should
be sorted so that the same set of programs always resolves to the same root. If the
number of programs is not a power of two, the remaining leaves should be set to ZEROs.

Closed by #895.


Ad Audio Playing in the Background of the Video

Script version
Version 5.4
Describe the bug
When you start a video sometimes, audio of an advertisement will be playing in the background overlapping the actual video. After the background ad is done, it will start playing the original video's audio twice leading to more overlapping audio.
Expected behavior
No advertisement audio to begin with and no overlapping audio
Screenshots
If applicable, add screenshots or a video to help explain your problem.
Desktop (please complete the following information):

OS: Windows 11
Browser: Edge
Version 125

Additional context
Sometimes when this bug occurs, if you have another youtube tab open with the video paused, the audio on that tab will start playing, but the video won't be playing causing even more overlap in audio

I have the same :/

To expand on this I have that but with the video itself. The video play in the background and the foreground player plays the video a second time and I can only control the 2nd playback.
That uncontrollable "background video" then also play ads at the end.

I seem to be instead having overlapping audio of the main video itself

Temp fix: https://github.com/TheRealJoelmatic/RemoveAdblockThing/issues/460

same, bug

I have the same issue

Temp fix: #460

How can I do that?

Temp fix: #460

How can I do that?

Click the link. 😐

I've pushed an update to hopefully address this (v5.5)
Also, this is a duplicate issue. (https://github.com/TheRealJoelmatic/RemoveAdblockThing/issues/449)


/usr/local/bin/zsh: line 2: exec: pkgx: not found

This is more of an FYI since I'm not even sure what you guys would do about it, if you should do anything at all. I often run the items installed by pkgx as daemon type stuff and the location of my pkgx isn't found. I installed pkgx at /usr/local/bin/pkgx to try to get around this, but I still see the "not found" error. To get around this, I've had to put in the full path of pkgx in the installed shims. E.g.
#!/bin/sh
exec /usr/local/bin/pkgx +zsh.sourceforge.io -- zsh "$@"

In this particular instance, I got the /usr/local/bin/zsh: line 2: exec: pkgx: not found error by running a python script from BBEdit! When I have a script open in BBEdit, I can press command-R ("#!" menu -> "Run") and it will execute the script. The script starts with #!/usr/bin/env python. When I run /usr/bin/env python from the Terminal it works. So I'm not exactly sure what BBEdit is doing different. But I've also see this with other commands. I honestly don't remember all the times I've seen it. I use Ansible a lot to run commands, launchdaemons, and other automation techniques.

So if I understand you correctly a command like
#!/bin/sh
exec pkgx +node@latest

wouldn't work?

That's correct. It returns the error line 3: exec: pkgx: not found. I have to modify all of the stubs that pkgx installs to the full path of pkgx.
Again, this is happening because as a system administrator I run commands with Ansible and Apple Remote Desktop and in those instances the PATH variable does not include /usr/local/bin/.

A possible fix would be something like this in the stub:
  if command -v pkgx >/dev/null; then
    PKGX=pkgx
  elif test -x /usr/local/bin/pkgx; then
    PKGX=/usr/local/bin/pkgx
  else
    echo "pkgx not found in any usual way; aborting..."
    exit 1
  fi

  exec $PKGX ...

macOS doesn’t add /usr/local/bin to the PATH for things that operate below the shell layer (includes GUI apps).
You can fix this or you can configure the thing that daemonizes your scripts to add that PATH.
I don’t see this is our problem to fix though. Hardcoding the path to pkgx is non-standard and not portable. So it seems like that would be a worse choice. Happy to continue talking. Reopen if you want.

I know this isn't your problem but I keep running into this. I get this error when running https://github.com/ivanfioravanti/autogram.

There are ways to modify the PATH globally, but it looks like Apple is disabling them all! The current way appears to be launchctl setenv PATH $PATH but now that generates this error:
Could not set environment: 150: Operation not permitted while System Integrity Protection is engaged. I'm a bit frustrated...

My bad, it looks like launchctl setenv PATH $PATH works. I got the error because I tried to run it as root. I think you should add this to your documentation. I just looked at the wiki and there's some out-of-date info in there. I don't think any of that is valid anymore.


Color Eyedropper is not working on Color Picker

Bug Description
Color Eyedropper is not working on Color Picker. It seems obsolete.
Expected Behaviour
If Color Eyedropper is obsolete, it should be removed. If Color Eyedropper has bugs, it should be fixed to work as expected.
Steps to Reproduce

Add a Text element in the story
Select Text color input
Try to use Color Eyedropper icon

Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance Criteria
QA Instructions

Not implemented yet and thus disabled, see #262

@pbakaus do you think it's worth the effort to remove the eyedropper for Alpha?

nope. Disabled is fine.

marking as p2 to track adding the eyedropper functionality.

@jauyong not a duplicate?

Yes #262 thank you.


render: wrapper option should instantiate wrapper before children

Consider the following code from the SolidJS tutorial:
counter.jsx:
import { createSignal, createContext, useContext } from "solid-js";

const CounterContext = createContext();

export function CounterProvider(props) {
  const [count, setCount] = createSignal(props.count || 0),
    counter = [
      count,
      {
        increment() {
          setCount((c) => c + 1);
        },
        decrement() {
          setCount((c) => c - 1);
        },
      },
    ];

  return <CounterContext.Provider value={counter}>{props.children}</CounterContext.Provider>;
}

export function useCounter() {
  return useContext(CounterContext);
}

nested.jsx:
import { useCounter } from "./counter";

export default function Nested() {
  const [count, { increment, decrement }] = useCounter();
  return (
    <>
      <div>{count()}</div>
      <button onClick={increment}>+</button>
      <button onClick={decrement}>-</button>
    </>
  );
}

When testing Nested, it would be beneficial if it could be wrapped in a CounterProvider by providing the latter to the wrapper option of the render function, like this:
import { render } from "solid-testing-library";
import { CounterProvider } from "./counter";
import Nested from "./nested";

it("should contain the counter value", () => {
  const { container } = render(<Nested />, {
    wrapper: (props) => <CounterProvider>{props.children}</CounterProvider>,
  });
  expect(container.querySelector("div").textContent).to.equal("0");
});

However, the useCounter call fails with the message “TypeError: undefined is not iterable (cannot read property Symbol(Symbol.iterator))”. It seems that Nested is instantiated before CounterProvider, so that useCounter returns undefined.
This code works fine:
it("should contain the counter value", () => {
  const { container } = render(() => (
    <CounterProvider>
      <Nested />
    </CounterProvider>
  ));
  expect(container.querySelector("div").textContent).to.equal("0");
});

When having many tests, having to wrap Nested in CounterProvider in each one manually is not economic, so I think it would be beneficial if using the wrapper option worked.

Thanks for reporting this. It should be fixed in https://github.com/solidjs/solid-testing-library/pull/28 - can you verify?

This fixes the issue for me. Thanks!

0.5.1 is published with the fix.

not sure if is broken again, but I same the same issue using 0.5.1


Identify face against the entire PersonDirectory not working

Original Q&A Thread: https://docs.microsoft.com/en-us/answers/questions/390344/index.html
I found the issue with below line on example provided Microsoft Documentation website.
body.Add("personIds","['*']");
The below line resolve the issue
body.Add("personIds", new List<string> { "*"});

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

ID: c4df5f96-e61b-ad7a-f0d2-27f8ed88b313
Version Independent ID: 0529713f-772e-978f-c25d-a2adc6d0b6be
Content: Example: Use the PersonDirectory structure - Face - Azure Cognitive Services
Content Source: articles/cognitive-services/Face/Face-API-How-to-Topics/use-persondirectory.md
Service: cognitive-services
Sub-service: face-api
GitHub Login: @PatrickFarley
Microsoft Alias: pafarley

@PatrickFarley can you please review above doc bug. Thanks.

I'll fix that line of code
#please-close


The social buttons not are not working right

I have used only {{> shareit}} on a static page. No configuration.
When I click the facebook share button, it opens a new tab with a hash after the url. (nothing gets shared)
When I click the google share button, two twitter tweet popups appear. (nothing gets shared on google)
Twitter share seems to work right.

facebook shareit is working fine for me. I did try putting {{> shareit}} on a page that isn't on /blog and got the same exact results that you are describing. I think that's the issue.

+1, I hace the same problem.

I used {{> shareit shareData}} and seem to be getting the same issue as using {{>shareit}}. Twitter works. FB just creates a new tab of the same page with /# next to it. Google+ creates a twitter post.

Currently, I have this code:
[client/productHeader.js]
Template.productHeader.helpers({
  shareData: function() {
    var resp = {  title: this.name + " en mercadOrganico!",
                  excerpt:"a Message",
                  description:"a Description",
                  summary:"a Summary",
                  author:"from MyApp"
                };
    return resp;
  }
});

[client/productHeader.html]
<template name="productHeader">
    {{> shareit shareData}}
</template>

[client/main.js]
ShareIt.configure({
  useFB: true,          // boolean (default: true)
  useTwitter: true,     // boolean (default: true)
  useGoogle: true,      // boolean (default: true)
  classes: "large btn", // string (default: 'large btn')
  iconOnly: true,       // boolean (default: false)
  applyColors: true     // boolean (default: true)
});

At the moment, I have a problem with the "this.name" line in productHeader.js, but that is another issue ;)


How to disable volar in vue2, or how to choose to disable volar

How to disable volar in vue2, or how to choose to disable volar.

See https://code.visualstudio.com/docs/editor/extension-marketplace#_disable-an-extension.

I'm not talking about disabling the volar plugin, but how to close it in the project.

I think the document has already mentioned it, you can disable plugin in the workspace (your project).

I don't want to close it globally, but open it in vue3 project and close it in vue2 project. The previous version has such a function.

I'm sorry, I didn't see it clearly just now.

@johnsoncodehk is there any way we can sync this setting "disable (workspace)" to the rest of the team that also uses VSCode? Or does every team member need to manually set this up?

@mesqueeb Please track https://github.com/microsoft/vscode/issues/39272.

@johnsoncodehk thanks so much! I've added my use case to that thread.


test-auto-pr-ticket-issuer

Automated changes by create-pull-request GitHub action

Auto-closing pull request


traceroute not working

A brief description
After downloading the traceroute package, i tried to perform a traceroute command, did not return expected result.

Expected results
Traceroute of packet to destination

Actual results (with terminal output if applicable)
traceroute to www.google.no (<IP_ADDRESS>), 30 hops max, 60 byte packets
setsockopt IP_MTU_DISCOVER: Invalid argument

Your Windows build number
Build 14393.447

Steps / All commands required to reproduce the error from a brand new installation
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install traceroute
sudo traceroute www.google.com

Hi @smholsen -- thanks for reporting your experience!  This is a known issue and is discussed in more detail on ticket #69 .  It affects a number of network commands.  (It sounds like you're running the stable Windows release; I know that ping is no longer affected in more-recent Insider builds, but I don't know about traceroute offhand.)
The workaround is to run Bash on Windows as a Windows Administrator -- the issue is not with Linux-level permissions (ie., root vs non-root) but with Windows permissions.

Closing as a duplicate.


Fix crash in sp_describe_undeclared_parameters

Description
In our previous attempt of fixing sp_describe_undeclared_parameters related crash, we missed some corner cases where few variables will be left NULL if is_sp_describe_undeclared_parameters is marked as false. Then when we try to access those variables, we get seg fault.
In this commit, we fix it by adding extra check on is_sp_describe_undeclared_parameters.
Issues Resolved
BABEL-5068
Signed-off-by: Shameem Ahmed<EMAIL_ADDRESS>Test Scenarios Covered

Use case based -

Boundary conditions -

Arbitrary inputs -

Negative test cases -

Minor version upgrade tests -

Major version upgrade tests -

Performance tests -

Tooling impact -

Client tests -

Check List

[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is under the terms of the Apache 2.0 and PostgreSQL licenses, and grant any person obtaining a copy of the contribution permission to relicense all or a portion of my contribution to the PostgreSQL License solely to contribute all or a portion of my contribution to the PostgreSQL open source project.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

63 of 74 (85.14%)  changed or added relevant lines in 1 file are covered.
8 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-0.01%) to 72.951%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

contrib/babelfishpg_tsql/src/procedures.c
63
74
85.14%

Files with Coverage Reduction
New Missed Lines
%

contrib/babelfishpg_tds/src/backend/tds/tdscomm.c
3
73.33%

contrib/babelfishpg_tsql/src/procedures.c
5
88.35%

Totals

Change from base Build<PHONE_NUMBER>:
-0.01%

Covered Lines:
41853

Relevant Lines:
57371

💛  - Coveralls


Streaming query should not retry on FATAL error.

Because vttablet returns FATAL when the stream is broken.

@sougou @shrutip @alainjobart

lgtm


Add missing wallet functionality to support atomic swaps

wallet::SoftwareSigner now can sign outputs with htlc secret or htlc multisig.
PartiallySignedTransaction was extended with information about htlc secret per input.
compose_transaction accepts htlc secret
Added functional tests for htlc spend with secret and refund with multisig
Added new functions to wasm bindings that should cover atomic swap scenario for js clients

So the way I see atomic swap can be implemented now:

Alice creates an output with htlc either using rpc::create_htlc_transaction or manually
Alice manually creates refund transaction, which is signed by Bob with sign_raw_transaction
Bob performs the same steps
Alice spends Bob's output by calling rpc::compose_transaction where secret is passed, after that it's signed via sign_raw_transaction
Bob sees that tx broadcasted and can extract secret from input witness manually or for js via extract_htlc_secret
Bob now can spend Alice's output with extracted secret and compose_transaction
In case of refund Alice or Bob signs refund tx with sign_raw_transaction and broadcast it after timlock period.

we could try to make the wallet more user friendly

The plan is to avoid implementing the atomic swaps process in the wallet and delegate it to external products. In that scenario we provide only essential building blocks like verification, signing etc. Even rpc::create_htlc_transaction is not mandatory and was implemented to simplify functional testing.


MultiMC SSL is broken

Describe the bug
MultiMC is unable to verify SSL certificates. This makes the program useless, as verification cannot be disabled and the program must be able to retrieve https resources.
To Reproduce
Steps to reproduce the behavior:

Launch the program.
Either add a new instance or look at stdout.

Expected behavior
Everything works.
Screenshots

Additional context
    0.396 C Download "https://files.multimc.org/translations/index_v2.json" SSL Error # 1  :  "The issuer certificate of a locally looked up certificate could not be found"
    0.396 C Certificate in question:
 "Certificate:\n    Data:\n        Version: 3 (0x2)\n        Serial Number:\n            0f:f3:e6:16:39:aa:3d:1a:12:65:f4:1f:8b:34:e5:b6\n        Signature Algorithm: sha256WithRSAEncryption\n        Issuer: C=IE, O=Baltimore, OU=CyberTrust, CN=Baltimore CyberTrust Root\n        Validity\n            Not Before: Oct 14 12:00:00 2015 GMT\n            Not After : Oct  9 12:00:00 2020 GMT\n        Subject: C=US, ST=CA, L=San Francisco, O=CloudFlare, Inc., CN=CloudFlare Inc ECC CA-2\n        Subject Public Key Info:\n            Public Key Algorithm: id-ecPublicKey\n                Public-Key: (256 bit)\n                pub:\n                    04:d1:56:f4:9c:b6:e4:31:a0:f5:a4:52:cf:e3:9a:\n                    7a:86:ff:f2:86:b2:5e:cc:b5:59:cc:11:c7:4e:dd:\n                    64:fd:55:9c:60:e3:a0:4b:d9:78:54:ff:48:50:ba:\n                    a2:e1:a1:58:75:8f:c7:60:37:44:16:4d:55:99:ec:\n                    ee:d4:33:7a:23\n                ASN1 OID: prime256v1\n                NIST CURVE: P-256\n        X509v3 extensions:\n            X509v3 Basic Constraints: critical\n                CA:TRUE, pathlen:0\n            X509v3 Key Usage: critical\n                Digital Signature, Certificate Sign, CRL Sign\n            Authority Information Access: \n                OCSP - URI:http://ocsp.digicert.com\n\n            X509v3 CRL Distribution Points: \n\n                Full Name:\n                  URI:http://crl3.digicert.com/Omniroot2025.crl\n\n            X509v3 Certificate Policies: \n                Policy: X509v3 Any Policy\n                  CPS: https://www.digicert.com/CPS\n\n            X509v3 Subject Key Identifier: \n                3E:74:2D:1F:CF:45:75:04:7E:3F:C0:A2:87:3E:4C:43:83:51:13:C6\n            X509v3 Authority Key Identifier: \n                keyid:E5:9D:59:30:82:47:58:CC:AC:FA:08:54:36:86:7B:3A:B5:04:4D:F0\n\n    Signature Algorithm: sha256WithRSAEncryption\n         38:5f:a7:ff:fc:85:f2:73:32:e4:d5:a3:89:99:96:60:af:32:\n         c1:03:b3:65:df:be:1e:03:ca:a5:ed:85:b2:8f:af:4b:8c:73:\n         8f:2a:8c:a9:00:0e:01:24:17:f7:ec:52:85:76:c8:e5:1c:79:\n         ca:c3:17:87:50:b6:04:33:36:9e:2a:9e:18:17:96:32:12:af:\n         43:cc:57:18:de:db:c7:d8:88:25:83:e5:ca:06:25:31:fd:bd:\n         5d:48:3b:51:01:dd:2c:14:c7:c1:60:51:e9:95:01:d8:b2:33:\n         56:0e:47:66:8d:6c:cd:af:f9:85:d9:eb:1c:47:47:88:34:e8:\n         f0:fa:c2:ab:4f:69:4e:09:59:d4:57:c6:cc:c1:c8:e3:e6:19:\n         c1:58:38:52:e2:e2:83:85:de:22:34:dc:3f:a6:f7:af:24:bc:\n         e0:6f:c0:ab:68:2d:52:c7:6b:05:57:2c:42:1b:2d:48:87:03:\n         0c:90:ab:48:48:a9:28:be:34:8a:fb:ba:ed:f4:60:99:1d:15:\n         78:11:aa:d9:6d:53:7f:69:28:bc:b7:6b:20:76:7f:a0:55:03:\n         71:79:f5:67:a7:b0:a0:0a:17:57:b2:00:a9:ad:cf:ff:67:8c:\n         3e:26:e5:a7:24:bc:c2:6f:10:e8:89:c6:70:a5:d2:1f:80:ed:\n         0d:3f:27:13\n"
    0.396 C Failed  "https://files.multimc.org/translations/index_v2.json"  with reason  QNetworkReply::SslHandshakeFailedError
    0.396 D Download failed in previous step: "https://files.multimc.org/translations/index_v2.json"
    0.396 C Task "NetJob(Translations Index)" failed:  "Job 'Translations Index' failed to process:\nhttps://files.multimc.org/translations/index_v2.json"
    0.396 C Translations Index Download Failed: "Job 'Translations Index' failed to process:\nhttps://files.multimc.org/translations/index_v2.json"

Metadata
 - system: `"x86_64-linux"`
 - host os: `Linux 5.5.5, NixOS, 20.09pre214390.ea79a830dcf (Nightingale)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.3.3`
 - channels(root): `"unstable-20.09pre214390.ea79a830dcf, nixos-20.09pre214390.ea79a830dcf"`
 - channels(leo60228): `"nixos-19.09-19.09.2222.bcc922cea19, unstable-20.09pre216190.6b6f9d769a5"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

Maintainer information:
# a list of nixpkgs attributes affected by the problem
attribute: multimc
# a list of nixos modules affected by the problem
module:

This turned out to be an upstream Qt issue: https://bugzilla.redhat.com/show_bug.cgi?id=1021499


[PD] Developing a growth mindset

Coursework content
Watch this and this video. Write your reflections on why it is important to have a growth mindset as a developer and how a growth mindset will positively impact you in your career in the long term. Try to answer the following questions:

When did I have a closed mindset this week, and why?
When did I have an open mindset this week, and why?
What have I learnt about myself, as a result?
What will I do differently next time?

Estimated time in hours
1
What is the purpose of this assignment?
This assignment supports developing a growth mindset while learning new skills and facing barriers.
 Share the screenshot of your post on your ticket.

Kamino cloned this issue to Ebtesammm/Coursework-Planner

Kamino cloned this issue to kostiantynkovalchuk/Coursework-Planner

Kamino cloned this issue to FrenchFry36/Coursework-Planner

Kamino closed and cloned this issue to DelwinMansur/DelwinMansur-Coursework-Planner

Kamino cloned this issue to FabioMedinaD/Coursework-Planner


SPARKC-31: Added support for passing the limit clause to CQL in order to fetch top n results

With this patch:

added limit method to CassandraRDD, CassandraJavaRDD and CassandraJavaPairRDD
updated CQL generation method in CassandraRDD so that it can use the limit clause
added test case
updated documentation and CHANGES.txt

+1
Needs rebasing, but LGTM.


Use sensor/:id/label to fetch a sensor's labels

Now that the Helium API supports v1/sensor/:id/label, we use
that rather than the label data in the massive /sensor listing

Coverage remained the same at 100.0% when pulling b2a7140d1fdbba289b2f26c3aae094b6b9f81fcd on feature/sensor-id-label-endpoint into c5ef43fb5e22369294bec5ec4c59b084a7d8147e on master.


Document about Milestone for release planning

Description
Use Milestones for release planning instead of Labels. This was suggested in this dev list thread: https://lists.apache.org/thread/b2xsx02wswzjzs5dzkox9njv4t8t1vf5

thanks for formalizing this


k8s: don't consider 4xx a successful interaction

While a 404 Not Found or a 409 Conflict can be considered successful interactions with the k8s API, a blanket accept for all 4xx codes is problematic. Since LastSuccessInteraction is exclusively used as an optimisation, we should err on the cautious side: accept the potential increase in heartbeats to avoid missing being unable to effecticely communicate with the k8s API.
As an example of how this can go wrong, in #20915 we have an issue around receiving 401 Unauthorized from the EKS control plane. At sufficient scale, we never see a need to run the heartbeat. Running the heartbeat, however, would close and reopen the connections on receiving a 401, and thus restore connectivity to the k8s API.
We currently only use the LastSuccessInteraction to as an optimisation to not perform unnecessary k8s API heartbeats, this "metric" (possibly a misnomer) is not used or exposed and changing its semantics is acceptable.
Signed-off-by: David Bimmler<EMAIL_ADDRESS>cc @aanm for insight, @gandro for visibility

/test

/test

rebased because of https://github.com/cilium/cilium/pull/22426

Rebased to get https://github.com/cilium/cilium/pull/22431 to fix https://github.com/cilium/cilium/pull/22183. :whataweek:

/test

CI hit this flake in https://github.com/cilium/cilium/actions/runs/3581964125/jobs/6025639249#step:12:42 (Multicluster / Cluster mesh) and https://github.com/cilium/cilium/actions/runs/3581964113/jobs/6025639858#step:13:41 (External workloads), both failed in creating the GKE cluster. These were green previously.


24h time display

Subject: Local time in profile
Description:
Nothing
Results:
Local time
1:33 AM
Please give an option to use 24-hour times
Backend version: develop-bf8528d9
Frontend version: develop-bf8528d9
User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:98.0) Gecko/20100101 Firefox/98.0
Page: https://couchers.org/profile/about
User: prino (10729)

Not planned


{Site.ID}, {Web.Id} and {SiteCollection.ID} all resolve to webId in Search REST API

Category

[ ] Question
[ ] Typo
[X] Bug
[ ] Additional article idea

Expected or Desired Behavior
I'm sending a search query to the Search REST API (_/api/search) using Query Variables in the QueryTemplate:

searchTerms: *
QueryTemplate: {searchTerms} DepartmentId:{Site.ID} or DepartmentId:{Web.ID} or DepartmentId:{SiteCollection.ID}

As a result, I expect to see a QueryModification that translates the tokens to at least two different GUID's (the SPWeb ID and the SPSite ID).
Observed Behavior
All three tokens get translated to the SPWeb ID.
* DepartmentId:d9bc8cd4-2502-443b-9f99-e1c22ed0febf or DepartmentId:d9bc8cd4-2502-443b-9f99-e1c22ed0febf or DepartmentId:d9bc8cd4-2502-443b-9f99-e1c22ed0febf -ContentClass=urn:content-class:SPSPeople

Behavior was discovered here (https://github.com/SharePoint/sp-dev-solutions/issues/136#issuecomment-488121865) and confirmed by @wobba (https://github.com/SharePoint/sp-dev-solutions/issues/136#issuecomment-488248056)
Steps to Reproduce

Use the Search Query Tool
Connect to a SharePoint Online site
QueryText: *
QueryTemplate: {searchTerms} DepartmentId:{Site.ID} or DepartmentId:{Web.ID} or DepartmentId:{SiteCollection.ID}

I've got a ticket open for this, and it currently is under review for a hotfix by the product engineering team.

Hello,
Is there any update on this item?  I am experiencing the same issue.

It’s recognized as incorrect in the code (docs are correct), but this is the latest response I got from my support ticket about the potential hotfix:

Please know that we have checked with the Product Engineering team and they currently have marked this request as a "Low Priority", as they consider it to be more of a "How to improve" topic rather than a critical issue. The good news is that they have not rejected the request, but it will take a very long time (several months at least) for them to make a decision regarding this issue.

This is still the case. Any update? It's been almost 2 years.


All the Characters in Quick Accent utility

Type of issue
Other (describe below)
Feedback
I like Quick Accent utility very much and I want it be better for using.
Can I get a table of every keys corresponding to the characters in every character sets. That way I can know which characters are available to type.
Can I use more than one character sets, not only one sets or all sets.
I would appreciate it very much if you can achieve it.

Hello and thanks for your message.

Can I get a table of every keys corresponding to the characters in every character sets. That way I can know which characters are available to type.

The PowerToys are still very much under construction and additions are still made. Not a bad idea though, but I wonder how and where would be the best solution... Maybe @damienleroy has an idea?

Can I use more than one character sets, not only one sets or all sets.

This is being discussed in issue https://github.com/microsoft/PowerToys/issues/21261

More characters are available in Quick Accent. I hope the table including all characters can be made.

This feels not so much like feedback specifically about the documentation, but rather like a question, or feedback, about the PowerToys product. I don't have any additional content for your scenario, over and above what's in the documentation. So, it might be worth pursuing this as feedback about the product. If you visit the PT issue that @Jay-o-Way reference, then you'll be able to discuss this product idea further. Thanks!


Flutter Deep linking [Android] was open new App when open notification in foreground

<meta-data android:name="flutter_deeplinking_enabled" android:value="true" /> <intent-filter android:autoVerify="true">     <action android:name="android.intent.action.VIEW" />     <category android:name="android.intent.category.DEFAULT" />     <category android:name="android.intent.category.BROWSABLE" />     <data android:scheme="http" android:host="flutterbooksample.com" />     <data android:scheme="https" /> </intent-filter>
Deep-link should open the application and navigate to the page in the app was terminated however, it opens the foreground and background state also.

Hello @ayechan-maung. In Flutter, you need to handle the navigation yourself for deep linking. In fact, deep link only opens your app, and doesn't navigate anywhere. I suggest you look into the deep link library you're using, you you can find great documentation in the uni_links package. If you have any other questions, I do suggest you ask on a Q&A forum like StackOverflow.
Since this is not a bug with Flutter, I am closing this issue. If you disagree, please comment and we can reopen it.


Mermaid 10 support (ESM)

I noticed I could not use the mermaid 10 javascript from<EMAIL_ADDRESS>Would it be possible to integrate this?

@jcatrysse Thanks for letting me know.
I just updated.
Use the mermaid10 branch.
git clone -b mermaid10 https://github.com/taikii/redmine_mermaid_macro.git plugins/redmine_mermaid_macro

Hi @taikii thank you very much for your blazing fast response!
However, I don't get the system to work correctly, mermaid diagrams are not rendering.
This is what I did:

I replaced the plugin with the new mermaid10 branch.
I restarted Redmine (and the complete Apache)
I changed the configuration to use<EMAIL_ADDRESS>
When I opened the console, I noticed that the mermaid.esm.min.mjs file was never downloaded, as the mermaid.min.js was before.
I also get some errors:

Am I doing something wrong?

@jcatrysse javascript_tag outputs a CDATA Section, but it was a syntax error in Firefox. So I changed it not to use javascript_tag. Could you please check again?
Also, if you have a problem, it would be helpful if you could let me know your environment.
<script>
//<![CDATA[
// some js code
//]]>
</script>

I was able to resolve this by adding the mime type to my httpd.conf.
AddType text/javascript mjs
Thank you for resolving this issue!


PR: Add release instructions on how to update the Conda-forge rc feedstock channel (Installers)

Description of Changes
This describes how to update that channel with the changes in the main feedstock branch.
Affirmation
By submitting this Pull Request or typing my (user)name below,
I affirm the Developer Certificate of Origin
with respect to all commits and content included in this PR,
and understand I am releasing the same under Spyder's MIT (Expat) license.

I certify the above statement is true and correct: @ccordoba12

@dalthviz, please take a look at these new instructions and let me know what you think.

BTW, I opened https://github.com/conda-forge/spyder-feedstock/pull/206 by following the initial part of the instructions. Once 6.0.3rc1 is ready to be released in Conda-forge, you can follow the last steps in the same PR.

@meeseeksdev please backport to 6.x


update Maven version to 3.3.9+ in README.md

When compiled with maven version 3.0.4, it failed and report error message as follow:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M3:test (default-test) on project pulsar-client-api: Execution default-test of goal org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M3:test failed: Unable to load the mojo 'test' (or one of its required components) from the plugin 'org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M3': com.google.inject.ProvisionException: Guice provision errors:
[ERROR]
[ERROR] 1) No implementation for org.codehaus.plexus.languages.java.jpms.LocationManager was bound.
[ERROR] while locating org.apache.maven.plugin.surefire.SurefirePlugin
[ERROR] at ClassRealm[plugin>org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M3, parent: sun.misc.Launcher$AppClassLoader@5c647e05]
[ERROR] while locating org.apache.maven.plugin.Mojo annotated with @com.google.inject.name.Named(value=org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M3:test)
[ERROR]
[ERROR] 1 error
[ERROR] role: org.apache.maven.plugin.Mojo
[ERROR] roleHint: org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M3:test
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginContainerException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :pulsar-client-api

Error reference:
https://stackoverflow.com/questions/53211941/unable-to-load-the-mojo-test-org-apache-maven-pluginsmaven-surefire-plugin
When compiled with maven 3.3.3, it failed and report error message as follow:
[ERROR] Failed to execute goal net.alchim31.maven:scala-maven-plugin:4.0.1:add-source (default) on project flink: The plugin net.alchim31.maven:scala-maven-plugin:4.0.1 requires Maven version 3.3.9 -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginIncompatibleException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :flink

Only Maven 3.3.9+, the project can build success.

run C++/Python Tests
run integration tests
run java8 unit tests

retest this please

run java8 test
run integration test

run java8 tests
run integration tests

run java8 tests


Fragment support

will this work also for fragment transitions

Try adding this on your Fragment transaction code:
val transaction = supportFragmentManager.beginTransaction()
transaction.setCustomAnimations(spencerstudios.com.bungeelib.R.anim.slide_left_enter, spencerstudios.com.bungeelib.R.anim.slide_left_exit)
transaction.replace(container, MyFragment())
transaction.commit()


Allow dynamic and other nullable types in catch clauses

If I analyze this opted-in library:
main() {
  try {
    throw "ok";
  } on dynamic catch (error) {
    print(error);
  }
}

I get:
$ dartanalyzer --enable-experiment=non-nullable temp.dart
Analyzing temp.dart...
  error • A nullable type can't be used in an 'on' clause because it isn't valid to throw 'null'. • temp.dart:4:8 • nullable_type_in_catch_clause
1 error found.

From the discussion here, this should be allowed.

cc @stereotype441 @leafpetersen

https://dart-review.googlesource.com/c/sdk/+/143220

Analyzer was updated to report errors when throwing expressions with types not assignable to Object.
The catch error was downgraded to a hint.


Add "opens in a new tab" aria label to links

Description
This PR adds an aria label with the text "opens in a new tab" every place we have an applicant facing link that opens in a new tab. This includes adding it to the markdown text formatter which always creates links that open in a new tab.
Checklist
General

[x] Added the correct label: < feature | enhancement | bug | dependencies | infrastructure | ignore-for-release | database >
[x] Assigned to a specific person, civiform/developers, or a more specific round-robin list.
[x] Created unit and/or browser tests which fail without the change (if possible)
[x] Performed manual testing (Chrome and Firefox if it includes front-end changes)

User visible changes

[x] Followed steps to internationalize new strings

[x] Added context strings to new messages
[x] Didn't use a message in applicant facing code that isn't translated yet (unless behind a flag)

Instructions for manual testing

Create a program and a question and add a link in markdown eg. [link](https://www.example.com)
Navigate to that program/question as an applicant and inspect the link element. You should see an aria label on it with the text "opens in a new tab"
Alternatively, turn on a screen reader and tab through the page. "Opens in a new tab" should be read out loud when the link is selected.
Change the language and confirm the aria label is translated.

Issue(s) this completes
Fixes #5534

Hi @rockycodes , I am not able to create a static question at all-(this is right after running bin/remove-dev)


Types: app.get<Env>()

What is the feature you are proposing?
Currently the first argument of the app.get() generics is P extends string, but it would be smart code to change it to Env to get the type in the handler as follows:
app.get<{ Variables: { shops: Shop[] } }>(
  '/shops',
  async (c) => {
    const shops = await getShops()
    c.set('shops', shops) // shops is Shop[]
  },
  mwFn((c) => {
    const shops = c.var.shops
    return shops // shops is Shop[]
  }),
  ssgParams(async (c) => {
    const shops = c.var.shops // shops is Shop[]
    return shops.map((shop) => ({ id: shop.id }))
  }),
  async (c) => {
    const shops = c.var.shops // shops is Shop[]
    return c.render(

          {shops.map((shop) => {
            return (

                <a href={`/shops/${shop.id}`}>{shop.name}

            )
          })}

    )
  }
)

This is a breaking change, so a migration guide is needed when implementing it. However, the case of passing generics to app.get() is rare.

This is so difficult or impossible. Closing.


Instantiation expressions don't reject incompatible signatures in situations with mixed call and construct signatures

🔎 Search Terms
instantiation expression signature applicable incompatible call construct class
🕗 Version & Regression Information

This is the behavior in every version I tried

⏯ Playground Link
https://www.typescriptlang.org/play/?ts=5.6.0-dev.20240717#code/MYGwhgzhAEBiD29oG8C+BYAUFgLgTwAcBTaAFSIh2gF4UtpoAeU6IgDxyIDsATGLgK4BbAEZEATgD4AFGHEBzAFxkAlMtIBuetC5EA7kxbtOvGJXEBLLvJlylq5QnhbMqF1h5FQcksHhdKaE5KdQocFz8AqiscMC4cCzBOHhogsMYAIgzJFyA
💻 Code
class Foo {}

type Test = {
  <T extends number>(arg: T): T;
  new <T extends string>(arg: T): Foo;
};

declare const test: Test;
const intantiated = test<"">;

🙁 Actual behavior
An error gets reported:

Type 'string' does not satisfy the constraint 'number'.(2344)

And the final type of instantiated is computed as:
const intantiated: {
    <T extends number>(arg: T): T;
    new (arg: ""): Foo;
}

🙂 Expected behavior
I'm not 100% sure but it feels like this type could be successfully instantiated to { new (arg: ""): Foo; }. This is the only signature that matches the given type arguments.
Additional information about the issue
No response

It just occurred to me... this is very related to https://github.com/microsoft/TypeScript/issues/51694 but currently it's not solved by https://github.com/microsoft/TypeScript/pull/51695

@Andarist

but currently it's not solved by https://github.com/microsoft/TypeScript/pull/51695

Have you tried rebasing it onto latest main? I tried something very similar to your PR on my end and it seems like it's also a valid fix for the issue described here.

I can try later but this PR only limits the search within a "group" of signatures. Call and construct signatures are kept separately so it shouldn't change the behavior for this case here. IIRC I checked it when posting the comment above.

@Andarist Yeah that makes sense. But I think the reason you're seeing the error in the first place is because the first signature has a "number" type constraint so if it gets filtered out the error goes away.


Can the maximum size of the disk image be set in a configuration file?

File: desktop/linux/space.md
I am hoping I can add something to $HOME/.docker/daemon.json or similar to limit the maximum size. I am trying to initialize an installation on a system with limited resources, but cannot get to the settings to change this limit without it first attempting to create a 64GB file and then crashing.

Hi @jhammons please report this issues to the Docker Desktop for Linux GitHub repo where they'll be better placed to answer your question
https://github.com/docker/desktop-linux/issues

Thank you.


mention support for  tag as well

This pull request closes (past link to GitHub issue here)
Pre-Flight Checklist
I have made sure to:

[ ] add tests & add a Storybook example (when this makes sense)
[ ] manually test all the Storybook examples

@GorvGoyl Thank you for opening this PR and wanting to add something to the docs! As it turns out, supporting things other than images is something that isn't sustainable for this project, and it won't be supported long-term.
Since it works in v4, I'll merge it, but I just thought you should know. Thanks for contributing!

@GorvGoyl Thank you for opening this PR and wanting to add something to the docs! As it turns out, supporting things other than images is something that isn't sustainable for this project, and it won't be supported long-term.
Since it works in v4, I'll merge it, but I just thought you should know. Thanks for contributing!

sure this makes sense. I tested it in v4 and it seems to be working fine (as of now).

When I get time later, I'll add you to the all contributors section in the README

Finally circled back to adding you to the contributors in the README. Thanks again!


Bug fix for char and overflow

serialport_read_until() method needs some optimization, in particular these 2 fixes!

More proper way to declare char:

char b[1];  change to char b;
int n = read(fd, b, 1);  change to int n = read(fd, &b, 1);
buf[i] = b[0];  change to buf[i] = b;
while( b[0] != until ...  change to while( b != until ...

Overflow problem

while( ... && i < buf_max ...  change to while( ... && i+1 < buf_max ...
Unless the documentation says that buf_max should be one less than the size of the buffer (which would be counterintuitive and error-prone)
Also, since i is checked at the end, even with this fix, the code will still store one byte if you pass in buf_max == 0 (but without the fix it will store two bytes). So that's another bug.

Hi tod, i'm not sure how to do it! (Sorry still new to github)
It would be good if you can implement this as well:
https://github.com/todbot/arduino-serial/issues/9
I will try and figure it out on the pull.
P.S. Zach here. Hope you have received my emails sent to<EMAIL_ADDRESS>

Just a reminder the changes have been commited.

Hello,
I have found multiple fixes you have suggested for the Arduino Serial library.
He didn't commit anything in the code as I don't think he cares about this project.
This is pretty much the only existing C library out here to communicate with the Arduino so it worth fixing it.
I'm using this in various hobby projects and I experience a great deal of instability in the communication which is not the Arduinos fault because if I just open a regular screen /dev/ttyACM0 9600 and send a command with echo COMMAND > /dev/ttyACM0 it works fine roboustly.
However my code is a bit more complex. I basically put his library into a multi threaded socket server so an external app can connect with TELNET protocol on that C daemon and send a command such as LIGHTS_ON and that command will be relayed through serial to the Arduino then the response will come back and sent back through telnet. At least that would be the desired way...
I mostly have a problem with the read back function that I get junk like:
Desired line:
DEVICE,STATUS,14.93,0.96,11,20.31,08:56:43
Read back data:
 2020-05-01 14:13:08 ] From DEVICE (length: 22) [RAW]:
SA,NLN,49,.6,40.20:55

Which is junk. Can you maybe help me out with my code if you have some time?
I have already added your overflow modification it does not change my issues.
Thanks.


feat: create scholarship page

Created the scholarship page

Will not merge this for now because some information on this page might be inaccurate.


Build crashed with angular 5

Hi, i have just upgraded angular to v5. Unfortunately, it seems you plugin is not compatible.

ng serve

WARNING in ./node_modules/angular-io-slimscroll/node_modules/<EMAIL_ADDRESS>5659:15-36 Critical dependency: the request of a dependency is an expression
    at ImportLazyContextDependency.getWarnings (/Users/xxx/node_modules/webpack/lib/dependencies/ContextDependency.js:39:18)
    at Compilation.reportDependencyErrorsAndWarnings (/Users/xxx//node_modules/webpack/lib/Compilation.js:703:24)
    at Compilation.finish (/Users/xxx//node_modules/webpack/lib/Compilation.js:561:9)
    at applyPluginsParallel.err (/Users/xxx//node_modules/webpack/lib/Compiler.js:506:17)
    at /Users/xxx/node_modules/tapable/lib/Tapable.js:289:11
    at _addModuleChain (/Users/xxx/node_modules/webpack/lib/Compilation.js:507:11)
    at processModuleDependencies.err (/Users/xxx/node_modules/webpack/lib/Compilation.js:477:14)
    at _combinedTickCallback (internal/process/next_tick.js:73:7)
    at process._tickCallback (internal/process/next_tick.js:104:9)
 @ ./node_modules/angular-io-slimscroll/node_modules/<EMAIL_ADDRESS> @ ./node_modules/angular-io-slimscroll/slimscroll.directive.js
 @ ./node_modules/angular-io-slimscroll/index.js
 @ ./apps/admin/src/app/app.module.ts
 @ ./apps/admin/src/main.ts
 @ multi webpack-dev-server/client?http://<IP_ADDRESS>:0 ./apps/admin/src/main.ts

declaration is same as in example

import { SlimScroll } from 'angular-io-slimscroll';

@NgModule({
    declarations: [
        SlimScroll,

browser error

Uncaught Error: Unexpected value 'SlimScroll' declared by the module 'AppModule'. Please add a @Pipe/@Directive/@Component annotation.
    at syntaxError (compiler.js:684)
    at eval (compiler.js:15354)
    at Array.forEach (<anonymous>)
    at CompileMetadataResolver.getNgModuleMetadata (compiler.js:15336)
    at JitCompiler._loadModules (compiler.js:33702)
    at JitCompiler._compileModuleAndComponents (compiler.js:33663)
    at JitCompiler.compileModuleAsync (compiler.js:33579)
    at CompilerImpl.compileModuleAsync (platform-browser-dynamic.js:244)
    at PlatformRef.bootstrapModule (core.js:5639)
    at eval (main.ts:14)

I forked this repo for upgrade to Angular 5 and it works correctly now. See https://github.com/Orvisky/angular-io-slimscroll.

you can use package

"angular-io-slimscroll": "github:Orvisky/angular-io-slimscroll#2.0.0",


Need to add ActiveSupport as dependency

#ruby version 2.4.3
active_record version ( 5.1.4 )
paper_trail version (8.1.2)
I'm working on an application not based on rails but I am using active record. I noticed that when I open irb and require 'paper_trail', I am getting the following error
NoMethodError: undefined method `squish' for #<String:0x00007f8710b395e0>

We are using squish method that is defined in active_support:
https://github.com/rails/rails/blob/cfb1e4dfd8813d3d5c75a15a750b3c53eebdea65/activesupport/lib/active_support/core_ext/string/filters.rb#L21
Therefore we should add active_support to dependency so that we don't run into this error.
Steps to reproduce the error:
Clone this repo:
https://github.com/theRealNG/paper_trail_active_support_dependency

Open irb terminal
Type require "paper_trail" and you will get that squish is not defined.

@jaredbeck  Yes that solves the issue.

Fixed by https://github.com/airblade/paper_trail/pull/1043 expected release 9.0.0
Thanks Ng.


Cannot Detect Motorcycle

i want to detect and counting motorcycle in my video but always failed to detected it. I tried to using ssd_mobilenet_v1_coco_2017_11_17 dataset but still failed..
can anyone help me? i am sorry because i am beginner.

You can use a more powerful model such as faster_rcnn_nas or you can perform transfer learning or fine tuning on ssd_mobilenet_v1_coco_2017_11_17 to improve the accuracy of the model so you can detect your custom objects.

thanks for your answer..
i want to use ssd_mobilenet_v1_coco_2017_11_17 dataset. where i must change the source code? only in vehicle_detection_main.py or in other file ?
thanks before


Remove more cruft from contrib examples

This removes more "from" instance stuff, as well as registry data sets for a broker that is not part of this repo.

LGTM2

lgtm. we'll always have it in history if we need it.


qemu mode: enabling other platforms if possible.

@andreafioraldi ?

I'm 100% sure that this will not work for macOS. QEMU user is supported for BSD but I never used it and I don't know the state and the percentage of compatibility. Remove the references to Darwin and test it on *BSD please.

@devnexen why --no-check-certificate? We download QEMU directly from the official website and if the certificate of qemu.org expires is better to not download at all.

also, libcompcov is a linux-only library, insert an if statement before calling make -C libcompcov

Because of NetBSD ... does not handle SSL in their packages (as git and so on)

NetBSD does handle SSL, there is need to install mozilla-rootcerts.

On the other hand... qemu bsd-user is broken since ever. There are downstream FreeBSD patches for it but they never hit the upstream tree.

I think that, in addition, the patches to the files into linux-user/ should be ported to bsd-user in order to make it work.

regardin


Do all files comply with clang-format?

Hi!
I was making some changes on https://github.com/fzi-forschungszentrum-informatik/Lanelet2/blob/master/lanelet2_python/python_api/geometry.cpp when I noticed that my clang-format (clang-format version 10.0.0-4ubuntu1) reformatted the file differently than the repository.
For example these lines
  def("distance", +[](const ConstLineString3d& ls1, const ConstLineString3d& ls2) { return lg::distance3d(ls1, ls2); });

get a linebreak
  def(
      "distance", +[](const ConstLineString3d& ls1, const ConstLineString3d& ls2) { return lg::distance3d(ls1, ls2); });

and the includes are separated by a linebreak as well. This should usually be avoided by the reference .clang-format file that is contained in the repository. Could it be that clang-format was not run on this file lately?
If so I could just include the changes in my pull request which I will create later.
Thanks!

Thank you for the clarification!


Remove flask from presidio python packages

setup.py's should not install_require flask as this is the non applicative way of using presidio

shouldn't it be documented that when doing pip install presidio-xxx it won't work as an http server? is this behaviour expected?

That's expected, the app.py defining is actually outside of the package directory


What is the current (stable) release?

On https://www.ehcache.org/ it says "Ehcache 3.8 is now available!" and the getting-started-example mentions 3.8.1.
On https://github.com/ehcache/ehcache3/releases it says 3.8.1 is the "Latest release"
On https://mvnrepository.com/artifact/org.ehcache/ehcache there are several 3.9 releases up to 3.9.3
On https://github.com/ehcache/ehcache3 it says "We released 3.9.0... The release notes contain the links to the artifacts and the documentation to help you get started. You should consider upgrading to 3.9.x as it does all previous 3.x do and more with a fully compatible API." The "release notes" link points to https://github.com/ehcache/ehcache3/releases/tag/v3.9.0 (the 3.9.0 tag).
Maybe you can imagine that this is a bit confusing.
What is the current recommended stable release? Is it 3.8.1? 3.9.0? 3.9.3?

Right now I’m the only person doing significant work on the release side of things and I’ll admit that I’ve got behind on doing the ancillary work around releases (like updating the website). If you’re using unclustered caching only then there really isn’t much difference between all of those releases. If you’re using Terracotta clustered caching then there is significant difference between the operational aspects of running a cluster in 3.8.x and 3.9.x. I would recommend switching to the 3.9.x line eventually, but expect some disruption when you do and plan accordingly.


URLs are to missing pages

4 links are to 404s, the Azure Asset ones and the monitoring agent ones.

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

ID: 26ca1c40-0fd9-092c-335b-7c6d55dc7433
Version Independent ID: 9e69b47c-c2c6-44ff-b5b5-a74ff0b88a4a
Content: Manage your portfolio across hybrid and multicloud operations - Cloud Adoption Framework
Content Source: docs/scenarios/unified-operations/manage.md
Service: cloud-adoption-framework
Sub-service: operate
GitHub Login: @BrianBlanchard
Microsoft Alias: brblanch

Thanks for reporting - this issue is under review. This is a Microsoft Internal DevOps Bug ID # 367179

Thanks for reporting - this issue is under review. This is a Microsoft Internal DevOps Bug ID # 367179

Hey Janet, Good to see it is already logged, don't have access to ADO though. Thank you!

Hey Janet, Good to see it is already logged, don't have access to ADO though. Thank you!

Added to the review backlog.

Added to the review backlog.


fix: styling issue on landing page

Description

Collection section was showing even tho there were no remain drops for the partner. This PR fixes that style issue.

Before
After

@ximxim @lauchness this is not functioning as expected actually. That issue was happening because the mirror digest wasn't rendering not because the carousel was missing. IF we're going to merge we should do this based on article / digest presence only.
For example, this is a bug: https://onchainsummer-xyz-git-azim-fix-empty-collection-base-org.vercel.app/?spoofDate=2023-08-09

Review Error for AshishYelekar @ 2023-08-10 22:36:58 UTC
User failed mfa authentication, public email is not set on your github profile. see go/mfa-help

closing as not clear needs to merge. If you reopen please make title more clear/easier to QA/link ticket if you can :)


Facial recognition using SURF

SURF is another robust algortihm used for robust classification of 3d constructions.
We should try out this algorithm as well for recognising facial expressions
Reference : https://people.ee.ethz.ch/~timofter/publications/Knopp-ECCV-2010.pdf

@akshitagupta15june I would like to work on this issue  under Njack IIT Patna. Please assign this issue to me.

@akshitagupta15june I would like to work on this issue  under Njack IIT Patna. Please assign this issue to me.

sure i am assigning

sure i am assigning

can i work on this issue @akshitagupta15june

can i work on this issue @akshitagupta15june

ok you can work on it.
Are you a swoc or dwoc or jwoc participant?

ok you can work on it.
Are you a swoc or dwoc or jwoc participant?

dwoc participant

dwoc participant

ok great

ok great

Creating a new one!
Closing this


Fix typo in week07_structured/pos_tagger/tagger_skel.py.

Seems legit, thank you!. I'll merge it myself cuz Sergey didn't react for quite a while


ARTEMIS-1469 - Add support for trusting any client certificate

Added a new trustAll flag which will support trusting any client
keystore when doing testing against a broker.  This setting should not
be used in production and is strictly for testing.

Even though it's only for testing it would still be good to have a little documentation on the option.

I updated my PR with a section about the new setting in the documentation.


Feature request:Include country code along with country name

Feature request:It would be very useful to add country code along with country name.

Hi @saveav can you review this pr https://github.com/saveav/world_airports/pull/4. I added country codes to all countries and fixed few mistaken country names.
Thanks

Hi @saveav can you review this pr https://github.com/saveav/world_airports/pull/4. I added country codes to all countries and fixed few mistaken country names.
Thanks

this was merged. so closing the issue. Still need to publish a new version.


Create JMC presentation

I think this can largely be similar to what we've given in the past.  I think there is going to be interest in the 'ecosystem' presentation that I gave so I was thinking of keeping that separate from our normal presentation and basically shortening the one we gave at the SRG (and probably including some of the stuff that others presented on).
So presentations to create include:

[ ] standard JMC assessment presentation
[ ] auxiliary 'ecosystem' info and research (mainly discussing productivity, hake migration (or lack thereof), and assessment results of high biomass but poor northern fishing)

There was some discussion about JMC not understanding dynamic reference points, but I spoke to Frank and we thought the summer JMC meeting was a better place for that, so at this point we don't plan to mention it much (ourselves bringing it up anyway) at the March JMC meeting. Agree?

I already updated the JMC presentation with all the new stuff so it builds and just needs content updates


Support build via conda?

Currently mapbox/tippecanoe is available on conda-forge to be built with conda. I've had a good experience installing and making use of tippecanoe via conda, but it appears active development of tippecanoe has moved here. I've opened an issue at conda-forge/tippecanoe-feedstock about repointing their source from mapbox/tippecanoe to felt/tippecanoe, but also wanted to reach out to gauge interest in making this fork available via conda-forge. I understand if this is a low or non-priority. Thanks for your thoughts and consideration!

Sounds good to me! What do I need to do on the Felt side to make it happen?

I've begun testing swapping mapbox/tippecanoe for felt/tippecanoe in the existing conda-forge recipe for tippecanoe with some success though not enough to actually make use of the tool. I will continue to work on evaluating what it would take to update the source for the package on conda-forge as I have time. I've never built conda recipes and am even less familiar with the ins and outs of building C/C++ applications so it'll be a bit of a slog on my end. It's certainly a great chance to learn some new things. If someone on your team wanted to take a crack at adapting the current recipe to point at felt/tippecanoe that would be great, but I also am being mindful of requesting your time on what I recognize is a niche issue.
Bigger picture, it's my opinion the current tippecanoe package on conda-forge be built from felt/tippecanoe rather than as a new, separate package. I haven't heard anything from the feedstock maintainers as of yet, but I'll continue to monitor the issue I opened with them. It might provide some extra legitimacy to the issue if you or someone from Felt could provide a comment sharing your stance.

FYI, I've created a pull request on conda-forge for this.

This tippecanoe is now the latest version on conda-forge:
$ conda search tippecanoe --channel conda-forge
Loading channels: done
# Name                       Version           Build  Channel
tippecanoe                    1.36.0      h11911d8_2  conda-forge
tippecanoe                    2.22.0      h11911d8_0  conda-forge

The issue can be closed.


Performance - Consider static reference and pooling per service endpoint of HttpClient

The subject has been out there in the .net community for a couple of years now but the general recommendation regarding HttpClient is not to instanciate and dispose the object for each http call.
This is particularly true when building a "service- type" application and/or talking to the same service endpoint for subsequent calls. This is related to the way HttpClient is implemented and opens/keeps alive ports to a single endpoint.
Because there's a "lag" between the disposal of a HttpClient and the actual disposal of the underlaying network port, those kind of patterns can lead in a port exhaustion. Also disposing the port every-time induces a memory and CPU overhead.
https://stackoverflow.com/questions/22560971/what-is-the-overhead-of-creating-a-new-httpclient-per-call-in-a-webapi-client
I think the following changes should be implemented:

GetClient method of the HttpService should rely on a static pool (probably implemented with a thread safe dictionary, key being the Uri's authority)
using's should be removed
app domain terminating events should be implemented to dispose the dictionary's content

Along with this, does calling "AquireAADToken" on every request cause a performance issue?  The token typically does not expire for between 1 and 8 hours, so does the call to "authContext.AcquireTokenAsync" handle that or should the SDK?   This solution saved me a ton of time so thank you as well!

@nhadro I think the SDK was built this way to be "Authentication stack agnostic" and support multiple infrastructure cases (on prem vs online)
If you're relying on MSAL it's ok because it has some caching and checking implemented, if you implemented the calls manually to acquire the token, it might be another story indeed.
But I don't want to side track too much here, the intent of this issue is to discuss the performance implications in HttpService of the way HttpClient is used

Good point, yep the HttpClient approach is a good question.

first of all, ADAL is fine as it gives back the token if not expired and cached without actually calling the service.
For HttpClient, I agree with this if this is not only sample but for production.
How do we want to implement this though? We can simply apply singleton model or use package such as AutoFac. But we also need to think about when we need to recreate it due to its status?

From what I was reading on the internet it's better to have a HttpClient per destination service/ip/fqdn from a network port management perspective.
I'd see a solution where we leverage something like a dictionary or so depending on the target FQDN as the key and the HttpClient as the value. That dictionary would be a singleton and internal to this SDK.
Also the add/remove operations would be done with locks to ensure thread safety or maybe we should use this guy instead https://msdn.microsoft.com/en-us/library/dd287191(v=vs.110).aspx
And yes, the last thing would be to check if the token is still valid for the request to re-challenge auth if needed but I think it'd be easy tweaking the HttpService kind in the same way I implemented ExecuteHttpCallAndRetry
What do you think?

I will go ahead to implement singleton model so please go ahead to test it.

I'm still doing the testing on my end and so far it's looking good but I think we can close the issue. I'll try to update with the performances improvements results on my project when I have those.
Thanks for implementing.

Also documented the authentication and performance consideration in the Wiki https://github.com/kenakamu/UCWA2.0-CS/wiki/Performance-Considerations

Our 9970 unit tests went from 16 minutes on average to 14 minutes, nice improvement!


Fix idempotency bug in importtable

The previous implementation would fail when an interrupted importtable
operation was retried by FATE, as it would not find (already moved)
files in the exported directory. Additionally, this commit also removes
a chatty fs.exists() check.

For reference, the issue is easily simulated if the Accumulo master process is killed when imporrtable is running. Subsequently when master is restarted, FATE calls into the MoveExportedFiles code and then errors out:
[shell.Shell] ERROR: org.apache.accumulo.core.client.AccumuloException: File referenced by exported table does not exists A0000k8u.rf

Merged into master in commit 84d5b995302c8774c6e9024612aff7495dd73727.  There was a simple merge conflict that I resolved.


Source-Code for Module CoreSDK not included/not available

I'm missing the sources for the Module CoreSDK which produce  aws-gamelift-authentication., aws-gamelift-core. and aws-gamelift-profiles.* Can you please include them in the Repo, Thank you very much!!!

+1 to this. I was using cognito in my project and I had to compile it myself because of the custom memory manager. Now it is just not working. If I try to use this project and replace the libraries for a newer one, I am having linking issues. Having the code of CoreSDK will be helpful, but I am open to consider playfab given that amazon has not been actively working on this

Thanks for your request, we've opened a feature request from your message!


Glowing text format updated!

sir, may I know why did you delete the pr?

What are those files? please don't spam PR.


Package management: Publishing NuGet Packages

Issue tracking new topic at http://dotnet.github.io/docs/packaging/publishing-nuget-packages.html

This may be the same as #298 .

Closing this issue, will use #306 to track the overall NuGet doc mentioned in #306.


UI refreshing on collection update

Hey, I'm new to Meteor but I managed to set up houston:admin in a little app.
My collection gets updated once every second.
The problem is the admin interface refreshes itself every second too since it loads the new data.
Navigating through data sets is impossible!
I don't want to see the data every second. It would be GREAT if I just can refresh manually.
EDIT: The site doesn't refresh anymore.. I didn't change anything but it works. Now the problem is, that when I want to edit something like the money the user has, and it gets updated the next second, my value gets replaced by the old value and I can't press Save in that short amount of time.
EDIT2: Okay, the site refreshes every second again.

Okay, I rebuilt my app from scratch and the problem is gone! I thought this would be a problem from houston admin because the app is VERY simple... lol..


chore: bdd-nh-1585701958 to 0.0.1

chore: Promote bdd-nh-1585701958 to version 0.0.1

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
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

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


fix for the incorrect scaling

now all enlargement animations can be controlled from .card class

Sorry I missunderstood the issue

No problem.
anyways, Thanks for stopping by.
We'll make sure to maintain a well-documented bug list in the issues section going forward for better understanding.
best regards
Afsar


Add Wireshark dissector

To better understand the protocol I wrote a simple  Wireshark dissector to detect and parse UDX packets. To use it simply move the file into the Wireshark plugin folder. After restarting Wireshark or pressing Ctrl-Shift-L to reload the plugins UDX packets should be detected and parsed.


not working at phone

hi !
set all options to default, require scripts from cdn servers, used 1st example from "get started"
but not working at phone :c

Hi, it's impossible to help with as few information as you have provided.
Which phone? Which android version? How does you project look like? Using within any frontend framework? Using Webpack/Babel/...? Please provide as much information as possible. I'm able to run the 1st example with no problem so my guess is there's something wrong with your project structure.
Thanks


fix: Making it work on Windows as well.

Adds upon already merged solution to close Fix #504

@Ortega-Dan You can try the fix I did and test on windows 10 with go1.16 for CA and SA triggers. VSIX can be downloaded from https://github.com/fabric8-analytics/fabric8-analytics-vscode-extension/suites/2551204481/artifacts/55463345, this changes were done under PR https://github.com/fabric8-analytics/fabric8-analytics-vscode-extension/pull/511.

@Ortega-Dan You can try the fix I did and tested on windows 10 with go1.16 for component and stack analysis. VSIX can be downloaded from https://github.com/fabric8-analytics/fabric8-analytics-vscode-extension/suites/2551204481/artifacts/55463345, this changes were done under PR #511, which is under review.

Good I just confirm vulnerability analysis works on both Windows and Ubuntu Linux. Thanks.


Social login doesn't work anymore

Goals
Continue logging in with Facebook and Google
Expected Results
Login with Facebook and Google works
Actual Results
Error (same for Facebook and Google):
Error Domain=io.realm.sync.auth Code=601 "Your request parameters did not validate. provider: Invalid parameter 'provider'!;" UserInfo={NSLocalizedDescription=Your request parameters did not validate. provider: Invalid parameter 'provider'!;}

Code Sample
// Facebook:
let credentials = SyncCredentials.facebook(token: token)
SyncUser.logIn(with: credentials, server: https://gr.us1.cloud.realm.io)

// Google:
let credentials = SyncCredentials.google(token: token)
SyncUser.logIn(with: credentials, server: https://gr.us1.cloud.realm.io)

Version of Realm and Tooling
ProductName:	Mac OS X
ProductVersion:	10.14.3
BuildVersion:	18D109
/Applications/Xcode.app/Contents/Developer
Xcode 10.1
Build version 10B61
/usr/local/bin/pod
1.6.0
Realm (3.13.1)
RealmSwift (3.13.1)
RealmSwift (~> 3.13.1)
/bin/bash
GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin18)
(not in use here)
/usr/local/bin/git
git version 2.19.2
Notes:

It happened on 3.7.5 as well
A few months ago both Facebook and Google login were working. I don't know if this was caused by a Realm version upgrade (e.g. from an older version to 3.7.5, or another older version) or not.
I reviewed the Facebook console configuration and re-generated the Google login id, no changes.

The Facebook and Google providers have never been enabled on Realm Cloud. Perhaps you were self-hosting ROS previously?

Oh, right, probably it stopped working since I moved to Realm Cloud. So it's not possible to use social login with it? When will it be?

We have generally steered customers toward using JWT auth as that is much more flexible than social login - e.g. you can host a lambda/azure function that accepts the social credentials, validates them against the provider of your choice, then signs a JWT that is then validated by ROS.

Honestly, I don't have time to host anything... This is why I'm using Realm Cloud... Is it unrealistic to ask  for this kind of functionality to be provided out of the box? If yes, is there at least a tutorial somewhere to get the complete flow working?

You do realize that it is misleading to have methods in the client SDK to login with Facebook and Google which don't work when using Realm Cloud, right?

@i-schuetz : You do have a point.
We intend to roll out Google/Facebook auth methods for the Cloud as well, though this might take till summer (since we need to do some pre-work).

Hi there, we recommend users migrate to our v10 MongoDB Realm beta, as the above functionality is now deprecated.


Move files to new more visible location

On Orbit start move captures and presets from the old
location to the new one. From now on we save presets
and capture files in %HOME%/Documents/Google/Orbit

Test: Start orbit - see that it moved files to new location
Bug: http://b/159605581

first commit is not what it should look like - working on it.

this is ready for review - ptal.

Our AppData folder is called "OrbitProfiler". While this is not really visible to users, I feel that the naming should be consistent. I also think the extra "Google" folder is just extra complication for users. So, I'd suggest that we save files in %HOME%/Documents/OrbitProfiler

Our AppData folder is called "OrbitProfiler". While this is not really visible to users, I feel that the naming should be consistent. I also think the extra "Google" folder is just extra complication for users. So, I'd suggest that we save files in %HOME%/Documents/OrbitProfiler

I think orbitprofiler is there from before we renamed the project from "ORBIT Profiler" to "Orbit".

I think orbitprofiler is there from before we renamed the project from "ORBIT Profiler" to "Orbit".

Then maybe just "Orbit" directly under Documents?

I think orbitprofiler is there from before we renamed the project from "ORBIT Profiler" to "Orbit".

Then maybe just "Orbit" directly under Documents?

done.


move node-sass to peerDependencies?

Hi, as node-sass currently have some issue with pre-build binaries, I'm wondering that if you have plan to move node-sass to peerDependencies instead of dependencies?
This will allow client to override custom node-sass version without fork the sass-loader project. Just specify "node-sass": "1.0.3" in their package.json and it will load the desired version of node-sass.

I think we should move it to the peerDependencies. There is a greater benefit for most developers to specify the sass version directly (see recent pull-requests and issues regarding node-sass v2).
Now that peerDependencies will not be deprecated.

yes

done()


PG 10.0 - PG::UndefinedFunction - pg_xlog_location_diff & pg_current_xlog_insert_location

Starting with postgres 10.0, xlog was renamed to wal and all related functions got renamed as well. Also, looks like location got changed to lsn (ref).
This causes 3 more (in addition to https://github.com/ManageIQ/manageiq/issues/13200) failures...
  1) PglogicalSubscription#backlog returns the correct value
     Failure/Error: select_value("SELECT pg_xlog_location_diff(#{quote(lsn1)}, #{quote(lsn2)})").to_i

     ActiveRecord::StatementInvalid:
       PG::UndefinedFunction: ERROR:  function pg_xlog_location_diff(unknown, unknown) does not exist
       LINE 1: SELECT pg_xlog_location_diff('0/42108F8', '0/420D9A0')
                      ^
       HINT:  No function matches the given name and argument types. You might need to add explicit type casts.
       : SELECT pg_xlog_location_diff('0/42108F8', '0/420D9A0')
     # ./lib/extensions/ar_adapter/ar_dba.rb:19:in `xlog_location_diff'
     # ./app/models/pglogical_subscription.rb:105:in `backlog'
     # ./spec/models/pglogical_subscription_spec.rb:422:in `block (3 levels) in <top (required)>'
     # ------------------
     # --- Caused by: ---
     # PG::UndefinedFunction:
     #   ERROR:  function pg_xlog_location_diff(unknown, unknown) does not exist
     #   LINE 1: SELECT pg_xlog_location_diff('0/42108F8', '0/420D9A0')
     #                  ^
     #   HINT:  No function matches the given name and argument types. You might need to add explicit type casts.
     #   ./lib/extensions/ar_adapter/ar_dba.rb:19:in `xlog_location_diff'

  2) ar_dba extension #xlog_location returns a valid lsn
     Failure/Error: select_value("SELECT pg_current_xlog_insert_location()")

     ActiveRecord::StatementInvalid:
       PG::UndefinedFunction: ERROR:  function pg_current_xlog_insert_location() does not exist
       LINE 1: SELECT pg_current_xlog_insert_location()
                      ^
       HINT:  No function matches the given name and argument types. You might need to add explicit type casts.
       : SELECT pg_current_xlog_insert_location()
     # ./lib/extensions/ar_adapter/ar_dba.rb:15:in `xlog_location'
     # ./spec/lib/extensions/ar_dba_spec.rb:6:in `block (3 levels) in <top (required)>'
     # ------------------
     # --- Caused by: ---
     # PG::UndefinedFunction:
     #   ERROR:  function pg_current_xlog_insert_location() does not exist
     #   LINE 1: SELECT pg_current_xlog_insert_location()
     #                  ^
     #   HINT:  No function matches the given name and argument types. You might need to add explicit type casts.
     #   ./lib/extensions/ar_adapter/ar_dba.rb:15:in `xlog_location'

  3) ar_dba extension #xlog_location_diff returns the correct xlog difference
     Failure/Error: select_value("SELECT pg_xlog_location_diff(#{quote(lsn1)}, #{quote(lsn2)})").to_i

     ActiveRecord::StatementInvalid:
       PG::UndefinedFunction: ERROR:  function pg_xlog_location_diff(unknown, unknown) does not exist
       LINE 1: SELECT pg_xlog_location_diff('18/72F84A48', '18/72F615B8')
                      ^
       HINT:  No function matches the given name and argument types. You might need to add explicit type casts.
       : SELECT pg_xlog_location_diff('18/72F84A48', '18/72F615B8')
     # ./lib/extensions/ar_adapter/ar_dba.rb:19:in `xlog_location_diff'
     # ./spec/lib/extensions/ar_dba_spec.rb:12:in `block (3 levels) in <top (required)>'
     # ------------------
     # --- Caused by: ---
     # PG::UndefinedFunction:
     #   ERROR:  function pg_xlog_location_diff(unknown, unknown) does not exist
     #   LINE 1: SELECT pg_xlog_location_diff('18/72F84A48', '18/72F615B8')
     #                  ^
     #   HINT:  No function matches the given name and argument types. You might need to add explicit type casts.
     #   ./lib/extensions/ar_adapter/ar_dba.rb:19:in `xlog_location_diff'

Finished in 12 minutes 19 seconds (files took 34.74 seconds to load)
1922 examples, 3 failures, 1 pending

Failed examples:

rspec ./spec/models/pglogical_subscription_spec.rb:418 # PglogicalSubscription#backlog returns the correct value
rspec ./spec/lib/extensions/ar_dba_spec.rb:5 # ar_dba extension #xlog_location returns a valid lsn
rspec ./spec/lib/extensions/ar_dba_spec.rb:11 # ar_dba extension #xlog_location_diff returns the correct xlog difference

Looks like just a rename..

pg_xlog_location_diff -> pg_wal_lsn_diff
pg_current_xlog_insert_location -> pg_current_wal_insert_lsn

diff --git a/lib/extensions/ar_adapter/ar_dba.rb b/lib/extensions/ar_adapter/ar_dba.rb
index c1db88cd77..42729b4d9d 100644
--- a/lib/extensions/ar_adapter/ar_dba.rb
+++ b/lib/extensions/ar_adapter/ar_dba.rb
@@ -12,11 +12,11 @@ ActiveRecord::ConnectionAdapters::PostgreSQLAdapter.class_eval do
   end

   def xlog_location
-    select_value("SELECT pg_current_xlog_insert_location()")
+    select_value("SELECT pg_current_wal_insert_lsn()")
   end

   def xlog_location_diff(lsn1, lsn2)
-    select_value("SELECT pg_xlog_location_diff(#{quote(lsn1)}, #{quote(lsn2)})").to_i
+    select_value("SELECT pg_wal_lsn_diff(#{quote(lsn1)}, #{quote(lsn2)})").to_i
   end

   def client_connections

seems to fix it, but there's also https://github.com/ManageIQ/pg-pglogical/blob/master/lib/pg/pglogical/client.rb#L50-L64, and I guess compatibility concerns..
But as with 9.6, most of the UI is unaffected.

@miq-bot add_label bug, postgres10.0
(except it doesn't exist)

keepalive... @miq-bot remove_label stale


Create structure for storing records on disk

Split the storage on files per 100Kb
Marking, changes were made in specific file
Indexing file on first, which it contains
Create map fom files and first index, which their contains, for possibility fast search the necessary part of the collection
Where call 'flush', rewriting only files, which contains changes
Key of map record must be equally name of file


No longer working?

@Jaffa
Does this solution still work?  I installed the requred libraries: Requests and Beautiful Soup on Python 2.7 and used the most basic script (code below).  However, I keep getting the below errors when executing.  Is there anything more that I have to do to get it to work correctly?  I have an amazon unlimited account in United States.  PS:  I need to do this under Python 2.7.  Hopefully this project hasn't been abandoned.
Traceback (most recent call last):
File "c:/Users/Michael/OneDrive/Dev/Projects/Python/test-amazonmusic.py", line 12, in
am = AmazonMusic(credentials=['amazonusername', 'password'])
File "c:\Users\Michael\OneDrive\Dev\Projects\Python\amazonmusic.py", line 107, in init
app_config = json.loads(re.sub(r'^[^{]*', '', re.sub(r';$', '', line)))
File "C:\Users\Michael\AppData\Local\Programs\Python\python27\lib\json_init_.py", line 339, in loads
return _default_decoder.decode(s)
File "C:\Users\Michael\AppData\Local\Programs\Python\python27\lib\json\decoder.py", line 364, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "C:\Users\Michael\AppData\Local\Programs\Python\python27\lib\json\decoder.py", line 382, in raw_decode
raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded
from amazonmusic import AmazonMusic
import os

am = AmazonMusic(credentials=[myamazonemailaddress', 'mypassword'])

station = am.create_station('MICHAEL JACKSON')
print('Playing station {0}...'.format(station.name))

for t in station.tracks:
    print('Playing {0} by {1} from {2} [{3}]...'.format(t.name, t.artist, t.album, t.albumArtist))
    os.system('cvlc --play-and-exit "{0}"'.format(t.getUrl()))

The html changed a bit.
Change the if statement from
            for line in r.iter_lines(decode_unicode=True):
                if 'amznMusic.appConfig = ' in line:

to
            for line in r.iter_lines(decode_unicode=True):
                if 'var applicationContextConfiguration =' in line:

https://github.com/Jaffa/amazon-music/blob/master/amazonmusic.py#L106


Home page redesign

@Ayan-thecodeking I and @ghulamyazdani will be working on this issue and will design the homepage according to illustration.

@Ayan-thecodeking I and @ghulamyazdani will be working on this issue and will design the homepage according to illustration.

ya sure bro go ahead
@AKSHATNEMA

illustrations are updated @AKSHATNEMA  check in assests

@ghulamyazdani let me know about the updates


⚠ Bofrost.be has degraded performance

In b776c8d, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1019 ms

Resolved: Bofrost.be performance has improved in 79c016f.


Fix typing for: Remove overlayBackground and add overlayStyle to TS typing and propTypes

The commits changed the props, but didn't change the propTypes or the TS typing.
https://github.com/bodyflex/react-native-simple-modal/pull/43.

@SuhairZain thanks for the fix! we desperately need tests for the component...


Update package.json

Fixes issue #249

@prazdevs May you look at the merge request please ? I can't use the library without this approval..


Fix ElasticSearch search pagination

Depends on #65
Use searchAfter with PIT
https://www.elastic.co/guide/en/elasticsearch/reference/7.17/paginate-search-results.html#search-after

fixed in #83


[red-knot] Migrate CLI to Salsa

Summary
This PR mainly deletes code that is now in one of the downstream crates or has been replaced by Salsa.
What's missing
The program currently panics when Salsa cancels a pending query. I reached out in the Salsa zulip to learn out how to use Cancelled::catch correctly.
What I removed
I removed the code for scheduling dependencies. Mainly because I'm not sure if it still makes sense to do so:

The main benefit is that we can load and parse dependencies concurrently. We may still want to do that
I don't think it makes sense with the new definition-level inference to eagerly schedule type checking of third-party dependencies. We otherwise end up inferring more types than we have to (let's say you only import a single symbol from a dependency, it then doesn't make sense to type the entire file and all it's dependencies, although we might have to)
I think we want to check all workspace files concurrently, but the current CLI only supports a single file.

The main downside of not scheduling dependencies anymore is if the user only passes exactly one input file. Ruff might then infer the types of all third-party dependencies and the stdlib on a single thread. This doesn't sound ideal.
We should revisit the scheduling when working on workspace support.
Test Plan
[crates/red_knot/src/main.rs:173:21] diagnostics = [
    "Unresolved import 'Base1'",
    "Method A.foo is decorated with `typing.override` but does not override any base class method",
]

Some clippy complaints to address before landing.


Limit bucket name to 63 chars

As per S3 specs, buckets cannot be more than 63 characters long

@shmick Thank you for the contribution!
Our positions is that we should not alter the behaviour because it will introduce the new problems and provide no guarantees of unique resource names. We should not mask issues.


feature: custom MY_DB_Result driver

https://github.com/bcit-ci/CodeIgniter/blob/18718545e0faa98d62df3f65d045d84494ec29ca/system/database/DB_driver.php#L687

The result classes are part of each driver's own implementation. Why would you want to do this?

to aditional functionality like 2 dimensional arrays: array[table][field] for mysql https://github.com/9glt/php-codeigniter-skel/blob/master/application/core/MY_DB_mysqli_result.php

to aditional functionality like 2 dimensional arrays: array[table][field] for mysql https://github.com/9glt/php-codeigniter-skel/blob/master/application/core/MY_DB_mysqli_result.php


Add Username/Password to URL

Needed to allow auth for TURN

Codecov Report

Merging #54 into master will increase coverage by 0.33%.
The diff coverage is n/a.

@@            Coverage Diff            @@
##           master     #54      +/-   ##
=========================================
+ Coverage   75.37%   75.7%   +0.33%
=========================================
  Files          20      20
  Lines        1202    1202
=========================================
+ Hits          906     910       +4
+ Misses        237     234       -3
+ Partials       59      58       -1

Impacted Files
Coverage Δ

url.go
96.49% <ø> (ø)
:arrow_up:

agent.go
79.33% <0%> (+0.55%)
:arrow_up:

candidate_base.go
89.71% <0%> (+1.86%)
:arrow_up:

Continue to review full report at Codecov.

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


displacement sphere code is removed.

Hi,
I saw your post ray tracing a sphere with displacement mapping, but cannot find the math_displace_sphere sample in this repo.
Could you please modify the answer and add the correct link?

For now I have restored the math_displace_sphere folder in the just_math repository:
https://github.com/ramakarl/just_math/tree/main/math_displace_sphere
This might be moved to a separate repo in the future.
-R


Update to Vagrant 1.7.4

Vagrant 1.7.4 with support fo VirtualBox 5 is out for a while now
This PR:

updates to Vagrant 1.7.4
updates patches so they are aligned with the 1.7.4 codebase

@carstenkind you might like this :-)


Package Errors

Hey yall, I properly imported the packages, but for some reason I keep getting the following errors. Any suggestions?
Im running the following code:
from pygooglenews import GoogleNews
import json
import time

gn = GoogleNews()
top = gn.top_news()

entries = top["entries"]
count = 0
for entry in entries:
  count = count + 1
  print(
    str(count) + ". " + entry["title"] + entry["published"]
  )
  time.sleep(0.25)

I just installed the feedparser package (pip3 install feedparser --upgrade) and it worked, but it gave the following message after installation:

ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behavior is the source of the following dependency conflicts.
pygooglenews 0.1.2 requires feedparser<6.0.0,>=5.2.1, but you have feedparser 6.0.10 which is incompatible.

So use your discretion, pygooglenews works after that anyway

I am using Poetry as my Environment manager, so when I do this..
(news-test-project-py3.11) PS C:\Users\rezam\codespace\news-test-project> poetry add pygooglenews
Using version ^0.1.2 for pygooglenews

Updating dependencies
Resolving dependencies...

Writing lock file

Package operations: 9 installs, 0 updates, 0 removals

  • Installing tzdata (2023.3)
  • Installing pytz (2023.3.post1)
  • Installing regex (2023.10.3)
  • Installing soupsieve (2.5)
  • Installing tzlocal (5.1)
  • Installing beautifulsoup4 (4.12.2)
  • Installing dateparser (0.7.6)
  • Installing feedparser (5.2.1)

  ChefBuildError

  Backend subprocess exited when trying to invoke get_requires_for_build_wheel

  error in feedparser setup command: use_2to3 is invalid.

  at ~\.local\pipx\venvs\poetry\Lib\site-packages\poetry\installation\chef.py:152 in _prepare
      148│
      149│                 error = ChefBuildError("\n\n".join(message_parts))
      150│
      151│             if error is not None:
    → 152│                 raise error from None
      153│
      154│             return path
      155│
      156│     def _prepare_sdist(self, archive: Path, destination: Path | None = None) -> Path:

Note: This error originates from the build backend, and is likely not a problem with poetry but with feedparser (5.2.1) not supporting PEP 517 builds. You can verify this by running 'pip wheel --use-pep517 "feedparser (==5.2.1)"'.

Finally I tried @JackDance 's solution and that works. But it would be nice to have the updated version of setuptools and feedparser


can this explain what the register web component does

What is missing from the application? Please describe.
can this explain what the register web component does?
Describe the solution you'd like
Addition to the README and short explanation in the yo prompts.  What's different if I say yes vs. no and why would I want to do one or the other?
Describe alternatives you've considered
long explanation in yo?
Additional context
Add any other context or screenshots about the feature request here.

It’ll be soon obsolete. It was an addition by KV.
Waiting for @caridy to merge this PR in.
https://github.com/salesforce/lwc/pull/1395

We are still bikeshedding on the name, but I plan to push for a consensus soon, and merge the PR.

Removing the UI option for now. It will be a breaking change anyway till the implementation lands.

The bikeshedding is now complete. We have chosen MyComponent.CustomElementConstructor, and @jodarove is cleaning up the RFC and the implementation, should land soon.