Remove foxtail references

Thank you for the catch.  Can you please clean the other Foxtail references as well?
I suggest to delete the Foxtail paragraph here -
https://github.com/quantumlib/Cirq/blob/3ac3c30d0db92152a25ef2cf528454f561f4bf16/docs/google/devices.md?plain=1#L336-L340
and substitute Sycamore at
https://github.com/quantumlib/Cirq/blob/3ac3c30d0db92152a25ef2cf528454f561f4bf16/docs/dev/development.md?plain=1#L418

Thank you for the catch. Can you please clean the other Foxtail references as well?
I suggest to delete the Foxtail paragraph here -
https://github.com/quantumlib/Cirq/blob/3ac3c30d0db92152a25ef2cf528454f561f4bf16/docs/google/devices.md?plain=1#L336-L340
and substitute Sycamore at
https://github.com/quantumlib/Cirq/blob/3ac3c30d0db92152a25ef2cf528454f561f4bf16/docs/dev/development.md?plain=1#L418

Sure @pavoljuhas , I have updated the PR, please let me know if anything need to update.


1.20.1？

Do U update this mod?

Well nothing has been said  after a little more than a year after I put in an issue of my own so my thoughts are that this is abandoned. I hope you get in touch with the modder in question.


Disable forced Clang compiler mode on FreeBSD/PowerPC

Thank your for contributing to Nuitka!
!! Please check that you select the develop branch (details see below link) !!
Before submitting a PR, please review the guidelines:
https://github.com/kayhayen/Nuitka/blob/master/CONTRIBUTING.md
What does this PR do?
Disable forced Clang compiler mode on FreeBSD/PowerPC
Why was it initiated? Any relevant Issues?
We (FreeBSD) still use GCC on PowerPC architecture.
This is a local patch from FreeBSD ports repository.
PR Checklist

[ ] Correct base branch selected? develop for new features and bug fixes too. If it's
part of a hotfix, it will be moved to master during it.
[ ] All tests still pass. Check the developer manual about Running the Tests. There
are Travis tests that cover the most important things however, and you are
welcome to rely on those, but they might not cover enough.
[ ] Ideally new features or fixed regressions ought to be covered via new tests.
[ ] Ideally new or changed features have documentation updates.

Still in love with FreeBSD, very welcome sight. I would gladly make it so that the ports patch can become empty. I was under the impression all of FreeBSD went Clang, but apparently not so, so this is of course needed.


Fullscreen xwayland applications break special workspace focus

Hyprland Version
Hyprland, built from branch  at commit v0.27.0  ().
Bug or Regression?
Bug
Description
When clicking on a window in a special workspace, the fullscreen xwayland window behind it gets focused instead.
How to reproduce

Open a wine application such as the editor in osu!
Open a special workspace
Try to click on something in the special workspace

Crash reports, logs, images, videos
hyprland.conf

any updates?

On v0.41.2 but windows in a special workspace no longer get focused when an xwayland window is behind it.

Can't repro on the latest git, using steam as xwayland app.

@ 118be4dea048df88fd21b84580fe62950c868c8f
In my case, this occurs when a Proton game that grabs the cursor is fullscreen in the background and the cursor moves over the game from the special workspace window. It doesn't happen with any XWayland window in fullscreen. Once I lose focus, I have to reopen the special workspace to regain it, but I can still click on that window if it already has focus.
The exact steps were:

Open Steam tiled in a special workspace
Open Elden Ring through Steam, fullscreen in a named workspace via rule
Toggle special workspace open, cursor and focus is on the Steam window
Move cursor over the game window
Observe the cursor becoming grabbed by the game window
a. With input:special_fallthrough=false, the special workspace also closes
Move cursor over the Steam window
Observe focus not returning to the Steam window
a. While the game is first launching, focus switches without issue as the cursor isn't grabbed yet
b. Also cannot switch focus to the special workspace with a cyclenext bind

also experiencing this with proton-based games
this is causing many frustrations with a special workspace that switches into another keymap while active, as it causes it to stay in said keymap (perhaps this could be a feature request for workspace rule to switch into a specific keymap when entering as well)

experiencing this with pretty much everything at this point, it seems like most things break with fullscreen, whether it be obsidian, alacritty, thunar, firefox, etc...


Export essential modules for custom player API implementations

Have you read the FAQ and checked for duplicate open issues?
Yes
Is your feature request related to a problem? Please describe.

I have been looking into implementing custom player API (without having to build an adapter on top of the current one) using the Shaka libraries. However, in my investigation, I noticed that certain key components such as the Streaming/Media source/DRM engine, playhead and couple more, are not currently exported to the consumer. I believe it would be beneficial to make these components accessible to enable the aforementioned use case (or e.g. standalone use of the Streaming engine for embedded use cases).
Describe the solution you'd like

Export all key components needed to build a custom player API from scratch.
Describe alternatives you've considered

I've considered manually exporting needed component or implement a different player API from within the shaka code base. But either way I will end up with custom shaka library build which I want to avoid.
Additional context

A lot of components are actually already exported e.g. manifest parsers, networking engine, text related modules, utilities.

Is anyone interested in seeing this implemented (other than the issue reporter)? Otherwise the issue will be closed in 7 days.

@avelad I'm interested in this. Other topics I've kept me busy in the meantime but I will probably have capacity to do this around mid of May if that's ok.


Update confirmation dialog

Addresses issue #198 , partial #197

update the patternfly version to get updates to modal
made updates to ConfirmationDialog, allows dialog to choose the correct title icon based upon the type
change dialog title to sentence case per UX request
minor update to readme to specify node version requirement
add styling to kafka connect selector

Closing this PR - will resubmit


OLS 0.2.0 version update

Description
OLS 0.2.0 version update
Type of change

[ ] Refactor
[ ] New feature
[ ] Bug fix
[ ] CVE fix
[ ] Optimization
[ ] Documentation Update
[x] Configuration Update
[ ] Bump-up dependent library

Related Tickets & Documents

Related Issue # https://issues.redhat.com/browse/OLS-1083
Closes #

Checklist before requesting a review

[x] I have performed a self-review of my code.
[ ] PR has passed all pre-merge test jobs.
[ ] If it is a core feature, I have added thorough tests.

Testing

Please provide detailed steps to perform tests related to this code change.
How were the fix/results from this change verified? Please provide relevant screenshots or results.

@syedriko We have to update the preview to alpha in all our references to channel .

/lgtm
/approve

/retest

/retest

/retest

/override "Red Hat Konflux / ols-enterprise-contract / test-bundle"
/override "Red Hat Konflux / ols-enterprise-contract / pr group syedriko-ols-release-0.2.0"
/override "Red Hat Konflux / ols-enterprise-contract / lightspeed-operator"
/override "Red Hat Konflux / ols-enterprise-contract / bundle"
/override "Red Hat Konflux / ols-e2e-tests-415 / test-bundle"


typo

typo in: https://github.com/kartikk221/live-directory/blob/6ff9fe2a0f7e570240edda8d1b487155ddfc1e6c/types/components/LiveDirectory.d.ts#L39
should be destroy

Good catch, do you want to make a PR or should I fix and push a new version?

like this https://github.com/kartikk221/live-directory/pull/11 ?


Add starting project files

There is not a huge portion of this PR that should require a thorough review, as many files are IDE configuration files. Of interest are the GitHub actions, ExampleMain class, contributing documentation, and new Maven pom.xml.
Additionally, I have tested the functionality of this starter project in the Eclipse, IntelliJ, and VS Code IDEs.

@it-hms There was nothing extra really required to add support for JUnit testing to this example project as well. Although it's an older version of JUnit (3.8.1), I have run a few example tests and ran into no issues.
In addition to actually adding support for JUnit testing to this project, I added a corresponding GitHub action that will automatically run JUnit testing.

All Changes look good.


Services should not create their own firewall rules

Fallout from https://github.com/GoogleCloudPlatform/kubernetes/issues/3579#issuecomment-70707833 and #3601: It would be nice if services could create their own firewalls rules. This is the last remaining wart on #3601 that prevents all the "add on objects" from just getting created by the master after cluster creation.
cc @cjcullen

@thockin

I am torn on this one.  I am not actually convinced that we should be
opening firewall rules at all.  I understand this becomes "friction", but
tat the same time, it is a liability that we're opting users into.  I want
to fall on the side of caution.
@vishh @satnam6502 - what if we didn't open firewall rules by default, but
just printed a link or instructions or something?
On Tue, Jan 20, 2015 at 10:57 AM, Eric Tune<EMAIL_ADDRESS>wrote:

@thockin https://github.com/thockin
--
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/kubernetes/issues/3636#issuecomment-70710593
.

We would have to print different instructions for each provider, right?
Sure, we could print the instructions or even generate a script that the user could run or modify and run.
Not such a great out of the box experience, but perhaps the least worst option right now.

Also, note that right now the cluster level logging prints out a URL for the log information that can be accessed by anyone (it is not username/password protected like the monitoring dashboard). This is a temporary measure while the service proxy route is worked out / implemented but we should be aware of the issues this poses.

I am just concerned that a bug or 'sploit in one of these services would be
really bad, especially if the user did not realize it was exposed.
On Tue, Jan 20, 2015 at 11:44 AM, Satnam Singh<EMAIL_ADDRESS>wrote:

We would have to print different instructions for each provider, right?
Sure, we could print the instructions or even generate a script that the
user could run or modify and run.
Not such a great out of the box experience, but perhaps the least worst
option right now.
--
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/kubernetes/issues/3636#issuecomment-70719018
.

It's already bad. :/ The master has the scopes to do it today, there's not
a whole lot stopping a dedicated attacker. Is your argument that you're
giving them a faster playbook?
On Tue, Jan 20, 2015 at 11:48 AM, Tim Hockin<EMAIL_ADDRESS>wrote:

I am just concerned that a bug or 'sploit in one of these services would be
really bad, especially if the user did not realize it was exposed.
On Tue, Jan 20, 2015 at 11:44 AM, Satnam Singh<EMAIL_ADDRESS>wrote:

We would have to print different instructions for each provider, right?
Sure, we could print the instructions or even generate a script that the
user could run or modify and run.
Not such a great out of the box experience, but perhaps the least worst
option right now.
--
Reply to this email directly or view it on GitHub
<
https://github.com/GoogleCloudPlatform/kubernetes/issues/3636#issuecomment-70719018

.

—
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/kubernetes/issues/3636#issuecomment-70719672
.

Oh, sorry. In one of the exposed services, not an attack on the master
itself.
On Tue, Jan 20, 2015 at 11:54 AM, Zachary Loafman<EMAIL_ADDRESS>wrote:

It's already bad. :/ The master has the scopes to do it today, there's not
a whole lot stopping a dedicated attacker. Is your argument that you're
giving them a faster playbook?
On Tue, Jan 20, 2015 at 11:48 AM, Tim Hockin<EMAIL_ADDRESS>wrote:

I am just concerned that a bug or 'sploit in one of these services would
be
really bad, especially if the user did not realize it was exposed.
On Tue, Jan 20, 2015 at 11:44 AM, Satnam Singh<EMAIL_ADDRESS>wrote:

We would have to print different instructions for each provider, right?
Sure, we could print the instructions or even generate a script that the
user could run or modify and run.
Not such a great out of the box experience, but perhaps the least worst
option right now.
--
Reply to this email directly or view it on GitHub
<
https://github.com/GoogleCloudPlatform/kubernetes/issues/3636#issuecomment-70719018

.

—
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/kubernetes/issues/3636#issuecomment-70719672
.

@thockin: In the case of monitoring a firewall rule would not be necessary if the apiserver proxy were to be working for Grafana. What is our long term answer to user facing applications?

Long term it needs to be relatively simple, but I don't know how far
outside the kubernetes cluster boundary we want to reach.  Firewall is
pretty far outside.
On Tue, Jan 20, 2015 at 2:41 PM, Vish Kannan<EMAIL_ADDRESS>wrote:

@thockin https://github.com/thockin: In the case of monitoring a
firewall rule would not be necessary if the apiserver proxy were to be
working for Grafana. What is our long term answer to user facing
applications?
--
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/kubernetes/issues/3636#issuecomment-70749549
.

If I don't have an external load balancer, and I just want to expose a service to the internet, should I be able to do that?  If so, won't I need to add a firewall rule for that?  How is a firewall rule a different security story than automatically creating an external load balancer?

+1 to Eric's question. It's actually weird that we do one and not the other.
On Tue, Jan 20, 2015, 16:23 Eric Tune<EMAIL_ADDRESS>wrote:

If I don't have an external load balancer, and I just want to expose a
service to the internet, should I be able to do that? If so, won't I need
to add a firewall rule for that? How is a firewall rule a different
security story than automatically creating an external load balancer?
—
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/kubernetes/issues/3636#issuecomment-70762271
.

I think this is a great case where a specific example would help.  What would it take to use Kubernetes to run a public web server on e.g. GCE or AWS?  If Kubernetes exposes config for load balancers, it would seem odd to exclude required dependencies.

Opening firewall for loadbalancers is one thing.  Opening firewalls for
anything else is suspect, IMO
On Thu, Jan 22, 2015 at 10:28 AM, Alex Mohr<EMAIL_ADDRESS>wrote:

I think this is a great case where a specific example would help. What
would it take to use Kubernetes to run a public web server on e.g. GCE or
AWS? If Kubernetes exposes config for load balancers, it would seem odd to
exclude required dependencies.
--
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/kubernetes/issues/3636#issuecomment-71071539
.

I don't think we should automatically open firewalls unless the user has explicitly asked for external access.
Retargetting this bug to mean "stop doing that" - @vishh @satnam6502 @zmerlynn can we ensue that nobody is doing this?

We automatically open firewalls in kube-up.sh for both monitoring and
logging today. Are you proposing that we claw that back, since it may not
be what the user wants, or that we document the heck out of the fact that
they're opening up service ports, or what?
On Tue, Jan 27, 2015 at 4:32 PM, Tim Hockin<EMAIL_ADDRESS>wrote:

I don't think we should automatically open firewalls unless the user has
explicitly asked for external access.
Retargetting this bug to mean "stop doing that" - @vishh
https://github.com/vishh @satnam6502 https://github.com/satnam6502
@zmerlynn https://github.com/zmerlynn can we ensue that nobody is doing
this?
—
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/kubernetes/issues/3636#issuecomment-71758981
.

So you mean the step in the cluster level logging that sets up a firewall should be removed? From cluster/gce/util.sh:
function setup-logging-firewall {
  # If logging with Fluentd to Elasticsearch is enabled then create pods
  # and services for Elasticsearch (for ingesting logs) and Kibana (for
  # viewing logs).
  if [[ "${ENABLE_NODE_LOGGING-}" != "true" ]] || \
     [[ "${LOGGING_DESTINATION-}" != "elasticsearch" ]] || \
     [[ "${ENABLE_CLUSTER_LOGGING-}" != "true" ]]; then
    return
  fi

  detect-project
  gcloud compute firewall-rules create "${INSTANCE_PREFIX}-fluentd-elasticsearch-logging" --project "${PROJECT}" \
    --allow tcp:5601 tcp:9200 tcp:9300 --target-tags "${MINION_TAG}" --network="${NETWORK}"
}

I am suggesting we stop doing that, and instead print something to the
effect of "you may need to open the firewall for this to be useful".
Argue with me?
On Tue, Jan 27, 2015 at 4:36 PM, Satnam Singh<EMAIL_ADDRESS>wrote:

So you mean the step in the cluster level logging that sets up a firewall
should be removed? From cluster/gce/util.sh:
function setup-logging-firewall {
If logging with Fluentd to Elasticsearch is enabled then create pods
and services for Elasticsearch (for ingesting logs) and Kibana (for
viewing logs).
if [[ "${ENABLE_NODE_LOGGING-}" != "true" ]] ||
[[ "${LOGGING_DESTINATION-}" != "elasticsearch" ]] ||
[[ "${ENABLE_CLUSTER_LOGGING-}" != "true" ]]; then
return
fi
detect-project
gcloud compute firewall-rules create "${INSTANCE_PREFIX}-fluentd-elasticsearch-logging" --project "${PROJECT}"
--allow tcp:5601 tcp:9200 tcp:9300 --target-tags "${MINION_TAG}" --network="${NETWORK}"
}
--
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/kubernetes/issues/3636#issuecomment-71759400
.

Very poor user experience.

+1 to Satnam's comment. How about providing an option to disable opening
firewalls automatically?
On Tue, Jan 27, 2015 at 11:58 PM, Satnam Singh<EMAIL_ADDRESS>wrote:

Very poor user experience.
—
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/kubernetes/issues/3636#issuecomment-71794583
.

Only of the default is closed.  We currently open 6 ports to all minions.  I have no indication of the security of those 6 ports or even what they are for.  This represents a real risk, I think, and I would rather err on the side of caution.
@brendandburns  seemed to be in agreement.  @bgrant0607 or @jbeda or @alex-mohr care to weigh in?  It's a trade-off of friction vs safety.

I actually think that using the master as uber proxy is the right answer
for this.
Don't open firewalls, use the master's auth for security and single point
of access.
On Jan 28, 2015 9:05 AM, "Tim Hockin"<EMAIL_ADDRESS>wrote:

Only of the default is closed. We currently open 6 ports to all minions. I
have no indication of the security of those 6 ports or even what they are
for. This represents a real risk, I think, and I would rather err on the
side of caution.
@brendandburns https://github.com/brendandburns seemed to be in
agreement. @bgrant0607 https://github.com/bgrant0607 or @jbeda
https://github.com/jbeda or @alex-mohr https://github.com/alex-mohr
care to weigh in? It's a trade-off of friction vs safety.
—
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/kubernetes/issues/3636#issuecomment-71872870
.

Yes, that would be great, and I've always viewed the firewall as a temporary solution.

The proxy through the master has never worked for Grafana. +1 for the proxy
being a long term solution.
On Wed, Jan 28, 2015 at 9:15 AM, Satnam Singh<EMAIL_ADDRESS>wrote:

Yes, that would be great, and I've always viewed the firewall as a
temporary solution.
—
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/kubernetes/issues/3636#issuecomment-71874857
.

Needed if proxy is long term solution: #2380

Related:
Expose externally proxied service addresses #2382

Some kind of VPN is probably part of the long-term solution.
I'm fine with using /proxy for cluster add-on services in at least the short/medium term. That would also (theoretically) allow us to enforce namespace-level visibility for the add-ons.
Other third-party services need external IPs.

There seem to be two issues here.  One is that firewall rules and routes are created by kube-up.sh but some think that should be moved into k8s -- I totally agree with that because the current approach isn't amenable to k8s monitoring its dependencies and reporting whether those are healthy, and it doesn't play well with an upgrade story.  Regardless of what we do for logging and monitoring, we'll still have to configure those.  The other is whether we should require default logging and monitoring in particular to use a proxy or whether they can be directly available.
I don't think we need to re-invent auth and firewalls and only allow proxied access to some services as part of core kubernetes.  That's a platform story, not an IaaS story, which means it must be possible for users to directly connect to such things without going via a master proxy.  IMO, we must allow users to configure both intended-to-be-externally-accessible services and loadbalancers to actually be so via k8s, and it's k8s's job to coordinate the underlying infrastructure provider's objects into doing that.
Potentially related: if we want to configure some form of default monitoring and logging, we should use the same facilities available to customer-provided forms of those things.
I still haven't seen a concrete example, so I acknowledge my comments above are philosophy unburdened by reality.  But I suspect that if we take as requirements (a) service Foo must be externally accessible and (b) service Foo can use whatever protocol/auth/transport it wants, we end up with something where there's either a flavor of service or an equivalent-to-bool makeExternallyAddressable: t/f somewhere, which seems both reasonable and expedient to me.

Monitoring setup does not create firewall rules anymore. Monitoring services can now be accessible via the proxy on the api server.
I believe @satnam6502 has done similar changes to logging. I will let him confirm that.

I am closing this issue. Re-open if there is more to this issue in addition to removing firewall configs from kube-* scripts.

Yes, cluster logging now uses the proxy path and does not create ELBs or firewalls.


rope_scaling errors when loading Llama-3.1-8B-Instruct

Hey all. I have a project that's been working well with Llama-3-8B-Instruct, and I figured I'd drop version 3.1 in to take advantage of the larger context window. It throws an exciting new error when trying to load the model:
    model = load_model(model_path, lazy)
File "/opt/homebrew/Caskroom/miniconda/base/lib/python3.10/site-packages/mlx_lm/utils.py", line 322, in load_model
    model_args = model_args_class.from_dict(config)
File "/opt/homebrew/Caskroom/miniconda/base/lib/python3.10/site-packages/mlx_lm/models/base.py", line 9, in from_dict
    return cls(
File "<string>", line 14, in __init__
File "/opt/homebrew/Caskroom/miniconda/base/lib/python3.10/site-packages/mlx_lm/models/llama.py", line 31, in __post_init__
    raise ValueError(f"rope_scaling must contain keys {required_keys}")

ValueError: rope_scaling must contain keys {'type', 'factor'}

This known issues post for vLLM on Llama 3.1 may be relevant:
https://github.com/vllm-project/vllm/issues/6689
type missing from the dictionary may be because HuggingFace apparently renamed that key to rope_type for these models. Just guessing here, but it may also be necessary to implement other rope_scaling type(s here (the mlx codebase suggests only linear is supported and I guess this model may be extended).
Guess I will go back to standard Llama-3-8B-Instruct for now while this gets worked out.

I think you just need to update MLX LM to 0.16.1
If that doesn’t solve your problem let us know

Confirmed that (and updating transformers) fixed it!

@cdrouin - Facing the same issue trying to train a model on a M3 Mac. I just updated MLX LM and still the same snag! When you say "(and updating transformers)" what do you mean? Any pointers?

What version of MLX LM do you use?
python -c "import mlx_lm; print(mlx_lm.__version__)"

Also could you share the error message you got?

I also have the same issue with MLX version 0.16.1 and having updated transformers.

Just to be clear you  need to upgrade MLX LM (not MLX): pip install -U mlx-lm

Just to be clear you need to upgrade MLX LM (not MLX): pip install -U mlx-lm

This worked, thank you so much. So the fix is to update mlx, mlx-lm and transformers.

mlx_lm version - 0.16.1
Full error below:
% python mlx-examples/lora/lora.py --model mlx-community/Meta-Llama-3.1-8B-Instruct-8bit \                        --train \                        --iters 100 \                        --steps-per-eval 10 \                        --val-batches -1 \                        --learning-rate 1e-5 \                        --lora-layers 16 \                        --test None of PyTorch, TensorFlow >= 2.0, or Flax have been found. Models won't be available and only tokenizers, configuration and file/data utilities can be used. Loading pretrained model Fetching 7 files: 100%|███████████████| 7/7 [00:00<00:00, 127100.12it/s] Traceback (most recent call last):   File "...../workspace/mlx-examples/lora/lora.py", line 336, in <module>     model, tokenizer, _ = lora_utils.load(args.model, tokenizer_config)                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   File "...../workspace/mlx-examples/lora/utils.py", line 149, in load     model_args = models.ModelArgs.from_dict(config)                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   File "...../workspace/mlx-examples/lora/models.py", line 40, in from_dict     return cls(            ^^^^   File "<string>", line 14, in __init__   File "...../workspace/mlx-examples/lora/models.py", line 33, in __post_init__     raise ValueError(f"rope_scaling must contain keys {required_keys}") ValueError: rope_scaling must contain keys {'type', 'factor'}
I traced this through a debug run, I spotted that the self.rope_scaling object holds an entry 'rope_type' ='llama3' (line 32 in models.py). I changed this locally to 'type' ='llama3' then I get a different error that's expecting the value 'linear'. Full error for that below:
None of PyTorch, TensorFlow >= 2.0, or Flax have been found. Models won't be available and only tokenizers, configuration and file/data utilities can be used. Loading pretrained model Fetching 7 files: 100%|██████████████████████████████████████████| 7/7 [00:00<00:00, 146070.29it/s] Traceback (most recent call last):   File "...../workspace/mlx-examples/lora/lora.py", line 336, in <module>     model, tokenizer, _ = lora_utils.load(args.model, tokenizer_config)                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   File "...../workspace/mlx-examples/lora/utils.py", line 149, in load     model_args = models.ModelArgs.from_dict(config)                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   File "/workspace/mlx-examples/lora/models.py", line 40, in from_dict     return cls(            ^^^^   File "<string>", line 14, in __init__   File "...../workspace/mlx-examples/lora/models.py", line 36, in __post_init__     raise ValueError("rope_scaling 'type' currently only supports 'linear'") ValueError: rope_scaling 'type' currently only supports 'linear'

For LoRA you should use the MLX LM Lora:
mlx_lm.lora <args here>
Here's the docs
The lora in examples/lora is not actively updated and does not have wide model support.

thanks @awni that sounds good, but just noting that the Main README of this REPO points to the examples/lora so many people will end up there, if it is not actively updated, should there be a clearer warning/docs update?

That's a good point. We should probably make a note in the README about it.

Hi,
Is this repository still maintained? The examples appear to be incompatible with modern MLX. I ended up having to call upstream directly using python -m mlx_lm.lora --help.

Yup it's still maintained. You can use mlx lm for LoRA / token generation.


Add response validator

Hey @lautarodapin @lautarodapin-magoya  thanks for the contribution, Please create documentation or update the readme file for better understanding. Thanks

@omkardarves 👍🏿  oka! still working on this


Uuid -> Leafref at Notifications

All *Notification::objectIdRef attributes will become _objectIdRef attributes generated from shared associations to LTP class in UML. This applies on all notifications.
All *notification::object-id-ref leaf will become leafref to LTP.
Only object-deletion-notification::object-id-ref : leafref will be "require-instance false;"

(copied the comment content from https://github.com/openBackhaul/vlanInterface/issues/7 )
All object-id-ref have been made require-instance false, because there was no way in Papyrus to make the UML2YANG tool to not add this statement.
No impact on the end2end functionality is expected from that.

Solved with IpInterface_1.0.0-tsp.220330.1845.


What is new in F# 4.1?

What to try in Visual Studio 15?

Please see CONTRIBUTING.md before opening issues


gRPC traffic is not mirrored when using the Linkerd service mesh

Bug Description
When debugging a mirrored C# (.Net 8) micro service in Rider, breakpoints for incoming gRPC requests are not hit.
My service listens for HTTP requests on port 8080 and for gRPC requests on port 5000. I see that HTTP handlers are mirrored properly (well, at least the /healthz endpoint which is called periodically by the k8s probe). But the gRPC requests are not. Those gRPC requests actually come into the ingress (Contour/Envoy) as grpc-web requests, which are translated to gRPC by Envoy. Then, Envoy sends a meshed request to my service on port 5000.
Removing the Linkerd proxy from my mirrored pod fixes the issue (my breakpoints are hit)
Steps to Reproduce

Have a Contour ingress, injected with the Linkerd proxy
Have a gRPC service in a pod that is also injected by the Linkerd proxy
Use mirrord to mirror the service's traffic
Make a grpc-web call to the Contour ingress
Observe that the mirrored process doesn't receive the request
Remove the Linkerd proxy from the gRPC service pod
Make a grpc-web call to the Contour ingress
Observe that the mirrored process does receive the request

Backtrace
No response
Relevant Logs
No response
Your operating system and version
macOS 14.4.1 (23E224)
Local process
A C# (.Net 8) process
Local process version
No response
Additional Info
No response

Probably related to #2537

Probably related to #2537

@aviramha I'm not sure it's related, as in my case my service listens on the same interface for port 5000 and 8080

I am pretty sure it is, since in mesh situation we do some kind of special logic, which isn't detected in your case (since it's not classic mesh).


unit tests needed for multi-threaded scenarios

as in the title,
we should also consider, which types to use for the atomic operations
see more on the original redmine issue http://redmine.jamoma.org/issues/1031

dealing with this Jamoma2


Some recurring events appear with incorrect time

This may be Outlook 365-specific, but I have several recurring events whose times are being parsed incorrectly. I have a daily calendar block from 8:00 to 10:00am, which winds up appearing at 9:00am in my note. I also have a weekly call on Fridays at 10:00am that persists in appearing at 9:00am. I thought that latter error might have been due to my having created the event when I was located in Central time (I'm now in Eastern time), but that doesn't explain the first error.
In the event it's relevant, I'm using Templater code to pull events in on daily note creation, like so:
<%*
var events = await app.plugins.getPlugin('ics').getEvents(tp.file.title);
var mdArray = [];
events.sort((a,b) => a.utime - b.utime).forEach((e) => {
  const callUrl = e.callUrl? ` [${e.callType}](${e.callUrl})` : '';
  tR+=`- ${e.time} -- ${e.summary} ${callUrl}\n`
})
%>

Thanks for the bug report. I see some similar issues (#71). To address these, I am simplifying the way I match events (#72). What I've seen during development is that timezones are a pain. ;)
As I type this out I think I should include the timezone in the output to better test my hypothesis that they're the culprit because to your point, some of the issues don't seem to be TZ related.

Time zones are indeed a pain. Can't wait to see what the end of daylight saving time does! :)
I can confirm now that time zones were the culprit on the weekly recurring meeting. I canceled it and rescheduled it and now it pulls in at the right time.
Deleting and recreating the daily event didn't help, unfortunately. I also thought perhaps it might be getting shifted to 9am because Outlook's "work hours" setting has my day start at 9 -- but I changed it to 8 and my 8:00-10:00 still shows up as 9:00-11:00.

@kfitz : I just merged #72 . Would you check to see if that addresses the issue you're seeing? 🤞

Unfortunately, no -- that event is stubbornly appearing at 9am instead of 8am. This is the templater code I'm using:
<%*
var events = await app.plugins.getPlugin('ics').getEvents(tp.file.title);
var mdArray = [];
events.sort((a,b) => a.utime - b.utime).forEach((e) => {
  const callUrl = e.callUrl? ` [${e.callType}](${e.callUrl})` : '';
  tR+=`- ${e.time} -- ${e.summary} ${callUrl}\n`
})
%>

Is there anything I need to change based on the plugin updates?

Is there anything I need to change based on the plugin updates?

No, I do my best to make new release not request the user to do anything other than update.
Can you try adding the date and timezone, so we can see what's going on with this event? time format: YYYY-MM-DD hh:mmaZ for example adds both and may give us what we need if this is indeed a timezone bug.
Thanks!

Hmmm. Using that format produces correct dates, and correct time zones (-04:00), but the time of that one daily event is still incorrect. (I also just noticed that events that have been canceled and removed from my calendar are also being pulled in. Which again makes me suspect an O365 issue.)

Thanks for checking! Please let me know if you see other similar issues. I'll leave this open for now until I get a week of events in without issue (one can hope!)

I've had great luck this week with every event (60?! Yikes) all came in correctly, so I think #72 did the trick.

Sooooo! The clocks changed overnight, and this morning that daily recurring event pulled in at the correct time! The event series in my O365 calendar begins on a day in standard time (UTC-5) and so even though Outlook corrects for daylight saving time (UTC-4) and passes that information appropriately, it's passing the unshifted time. Or something.


Polish the documentation to require less knowledge about Docker to use this

We should write a really polished HOWTO guide with every step required to get docker-zulip up and running, starting with links to how to install a current enough Docker on the Docker docs, a list of the configuration fields in docker-compose.yml that need to be manually updated, etc.

@timabbott yes please! I know docker for the basics, but it's unclear to me if I have to clone the repo or not, since it's required to edit the docker-compose.yml file...
Having clearer instructions would really help!

@gioragutt I just finished the first pass of this; check out the new README.md.  I'd absolutely love it if you tried to follow the new documentation and offered any feedback on how it could be better!

Hey man, thank you so much for your work. I'm super busy for the rest of the day, but I'll definitely try it soon. I really want to get this to work(I want a slack-alternative and I need it to work on-premise), because this will have great value.
I'll let you know as soon as I get to this. Again, thank you for your work, it's really appreciated!


Fix q() parameters in comment about usage

Fixing usage comment providing the client as parameter when doing queries.

Thanks!


Switch to SDK style projects

Also bumps all the projects to the latest language version

wait, whats the difference?

wait, whats the difference?

SDK style project files are easier to read, easier to change, and less likely to have merge conflicts


Phaser renderer floating fading text

The code looks good. I'm concerned about the amount of duplicated code in PhaserFloatingText and PhaserUnit

yes, i am thinking about using PhaserFloatingText inside PhaserUnit.ts

yeah, seeing how they both look typed out. They can be mostly merged. Good to start them separate though.


Add invert_winding for triangle list meshes

Objective
Implements #14547
Solution
Add a function invert_winding for Mesh that inverts the winding for TriangleList.
Testing
Added a test

Not sure if I should/can also implement that for other topologies?
TriangleStrip seems impossible, but maybe I could just reverse the array for LineList and LineStrip?

And your thoughts on inverting on other topology kinds?

@Azorlogh could I get your review here?

LOL you are right. I actually drew that and tried to check yesterday, but weirdly came to the conclusion that the winding wont be different. Need to check if my brain still has warranty and make inverting for strips possible afterwards.

I'm in favor of adding it for LineStrip and LineList, as a simple reversal of the index list


Warning prop-types size number misspell

Issue Description
Warning: Failed prop type: LiquidProgress: prop type size is invalid; it must be a function, usually from the prop-types package, but received undefined.
Explain what you did
I change the propTypes of size from "Number" to "number" ( from index.js inside the node_modules ), after that the warning disappear.
Is this a temporary fix or there's a better way ?

Thanks for raising issue. Changing things in node modules will not be good approach to solve this problem. The reason being you have to do same changes again and again when you install node_modules.
Please do install latest version (v1.0.5) of this package. this will resolve your problem.
Please let me know if you encounter any other issues.


是否支持代理websocket客户端？

是否支持代理websocket客户端？
如果支持，有没有相关对接文档？

hi, here is a doc(2.3.0 version) for websocket: https://shenyu.apache.org/zh/projects/shenyu-2.3.0/websocket-plugin/ . If the version is of another version, check the corresponding version document.
在 2021-08-18 11:45:49，"Johnson.Chen" @.***> 写道：
是否支持代理websocket客户端？
如果支持，有没有相关对接文档？
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.

if you have other question, please in english. now, I'll close it.

hi, here is a doc(2.3.0 version) for websocket: https://shenyu.apache.org/zh/projects/shenyu-2.3.0/websocket-plugin/ . If the version is of another version, check the corresponding version document. 在 2021-08-18 11:45:49，"Johnson.Chen" @.***> 写道： 是否支持代理websocket客户端？ 如果支持，有没有相关对接文档？ — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.

hi, here is a doc(2.3.0 version) for websocket: https://shenyu.apache.org/zh/projects/shenyu-2.3.0/websocket-plugin/ . If the version is of another version, check the corresponding version document. 在 2021-08-18 11:45:49，"Johnson.Chen" @.***> 写道： 是否支持代理websocket客户端？ 如果支持，有没有相关对接文档？ — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.

thanks!
that is what i need !


Adding deployment files for contrib and docs repos

https://github.com/kubernetes/contrib/issues/1304
The PV, PVC, secret and configmap for each of those repos
Also modifications to the ingress to accommodate the new services.
cc @lavalamp @apelisse @pwittrock

That looks sane. Do you plan to update the makefile in a different pull-request?

@apelisse The makefile has been updated already as part of https://github.com/kubernetes/contrib/pull/1436. @lavalamp and I pushed a new submit-queue yesterday which uses the configmaps to pass parameters. I'm updated https://github.com/kubernetes/contrib/pull/1417, with instructions on how to deploy a new submit-queue.

Cool!

Now that https://github.com/kubernetes/contrib/pull/1438 is merged, we can start up the submit-queue application with blunderbuss for contrib. I've updated the munger list for contrib.

Very cool, can't wait!


🌐Add Korean translation for docs/ko/docs/external-links.md

Hi @sptcnl, thanks for your interest in contributing to FastAPI. However, we're not translating this page, you can see more information here: https://fastapi.tiangolo.com/contributing/#dont-translate-these-pages
Thanks for your understanding!


Add xen guest utilities to packages

Since 9.10 (FreeBSD 10) XEN is kernel supported, so the tools should come with the image
https://github.com/freenas/freenas-build/blob/master/build/profiles/freenas9/kernel/FREENAS.amd64#L302
Thanks for your consideration!

Do you know those tools well? Have you used them before?
For some experiments I've installed XenServer 6.5 and those tools on VM. What I see now is that VM now indeed reports some information to the host, that is good.  On the other side it seems like XenServer expects more then that, such as support for shutdown, reboot, suspend, etc, and it complains when too simple guest tools don't react on its requests. Don't you think that it can create more problems then solve?

The xen-guest-tools aren't useful to FreeNAS.

It seems like I was unfair. On more tests shutdown and reboot are working properly, not sure what it was yesterday. I've committed part of your patch, just without explicitly mentioning xen-guest-tools, that is automatically picked up as dependency.
Unfortunately the port version we have now in 2016Q1 ports branch does not support automatic Xen detection and requires xenguest_enable rc.conf variable to be set via WebUI.  I hope we soon update to 2016Q2 branch where this problem is already solved.

Perfect, I think we can live with that and setting a tunable for enabling it seems fine to me.

I can confirm that it's correctly implemented in the latest version using the tunable.


chore: bdd-spring-1576233713 to 0.0.1

chore: Promote bdd-spring-1576233713 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


error using remote - SSH after update to 1.86.0

Does this issue occur when all extensions are disabled?: Yes/No

VS Code Version: 1.86.0
OS Version: win10 & centos6.9

Steps to Reproduce:

error using remote - SSH after update to  1.86.0
it noted that :https://aka.ms/vscode-remote/linux-prerequisites

see here
https://github.com/microsoft/vscode/issues/203967
And the current method is downgrading local vscode into 1.52.2

https://github.com/microsoft/vscode/issues/203967#issuecomment-1921540242
let's go back to 1.85.2 and continue your work

Return

VSCode to 1.85.2
Remote SSH to 0.105.0

and disable updates

https://github.com/microsoft/vscode/issues/203375


Don't limit device ratio in Babylon view

See https://twitter.com/deltakosh/status/1099690749770182657?s=09.
This will make the resolution in Babylon view match what is happening with three.

Thanks @bghgary.  I tried to test this cheaply with CTRL +, it didn't work but I know that's not an exact way to test UHD compatibility.  Did you test this on a high-dpi screen?

One way you can test this on Windows is to change the scaling:

I tested it on my Surface Book which by default sets the scaling to 200%.

Version 2.2.4 is now published.


Rwa 450 new

JIRA link (if applicable)
Change description
Unclaim Pact provider
Does this PR introduce a breaking change? (check one with "x")
[ ] Yes
[ x ] No

Closing in favour of re-created pr:
https://github.com/hmcts/wa-task-management-api/pull/253


should [libs] ignore implementations?

if you have source files in [libs], should we ignore them? IMO, [libs] should only look at declare statements and ignore the rest of the file. even better, it should error if it finds a non-declare statement in a lib.
I think that otherwise, we end up adding everything that's supposed to be module-scope to the global scope.

This is now strictly validated


Support Graph type for StructuredDataFunction

Describe the bug
It should be possible to use @graph for structured data:
const structuredData: StructuredDataFunction<
  SerializeFrom<typeof loader>,
  Graph
> = (data) => {
  return {
    "@context": "https://schema.org",
    "@graph": [{
        "@type": "Organization",
        ...
    }]
 }
}

Currently, the above script would raise Type 'Graph' does not satisfy the constraint 'Thing'. because of this type constraint StructuredDataSchema extends Thing = Thing on  HandleStructureData
Your Example Website or App
https://stackblitz.com/edit/remix-run-remix-vu3jgx?file=app/routes/index.tsx
Steps to Reproduce the Bug or Issue
Check typing error from structuredData.
Expected behavior
StructuredDataFunction should accept Graph as the second generic type.
Screenshots or Videos
No response
Platform

OS: [e.g. macOS, Windows, Linux]
Browser: [e.g. Chrome, Safari, Firefox]
Version: [e.g. 91.1]

Additional context
No response

StructuredDataFunction is now marked as deprecated since V2_MetaFunction now supports sending JSON+LD and render it in script tags.


Some Botania rituals failing in claimed areas

As stated in the title, some Botania rituals are not working within claimed areas: So far we have tested throwing a carrot into a full pool of mana to change it into a beetroot, which produced a beetroot visibly for a fraction of a second, then vanished. This happened every time, when repeated. We have also tried this with beetroot seeds, which should produce melon seeds; yet each time it produces the item, which instantly vanishes. It functions fine outside of player-claimed areas.

Please post a gpdebug of output when you test this action. Follow the wiki here to debug
https://github.com/MinecraftPortCentral/GriefPrevention/wiki/Debugging
Also post an output of /gpversion

Apologies for my delayed reply. Was hoping to have time to get that for you tonight but sadly I did not. I'll shoot it your way first thing when I get up tomorrow.

We have solved the issue, it was related to a slightly outdated version of GP conflicting with sponge. Apologies for wasting your time.


Can't find 'streamparse.commands.run/-main'

Thanks for your work.
Testing my topology via command: streamparse run -d
But I have exception:
Can't find 'streamparse.commands.run/-main' as .class or .clj for lein run: please check the spelling.
java.io.FileNotFoundException: Could not locate streamparse/commands/run__init.class or streamparse/commands/run.clj on classpath.
But if I copy file project.clj from wordcount folder, it's work.

As you can see in the quickstart docs, we recommend using the sparse quickstart command, which will give you a project that has all the necessary files in their correct places for everything to work.  A project.clj file is required with the currently released version of streamparse (although it might not be in future versions).


How weed replicates data?

Hello. What happens when I upload the file to the volume with the replication strategy 001? Will weed replicate this file to another volume automatically? Should I do by myself?
Same question for file deletion.
Could you clarify this question and update docs?

The file will be replicated automatically, same for deletes.


[regression fix] Make project uniqueness constraint work again, fixes #136

The Problem/Issue/Bug:
#136: We had made running projects have to have unique names, but that got lost somewhere. This restores it.
This does not solve:

Duplicate project name when one is not running
One project taking over another project's database inappropriately (databases are uniquely named as well)
Duplicated hostnames (across projects) breaking ddev-router. (Adding an additional_hostname to one project that is already taken by another)

How this PR Solves The Problem:
Take seriously when the error says there's a duplicate site.
Manual Testing Instructions:
Start a site.
In another directory, start a site with the same name. You should get a failure.
Automated Testing Overview:
This needs a test. Since we've already had a regression, it's time to add a test, so this can't go in without a test.
Related Issue Link(s):
OP #136
Release/Deployment notes:

There was actually already a test for uniqueness, but it was on app.Init() only. I added a stanza to that test in 4907e43 that also checks in GetActiveApp() which was where it was also needed.


Pop-up keyboard after bypassing PIN

This is weird. I haven't run into it before.

log into account (Frog1/QA123!)
set pin
allow timeout, request for pin pops up
bypass and logout
full keyboard pops up on the homescreen/anywhere I try to navigate. I couldn't catch it in the screenshot, but there's a little blinking cursor on the orange screen... like I could just start typing over it? nothing happens when I tried to type.
keyboard stays / split screen stays until I click done

Somehow, a text field has gotten focused that in underneath one of the other views.
Not sure if I'll be able to replicate, but might be able to be defensive and prevent it.

Right... after bypassing and getting to the login screen, did you hit the "X" to go to the initial screen while the keyboard was still up from being in the login or password input?
I can replicate that. I will make those fields blur when that "X" is hit.

Great catch, all!
@devgeeks insight works for me, too. No need to go through the PIN setting, etc, this is sufficient:

Go to the login view.
Select the Email/Username field - this activates the keyboard.
Hit the 'x' button in the upper right
This takes you to the preliminary view, with the cursor active where the (now hidden) Email/Username field is located, and the keyboard active.

The selected field will remain selected (on iOS, not Android). (In fact, you can login while still in that view! Type in a username, then tab or '>' Next to get to the password field, fill in the password, hit Enter or Go. It'll be dicey, because the preliminary view is still blocking the view. If you hit the "Log in ≫ " button, you'll see the logged in session.


Usage of API

I was looking for API and guidance on how to use it. For example... When should API be singular vs. plural? If API is singular for a given app or service, what are the individual components of an API called--functions?
I'd love to see a standalone entry for API, perhaps cross-linked with https://docs.microsoft.com/en-us/style-guide/a-z-word-list-term-collections/i/interface.

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

ID: d1edf80c-add4-ab9a-11dc-b699d7ecbcd6
Version Independent ID: b9bfe3c5-acd4-6293-fe3b-06657ee99e48
Content: app, application - Microsoft Style Guide
Content Source: styleguide/a-z-word-list-term-collections/a/app-application.md
Product: non-product-specific
GitHub Login: @pallep
Microsoft Alias: pallep

Hey there, @redmondChris. I'm not with the MS Writing Style Guide Team, but I work as technical writer.
In my experience, when spelling out acronyms like 'API', you find out how to use it in the singular and plural. In this case, API stands for 'application programming interface', i.e. one interface. To create a plural form, we add an 's' to the end: APIs.

Thanks @pivic. I don't think I asked my question well. My question wasn't how to make API plural, but when to. Perhaps another approach would be to ask for the definition of interface, which I think is confused with a function.
The reason I ask is that I keep seeing the use of "API" to describe just one function, and then "APIs" used to describe the single set of defined functions. As an example, someone might say "use the GetClientName, GetClientAddress, and GetClientPhone APIs." What I think they should be saying is "use the GetClientName, GetClientAddress, and GetClientPhone functions [or calls, or methods] in the blahblah API."
If I'm correct, then it seems odd to me is that I have only found a few API definitions online that even refer to all these elements--and some of the definitions get it wrong, too. I think adding this clarity in the Microsoft style guide would help educate and clarify, both for writers (including PMs like me who do some of the writing) and their audience members.


Simplify and organize gdb tests

[x] Have you provided a meaningful PR description?
[x] Have you added a test, reproducer or referred to an issue with a reproducer?
[x] Have you tested your changes locally for CPU and GPU devices?
[x] Have you made sure that new changes do not introduce compiler warnings?
[ ] If this PR is a work in progress, are you filing the PR as a draft?

Corrected the currently failing tests in tests/debugging also improved examples code.
Closes: #1216

@roxx30198 are you still working on the PR? The kernel API got completely redesigned past few months. If you intend to complete the PR, then please port the examples/test cases to the new kernel API.

Changes unknown
when pulling 51f45bbe728ad02783b1e660f7ce2a1a77ae3ee6 on roxx30198:tests_gdb
into ** on IntelPython:main**.

I've pushed some commits on top of it to simplify and organize gdb tests


Incremental Development

Hello Gabriel. About the same time that I stumbled upon Haskell I was also being taught the practice of incremental development techniques (TDD and so forth). Haskell's type system in general, partial type signatures, type holes, mature testing, purity, and laziness, make the Haskell experience, IMHO,  "Best In Class" in the  Incremental Development category. Incremental development is a popular topic and perhaps it deserves a section in this fine article.

Do you have a post I could read on this style of Haskell programming?

@Gabriel439 No, I don't actually know of an article addressing this head on. However, I can provide some links that taken together present the concept.

http://www.jamesshore.com/Blog/Red-Green-Refactor.html
http://codinguncut.com/ocr-text-recognition-data-driven-programming/
http://matthew.brecknell.net/post/hole-driven-haskell/

The first link is basically the concept and the subsequent links describes how some approach it in Haskell. The reason I propose a section on this is that the technique of incrementally building up programs by heavily relying short cycles of coding and querying the programming environment (types, tests) is quite popular in many programming communities and yet it is relatively unknown that the features of Haskell greatly facilitate this style of programming.

@Gabriel439 If you google TDD, BDD or Hole Driven Development you'll find many references to it. It's very common in OOP circles. Basically, you use the compiler or test runner to tell you what to do next. Personally I don't like it much because it potentially can divorce the coder from being required to have an understanding of what they're doing.
Another way to put this is constraints based programming. You set up the constraints of your requirements in advance (with Cucumber, or quick-check, or just by writing tests in an x-Unit framework), and then you simply fill in the code that achieves that aim. When we write the type signature of a function before creating the function we're effectively doing this: "I want the function that satisfies this type", etc.
One of the other troubles with it is when your "top down view" of the way things should work is actually incorrect - you have to flip back to the top level while you're in the middle of trying to make the bottom level function. It can get messy. Having said this, a lot of folk love it, because it's a simple rule that can help you to think about your code. In Haskell, we pretty much have the type system to do this for us, though.

How about this:

I rename the "Types" section to "Types / Type-driven development"
I add a paragraph to that section talking about this rough concept and type-holes and partial type signatures

That will at least get the phrase "Type driven development" out there and in people's minds so they can start connecting the dots.  I view this concept as being heavily related to the "Types" section in general, which is why I would prefer to group the two.

@GetContented That was a nice overview indeed.
@Gabriel439 I think your proposal is good! Its only ashamed that many who do value the technique that @GetContented described are scarcely aware that Haskell excels at it. I think that this  blurb about it will help some. Great!

Just a note: hspec is basically a haskell version of Ruby's spec, which is a tool all about TDD/BDD

Alright, here is what I added: https://github.com/Gabriel439/post-rfc/commit/3e433cbbdd514422dc6021a16269125a129b3193
Take a look at that and see if that looks okay

:+1:

:+1:

I'll go ahead and mark this resolved, then.  Feel free to reopen this if you would like to suggest any other changes, though.


'FRSIRT' as a refsource - is this a typo for 'F5SIRT'?

In default/cve/conf.js one of the vendors listed under 'refsource' is 'FRSIRT' - is this a typo for 'F5SIRT'?  I ask as the 'R' is just below the '5' on a qwerty keyboard, and, as F5's vuln person, I was wondering if that was supposed to be us.  Thanks.

They are legacy tags. I guess it was meant for CVE references webscraped from frsirt.com website as used here:
https://github.com/CVEProject/cvelist/blob/1be9b4688ed9af457faf4e3b97096896415e8cde/2004/0xxx/CVE-2004-0148.json
These refsource field isn't going to be used in CVE JSON v5, but tag values are copied over for backwards compatibility.


Multiple issues discovered with Shellcheck

Thank you for the useful tool.
I checked the configurator.sh script file with shellcheck. After removing the carriage return (\r) it produce quite some output.
While most of it was about double quoting to avoid globbing there were some findings like missing white spaces, that might cause actual issues.
An example can be seen in line 856. In additions there are other Warnings which might improve the good code quality further.
It might be useful to run shellcheck against the configuration script.
If you need or want assistance in this task let me know.
BR
ikstream

Thanks for the feedback.
Almost all errors from the shellcheck output have been fixed and the program should be ready to use now.
The lines (9 and 246) will be fixed in the next days and the two remaining switches will be used in the near future.
The issue with the white spaces will also be fixed as soon as possible.
Best Regards
Jarl-Björn

All problems have been fixed.
The problem with spaces is currently fixed by using the dos2unix tool, which also starts after launching yggdrasil and converts all files to the correct format.
Best regards
Jarl-Björn

A small update to the problem from last time.
The dos2unix tool was replaced by a self-written converter to remove all \r.
Best regards
Jarl-Björn


Initial windows testing in CI support

This runs the check.sh under wine.
Some things are broken and need fixing. It would be interesting to know if they're broken under real windows as well or not.
For now I've suppressed the broken tests on windows so we can merge this and have a subsequent PR to re-enable the tests and fix them.

Thanks for taking a look and spotting the clippy complaints. Fixed. Will merge when green.


suggestion: optional float boarder

          while we're at it i think `FloatBorder` highlight also could be something better.

This is with default pallet:

This is with Floatborder guibg=#101010:

Originally posted by @PsyNyde in https://github.com/slugbyte/lackluster.nvim/issues/69#issuecomment-2337828561

as discussed in #69 this is approved,  I just need to figure out how I want to implement it :), I should have a patch in the next week :)

@PsyNyde Ive been messing around with this and haven't found a good solution
The main issue has to do with nvim-cmp.. basically when you tell nvim cmp to  use a boarders window it no longer use Pmenu as its background, it instead uses Normal as its background...
this means that if I make it look good for nvim-cmp it will just end up not looking good for any other plugin that uses a float boarder
what nvim-cmp should have done is use NormalFloat, or Pmenu for the background and FloatBoarder
so I'm not sure what I want to do going forward, I think adding a section in the docs on there readme to tellpeople how to have nice floatboarder for nvim-cmp might be the best option
-- make nvim-cmp's boarders look pretty :)
local lackluster = require("lackluster")
lackluster.setup({
    tweak_highlight = {
        FloatBorder = {
            fg = lackluster.color.gray5,
            bg = lackluster.color_specail.main_background,
        },
    },
})
vim.cmd.colorscheme("lackluster-hack")

https://github.com/hrsh7th/nvim-cmp/blob/ae644feb7b67bf1ce4260c231d1d4300b19c6f30/lua/cmp/config/window.lua#L7
^ this is the code in nvim-cmp that I think is non-standard
I think it should start with NormalFloat:NormalFloat instead of Normal:Normal

I opened an issue with nvim-cmp https://github.com/hrsh7th/nvim-cmp/issues/2039 to see if we can solve this issue by patching nvim-cmp :)

So I'm not sure what I want to do going forward, I think adding a section in the docs on there readme to tell people how to have nice floatboarder for nvim-cmp might be the best option.

I also think this'd be the better option.

yep yep, vim.cmd("highlight FloatBorder guibg=#101010") looks good for nvim cmp but breaks other plugins that use NormalFloat for their backgound color including the example you gave example (which-key).

I'll wait for a reply on the nvim-cmp issue before I decide how to resolve this issue :)

created a new nvm-cmp issue after realizing the one i previously made did not properly use their bug template https://github.com/hrsh7th/nvim-cmp/issues/2042

@PsyNyde here is a snippet that you can use to test the proposed change to nvim-cmp if you are intersted
        cmp.setup({
            window = {
                completion = vim.tbl_extend("force", cmp.config.window.bordered(), {
                    winhighlight = "NormalFloat:NormalFloat,FloatBorder:FloatBorder,CursorLine:Visual,Search:None",
                }),
                documentation = vim.tbl_extend("force", cmp.config.window.bordered(), {
                    winhighlight = "NormalFloat:NormalFloat,FloatBorder:FloatBorder,CursorLine:Visual,Search:None",
                }),
            },
           -- rest of your config
     })

@PsyNyde here is a snippet that you can use to test the proposed change to nvim-cmp if you are intersted

hm this seems to fix the issue

this fix my problem, maybe it works for you, too
		cmp.setup({
			snippet = {
				expand = function(args)
					vim.snippet.expand(args.body)
				end,
			},
			window = {
				completion = cmp.config.window.bordered(),
				documentation = cmp.config.window.bordered(),
			},
                        ...
    }

			lackluster.setup({
				tweak_syntax = {
					comment = lackluster.color.gray5,
				},
				tweak_background = {
					-- normal = "default", -- main background
					normal = "none", -- transparent
				},
				tweak_highlight = {
					FloatBorder = {
                                                overwrite = true,
						fg = lackluster.color.gray5,
						bg = "NONE",
					},
					["@keyword"] = {
						overwrite = true,
						bold = false,
						italic = true,
						fg = lackluster.color.gray6,
					},
<EMAIL_ADDRESS>= {
						overwrite = true,
						bold = false,
						italic = true,
						fg = lackluster.color.green,
					},
				},
			})

@fhawk12 thanks for sharing! Makes me realize I need to make a tweak to allow for transparency with floats.. I'm on holiday rn but I'll make a patch next week sometime! bg_float = "none" or something
Funny enough though, it's one of those things we're the right outcome is happening but for the wrong reason, nvim-cmps bug essentially doesn't effect you because you wanted transparency, and the thing they are assigning to background for the cmp-window happens to be transparent, which is lucky I guess :) when/if the bug gets patched, it should still look the way you want it to but for the right reason :)

I got the changed merged into magazine.nvim (a nvim-cmp fork)
https://github.com/iguanacucumber/magazine.nvim/issues/3


FEAT: Add enforce touchstone model passive function.

@HaiwenZhang To run unit test locally, you first need to install tests dependencies.
pip install .[tests]
Then you can run the unit test.
Regarding the code, you can use ModelParameters which has already the EditWithComps call, then you can do something like:
t2 = self.aedtapp.modeler.schematic.create_touchstone_component(touch)
passive = OrderedDict(
[
("DCOption", -1),
("InterpOption", 1),
("ExtrapOption", 3),
("Convolution", 0),
("Passivity", 6),
("Reciprocal", False),
("ModelOption", ""),
("DataType", 2),
]
)
props["NexximCustomization"] = passive
props["ModTime"] = int(time.time())
t2.model_data.props = props
t2.model_data.update()
You can change your code with a similar approach to avoid duplications.
And please push the unit tests that you mentioned you created.

Hi @Samuelopez-ansys @MaxJPRey, thank you for your review. I changed the code and pushed the unit test code.

Hi @Samuelopez-ansys, I pushed new code. Thanks!!!

@Samuelopez-ansys @SMoraisAnsys Thanks for your review. BTW, I have a problem, when I import the S parameter in Ansys Designer, it has a default pin location, I want to change the pin location, do you have any good suggestions?


Review Existing Lit for Remittance Data

Goal:  Research existing studies, surveys, etc related to remittances in Guatemala
Relevant resources: https://www.icpsr.umich.edu/index.html

If you are a member of an organization affiliated with ICPSR, then you can access the datasets they have available
Can search their datasets by geographic location

https://publications.iadb.org/bitstream/handle/11319/7869/Remittance-Recipients-in-Guatemala.pdf?sequence=2

Breaks down remittance recipients by region and demographics in Guatemala and also mentions that they received their data from the ENCOVI survey
Good data visualization in here of the ENCOVI data which could be useful as a visual aid and/or reference while we go through the data ourselves

https://www.cbd.int/financial/charity/guatemala-remittance.pdf

Goes over the relationship between migrant location in the United States and how much and where they send money to in Guatemala (includes a map as a visual aid)

http://www.thedialogue.org/wp-content/uploads/2017/02/Remittances-2016-FINAL-DRAFT.pdf

Includes information about the rise of internet/mobile-based transfers and the benefits of them and the analysis on how they will increase in the future is interesting

https://www.millicom.com/media/3009/mda-q2_2017.pdf

Information about Tigo’s products including Tigo Money which allows for remittances on mobile devices, also talks about how “inflation rates, rates of GDP growth and remittance levels affect our business, financial condition and results of operations”

Encovi data: https://www.ine.gob.gt/index.php/encuestas-de-hogares-y-personas/condiciones-de-vida


Database errors

Hi, when attempting to set abot up and running in a vagrant instance (Ubuntu 14.04) (with Go 1.6 and Postgres 9.5) it falls apart at database migrations. At the very start during sign-up, it says that the userflexids table is missing. After manually creating the table (from the first file in db/migrations) it goes on to a 'syntax error near 'ON'' error.

You'll need Postgres 9.5+

I think that a previous Postgres installation may have borked things, trying it out on another Ubuntu instance worked. Thanks! :+1:


Using Streaming Bulk option, stops the script on error, can we continue the script despite error?

PGSync version:  2.1.9
Postgres version:  12.7
Elasticsearch version:  Using Opensearch Version 1.0 hosted on AWS
Redis version:  5.0.7
Python version: 3.8.10
Problem Description:  I am running Pgsync in Daemon mode (pgsync --config /optional/path/to/schema.json --daemon)  using ELASTICSEARCH_STREAMING_BULK=true. The issue I am facing is that the script crashes after 429 error, can we make script to run without failing like without stream mode. I have 300Million record to sync to OpenSearch so running without Stream would not be an option, so can you make script not stop running when we have 429 Too Many Requests or any error.
Error Message (if any):
pgsync --config setting.json --daemon
2021-12-24 18:09:57.731:WARNING:pgsync.utils: ModuleNotFoundError: No module named 'plugins'
2021-12-24 18:09:57.736:WARNING:pgsync.utils: ModuleNotFoundError: No module named 'plugins'
2021-12-24 18:09:58.034:WARNING:pgsync.utils: ModuleNotFoundError: No module named 'plugins'
 - contacts
  [--------------------------------------------------]  196001/311609941    0%  1d 20:37:352021-12-24 18:13:29.642:WARNING:elasticsearch: POST https://search-whocalledbaharin-hteym33qwdkixddps47vmj6uta.me-south-1.es.amazonaws.com:443/whocalled/_bulk?refresh=false [status:429 request:0.055s]
2021-12-24 18:13:29.643:WARNING:elasticsearch: Undecodable raw error response from server: Extra data: line 1 column 5 - line 1 column 39 (char 4 - 38)
2021-12-24 18:13:29.643:ERROR:pgsync.sync: Exception TransportError(429, '429 Too Many Requests /whocalled/_bulk')
Traceback (most recent call last):
  File "/home/sst/.local/lib/python3.8/site-packages/pgsync/sync.py", line 875, in sync
    self.es.bulk(self.index, docs)
  File "/home/sst/.local/lib/python3.8/site-packages/pgsync/elastichelper.py", line 107, in bulk
    for _ in helpers.streaming_bulk(
  File "/home/sst/.local/lib/python3.8/site-packages/elasticsearch/helpers/actions.py", line 329, in streaming_bulk
    for data, (ok, info) in zip(
  File "/home/sst/.local/lib/python3.8/site-packages/elasticsearch/helpers/actions.py", line 256, in _process_bulk_chunk
    for item in gen:
  File "/home/sst/.local/lib/python3.8/site-packages/elasticsearch/helpers/actions.py", line 195, in _process_bulk_chunk_error
    raise error
  File "/home/sst/.local/lib/python3.8/site-packages/elasticsearch/helpers/actions.py", line 240, in _process_bulk_chunk
    resp = client.bulk("\n".join(bulk_actions) + "\n", *args, **kwargs)
  File "/home/sst/.local/lib/python3.8/site-packages/elasticsearch/client/utils.py", line 168, in _wrapped
    return func(*args, params=params, headers=headers, **kwargs)
  File "/home/sst/.local/lib/python3.8/site-packages/elasticsearch/client/__init__.py", line 463, in bulk
    return self.transport.perform_request(
  File "/home/sst/.local/lib/python3.8/site-packages/elasticsearch/transport.py", line 415, in perform_request
    raise e
  File "/home/sst/.local/lib/python3.8/site-packages/elasticsearch/transport.py", line 381, in perform_request
    status, headers_response, data = connection.perform_request(
  File "/home/sst/.local/lib/python3.8/site-packages/elasticsearch/connection/http_urllib3.py", line 277, in perform_request
    self._raise_error(response.status, raw_data)
  File "/home/sst/.local/lib/python3.8/site-packages/elasticsearch/connection/base.py", line 330, in _raise_error
    raise HTTP_EXCEPTIONS.get(status_code, TransportError)(
elasticsearch.exceptions.TransportError: TransportError(429, '429 Too Many Requests /whocalled/_bulk')
 0:03:31.913506 (211.91 sec)
Traceback (most recent call last):
  File "/home/sst/.local/bin/pgsync", line 7, in <module>
    sync.main()
  File "/home/sst/.local/lib/python3.8/site-packages/click/core.py", line 1128, in __call__
    return self.main(*args, **kwargs)
  File "/home/sst/.local/lib/python3.8/site-packages/click/core.py", line 1053, in main
    rv = self.invoke(ctx)
  File "/home/sst/.local/lib/python3.8/site-packages/click/core.py", line 1395, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/sst/.local/lib/python3.8/site-packages/click/core.py", line 754, in invoke
    return __callback(*args, **kwargs)
  File "/home/sst/.local/lib/python3.8/site-packages/pgsync/sync.py", line 1139, in main
    sync.pull()
  File "/home/sst/.local/lib/python3.8/site-packages/pgsync/sync.py", line 1006, in pull
    self.sync(self._sync(txmin=txmin, txmax=txmax))
  File "/home/sst/.local/lib/python3.8/site-packages/pgsync/sync.py", line 875, in sync
    self.es.bulk(self.index, docs)
  File "/home/sst/.local/lib/python3.8/site-packages/pgsync/elastichelper.py", line 107, in bulk
    for _ in helpers.streaming_bulk(
  File "/home/sst/.local/lib/python3.8/site-packages/elasticsearch/helpers/actions.py", line 329, in streaming_bulk
    for data, (ok, info) in zip(
  File "/home/sst/.local/lib/python3.8/site-packages/elasticsearch/helpers/actions.py", line 256, in _process_bulk_chunk
    for item in gen:
  File "/home/sst/.local/lib/python3.8/site-packages/elasticsearch/helpers/actions.py", line 195, in _process_bulk_chunk_error
    raise error
  File "/home/sst/.local/lib/python3.8/site-packages/elasticsearch/helpers/actions.py", line 240, in _process_bulk_chunk
    resp = client.bulk("\n".join(bulk_actions) + "\n", *args, **kwargs)
  File "/home/sst/.local/lib/python3.8/site-packages/elasticsearch/client/utils.py", line 168, in _wrapped
    return func(*args, params=params, headers=headers, **kwargs)
  File "/home/sst/.local/lib/python3.8/site-packages/elasticsearch/client/__init__.py", line 463, in bulk
    return self.transport.perform_request(
  File "/home/sst/.local/lib/python3.8/site-packages/elasticsearch/transport.py", line 415, in perform_request
    raise e
  File "/home/sst/.local/lib/python3.8/site-packages/elasticsearch/transport.py", line 381, in perform_request
    status, headers_response, data = connection.perform_request(
  File "/home/sst/.local/lib/python3.8/site-packages/elasticsearch/connection/http_urllib3.py", line 277, in perform_request
    self._raise_error(response.status, raw_data)
  File "/home/sst/.local/lib/python3.8/site-packages/elasticsearch/connection/base.py", line 330, in _raise_error
    raise HTTP_EXCEPTIONS.get(status_code, TransportError)(
elasticsearch.exceptions.TransportError: TransportError(429, '429 Too Many Requests /whocalled/_bulk')

If you are getting 429 errors then you can ajdust the params

ELASTICSEARCH_MAX_RETRIES
ELASTICSEARCH_INITIAL_BACKOFF
ELASTICSEARCH_MAX_BACKOFF

The defaults are listed here

@keyur1sst what Opensearch instance type are you using? Perhaps see my answer here.


The address was maliciously reported #555

The informer's address is eth:0xB50dE2579aA455c877869eB63162eF068d38c454
I am a real user of the SAFE project and have supported the SAFE project for a long time. However, my only address has been reported by the above address. I hope that the project can thoroughly investigate the address reported by this address.

I would advise you don't ask the team to review all the addresses reported by someone.
Instead of doing that, kindly tag the report that contains your address and write some very good and reasonable lines on why your own address (not necessary others) should be made eligible


URGENT: EurE Bot fails to complete transaction for new users on Palomabot.ai site

User went to https://www.palomabot.ai/euros/ and executed the EurE bot with $1,200 USDC deposit: https://etherscan.io/tx/0x07724aec016573363e61ba8a35275464cd0585afc438fbbf7db91b2e4a112aba

The funds hit the gnosis bridge and the Paloma Gnosis contract. The contract shows
Balance: 1,200.941954061655626382 xDAI seen here: https://gnosisscan.io/address/0x48afa99cd4166d89718cba46db7e1eeb99535b46. However, we don't see a recent tx on that contract.

Paloma messages show multiple failures:
Reverted 0x08c379a00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000b57726f6e6720636f756e74000000000000000000000000000000000000000000

And error: execution reverted: Wrong count

We took the Eure bots offline.

Conclusion: Paloma is attempting to send the message, but this tx is failing on the Gnosis side. Is this an issue related to https://github.com/VolumeFi/paloma/issues/1130 that was not implemented on Paloambot.ai? We refunded the user $1,200 from Volume's treasury, but we want to recover the funds and ensure that the EurE bots are functioning properly.
See image

Deposit worked: https://etherscan.io/tx/0xa9a70c33f91187057437b06aaf4d75b388be788ceb6e8beda8219176aef53aa9
Intended to have a two-swap TWAP but neither happened.

Fixed again with https://github.com/VolumeFi/offramp-eure-bot-script/commit/753476650a7e45df482f747f81a21a44893eb603


Neutron

Hello @robfairh! Thanks for opening this PR. We checked the lines you've touched for PEP 8 issues, and found:

In the file benchmark-ph1ex1/3D-model/postprocessing.py:

Line 14:1: E402 module level import not at top of file


📦Cli Tool w Multi Platform Build / Releases

✨ Description
The CLI Tool is a versatile command-line utility developed using the Go programming language. This tool is designed to offer a seamless experience for developers who rely on command-line interfaces.
One of the standout features of this tool is its robust multi-platform build and release process. Leveraging the power of Go's cross-compilation capabilities, we ensure that the CLI tool is easily deployable across a wide range of operating systems and architectures. This means you can use the same tool on different platforms, whether it's Linux, macOS, or Windows.
📋 Requirements

[x] CLI Tool
[x] multi-platform binaries
[x] automated build & release pipeline

🔄 Type of change

Cross-Platform Compatibility: Thanks to Go's built-in cross-compilation support, our CLI tool can be compiled for various platforms without the need for complex setup or third-party tools. This makes it easy to distribute the tool to users on different operating systems.

Efficient and Lightweight: By utilizing Go, we create a CLI tool that is lightweight and efficient. This ensures fast execution times and minimal system resource consumption, making it suitable for both small tasks and heavy-duty operations.

Consistent User Experience: No matter which platform users are on, they can expect a consistent user experience. The tool's commands, options, and behavior remain uniform across different platforms.

Automated Builds and Releases: We have implemented an automated build and release pipeline that ensures timely updates and enhancements. This means that users can benefit from bug fixes, new features, and improvements without manual intervention.

Versioning and Changelogs: Each release of the CLI tool comes with detailed version information and changelogs, providing users with transparency about the changes and enhancements made in each iteration.

🧪 How Has This Been Tested?

[x] pipeline_tests
[x] environment_tests

🔬 Test Configuration:
📚 libraries_w_versions
🖥 os_w_versions
✅ Checklist:

[x] 🔍 I have performed a self-review of my own code
[x] 🗒 I have commented my code, particularly in hard-to-understand areas
[x] 🚨 My changes generate no new warnings

So far, only the Linux Platform has been completed. The other two would be handled in a subsequent PR. Pushing for v1 sometime later


Updates

Codecov Report

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

@@           Coverage Diff           @@
##           master   #25      +/-   ##
=======================================
+ Coverage   48.52%   50%   +1.47%
=======================================
  Files           1     1
  Lines          68    68
  Branches        4     3       -1
=======================================
+ Hits           33    34       +1
+ Misses         35    34       -1

Impacted Files
Coverage Δ

.../main/scala/io/circe/bson/BsonCodecInstances.scala
50% <0%> (+1.47%)
: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 3d5a4f3...ac67b3a. Read the comment docs.


doc: release: 3.0: Add Iot.bzh changes in the release note

Add changes from Iot.bzh team in 3.0.0 release note.
Signed-off-by: Aymeric Aillet<EMAIL_ADDRESS>

Please fix the compliance error:
Error: See [docs.zephyrproject.org/latest/contribute/#commit-guidelines](https://docs.zephyrproject.org/latest/contribute/#commit-guidelines) for more details

Commit 37d339c6e5:
1: UC6 Body has no content, should at least have 1 line.

Commit 54fc560b9d:
1: UC6 Body has no content, should at least have 1 line.

Please fix the compliance error:
Error: See [docs.zephyrproject.org/latest/contribute/#commit-guidelines](https://docs.zephyrproject.org/latest/contribute/#commit-guidelines) for more details

Commit 37d339c6e5:
1: UC6 Body has no content, should at least have 1 line.

Commit 54fc560b9d:
1: UC6 Body has no content, should at least have 1 line.

Sorry, I hadn't looked at the IC yet.
Just fixed it !


DSA <IP_ADDRESS> Arrays: Standard Problems (Problem 3)

Description
Find smallest sum contiguous subarray.
Task

[x] Documentation
[x] Audio
[x] Video

Note

While requesting the issue to be assigned, please mention your NAME & BATCH NUMBER.
Kindly refer to Issue Guidelines.
In case you see that the issue has already been assigned, try to request for a different task within the same issue.
Changes should be made inside the DSA/directory & DSA branch.
Name of the file should be same as the issue.
This issue is only for 'GWOC' contributors of 'DSA' Domain.

/assign

can you please assign me the documentation part
Divya(DSA-Batch 5)

Please assign this issue to me.
I Will be contributing through  Documentation, Audio, Video in CPP language.
I am from C/Cpp 2 batch. @Suvraneel

I would be glad to work on this issue through documentation, Please assign this to me!!
Name - Sakshi Sharma
Batch no. - 5

\assign

Siddhi Bhanushali
Dsa batch 1
Documentation

Rohit Jindamwar
DSA BATCH 2
Documentation

Please assign this issue to me.
Documentation

/assign

@divya1467 Kindly try to submit a PR within 7 days

@divya1467 Kindly try to submit a PR within 7 days

On it!

@goelesha can you please review #3102


0026-remove-duplicates-from-sorted-array.java doesn't return leetcode required response

The Java doesn't seem to be 100% complete as the leetcode asks for the array to be returned so that it can check the values and the size of the array.  Also, its not totally possible I guess with an int[] array in Java (because something should null out the left over values that are to the right of the left pointer) but following this code:
The request of: int[] nums2 = {0,0,1,1,1,2,2,3,3,4};
Produces: [0, 1, 2, 3, 4, 2, 2, 3, 3, 4]
2,2,3,3,4 should be removed

Noticed that the leet documentation seems to be fine with not removing the end digits


Refactor: refactor pkg scope and fix contains_pos

1. Does this PR affect any open issues?(Y/N) and add issue references (e.g. "fix #123", "re #123".):

[ ] N
[x] Y  Some preparations for #524

2. What is the scope of this PR (e.g. component or file name):
sema/scope

3. Provide a description of the PR(e.g. more details, effects, motivations or doc link):

[ ] Affects user behaviors
[ ] Contains syntax changes
[ ] Contains variable changes
[ ] Contains experimental features
[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[x] Other

4. Are there any breaking changes?(Y/N) and describe the breaking changes(e.g. more details, motivations or doc link):

[x] N
[ ] Y

5. Are there test cases for these changes?(Y/N) select and add more details, references or doc links:

[x] Unit test
[ ] Integration test
[ ] Benchmark (add benchmark stats below)
[ ] Manual test (add detailed scripts or steps below)
[ ] Other

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 87.988%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
2300

Relevant Lines:
2614

💛  - Coveralls


Upgrade to TypeScript 3.5

TS 3.5 got much stricter on writing changes to objects with varied types
1 so we have to do a bit of typecasting work to convince TS about the
types of keys and values that we are setting.
Longer term we should think about a better data structure that avoids us
having to jump through some hoops but for now I think this is a
reasonable step to get us onto 3.5.
Same story regarding bindings on window, the easiest fix is to cast
window to any for the code that adds to it. I'm sure we can come up with
a more type-safe way of doing this in the future.

@mathiasbynens I've rewritten the commit message 👍

Alright, let's do it! Thanks everyone :)


Supporting environment config

Supporting environment config
https://github.com/stellar/bridge-server/issues/100
simply added this config for Viper
        replacer := strings.NewReplacer(".", "_")
	viper.SetEnvKeyReplacer(replacer)
	viper.SetEnvPrefix("STELLAR")
	viper.AutomaticEnv()

and updated Viper to the v1.0.0 label
Bridge server now supports env overrides of nested config properties according to the Viper conventions.
e.g.
export STELLAR_ACCOUNTS_RECEIVING_ACCOUNT_ID=GBLZJANPTTBW3R4E2XJM5NZGRPNTH6AJSGOTWWAU7SYEC3UN7QWTP5OH

I'm a Go n00b so if I ballzed up the update process I might need some guidance on how to do it properly.


Update collection create item request

Checklist

[ ] tests added
[x] commits conform to the Commit message format
[ ] documentation updated

Squash commit message
Changed collection create item request flow, owner parameter has been deprecated in favor of ownerId.

Tests reported ok by @pawel-fobka and @foh79


Repo sync for protected CLA branch

The pull request is created from main637835685255402238 to main to fix git push error for protected CLA branch

@opbld16 : Thanks for your contribution! The author(s) have been notified to review your proposed change.


Code cleanup

I suggest to review this pull request commit by commit as each one covers a different aspect.

Looks good to me except for the pom.xml shuffling. Are you ok to merge without it?

Sure. I removed the specific commit.

Merged, thanks!


HTML

#HTML
User Story
As a bootcamp student
I want the prework notes to be structured on a webpage
so that I can easily find and read information
Acceptance Criteria
GIVEN a Prework Study Guide website
WHEN I visit the website in my browser
THEN I see four boxes titled HTML, CSS, Git, and Javascript with associated notes listed

#CSS
User Story
As a boot camp student
I want the prework notes to be structured on a webpage
So that I can easily find and read the information
Acceptance Criteria
GIVEN a Prework Study Guide website
WHEN I view the study guide
THEN I see a dark blue header and footer, and four boxes with a shadow


Network simulation and automated performance testing

Debugging sophisticated P2P networks when actually deployed is extremely difficult, and they almost always require a considerable amount of debugging.
The solution is to simulate actual node behavior under realistic and worst-case network conditions before the network goes live.
I propose to make it possible to run a large number (more is better) of Locutus peers on a single machine using a local network layer, that can simulate realistic latency and packet loss between them (perhaps using a tool like traffic control.
While not all part of the MVP, this could then be used to simulate:

Building the network and maintaining a small-world topology
Ability to handle peer failure
Reduced network speed and reliability
Contract state retrieval, subscription, and update propagation
Malicious peers

Smaller simulations could run as part of our CI process to detect any obvious performance regressions, larger simulations could run as-needed on large cloud instances.
Example metrics to track under a variety of scenarios:

Contract time for initial retrieval after insert
Contract update propagation latency, average + worse case

Questions:

[ ] Is it more efficient for all peers to run in the same process, or a separate process for each?

May be useful: http://imunes.net/

Trackign this as an epic in PT


After switching to the "Packages" window a second time, the packages are not displayed.

Describe the bug

Steps to Reproduce

Create a Python Application project.
Right-click on the current environment and select Manage Python Packages...
Switch to overview page.
Switch to Packages page.

Expected behavior
Show packages.

Additional context and screenshots
Packages are not displayed after switching.

@bschnurr Could this be related to the fix you did for excessive memory usage issue? https://github.com/microsoft/PTVS/pull/7652

ya probably


liblapack: 3.9.0 -> 3.9.1-pre

Motivation for this change
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 116796 at cc15284d run on x86_64-linux 1

410 packages marked as broken and skipped:

awsebcli
bareos
bonfire
cassandra_2_1
cassandra_2_2
dmd
gimpPlugins.exposureBlend
gimpPlugins.texturize
glimpsePlugins.exposureBlend
glimpsePlugins.texturize
...

3997 packages skipped due to time constraints:

Literate
R
abcl
abiword
acme-client
actdiag (python38Packages.actdiag)
adapta-gtk-theme
adoptopenjdk-icedtea-web
aiodnsbrute
alloy (alloy5)
...

34 packages built successfully:

clean
cwebbin
dialog
dnsperf
dxa
lowdown
m2r
oh-my-zsh
python38Packages.buildbot-pkg
python38Packages.buildbot-plugins.console-view
python38Packages.buildbot-plugins.grid-view
python38Packages.buildbot-plugins.waterfall-view
python38Packages.buildbot-plugins.wsgi-dashboards
python38Packages.buildbot-plugins.www
python38Packages.deprecated
python38Packages.ftputil
python38Packages.geventhttpclient
python38Packages.ijson
python38Packages.inflect
python39Packages.buildbot-pkg
python39Packages.buildbot-plugins.console-view
python39Packages.buildbot-plugins.grid-view
python39Packages.buildbot-plugins.waterfall-view
python39Packages.buildbot-plugins.wsgi-dashboards
python39Packages.buildbot-plugins.www
python39Packages.ijson
python39Packages.yapf
rdkafka
spdx-license-list-data
vimPlugins.deoplete-khard
vimPlugins.deoplete-nvim
vimPlugins.vimsence
xa
yapf

11 suggestions:

warning: maintainers-missing
Package does not have a maintainer. Consider adding yourself?
Near pkgs/development/python-modules/ftputil/default.nix:27:3:
   |
27 |   meta = with lib; {
   |   ^

warning: maintainers-missing
Package does not have a maintainer. Consider adding yourself?
Near pkgs/development/python-modules/inflect/default.nix:26:3:
   |
26 |   meta = with lib; {
   |   ^

warning: missing-phase-hooks
buildPhase should probably contain runHook preBuild and runHook postBuild.
Near pkgs/development/tools/misc/cwebbin/default.nix:41:3:
   |
41 |   buildPhase = ''
   |   ^

warning: missing-phase-hooks
installPhase should probably contain runHook preInstall and runHook postInstall.
Near pkgs/development/tools/misc/cwebbin/default.nix:47:3:
   |
47 |   installPhase = ''
   |   ^

warning: unclear-gpl
gpl2 is a deprecated license, check if project uses gpl2Plus or gpl2Only and change meta.license accordingly.
Near pkgs/development/python-modules/buildbot/pkg.nix:29:5:
   |
29 |     license = licenses.gpl2;
   |     ^

warning: unclear-gpl
gpl2 is a deprecated license, check if project uses gpl2Plus or gpl2Only and change meta.license accordingly.
Near pkgs/development/python-modules/buildbot/plugins.nix:115:7:
    |
115 |       license = licenses.gpl2;
    |       ^

warning: unclear-gpl
gpl2 is a deprecated license, check if project uses gpl2Plus or gpl2Only and change meta.license accordingly.
Near pkgs/development/python-modules/buildbot/plugins.nix:27:7:
   |
27 |       license = licenses.gpl2;
   |       ^

warning: unclear-gpl
gpl2 is a deprecated license, check if project uses gpl2Plus or gpl2Only and change meta.license accordingly.
Near pkgs/development/python-modules/buildbot/plugins.nix:49:7:
   |
49 |       license = licenses.gpl2;
   |       ^

warning: unclear-gpl
gpl2 is a deprecated license, check if project uses gpl2Plus or gpl2Only and change meta.license accordingly.
Near pkgs/development/python-modules/buildbot/plugins.nix:71:7:
   |
71 |       license = licenses.gpl2;
   |       ^

warning: unclear-gpl
gpl2 is a deprecated license, check if project uses gpl2Plus or gpl2Only and change meta.license accordingly.
Near pkgs/development/python-modules/buildbot/plugins.nix:93:7:
   |
93 |       license = licenses.gpl2;
   |       ^

warning: unused-argument
Unused argument: tox.
Near pkgs/development/python-modules/deprecated/default.nix:2:18:
  |
2 |   wrapt, pytest, tox }:
  |                  ^


Add Power curves

This PR adds a function to get power curves using the endpoint /api/v1/athlete/{athlete_id}/power-curves and includes sensible defaults for the available parameters.
I have attempted to match the implementation style of previous functions/docstrings/tests, but I am unsure if this is as expected. Please let me know if there are any changes required.
This PR also bumps pytest so that testing can be run on Python 3.10 and 3.11. Please let me know if this should be split into a secondary PR.

Thanks !!


Updated gettingstarted/win32

Editorial pass for new content.

Docs Build status updates of commit 46e995c:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-edge/webview2/gettingstarted/win32.md
:white_check_mark:Succeeded

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

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

File
Status
Preview URL
Details

microsoft-edge/webview2/gettingstarted/win32.md
:bulb:Suggestion

Details

microsoft-edge/webview2/gettingstarted/win32.md

Line 3, Column 8: [Suggestion-duplicate-titles] Attribute 'title' with value 'Microsoft Edge WebView 2 for Win32 apps' is duplicated in 'webview2/gettingstarted/win32.md(3,8)', 'webview2/reference/dotnet/0-9-515-reference-webview2.md(3,8)', 'webview2/reference/dotnet/0-9-538-reference-webview2.md(3,8)', 'webview2/reference/win32/0-8-190-reference-webview2.md(3,8)', 'webview2/reference/win32/0-9-430-reference-webview2.md(3,8)'.... NOTE: This Suggestion will become a Warning in late September, 2020.

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

Docs Build status updates of commit 2a24b90:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-edge/webview2/gettingstarted/win32.md
:white_check_mark:Succeeded

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

#sign-off offline and merged.


Bleacon.StartAdvertising help needed! (raspberry emulating iBeacon)

Hi!
I'm trying to build something that emulates an iBeacon on a raspberry PI using node-bleacon.
Using Bleacon.StartAdvertising() I can get the raspberry's usb dongle to activate the BLE radio. It shows up in BLE Scanner and LightBlue scanner (IOS). But when interrogating the device more closely there is no "advertisement" UUID (ie. the ibeacon uuid) present. It will not show up in the Estimote ios app for example...
What am I doing wrong / missing here?

Do the advertising uuids vary by region? I'm in Finland. I solved this issue using the uuid b9407f30f5f8466eaff925556b57fe6d instead of the one mentioned in the documentation for Bleacon. Now the raspberry pi running bleacon shows up as an ibeacon in the estimote app.

@sleeperagent this is excepted behaviour, the Estimote app only scans for Estimote hardware. LightBlue doesn't display manufacturer data.
I suggest you use a generic iBeacon tool in, for example https://itunes.apple.com/ca/app/locate-beacon/id738709014?mt=8 - it will allow you to select a UUID to range or monitor.


Interactive navbar

Interactive navbar for mobile version

Add a navbar for home-page in mobile version
Add styling to navbar
Add event listeners to the navbar
Check for eslint errors
Fix eslint error

Fix the blur in the background of navbar
Fix the height of the navbar

Made the navbar cover the entire screen when enabled
Made the position of the navbar fixed so it does not disappear when the page scrolls


[codebuild] source_type - use value comparison instead of identity

Eventually I see error for CODECOMMIT source type:
ValueError: Source Location: must be defined when type is CODEPIPELINE

That was caused by identity check (is) of source_type string variable.
>>> source_type = 'CODECOMMIT'
>>> source_type is not 'CODEPIPELINE'
True   # <== What?

>>> id(source_type), id('CODEPIPELINE')
(4430947472,<PHONE_NUMBER>)

Cheers!

Thanks!