Support glob patterns for input/output paths?

Is your feature request related to a problem? Please describe.
In some projects, we have a lot of smaller components that are grouped into their own directories, where the source SCSS files live in the same place as the compiled CSS files. Technically, it would be possible to move all the compiled CSS into a dist directory of some kind, but it likely be a lot of work and possibly cause unexpected problems. I know the common wisdom is to have a separate dist directory for compiled stuff, but in some projects this feels like it makes less sense.
If we already know ahead of time that SCSS files are the only ones that are going to be built via our build script, then yarn build could ignore all other files and directories that aren't/don't contain SCSS files.
To put it more visually, here's a subset of a directory tree:

Currently, any modification to any of those files causes yarn build to rebuild it all, but it would be very handy if it could ignore changes to all but the SCSS files.
Describe the solution you'd like
Support glob patterns? I'm not sure what the performance implications of this might be, however. I'm on a high end SSD, though, so globbing is fairly fast on my hardware, but may not be as performant on lower end hardware.
Describe alternatives you've considered
Long term, I plan to break up a lot of these into smaller packages, but it'll require a lot of work and may still run into this problem.
Additional context
Drupal libraries compiled via Webpack? Not sure what else to provide.

In https://github.com/ojkelly/yarn.build/pull/232 glob support was added to input/output.
Try the following in package.json of the package.
  "yarn.build": {
    "input": [
      "src/**",
      "!src/**/*.css"
    ],
    "output": [
      "src/**/*.css"
    ]
  },

Well that's awesome to hear. Thanks!


Finetune LLama-2-70B using 16 * A10 (16 * 24G)GPUs?

🚀 The feature, motivation and pitch
There are few tutorials on  LLama-2-70B using 16 * A10. Can you give me a command if possible？Thanks!
Alternatives
No response
Additional context
No response

@babytdream  Given that you have a cluster that enable you to get 2 nodes of A10s, you might be able to use the following slurm script and need run the job/ the script from the headnode.
Just I believe if you wan to use A10s you might need PEFT as well, personally haven't run it on A10 yet. In the following script there are some EFA settings, in case your A10 instances are from AWS and some of them support EFA use them otherwise comment them out.
#!/bin/bash

#SBATCH --job-name=Nano-2d-trainer-20b-8nodes

#SBATCH --ntasks=2
#SBATCH --nodes=2
#SBATCH --gpus-per-task=8
#SBATCH --partition=train
nodes=( $( scontrol show hostnames $SLURM_JOB_NODELIST ) )
nodes_array=($nodes)
head_node=${nodes_array[0]}
head_node_ip=$(srun --nodes=1 --ntasks=1 -w "$head_node" hostname --ip-address)
# Enable for A100/A10s that support EFA
export FI_PROVIDER="efa"

echo Node IP: $head_node_ip
export LOGLEVEL=INFO
# debugging flags (optional)
export NCCL_DEBUG=WARN
export NCCL_DEBUG_SUBSYS=WARN
export PYTHONFAULTHANDLER=1
export LD_LIBRARY_PATH=/opt/amazon/efa/lib:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH=/usr/local/lib/:$LD_LIBRARY_PATH
export CUDA_LAUNCH_BLOCKING=0

# on your cluster you might need these:
# set the network interface
export NCCL_SOCKET_IFNAME="ens"
export FI_EFA_USE_DEVICE_RDMA=1

srun  torchrun --nproc_per_node 8 --rdzv_id $RANDOM --rdzv_backend c10d --rdzv_endpoint $head_node_ip:29500
 llama_finetuning.py --enable_fsdp --low_cpu_fsdp --pure_bf16  --use_peft --peft_method lora  --model_name PATH/TO/70B  --output_dir Path/to/save/PEFT/model

On the headnode, save the above in multi-node.slurm or any name.

activate your virtual env
sbatch multi-node.slurm

@HamidShojanazeri Hi, I have 16 GPUs in one machine, here is my gpu:

Can I run this multi-node.slurm?
I want to ask you another question about inference llama2-70b in 16 GPUs. I can't use this gpus to run  a essay code, like this:
import torch
from transformers import AutoModelForCausalLM, AutoTokenizer, TextStreamer
tokenizer = AutoTokenizer.from_pretrained("upstage/Llama-2-70b-instruct-v2")
model = AutoModelForCausalLM.from_pretrained(
    "upstage/Llama-2-70b-instruct-v2",
    device_map="auto",
    torch_dtype=torch.float16,
    load_in_8bit=True,
    rope_scaling={"type": "dynamic", "factor": 2} # allows handling of longer inputs
)
prompt = "### User:\nThomas is healthy, but he has to go to the hospital. What could be the reasons?\n\n### Assistant:\n"
inputs = tokenizer(prompt, return_tensors="pt").to(model.device)
if "token_type_ids" in inputs:
  del inputs["token_type_ids"]
streamer = TextStreamer(tokenizer, skip_prompt=True, skip_special_tokens=True)
output = model.generate(**inputs, streamer=streamer, use_cache=True, max_new_tokens=float('inf'))
output_text = tokenizer.decode(output[0], skip_special_tokens=True)

This appears an  error:

I ask many people to solve this problem,but failed.
I know 8 gpu can work it! But I need to increase the prompt of llama2, the 8 GPU is not enough!
Do you have some ideas, thanks!

I haven't tried TextStreamer, but can you give it a try to this inference.py, see if that works?

Can I run this multi-node.slurm?

In this case if you have one machine you wont need that just the normal multi-gpu command should help you either with FSDP or FSDP+ PEFT.

@HamidShojanazeri
Hi, I run it according to your commands, but it failed with the same question.For details, please refer to the answer of this link, thanks.
https://github.com/facebookresearch/llama-recipes/issues/140#issuecomment-1695188919

@babytdream Which cloud are you using for running your tests? Please run the p2pBandwidthLatencyTest sample from CUDA example as described in this post and share the results.
Also suggest running another test with the latest PyTorch nightlies and CUDA 11.8 or CUDA 12.0 and see if that is working in your setup.

@chauhang
Hi, my cloud is Alibaba Cloud. These is result:
when run this command:cuda-samples/Samples/0_Introduction/simpleP2P/simpleP2P
log1.txt
when run this command:cuda-samples/Samples/5_Domain_Specific/p2pBandwidthLatencyTest/p2pBandwidthLatencyTest
log2.txt
And this is my cuda and Toolkit:

@babytdream P2P settings seem to be fine based on the logs. Try setting below environment variables and then run one of the fine-tuning commands for pure FSDP or PEFT + FSDP.  Will be best to try these with the latest PyTorch nightlies:
export CUDA_VISIBLE_DEVICES=0,1,2,3,5,6,7,8,9,10,11,12,13,14,15
export TORCH_DISTRIBUTED_DEBUG=DETAIL
export NCCL_DEBUG=ERROR

# For FSDP fine-tuning
 torchrun --nnodes 1 --nproc_per_node 16 llama_finetuning.py --enable_fsdp --low_cpu_fsdp --pure_bf16 --model_name meta-llama/Llama-2-70b-hf --num_epochs 1  --dist_checkpoint_root_folder checkpoints --dist_checkpoint_folder fine-tuned

# For PEFT + FSDP fine-tuning
torchrun --nnodes 1 --nproc_per_node 16  llama_finetuning.py --enable_fsdp --use_peft --peft_method lora --model_name meta-llama/Llama-2-70b-hf --output_dir ./fsdp-models --num_epochs 1 --pure_bf16

@chauhang
Thanks for  your help!Can I ask you another question?
I want to use 16 GPUS  to inference the llama-70b first, and I use this this.
This is my command:python  inference/inference.py --prompt_file inference/chats.json  --model_name /data/model/Llama-2-70b-chat-hf/
But it appears same error:

And I try another command:torchrun --nnodes 1 --nproc_per_node 16 inference/inference.py --prompt_file inference/chats.json  --model_name /data/model/Llama-2-70b-chat-hf/
But it appears a new error:

Did I make any mistakes?Do you have some ideas?Thanks！

@chauhang I also have the same question when I use 16 GPUS to inference the llama-70b using inference.py(https://github.com/facebookresearch/llama-recipes/blob/main/inference/inference.py.
Can you give us some right command to run it? Thanks!

Please see the responses on the inference question issue here and use that issue for further follow-ups related to inference.
@babytdream I am assuming you are unblocked for the fine-tuning issue.

Hi! It seems that a solution has been provided to the issue and there has not been a follow up conversation for a long time. I will close this issue for now and feel free to reopen it if you have any questions!


Serialization issues

I've found several issues with how Serializable is used in the project:

No classes that are Serializable declare serialVersionUID fields (e.g. AsciiNumberFormatException, Int2ObjectHashMap etc.).
The classes should declare serialVersionUID field but it must be compatible with the old code, i.e. the value of the serialVersionUID field must match values at least from the latest released versions of Agrona on JDK 8 to avoid breaking existing code. This needs to also work for generated classes.

Some serializable classes contain non-serializable fields:

Externally assigned fields - for example IntLruCache takes two parameters one java.util.function.IntFunction and another java.util.function.Consumer neither of which are serializable by default and assigns them to the non-transient fields.
The easiest solution would be to mark the corresponding fields transient if it would not break the internal logic of the class. Otherwise the solution is require provided functions to be serializable. For example in case of IntLruCache the constructor signature will change to this:
     public <FACTORY extends IntFunction<E> & Serializable, CONSUMER extends Consumer<E> & Serializable> IntLruCache(
        @DoNotSub final int capacity,
        final FACTORY factory,
        final CONSUMER closer)
     {
        ...
     }

Or maybe simple instanceof Serializable check when creating object would suffice.

Internal fields - for example Int2ObjectCache caches KeySet, ValueCollection and EntrySet none of which are serializable. In this case we can either mark fields as transient or make the corresponding classes serializable.

I was against added Serializable but some people convince me it was just for testing. We should not need to be backwards compatible between versions with a serialVersionUID change.

@mjpt777 I guess we keep non-serializable lambdas as is, i.e. they render the corresponding collections non-serializable despite those implementing Serializable interface.
Possible solutions:

Drop Serializable from the collections that accept lambda as the constructor argument.
Add run-time check to ensure that provided lambda is serializable. Will break all existing code!
Add compile-time check check to ensure that provided lambda is serializable. Will break all existing code!
Add run-time check when serializing to ensure that use gets a nicer exception.
Do nothing - let it burn when someone tries to serialize.

If things cannot be seralized then we should remove it. Which classes are impacted?

@mjpt777 Updated #224 to use serialVersionUID instead of @SuppressWarnings("serial").

Impacted classes:

org.agrona.collections.Int2ObjectCache
org.agrona.collections.IntLruCache
org.agrona.collections.UnmodifiableCollectionView

And the generated classes from them.

We can remove Serializable from them.

Ok, will do in my PR/

The rest of this issues should be fixed with #224.

I'm too late to this discussion but the reason there were Serializable was because of this issue https://github.com/real-logic/agrona/issues/110


Import feature: show the differences of an element when it is updated by an import (and refactor)

Description

This PR implements a text difference viewer for the import of RDMO content elements (catalogs, optionsets, etc..).
It uses the react-diff-viewer-continued to display the changes during an import. In the back-end a sort of "track changes" function tracks the current and new state of each element which is returned in the json response.
The code architecture of the import is refactored into one central import function under management with helpers for each type of element.
Related issue: #468
Includes bug fix for: #998
Motivation and Context

How has this been tested?

Screenshots (if appropriate)
Currently:

previous version
![management-import-optionsets-1-changes](https://github.com/rdmorganiser/rdmo/assets/13996213/e5fcb01c-bc8e-4c86-9b89-4318fd015c47)

older previous version
![management-import-optionsets-1-changes](https://github.com/rdmorganiser/rdmo/assets/13996213/afec9fae-839b-496f-a817-5329f4167a45)

Types of Changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[x] Code style update (formatting, renaming)

some type hints have been added to the new code

[x] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] Documentation content changes
[ ] Other (please describe):

Checklist

[x] I have read the contributor guide.
[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I have added tests to cover my changes.

[x] also added more front end e2e tests

[x] All new and existing tests passed.

Still todo
Front-end

[x] add filter on top of import page
[x]  add info messages summary on top of import page
[x] button to show only the changed elements

[ ] fix the actions in the sidebar

I am sorry, there is more work to do on the css. Paddings and margins are off all over the place.

The padding needs to align with the rest of the panel.

Same here around the warning. It think it 15px.

The different items need the same margin-bottom, also here the margin-left needs to be gone.

This needs more styling, the background should be white (except the red/green part), Current/plus/minus looks like they are clickable, but they are not. The whole block needs a margin-bottom of 10 or 20. The mono space font should be smaller.

Here the indentation is off.

Same here around the warning. It think it 15px.

thanks yes, I had panel-body <div> at the wrong place in the hierarchy of the component

it looks somewhat better now I think, however there are still some todos...

Yes, much better, but there is now another panel around the entries, I would rather remove it. panel-body and list-group can be combined like this: https://getbootstrap.com/docs/3.4/components/#panels-list-group

I would also remove the red and green background (it conflicts with the border radius of all other panels buttons etc.). The plus and minus look like buttons, you could remove the border and add the light red and blue there.
We should also remove the "row/col indentation" from the displayed fields. Maybe we put the field name on top, and display either the diff or just the fields value, a bit like this:
help_de
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum.|
help_en
[+] Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor
    invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam
    et justo duo dolores et ea rebum.
[-] Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor
    invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam
    et justo duo dolores et ea rebum.

Looking at it again, can you set the padding of the areas with the text and the +/- to something like: 2px 8px 2px 8px and set the red green backround in the areas instead of outside?

I would also remove the red and green background (it conflicts with the border radius of all other panels buttons etc.). The plus and minus look like buttons, you could remove the border and add the light red and blue there.
We should also remove the "row/col indentation" from the displayed fields. Maybe we put the field name on top, and display either the diff or just the fields value, a bit like this:
help_de Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum.|
help_en
[+] Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor
    invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam
    et justo duo dolores et ea rebum.
[-] Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor
    invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam
    et justo duo dolores et ea rebum.

I think that showing only the diffs might be too confusing and maybe the user wants to sometimes copy/paste the values out of the page..

ok, makes sense. The regular output is also markdown rendered, right?

margin/paddings ok like this?

ok, makes sense. The regular output is also markdown rendered, right?

need to look into it, haven't changed anything to the regular output I think

[ ] think that the additional_input field on option still has problem, it should show [+] text here

Can you change this

Select all
Select changed
Deselect all
Deselect changed

Same for show. (I think it is deselect not unselect.)

The margin-top from .import-buttons needs to go.

One more: I think the checkbox should be Show only created and changed and should also include the elements to be created. The .horizontal-container needs to have padding-bottom: 0;

Yes, but the indent looks somehow "off". In the interview we have the same, but there is a moving arrow so there it makes sense.

I have one question about switching language/translations during import. It currently resets the page back to management (cancels the current import).
How could I prevent this and just switch language during the import? Do I need to hook the imports.elements back into a reducer somewhere?

I think its fine, there would be no straight forward way to keep the state when the page is reloaded.

[ ] the URIs for Attributes are not properly built at import (as shown in the CodeLink )

Front-end

[ ] update some things in the ImportSuccessElement
[ ] fix the placement in Warnings inside the panels

I've implement the last todos (https://github.com/rdmorganiser/rdmo/pull/810#issuecomment-2155083683) and pasted in the current  screenshot
Hopefully this is ready by now.
Tests could still be extended for the m2m cases...

force pushed the interactive rebase on the current dev-2.2.0

Alright! I think we are done. I adjusted the margings and changed the ShowLink icon to chevron-up/down. I hope thats ok with you.

thanks for the review and changes!
I think I still found one open to-do:

[ ] fix changing the path/key when importing an Attribute.

Same for changed and also in the filter.

I found something else which is rather small.

The . needs to go, and on this view it should not be created and updated since the import was not performed yet. Maybe create and update?

I've updated this in the labels and in the filter label. Only the "create" looks a bit strange. As alternative, maybe "new" or "creation" but am also not sure about those..

rebased to dev-2.2.0 and force pushed

I think new is great since we use new/neu also in the interface.

ok, changed the text to "new"
and added (new from dev-220) the short_title field to the import helpers

Sorry I found more bugs:

if you upload and import a faulty file the message is missleading:

with this xml
<?xml version="1.0" encoding="UTF-8"?>
<rdmo xmlns:dc="http://purl.org/dc/elements/1.1/" created="2024-07-01T10:53:07.185903+02:00" version="2.2.0.dev1">
	<question dc:uri="http://example.com/terms/questions/catalog/blocks/set/block/b">
		<uri_prefix>http://example.com/terms</uri_prefix>
	</question>
</rdmo>

(GitHub does not allow XML uploads)

For the same file: I got this

after I click Question or click show. I think this is also because of the broken xml file, so it is not super important.

I would remove the onClick on the created/updated badge or add cursor: pointer; using css, upt to you.

thanks for noticing and the xml.

* if you upload and import a faulty file the message is missleading:

This came from the back-end. I've changed it now so that "new" and "create" will not show at import when there are errors (and the db instance won't be saved anyways).

* I would remove the onClick on the created/updated badge or add cursor: pointer; using css, upt to you.

I've removed the onClick from the badge.
One other issue with this faulty xml was that the buildUri doesn't function properly anymore (it shows ../undefined in the URI).
I've changed it now so that the front-end that it will keep the element.uri when buildUri can not build the URI and returns null.
Another mini-feature addition I thought about was, to make these URIs at import also clickable (so that they open the edit page of each element). I would just need to the element.id from the backend and build the link. Do you think I should add that here?

No I would not add that. It could lead to problems if the users then go back in the browser. They should just click on "Back".


Unable to retrieve child resources

Preflight Checklist

[X] I have installed the latest version of Storage Explorer.
[X] I have checked existing resources, including the troubleshooting guide and the release notes.
[X] I have searched for similar issues.

Storage Explorer Version
1.31.1
Regression From
No response
Architecture
x64
Storage Explorer Build Number
No response
Platform
Windows
OS Version
Windows 10
Bug Description
Unable to retrieve child resources
ProducerError:{
"message": "{}"
}
Steps to Reproduce

creating the storage account
Open Microsoft Azure Storage explorer

Actual Experience
After creating the storage account, when opened the Microsoft Azure Storage explorer. I received the below error.
Unable to retrieve child resources
ProducerError:{
"message": "{}"
}
Expected Experience
No response
Additional Context
No response

@GitRameshHub Can you provide any more details about the step you followed in order to reproduce the issue? How are you connecting to the storage account (sign-in, connection string, SAS, etc.). Which storage resources are you trying to work with?

Closing due to lack of response.
If you're still encountering this issue, we recommend opening an Azure support ticket via the Azure portal. Alternatively you can open a new issue here. This issue will no longer be monitored.


Web - Pay someone - Console errors displayed after validating account

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: <IP_ADDRESS>
Reproducible in staging?: Y
Reproducible in production?: N
Issue was repro when executing this PR: <IP_ADDRESS>
Issue reported by: Applause Internal Team
Action Performed:

Go to https://staging.new.expensify.com/and log in with a new account
Select Something else on the onboarding modal
Click on FAB > Start chat and enter an email of another user
In 1:1 chat click on + > Pay someone
Enter the amount and proceed to the next step
Select Pay with Expensify
Enter a correct code

Expected Result:
There are no console errors
Actual Result:
There are consoles errors after validating account
Workaround:
Unknown
Platforms:

[ ] Android: Standalone
[ ] Android: HybridApp
[ ] Android: mWeb Chrome
[ ] iOS: Standalone
[ ] iOS: HybridApp
[ ] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos
https://github.com/user-attachments/assets/21e9450f-4a51-4164-b58c-e2bca8152d8f

View all open jobs on GitHub

Let's not block on this since it's not really a regression. I'll take over and make sure this gets cleaned up.

Not reproducible with the latest changes v9.0.61-1:


test(ws): enhance e2e test setup and cleanup

This PR introduces the following changes:

Removes the prompt for end-to-end (E2E) test execution.
Adds checks to verify if the CertManager and Prometheus operators are already installed. This prevents reinstallation and avoids unnecessary deletion.
Added support for skipping CertManager installation with the environment variable CERT_MANAGER_INSTALL_SKIP.
Added support for skipping Prometheus installation with the environment variable PROMETHEUS_INSTALL_SKIP.
Enhances the E2E test setup and cleanup.

These changes follow discussions with the Kubebuilder maintainer, who has already merged similar updates into Kubebuilder in this PR.
Note:

PROMETHEUS_INSTALL_SKIP is currently set to true by default because the Prometheus operator is not required at this time. However, it might be needed in the future, so the option remains configurable.

@Adembc thanks for this, after we added the "should not error" check for the applying of the controller CRDs, we were getting errors when we re-ran the e2e tests quickly.
This was because the ValidationWebhookConfigurations were not able to get their CA injected by cert-manager, because even though the cert-manager pods were ready, they had not taken the lease (so were not actually managing the cluster yet).
To fix this, I had to automatically delete the leases used by cert-manager so that it would take ownership of the CA injection faster.
see https://github.com/kubeflow/notebooks/pull/39/commits/ac8455a4456c23ea8029ee2f299db3c0ed9127a9

/lgtm
/approve


CI: Add GitHub Actions test runner

Let's see will it work. Should automatically run all tests we have on each push and pull request.

Great stuff!!


WIP: Fix: TestSimpleMetrics failed with vpp-agent v2.3.0

Description

Motivation and Context

How Has This Been Tested?

[ ] Covered by existing integration testing
[ ] Added integration testing to cover
[ ] Tested locally
[ ] Have not tested

Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.

blocked by https://github.com/ligato/vpp-agent/issues/1537


Support for credentials with session tokens

Add support for temporary credentials with sessionTokens

@cbarlow1993
Thanks for this suggestion. I implemented this feature a little bit differently, and re-deployed the code.


Low number of findings compared to commercial tool

Hi  all,
for OSS compliance and vulnerability reports we use the OSS review toolkit (ORT). The ORT advisor component currently supports querying vulnerability information from VulnerableCode and Sonatype Nexus IQ, which we both use. We host an instance of VulnerableCode and run the importers on a regular schedule.
With this setup in place for about half a year, I did an evaluation of the findings returned by VulnerableCode and Nexus IQ based on the results produced by ORT. The outcome is that the number of findings reported by VulnerableCode is significantly lower than for Nexus IQ, particularly for certain types of packages (NPM, Python, Maven). Find below an excerpt from the results. (The "Packages" column contains the number of packages for which at least one security vulnerability has been reported by one of the systems.)
Type     Packages  Findings IQ  Findings VC
Crate      23           19           17
Gem        22           67           25
Maven     929         2072         1044
NPM       644         1213           48
NuGet      40           42           29
PyPi       68          209           21
All      1729         3639         1184

The projects that have been scanned by ORT to produce these numbers are currently ongoing software development projects. I assume they use a typical set of library dependencies with up-to-date versions.
Now I am trying to investigate the reasons for these differences. What I have tried so far is the following:

I checked that the importers are actually running successfully and populate the database. At least, I did not see any suspicious logs during the execution. Here are some figures regarding the number of packages in our database generated by the command

SELECT vp."type" pt, COUNT(*)
FROM vulnerabilities_package vp
GROUP BY pt

Maven   21225
NPM     12077
PyPi    13768

Does this look plausible or do we miss relevant data from sources?

ORT queries VulnerableCode via the Bulk API passing in a list of PURLs for the packages in question. To rule out bugs in the interaction between these tools, I queried the VulnerableCode API manually, but came to similar results.
I tried to match the packages found by ORT directly in the VulnerableCode database, circumventing the API; but again, I did not find more matches.

So, the question is, do you have any ideas/suggestions what could be the cause for this low number of findings? Is our database corrupt or is VulnerableCode missing important sources of vulnerability information? Any help would be appreciated.

This might be related, but I found many CVEs without packages... To take a completely random sample, consider CVE-2020-15222
Querying the NVD CVE database we get at least one package (or CPE in this case: cpe:2.3:a:ory:fosite:*:*:*:*:*:*:*:*), e.g.
curl https://services.nvd.nist.gov/rest/json/cve/1.0/CVE-2020-15222

Checking VulnerableCode,  I can find the CVE but it has zero packages:

Is this just because purls and CPEs don't really play well together, or should the data be consistent?

@jlarfors Thank you for the details. For this CVE-2020-15222 this is different bug

we should have a created a package relationship for pkg:github.com/ory/fosite@0c9e0f6d654913ad57c507dd9a36631e1858a3e9 which seems to be the fix commit
and<EMAIL_ADDRESS>which is a fixed version
and<EMAIL_ADDRESS>which is the first affected version
and<EMAIL_ADDRESS>which the affected version in between
and a version range

@Hritik14 ^ :)

@jlarfors and possibly also other package relationships to be inferred as this is a Go package based on https://github.com/ory/fosite/blob/master/go.mod

We're missing the fosite vulnerability since there's no importer for go ecosystem. However this should be fixed by  https://github.com/nexB/vulnerablecode/pull/578

Dear all, is there any progress to report regarding this issue?

@sschuberth We are working on improving the data quality by VulnerableCode. A lot of it can be tracked in https://github.com/nexB/vulnerablecode/issues/597 and the other open tickets. We are also pondering over a project to compare VulnerableCode data to the rest of the world with something like VulnTotal.


How to build for both SDK12 (nrf51) and SDK15 (nrf52)?

Less an issue, but not sure how else to raise the question.
I'd like to be able to develop for both nrf51 and nrf52 devices without having two copies of nrf5x-base checked out. I'm not trying to use the same source code to build for both (although that would be nice) but rather just to have apps/nrf51_foo and apps/nrf52_bar and be able to build both using the nrf5x-base submodule.
Is this an eventual goal? I understand that nrf52 support is currently in its own branch. Is the intention to eventually have both supported in master?

Good question. The real answer is that we haven't decided yet.
So far, my thoughts had been on the keeping them separate side of the world. While supporting both SDK12 for the 51 and SDK15+ for the 52 would be good, I'm worried that it will create a lot of difficulties in getting everything working together because of the differences in the SDKs. It's fairly frustrating that the newer SDKs no longer support the nRF51s even though they're still in wide use.
One option is that we can have a tagged version of this repo that supports nRF51s, and master that supports nRF52s. To have one project use both, you'd create two different submodules that point to different commits.
A different possibility is that when we're happy with the nRF52832 branch, we can attempt to pull support for SDK12 into it, and maybe it won't be that hard?

I'd definitely like to have one happy submodule, but it looks like a not-insignificant amount of work to bring the sdk12 stuff up to the new build environment (with boards/, etc.).
In the meantime I'm trying to detect which SDK I'm building under so I can use as much common source as possible. I thought it'd be a simple task of
#if (SDK_VERSION >= 15)
/* SDK15+ stuff here */
#else
/* SDK12 stuff here */
#endif

but while that works for SDK12, it doesn't appear to work for SDK15 (which executes the else branch). Fine, I thought I'd just look at NRF_MODEL and do it that way, but that works for SDK15 but not 12.
Oddly, make -pn seems to show the correct output for SDK_VERSION and NRF_MODEL for both SDK12 and SDK15, but it's not getting picked up in the code within libraries.

I guess this can be closed too #44


update readme.md and add issue template

add bug report template and add support to readme file

@famarting


fix(curriculum): incorrect hint

The hint didn't match the requested value
Checklist:

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the main branch of freeCodeCamp.
[x] I have tested these changes either locally on my machine, or GitPod.

Closes #45842

The requested value is #cc6699 and the hint uses #66cc99

Hi @TrshDesigns. Congrats on your first pull request (PR)! 🎉
Thank you for your contribution to the page! 👍
We are happy to accept these changes and look forward to future contributions. 📝


Permalink does not include pll= when portal is selected (with solution)

I get annoyed that Permalink does not have the pll= with the actual lat/lng of the portal.  I often need the actual lat/lng to port into something else, like google maps.
I'm too lazy to git clone and all that, but here's the fix for the problem:
window.setPermaLink = function(elm) {
var c = map.getCenter();
var lat = Math.round(c.lat1E6)/1E6;
var lng = Math.round(c.lng1E6)/1E6;
var qry = 'll='+lat+','+lng+'&z=' + map.getZoom();
// BEGIN ADDITIONAL CODE
if(window.selectedPortal && window.portals[window.selectedPortal]) {
var p = window.portals[window.selectedPortal].getLatLng();
lat = Math.round(p.lat1E6)/1E6;
lng = Math.round(p.lng1E6)/1E6;
qry += '&pll='+lat+','+lng;
}
// END ADDITIONAL CODE
$(elm).attr('href',  '/intel?' + qry);
}

(of course immediately after I post this I find the "Portal Link" and "Map Links". Doh!)

Beat me to it 😂

pomozesz mi?


Could there be an os independent wrapper around things like Py_SetPythonHome?

Could there be an os independent wrapper around things like Py_SetPythonHome? It's not the most rustic of ffi interfaces and the sizes change between windows and linux.

Sorry for the delayed response here. What would your example use case be for Py_SetPythonHome ? I've never come across a situation where I've needed to change the python library location (virtualenvs?), but that could just be me.

The reason is we are using conda, and therefore python is not in the "standard location". This breaks the python interpreter initialization code, unless you have pythonhome set

(We are using setuptools-rust not maturin if thst sheds any light. I am guessing at some point we should switch over?)
Sent with GitHawk

All of the above sounds reasonable. We could easily add some wrappers for these functions.
Just one stupid question - I'm assuming you have reasons why you want to use this function rather than set the PYTHONHOME env var?


prefix_only=false is not having any effect

Describe the Issue
We are running into issues using the prefix_only config. Setting it to "false" seems to not take any effect.
We would expect that we can trigger a deployment to "dev" using following:
something .deploy dev
something .deploy
.deploy dev something
something .deploy dev something

We want to add "something" to the comment so that we can read it from the comment body and hand it over to subsequent workflow jobs.
It is possible that I do not understand the documentation for prefiex_only correctly. MAybe someone can elaborate this a little more?
 Please check your command and try again. You can read more about environment targets in the README of this Action.

The following environment targets are available: dev
2023-05-09T11:25:14.6460684Z ##[debug]No valid environment targets found
2023-05-09T11:25:14.6483908Z ##[debug]Node Action run completed with exit code 0

Extra Information
No response

@Fitzbert-Fitz I'm making significant changes to the way this Action works in regards to parameters and also adding custom parameter support. Please stay tuned for the next major release :eyes:

@Fitzbert-Fitz v6.0.0 is now in pre-release if you would like to test it out and see how the new params output works for you :tada:

@GrantBirki checking the documentation that looks like what we need. I will have a look in the next few days! Thanks a lot!


Autosave to cache

Like notepad++ does, load file once you open it, save hash somewhere to monitor file changes.
Once we start writing in the file we save to a cache somewhere, which means even after closing the editor (or just pulling the plug) we'll still have the files contents saved.
Then once we press save manually we overwrite the file we originally wrote.
Would be a nice feature i guess? :)

Thanks for the suggestion! I think this is a duplicate of https://github.com/atom/atom/issues/942 though, so I'm closing this out in favor of that issue - let me know if I'm misunderstanding though!

Yes and that description was probably better too, thanks! :)
2015-10-08 15:45 GMT+02:00 Machisté N. Quintana<EMAIL_ADDRESS>
Closed #9080 https://github.com/atom/atom/issues/9080.
—
Reply to this email directly or view it on GitHub
https://github.com/atom/atom/issues/9080#event-430320972.


Add ability to close a page from the main puppeteer instance

There didn't seem to be a format for creating a feature request, so here goes:
Problem
Currently, there is no way to close a page other than where you have access to the page itself. We should have a way to close the page from the root puppeteer instance. Here's my current setup:
1.) Master node process creates an instance of Browser by calling puppeteer.launch() and then spins up workers.
2.) Works individually use puppeteer.connect() to connect to chromium, creating an instance of Browser within the workers, and then a page is created on the browser.
3.) Workers do some work that takes time. This work, in some situations, might be infinite. In this instance, we have to force-kill the worker. When doing this, the page that the crawler was working with remains open. Since we had to force-kill, we can not set up a way within the worker so that it gracefully shuts down and closes the page before exiting the process.
Providing a way to be able to close a page through puppeteer would be ideal here. I've looked at the source and am having a hard time following the flow of events throughout, I'd be happy to submit a PR for a way to do what I describe if someone would like to walk me through how events are propagated to pages.
Sorry if this isn't the correct format for a feature request, if I can do better at explaining the issue please let me know!

https://github.com/GoogleChrome/puppeteer/pull/554 should help.

Closing as a dupe of #386


Added support for keycloak 17

The lib fails with Keycloak 17 as it seems that the way to create a keycloak instance changed.
I had troubles to test the change with the example, so I'm not 100% sure if this actually works.

Hi @liebharc. I appreciate your report. I tested your code with Keycloak v.17. but it doesn't work. The main difference between v.17 and the older versions is in the way of exporting the keycloak object.
I changed it based on v.17


Fix WorkspaceNew in linkingConfig since it's a screen not a modal

Details
I am not sure if this will fix the linked issue but we can test it on staging to see.
Fixed Issues

$ https://github.com/Expensify/Expensify/issues/178594
Tests / QA Steps

Sign out of NewDot
Sign up for a new account in OldDot on a mobile web (small width on Chrome or iPhone user agent in safari or iOS simulator)
Tap the first link
Verify you are brought to the workspace page

Tested On

[x] Web
[x] Mobile Web
[ ] Desktop
[ ] iOS
[ ] Android

Screenshots

Web

Mobile Web

Desktop

iOS

Android

🚀 Cherry-picked to staging by @marcaaron in version: 1.1.2-4 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
failure ❌

🕸 web 🕸
success ✅

@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes.

Tested internally using<EMAIL_ADDRESS>We can check this one off!
https://user-images.githubusercontent.com/22508290/134732941-226bd512-ea06-4ba5-8717-e856e6747131.MP4

🚀 Deployed to production by @timszot in version: 1.1.2-7 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
failure ❌

🕸 web 🕸
success ✅

🚀 Deployed to staging by @marcaaron in version: 1.1.2-9 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to production by @timszot in version: 1.1.3-1 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


Documentation no longer working

On a fresh clean pull of Apigility, when editing documentation for a service, the only field that is stored in the documentation.config.php file is the service description. All the fields for the collection, entity and their respective verbs are discarded.  Of note: I pulled down version 1.0.3 of Apigility and the documentation works as expected.
Attached are screen shots of the form before and after save.

This repository has been closed and moved to laminas-api-tools/api-tools-admin; a new issue has been opened at https://github.com/laminas-api-tools/api-tools-admin/issues/38.


[WIP] Feature/pausable fungible token

resolves #578
add pausable ft macro
add pausable trait
add pausable ft example

This seems stale from a glance, and I don't see any connected standard from https://github.com/near/NEPs or otherwise. Potentially this standard lives outside of the SDK for now?
Feel free to re-open if I'm misunderstood :)


Changed declare module "electron" to export = Electron

and added const declarations so that app etc are accessible.
Fully backwards compatible. I also added a couple of lines to the main.ts to test the changes.
Fixes #55
Also fixes #33 because it was bugging me.

@darsain

Just a thing about the linting then this looks GTG

Thanks for doing this, @NaridaL.
Are we good to go here? If so I'll merge and cut a new release.
This seems like a breaking change. Should we wait until the next major of Electron to use this?

Should we wait until the next major of Electron to use this?

If you decide to go this route, please provide a way how to consume this definition types now so we don't have to wait a year for next electron major. It's quite cumbersome to use current definition types :(

@zeke, this change doesn't break anything, a minor version should be fine.
On Sep 24, 2017 10:07 AM, "darsain"<EMAIL_ADDRESS>wrote:
Should we wait until the next major of Electron to use this?
If you decide to go this route, please provide a way how to consume this
definition types now so we don't have to wait a year for next electron
major. It's quite cumbersome to use current definition types :(
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/electron/electron-typescript-definitions/pull/78#issuecomment-331694456,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AKU8Sq4jybCNUrwIvoO8NWzFQr8j8Zpbks5slg2_gaJpZM4PeKpD
.

@zeke, @MarshallOfSound anything which remains to be cleared up so this can be merged?

Thanks, @NaridaL. This change will land in the next release of Electron, regardless of whether that ends up being a major, minor, or patch bump.
~/git/electron/electron-typescript-definitions master
$ np patch
 ✔ Prerequisite check
 ✔ Git
 ✔ Cleanup
 ✔ Installing dependencies using npm
 ✔ Running tests
 ✔ Bumping version using npm
 ✔ Publishing package
 ✔ Pushing tags

 electron-typescript-definitions 1.2.9 published 🎉


[Event Request] Codeunit 22 Item Jnl.-Post Line AppliedEntriesToReadjust()

We need to be able to effect whether or not "Applied Entry to Adjust" and ModifyEntry is set to true in the UpdateItemLedgEntry function of the Item Jnl.-Post Line codeunit.
We are requesting an event be added in the AppliedEntriesToReadjust function to allow this manipulation.
Example:
Local AppliedEntriesToReadjust(ItemLedgEntry : Record "Item Ledger Entry") : Boolean
*** New Event Code***
OnBeforeAppliedEntriesToReadjust(ItemLegEntry : Record "Item Ledger Entry", var Result : Boolean, var IsHandled : Boolean);
If IsHandled then
Exit(Result);
*** New Code End***
With ItemLedgEntry Do
Exit("Entry Type" IN  ["Entry Type"::Output, "Entry Type"::"Assembly Output"]);

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.


What is exact difference between "Provision your volume as a CSI ephemeral volume" vs "Provision your volume using static provisioning" in context of GCSFuse csi

In general Ephemeral volumes are tied to pods lifecycle. While Static volumes are not  .
That is incase of static volumes data will stay even if pod gets deleted. While for Ephermeral data is lost when pod is deleted.
In case of gcsfuse csi, I see that in both cases (Static as well as ephermeral) data is going to stay on bucket, when pod is deleted.
So I am trying to understand what is the difference between Ephermeral and static volume approach in case of gcsfuse csi.
I have referred to this doc https://cloud.google.com/kubernetes-engine/docs/how-to/persistent-volumes/cloud-storage-fuse-csi-driver
but could clearly distinguish between two.
The clear distinction will help me to choose between one of the two approaches.
Is it that any of the two approach can be used as per the convenience or there are some cases where one approach is preferred (or will not work)  over other ?

@ashish01987 thanks for the question.
You are right about the ephemeral volume in GCS FUSE CSI driver -- the data is going to stay, which makes the volume not totally ephemeral.
The intention to support the ephemeral volume in the CSI driver, like you mentioned, is to make the volume tide to pod lifecycle. This is commonly used in data processing and AI/ML training applications where developers do not need / want to maintain separate PV/PVC objects in the cluster.
On the other hand, some of the applications may only support PV/PVC, so the CSI driver also supports the traditional static provisioning.
As for which way is preferred, it depends on use cases:

If your application already uses PV/PVC, and you don't want to change the spec too much, then you can just modify your exiting PV to use the CSI driver.
If there are authentication restrictions in your system, and you don't want your developers to directly interact with the bucket, then cluster admin may want to create PV/PVC for developers.
If it does not make a lot of sense to create new PV/PVC objects for your applications, then the ephemeral volume may be a better choice.

No matter which interface you chose to use, the underlaying functionality is exactly the same. And in most of use cases, these two interfaces should be exchangeable.


Write assessment guide for network communication protocols

Notes removed from chapter which will  be put into assessment guide
{teacher}
This chapter is under evaluation. It covers one of six topics that students must select two from for the 3.44 Achievement Standard; the other 5 topics have chapters available, so there is still a wide range of choice available. Any feedback would be greatly appreciated. If you also teach your class, please complete the teacher survey here and and your students can do this one http://bit.ly/NCPSurveyStudents.
{teacher end}
{teacher}
See the URL above you? Notice how it says “http://” the p stands for protocol. They’re all around us on the web and this chapter will teach you more.
This chapter supports the "Network communication protocols" option of the NZ achievement standard 3.44.
Currently all material in this chapter is relevant to the standard, although students can choose one or two examples to focus on to meet the requirements of the standard.
Be careful not to confuse this topic with those from the infrastructure standards such as the 2.50 or 2.51 achievement standards. 2.50 ensures a student knows the layers in the TCP/IP networking model and the role of this model in LAN architecture. We approach this from a different perspective, not touching on the OSI model, but mainly acknowledging the existence of a layered model. Similar approaches at level three in 2.50 with WAN architecture. This chapter focuses on the problems and the techniques used to solve them from a computer science perspective. While there is overlap, high achieving submissions will also take this approach.
{teacher end}
{teacher}
Key concepts that are likely to be encountered are: formal communication, structured requests/responses, addressing, packet loss, quality of service, network performance.
Algorithms: (techniques are more relevant to this area than algorithms)
Techniques: packet switching, handshaking, acknowledgement, checksums, redundancy, packet ordering and use of timeouts.
Applications: Protocols that you will investigate are HTTP and IRC, and UDP and TCP. You could also look at DNS, FTP, DHCP, Telnet or SSH. The applications of network communication protocols are easier when you use those from the Application level (rather than the transport or internet), however UDP and TCP are more complex and more interesting.
{teacher end}
Projects - HTTP and IRC
{teacher}
As further guidance as to what students should do, we have made this overall outline of how the project fits the standard. Note that for 3.44 this covers one of the two areas of computer science students have to cover in their report. They must pick one other area of computer science to do a project on as well.
Selected Area: Network Communication Protocols
Key Problems:

The bigger problems are: Reliable, efficient communication suitable to purpose. Abstracted level of communication
Application layer: Transfer of text, video, audio, files. Effective error communication.

Key algorithm/Techniques:

Bigger solutions: A layered network model approach, each level having its role and abstracting it from the level above.
Application layer: requests, responses, resources, error codes, commands.

Examples of practical applications: Looking at web traffic with the network inspector/developer tools or using a private IRC channel and using some commands.
Personalised student examples: Each website a student visits should be unique, they should report on unique requests and responses they see. They could talk about different error codes and why they exist in groups (100, 200, 300, 400 and 500). With IRC, a sensible chat session could be recorded and experiences with various commands.
For achieved, it could be expected that a student...
"describing key problems that are addressed in selected areas of computer science"

Describing the problems at the overall level, or on the application layer.

"describing examples of practical applications of selected areas to demonstrate the use of key algorithms and/or techniques from these areas"

Carrying out an activities above
Describing how the activity went
Reporting on the results
Describing at least 2 or 3 samples of the activity
Showing data/results from those runs
Describe one technique that is used in this activity

For merit, it could be expected that a student...
"explaining how key algorithms or techniques are applied in selected areas"

Explaining what factors have to be considered when carrying out the the activity, to ensure a valid result.
Explaining what HTTP or IRC achieves and how it achieves that.

“explaining examples of practical applications of selected areas to demonstrate the use of key algorithms and/or techniques from these areas."

Explaining how the the activity could be used to evaluate a new protocol
Giving examples of the protocol trying to address these issues

For excellence, it could be expected that a student...
"discussing examples of practical applications of selected areas to demonstrate the use of key algorithms and/or techniques from these areas"

Discussing other possible applications of techniques used in HTTP or IRC. This may be difficult and not suitable for excellence level.

"evaluating the effectiveness of algorithms, techniques, or applications from selected areas."

Discussing the various protocols, how they are used and why.
Discussing the differences of HTTP and HTTPS. Discussing IRC vs another chat protocol (telnet, linux’s wall).

{teacher end}
HTTP is the most common protocol yet. We use it every day and you’re using it right now if you're viewing this on the web.
Open up the web inspector (you might have to do this at home if your school doesn't have it available) and have a look at the traffic. You might need to refresh, depending on your browser. We recommend Chrome, which is free to download at https://www.google.com/chrome/browser/.
Bring up the Developer Tools. Find the Network tab. Reload the page. You should now see a slew of request form. Go through and click each one. Have a look at the details you can see under headers.

What is the remote address?
What type of method is it?
What does the status code mean?
What is the path?
What is the response?
What is actually happening here? What part of the page is loading?

{teacher}
Here’s a quick video from Numb3rs -"how hackers talk when they don’t want to be overheard"
{teacher end}
IRC is a very primitive chat program which is fun to use with your friends.
Go be a hacker, grab a friend and visit freenode and create a channel for you. Now, look at the list of commands you can use and try to use some of them. What response do you get? Does this make sense?
Try a one on one conversation with a friend. If they use commands, do you see them? How about the other way around?
{teacher}
TCP and UDP are a lot more complex than the protocols above. However are required to get the depth needed for Excellence and Merit. TCP is a protocol that addresses packet loss, duplication, corruption and delay, UDP does not. Packet reliability is fixed for a chosen set of solutions in TCP, in UDP it is not. Because these solutions takes time, TCP is typically not suitable for real-time communication such as Skype, music or video or online video gaming, but UDP is not suitable for email, text, downloads etc - times where all data has to be present and accounted for.
{teacher}
As further guidance as to what students should do, we have made this overall outline of how the project fits the standard. Note that for 3.44 this covers one of the two areas of computer science students have to cover in their report. They must pick one other area of computer science to do a project on as well.
Selected Area: Network Communication Protocols
Key Problems:

The bigger problems are: Reliable, efficient communication suitable to purpose. Abstracted level of communication
Application layer: Transfer of text, video, audio, files. Effective error communication.
Transport layer: Packet loss, packet corruption, packet delay

Key algorithm/Techniques:

Bigger solutions: A layered network model approach, each level having its role and abstracting it from the level above.
Application layer: requests, responses, resources, error codes.
Transport layer: packet switching, handshaking, timeouts, acknowledgements, packet ordering

Examples of practical applications:
Practical applications of TCP are non-realtime applications such as email, web browsing, file transfer and downloading. UDP is more for real time applications such as music and video streaming, online gaming and VoIP and VoLTE.  You can’t really see these in practice since they’re are abstracted away, but you can dig into it for a project with some tools. Wireshark, TCP Dump  or  Windump  Note: WinDump and TCPDump spits out your own TCP traffic, so there are no privacy issues there. Traffic can be recreated by adding together TCP packets, so be careful about posting packets online - they may contain sensitive data such as passwords.
Personalised student examples:
Each student experience playing Tablets of Stone or playing Packet Attack should be unique and can be used to illustrate TCP and UDP. Also, using TCPDump or Windump would be a great example, but is a little more difficult. Use the guides we’ve linked to. It’s almost certain students will have to perform these tasks at home.
Projects - TCP and UDP
For achieved, it could be expected that a student...
"describing key problems that are addressed in selected areas of computer science"

Describing the problems at the overall level, or at application or transport layer

"describing examples of practical applications of selected areas to demonstrate the use of key algorithms and/or techniques from these areas"

Carrying out an activity above
Describing how the activity went
Reporting on the results
Describing at least 2 or 3 runs of the activity
Showing any data/results/screenshots/photographs from those runs
Describe one technique that is used in this activity

Questions:

What problems did you encounter when transmitting data across networks? Talk about problems that you encountered at the start of Tablets of Stone (photos are great!)
What solutions did you see in Packet Attack, what attacks did they stop?

For merit, it could be expected that a student...
"explaining how key algorithms or techniques are applied in selected areas"

Explaining what factors have to be considered when carrying out the the activity, to ensure a valid result.
Explaining the details of at least two techniques used by lower level protocols to address reliability or efficiency.
For example, imagine you had to post a 500 page book, using only postcards. What would you use? How would you correct for lost postcards?

Questions:

Explain the use of TCP and UDP in networks today, with example situations. What systems use TCP? Which use UDP?
Explain at least two techniques used by TCP and/or UDP to address the problems above. Show some examples from packet attack (and tablets of stone) that illustrate the concepts.

“explaining examples of practical applications of selected areas to demonstrate the use of key algorithms and/or techniques from these areas."

Giving examples of the protocol trying to address these issues
Explain what headers, footers etc do on a packet, and what is in them
Explain what TCP is used for and what UDP is use for and why (real time vs accuracy)

For excellence, it could be expected that a student...
"discussing examples of practical applications of selected areas to demonstrate the use of key algorithms and/or techniques from these areas"

Discussing other possible applications of techniques used in Packet Attack and Tablets of Stone that display TCP and UDP principles.

"evaluating the effectiveness of algorithms, techniques, or applications from selected areas."

Discussing the various protocols, how they are used and why.
Explaining how the the activity could be used to evaluate a new protocol
Discussing the differences of TCP vs UDP and why they exist and/or their applications. (Effectiveness could be reliability or speed - usually a trade off. Packet size? Content vs Correctness)
In terms of evaluation, students could use a stopwatch to time several runs of Packet Attack or Tablets of Stone and graph the trend of reliability and delivery time with all of TCP in place. For example, they could set up a custom level in packet attack with 5 kills, 10 kills, 20 kills, 50 kills and see if there is a trend. Report on it, discuss why they are seeing it.

Questions:

For systems that require TCP, what might happen to them if TCP did not exist and they had to use UDP?
Discuss the differences between TCP and UDP, why each exists and why you would choose a particular protocol for several scenarios.

{teacher end}
Before writing about Network Communication Protocols, think about the following questions:
Tablets of Stone:

How did your messaging go when you first started?
Did you need numbers on your tablets?
Was it a pain to use up tablet space on numbers and other information?
Did you ever get to reliable communication?

Packet Attack:

What happens if you add too many kills, corrupts and delays? Is there a relationship between this and time taken to transmit the message? Try graphing it
What happens if you turn off all the defenses?
What happens if you have no kills, corrupts and delays?
What happens if you only have delays?
What happens if you kill a packet creature when it tries to get sent the second time?
What other situations can you get the protocol in?

{interactive-inpage packet-attack-level-creator}
{teacher}
Note that the questions cover the report up to merit level, but if students are aiming for Excellence level you will need to make sure they have covered the criteria in the 3.44 standard (there's more information about this in the teacher notes above).
{teacher end}
For a project, using the knowledge you have gained on TCP and UDP, create some custom levels in Packet Attack using the controls just above to create some unique situations that illustrate different aspects of Network Protocols. The following questions will help you to reflect on the issues that you could talk about:

What problems did you encounter when transmitting data across networks? Talk about problems that you encountered at the start of Tablets of Stone (photos of examples from various stages of the activity are a great way to illustrate it!)
Explain the use of TCP and UDP in networks today, with example situations. Which systems use TCP? Which use UDP?
Explain at least two techniques used by TCP and UDP to address the problems above. Show some examples from Packet Attack (and/or Tablets of Stone) that illustrate the concepts.
For systems that require TCP, what might happen to them if TCP did not exist and they had to use UDP?
Discuss the differences between TCP and UDP, why each exists, and why you would choose a particular protocol for several scenarios.
How does the performance of protocols like TCP change as the reliability of the connection varies? You could look at how the speed of getting data through changes if lots of packets need to be re-sent.

For a project, using the knowledge you have gained on TCP and UDP, create some custom levels in Packet Attack using the controls just above to create some unique situations that illustrate different aspects of Network Protocols. The following questions will help you to reflect on the issues that you could talk about:

What problems did you encounter when transmitting data across networks? Talk about problems that you encountered at the start of Tablets of Stone (photos of examples from various stages of the activity are a great way to illustrate it!)
Explain the use of TCP and UDP in networks today, with example situations. Which systems use TCP? Which use UDP?
Explain at least two techniques used by TCP and UDP to address the problems above. Show some examples from Packet Attack (and/or Tablets of Stone) that illustrate the concepts.
For systems that require TCP, what might happen to them if TCP did not exist and they had to use UDP?
Discuss the differences between TCP and UDP, why each exists, and why you would choose a particular protocol for several scenarios.
How does the performance of protocols like TCP change as the reliability of the connection varies? You could look at how the speed of getting data through changes if lots of packets need to be re-sent.


Issue with community/vertex_endpoints/torchserve/dreambooth_stablediffusion.ipynb

Hello,
This notebook is a tutorial how to deploy a custom stable diffusion network stored here (gs://cloud-samples-data/vertex-ai/model-deployment/models/stable-diffusion/model_artifacts.zip). But at the end of the day it creates the handler.py which uses model_id = 'runwayml/stable-diffusion-v1-5'.
How can one adjust the code of this notebook to actually deploy a customly trained dreambooth from gbucket?

https://github.com/GoogleCloudPlatform/vertex-ai-samples/blob/main/notebooks/community/vertex_endpoints/torchserve/dreambooth_stablediffusion.ipynb

@zetyquickly : can you please check this notebook pytorch_image_classification_with_prebuilt_serving_containers.ipynb and see if it'd help?
Although this notebook is not stable diffusion specific, it demonstrates how to upload and deploy a PyTorch image model using a prebuilt serving container.

closing issue as notebook is no longer supported.


Outdated CLI release

It seems that the notary client release (0.4.3) could you create a new release? Or is version 0.5.1 not a stable release?

0.5.x was a somewhat special version that we didn't want to generally support. We're working on a 0.6.0 release that will be supported.

Just released today if you wanted to check it out, @spielkind

Closing this issue, as 0.6.0 just came out.  If you find any issues with the release, please feel free to file one or more new issues!


Debug PostgeSQL procedures: separate launch shortcuts for "Local" and "Global" debug

There should be separate "Debug As" menu items (launch shortcuts ) for PostgeSQL procedures like:

PL/pgSQL (Local)
PL/pgSQL (Global)

Added "Specify Script" dialog to configure initial "Local" launch
Added "Specify PID" dialog to configure initial "Global" launch


Clarify dual licensing with the maintenance license

I like it, it's pretty thorough, and I thought we should push for open licensing more, hence this proposal.
People could also include their own additions, say if they didn't want to allow inclusion in other work, but I don't think we need to complicate matters.

Then there needs to be an extra clause somewhere, otherwise the two things are in conflict. It's not just CC anymore.

I guess our use would be dual-licensing: the first license is the one specified in the LICENSE file and the second license is the simple one specified in MAINTENANCE.md.
Perhaps we should rename the LICENSE files to LICENSE-CC-BY-4.0 (etc.) and the MAINTENANCE.md file to LICENSE-MAINTENANCE.md to make this clearer and update the readme to indicate such.
e.g.

This mod is Copyright (c) 2019 Author.  You are allowed to submit maintenance updates for this mod. (linking LICENSE-MAINTENANCE.md) This mod is additionally licensed under CC-BY-NC-4.0, which grants additional permissions. (linking the human-readable summary of the appropriate license on creativecommons.org)

Yes, it would be dual-licensing. The renaming is a good idea for clarity and for non-ND licenses LICENSE-MAINTENANCE.md wouldn't even be needed.

Btw, do you plan to make any announcements? Existing mods could adopt these too.

Yeah, I just wanted to make sure the recommendations were clear and provide some sample repos to point to before posting in the forums.  So far, just the RealMod repo has been updated.  I'll take a look at some of the other repos this weekend.

Thanks for your engagement on this topic, by the way. It's been very helpful and motivating.

Gladly, I want mods to be resilient as much, if not more, as anyone.
Github nicely provides an overview of each license, however it appears it either doesn't support CC or there is extra text in our copies. Here's an example of gemrb-mods: https://github.com/lynxlynxlynx/gemrb-mods/blob/master/COPYING

Yes, I was very interested in that feature.  Unfortunately, the software that detects the licenses (licensee) only attempts to detect licenses that are described on choosealicense.com.  Right now this is only only CC0, CC-BY, and CC-BY-SA, and none of the other Creative Commons licenses.  They were traditionally focused on software licenses and have been very slow to adapt to increasing use of GitHub for other content.  There have been requests to add all Creative Commons licenses going back 6 years now.
There's currently a 2-year old bug in licensee where it doesn't properly detect official CC0 licenses as well.  The text for the CC0 license on choosealicense.com differs slightly from the official text on creativecommons.org, and licensee only correctly identifies the choosealicense.com version.
So, it's a bit of a mess.  I've just done some testing and it seems that if you have 2 files that start with LICENSE and they are detected as different licenses (or can't be identified), it won't display the nice summary for the repo with what it does detect.  Do you think we should change the naming of the maintenance file from LICENSE-MAINTENANCE.md to something like MAINTENANCE-NOTICE.md in case they sort out CC detection in the future?

I didn't look into it at all, but yeah, now would be the time to change the names if ever. MAINTENANCE-NOTICE also sounds less scary.


Cannot fetch data from Firestore with grpc 1.24.0

I am trying to use this package with a Laravel backend to handle the data in Firestore database. Details of my local environment are as below.
Ubuntu 20.04.3 LTS
GNU Make 4.1
gcc 9.3.0
PHP 7.4.27
PEAR 1.10.12
grpc 1.24.0 or 1.44.0
protobuf 3.19.4
Laravel 8.83.4
kreait/laravel-firebase 4.1.0
I have created a service account in Firebase project settings and have downloaded a private key in a JSON file. And set the path of it as the value of the below environment variable.
export GOOGLE_APPLICATION_CREDENTIALS="/home/vagrant/my-project/firebase-adminsdk.json"

Then I am using Laravel tinker to fetch a document from the Firestore database.
$db = new Google\Cloud\Firestore\FirestoreClient();
$docRef = $db->collection('users')->document('047gpiOlqGRlL6gUAnwwpVTzKiR2');
$snapshot = $docRef->snapshot();

But the above script hangs running on the last line of the above code block without returning a value or throwing an error nor an exception.
The same issue occurs in the testing server with below configurations
centos-release-7-9.2009.1.el7.centos.x86_64
GNU Make 4.2
gcc (GCC) 4.8.5
PHP 7.4.28
PEAR 1.10.13
grpc 1.24.0
protobuf  3.19.4
But if I downgrade the grpc to 1.4.0 in the testing server, I can successfully fetch a document from the Firestore database. But I cannot downgrade the grpc package in my local environment to a version below than 1.24.0.
I have already spent 2 days trying to find a solution for this, trying to install grpc 1.4.0, trying to downgrade GNU Make, trying to downgrade gcc. But nothing is successfully working.
Any help is extremely appreciated. Thank you!

Uh, that's tough, needing to downgrade 20 minor versions to make it work. Unfortunately there's nothing I can do from the SDK's perspective, so I would generally suggest creating an issue at https://github.com/grpc/grpc and/or https://github.com/googleapis/google-cloud-php (where the Firestore Client is from).
Could you try removing/disabling the protobuf extension? I sometimes had issues with it in the past, perhaps it could make things better for you as well 🤞


Virus Detected by Windows

Describe the bug
Windows Defender instantly detects the file as a virus and deletes it. It lists the threat as severe, and when clicking to 'Learn More' goes into detail that the file contained a trojan virus(Trojan:Script/Wacatac.B!ml).
To Reproduce
Steps to reproduce the behavior:

Download the first file listed
Run the file on Windows 10

Expected behavior
Windows will detect a threat, and instantly quarantine, and then delete any subsequent downloads.
Screenshots

Desktop (please complete the following information):

OS: Windows 11
Device: Desktop Computer

Additional context
I was able to run the app up until I tried to convert files, wherein Windows detected an issue and quarantined the program. Every download of the application afterwards was instantly deleted.
https://www.microsoft.com/en-us/wdsi/threats/malware-encyclopedia-description?name=Trojan%3AScript%2FWacatac.B!ml&threatid=2147735503

Ugh. I accidentally rebuilt 6.2.0 on the windows version and it seems to be causing issues. Please use an older release in the meantime while I look into it. 6.0.0 is very stable, 6.1.0 had a lot of issues.

@Murderchan Tweaked the build process, please confirm if its fixed.

@alpaquito28 is the error message any different? Screen shot and is it w10 or w11?

@axu2
I downloaded  at 14.15 CET multiple times the latest available version 6.2.0.exe, the first of the assets lists. It got flagged (quarantined and deleted) every time before I could run it. The trojan seems to be different than the one from the issue creator. Windows will detect a threat, and instantly quarantine, and then delete any subsequent downloads.
After that I tried with the previous version 6.1.0.exe. Before running it I also got a warning from Windows defender, but after dismissing it, it ran without issues and I could proceed as normal, so I did not try with 6.0 version.
Version: 6.2.0.exe
Trojan:Win32/Sabsik.FL.A!ml
Windows: 11 23H2 (Lenovo Laptop)
This is the link from Microsoft after clicking on more info: https://www.microsoft.com/en-us/wdsi/threats/malware-encyclopedia-description?name=Trojan%3AWin32%2FSabsik.FL.A!ml&threatid=2147780195

Nevermind - in the middle of converter some volumes Windows flagged it and quarantined it again. I almost finished 3 volumes worth of material before it got flagged.

Sadly this often an issue with PyInstaller binaries. !ml in threat name mean it was educated guess - bad one in this case.
Report a false positive to Microsoft.
Make sure that PyInstaller is recompiling the bootloader before using it and I would suggest to codesign the windows binaries - it helps a lot with this issue.

Ok, I reported it, and also did a tweak to the build process. Please report if it works now.
And I imagine codesign costs hundreds of dollars?

Certum have quite cheap ones for open source project.

Time to make that donation button on the main page useful :grin:

I did a little research, I think maybe publishing on Microsoft Store is cheapest option.


Add scamt.txt

@zilov Please provide us with a proof, which shows that the school recognizes the domain scamt.spb.ru that you are submitting as an official email domain for the students.

@philipto thank you for the quick reply! Email domain for students is @scamt-itmo.ru, the official site of the institute is https://scamt.ifmo.ru/ (link to the site can be found on official ITMO University site here https://en.itmo.ru/en/faculty/110/himiko-biologicheskiy_klaster.htm). Is that enough, or I should find some more proofs?

@zilov Thank you! I renamed the file in your request to ensure that a correct domain is added to the repository: scamt-itmo.ru email domain corresponds to a file lib/domains/ru/scamt-itmo.txt, according to the rules. Pull request merged.

@philipto thanks a lot!


Add machine properties

Would be nice to have some machine properties available:

model name
cpu (name, sockets, cores, threads)
memory
storage (type and size)

One way of doing it is map of machines<>properties. It requires three database tables:

machines
properties
machine_properties

Machines table exists already and we need just ID from there.
Properties table:

ID
name
order

1
CPU cores
10

2
CPU name
02

3
CPU sockets
05

4
Memory size
30

5
Storage SSD
40

6
Storage HDD
50

7
Model name
01

Then table with mapping (machine_properties):

ID
machine_id
property_id
value

1
1
1
8

2
1
2
X-Gene 1

3
1
4
64GB

4
1
5
480GB

5
2
3
4

6
2
1
64

7
2
2
MemberX confidential CPU name

8
2
4
128GB

9
2
5
512GB

10
2
6
2TB

11
2
6
2TB

12
1
7
Moonshot m400

13
2
7
RT249WX9

This tells us that Machine ID 1 is m400 cartridge with X-Gene 1 cpu with 8 cores, has 64GB ram and 480GB SSD. Machine  ID 2 is RT249WX9, has  "MemberX confidential CPU name" with 4 sockets and 64 cores in total + 128GB ram, 512GB SSD and two 2TB hard drives.

Superseded by #5


adding uscb and cmu publications to the publications page

Adds USCB and CMU publications to the publications page + annotation for papers that M-Lab team member contributed to.

This change is

LGTM

Thanks!


Filtering actions

Hi! I have the next issue:
function* update(action) {

    if (action.payload === ...)) {        // I need to process request depending on the payload
      return;
    }

   ... process request
}

function* root() {
    yield takeLatest([ ... ], update)   // additionally I need to take only latest and cancel previous process
}

Issue appears in the situation when the first action meets conditions and gets processed, but second new action doesn't meet conditions and cancels previous process.
Is it possible to move that condition into redux-saga and take only actions that meet conditions? I've seen this feature in the eventChannel and it would be great to use it in the take effects also. Thanks.

You can use takeLatest(action => action.type === SOME_ACTION && action.payload.id === id, ...), but with the simple takeLatest you want be able to takeLatestBasedOnKey - you will have to create this on your own. Should be quite simple actually, just cache tasks in the map per id and manage that.

Great, thanks!


Add jwt support

While poking around with the gradle part I used mostly jwt instead of oauth. Eventually running the native image failed because of missing jjwt classes. Is that only related to gradle or do we only support oauth for now?

The original examples that Josh and I created only tested OAuth. We should support JWT. It's probably just a matter of adding type hints for classes instantiated with reflection.

Yes think so too, just wanted to make sure its not related to gradle.

Refer to https://github.com/jwtk/jjwt/issues/637#issuecomment-912839710 .

Thanks @linghengqian. Seems not to complicated (but I did say the same about adding gradle support 🤣)

@mshima Can you do a the release again?

@atomfrede done.


[move] Additional functions get coin metadata for Coin module

The purpose is to help other smart contracts read the decimals of coins for calculations

Thanks for contributing @0xTigerBao !  It looks like this is already being added in #6911, along with some other functions!


Open recursive DNS

Looks like wg-dashboard allows anyone and everyone on the internet to perform recursive DNS lookups via CoreDNS as port 53 is allowed on all interfaces.

Hi,
I updated the install script to only allow port 53 on the wg0 interface as seen on 847f06d8156760bf56641afabb59cb200cbeb8e4.


Add error message for 3D reconstruction in unity editor

When 3D Reconstruction examples are run in the unity editor, it logs the unhelpful error "Update called before creating a reconstruction context." every frame. This changes it to log a more clear error just once.

Thank you for the PR! I've merged these changes to our internal repo. The next release should have these changes integrated in.


C0-9250-6

Hello, i did everything like the tutorial said, and i am getting the error code C0-9250-6, i did the whole process 3 times checking every bit carefully, but it still fails with the same error, telling me to reinstall the app from the Playstation Store. I am running OFW 3.68 without prior mods.
//Edit: Also, if its important, i am using the Wifi Only OLED Vita (PCH-1004)

Ok, it works now when i did it over my PC in the exact same way, entering the same commands, running the same os. This sems like a Laptop oddity, the files also had the same size, but it took longer to transfer? Maybe its drivers (should be the same too), the amd/amd instead of intel/amd setup, Laptop oddity, or USB3 on the pc (wich really shouldnt work, but does so better than 2 on my setup!?)


Fix invalid NEON instructions for armv6 Raspberry Pi's

Fixes how flags are passed to Zig so proper armv6 code is generated by the compiler.
Attempts to resolve issues reported in https://github.com/yifeikong/curl_cffi/issues/124

@yifeikong can you please try running the latest build's artifacts on your armv6 and see if the issue is resolved?

Works like a charm.

I'm going to clear the github actions cache later today, before merging this in. Existing caches may have bad code, so that should get correct builds going forward


-W041 not in effect when a function uses != null above the hint

var x = 3, y;
function foo(f,g,h) { return h != null; }
/*jshint -W041 */
console.log(x != null);

Expected behavior: only one warning for h != null
Actual behavior: two warnings

Probably should clarify: putting the jshint comment above the first instance does the right thing:
var x = 3, y;
/*jshint -W041 */
function foo(f,g,h) { return h != null; }
console.log(x != null);


Turn off Compose resources sync when third party resources plugins ar…

…e used

Please check why it is failed: GradlePluginTest[Gradle '8.1'] > iosResources() FAILED
java.lang.AssertionError at GradlePluginTest.kt:74


fix: Resolve blank page issue after activating service subscription

Description

In the Service Subscriptions section, after activating a service, the user is redirected to a blank page.

why

When we hit the Confirm button, we get multiple Technical Users in technicalUserInfo. Ideally, The frontend has to display various Technical Users. But, according to the current Implementation, we are expecting an object that is WRONG.
Currently, We are showing multiple Technical Users in "Provider View" in the same way I show multiple Technical Users in the Confirmation Screen.

Issue
Link to Github issue.

Checklist
Please delete options that are not relevant.

[x] I have followed the contributing guidelines
[x] I have created and linked IP issues or requested their creation by a committer
[x] I have performed a self-review of my own code
[x] I have successfully tested my changes locally
[x] I have checked that new and existing tests pass locally with my changes
[x] I have commented my code, particularly in hard-to-understand areas

Hi @evegufy
Can you please add a reviewer?


OpenCL interop

Rust-opencl has nifty high-level OpenCL bindings. High-level glium-cl interop would be a really cool thing to have eventually - use the type system to ensure buffers are shared properly, etc.
This is currently blocked on https://github.com/luqmana/rust-opencl/issues/52 - there aren't even low-level cl_gl bindings yet.

There is newly renewed interest in getting this to work over at the ocl repo.


Exit with fail code even on fast fail

when fast fail is off we still need to have a failure exit code if a test failed
bump version as we published 0.8.1-dev to get this out there
don't ask for next steps wen running in test mode

@rgardler,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot


channel sort-by "for you"

I currently do not have this experiment so I cannot work on a fix. A static filter will not works since it apparently defaults to "for you"

good riddance


[docs] Fixed typos and formatting

Description

Use move instead of rust for some code blocks
Fix alignment in conventions.md with standard 4 spaces
Fix minor formatting issues elsewhere

Thanks @i582 for the fixes.


Email not registered but in use

If I reload the app a lot occassionally I run into the problem that the sign-in causes an error somewhere in the promise-chain; the gui displays "no such username registered". However when I try to sign it up again, that promise chain also fails and the gui displays "email already in use."

I can't reproduce this locally. If you run accross this error, give me a poke.

Steps to reproduce:

sign up with one account
sign out
sign up with another
sign out
try to sign in with first account

@quasarchimaere might that be an effect of the behaviour improved by your solution to #632 ? In that case, we may close the issue because it is in essence the error message that is wrong.

i will close this issue since it was related to #632 and only displayed a wrong errormessage


Uncaught Error: Cannot call function 'getPosition' on missing remote object 309Error: Cannot cal...

[Enter steps to reproduce:]

...
...

Atom: 1.40.0 x64
Electron: 3.1.10
OS: Mac OS X 10.15
Thrown From: Atom Core
Stack Trace
Uncaught Error: Cannot call function 'getPosition' on missing remote object 309
Error: Cannot call function 'getPosition' on missing remote object 309
at throwRPCError (/Applications/Atom.app/Contents/Resources/electron.asar/browser/rpc-server.js:145:17)
at EventEmitter. (/Applications/Atom.app/Contents/Resources/electron.asar/browser/rpc-server.js:367:7)
at EventEmitter.emit (events.js:182:13)
at WebContents. (/Applications/Atom.app/Contents/Resources/electron.asar/browser/api/web-contents.js:294:13)
at WebContents.emit (events.js:182:13)
At /Applications/Atom.app/Contents/Resources/electron.asar/renderer/api/remote.js:219

Error: Cannot call function 'getPosition' on missing remote object 309
Error: Cannot call function 'getPosition' on missing remote object 309
    at throwRPCError (/Applications/Atom.app/Contents/Resources/electron.asar/browser/rpc-server.js:145:17)
    at EventEmitter.<anonymous> (/Applications/Atom.app/Contents/Resources/electron.asar/browser/rpc-server.js:367:7)
    at EventEmitter.emit (events.js:182:13)
    at WebContents.<anonymous> (/Applications/Atom.app/Contents/Resources/electron.asar/browser/api/web-contents.js:294:13)
    at WebContents.emit (events.js:182:13)

    at metaToException (/Applications/Atom.app/Contents/Resources/electron.asar/renderer/api/remote.js:271:17)
    at Object.exception (/Applications/Atom.app/Contents/Resources/electron.asar/renderer/api/remote.js:219:30)
    at metaToValue (/Applications/Atom.app/Contents/Resources/electron.asar/renderer/api/remote.js:223:28)
    at Object.remoteMemberFunction (/Applications/Atom.app/Contents/Resources/electron.asar/renderer/api/remote.js:123:16)
    at AtomEnvironment.getWindowDimensions (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:1:705396)
    at AtomEnvironment.storeWindowDimensions (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:1:705811)
    at WindowEventHandler.handleWindowBlur (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:285354)

Commands
  2x -3:30.7.0 core:backspace (input.hidden-input)
     -2:54.9.0 core:cut (input.hidden-input)
     -2:36.1.0 core:paste (input.hidden-input)
  2x -2:30.8.0 autocomplete-plus:confirm (input.hidden-input)
  2x -2:14.6.0 editor:newline (input.hidden-input)
  2x -1:57.2.0 core:backspace (input.hidden-input)
     -1:55.3.0 core:move-down (input.hidden-input)
     -1:25.7.0 autocomplete-plus:confirm (input.hidden-input)
     -1:13.7.0 core:move-right (input.hidden-input)
     -1:06.7.0 core:backspace (input.hidden-input)
  2x -0:53.5.0 core:move-down (input.hidden-input)
     -0:52.5.0 editor:newline (input.hidden-input)
     -0:51.9.0 core:move-up (input.hidden-input)
  2x -0:49.9.0 autocomplete-plus:confirm (input.hidden-input)
  2x -0:24.4.0 core:move-right (input.hidden-input)
     -0:23.4.0 core:save (input.hidden-input)

Non-Core Packages
atom-beautify 0.33.4
atom-html-preview 0.2.6
atom-ternjs 0.20.0
autoclose-html 0.23.0
busy-signal 2.0.1
csslint 1.2.0
emmet 2.4.3
es6-javascript 1.0.0
file-icons 2.1.33
hyperclick 0.1.5
intentions 1.1.5
language-ejs 0.4.0
linter 2.3.0
linter-eslint 8.5.5
linter-jshint 3.1.16
linter-ui-default 1.7.1
pigments 0.40.2
platformio-ide-terminal 2.9.3
Sublime-Style-Column-Selection 1.7.5

Thanks for contributing!
We noticed that this looks like a duplicate of https://github.com/atom/atom/issues/16630 so you can subscribe there for updates if you'd like (we believe that this will be fixed in a future Electron upgrade).

Because we treat our issues list as the Atom team's backlog, we close duplicates to focus our work and not have to touch the same chunk of code for the same reason multiple times. This is also why we may mark something as duplicate that isn't an exact duplicate but is closely related.
For information on how to use GitHub's search feature to find out if something is a duplicate before filing, see the How Can I Contribute? section of the Atom CONTRIBUTING guide.


Implement SecureStrng into LoginDialogData and ShowLoginDialog

This is a feature request, if already implemented I'm unable to find it.
The ShowLoginDialog and ShowModalLoginExternalboth return a LoginDialogDataobject.  The implementation of these two dialogs use a normal Textboxfor the password input and place a plain string in memory when put within the LoginDialogData.  If possible, please give an option to use a PasswordBoxinstead of the TextBoxand return the SecureString object from the password box.
It's a counterproductive to have he password as a plain string in memory and then having to convert it to a SecureStringafter the fact.

@dartvalince The usage of the SecureString will be  available in 1.4.0


Fix UG Formatting in Command Glossary

Codecov Report

Merging #169 (ffeaaa3) into master (7a7f31f) will decrease coverage by 0.27%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master     #169      +/-   ##
============================================
- Coverage     54.12%   53.85%   -0.28%
  Complexity      484      484
============================================
  Files           114      115       +1
  Lines          1990     2000      +10
  Branches        202      202
============================================
  Hits           1077     1077
- Misses          840      850      +10
  Partials         73       73

Impacted Files
Coverage Δ

src/main/java/bookface/ui/MainWindow.java
0.00% <0.00%> (ø)

...ain/java/bookface/logic/commands/ThemeCommand.java
0.00% <0.00%> (ø)

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


用composer安装依赖时出错>_<

运行环境

PHP Version /PHP版本: 7.0.6
ss-panel version/ ss-panel版本:3.3.9
其他环境信息(Nginx,系统等):Nginx 1.10，Ubuntu 14.04

Description of the problem / 问题描述
执行php composer.phar install时出现如下错误，小白表示完全看不懂= =
Running composer as root/super user is highly discouraged as packages, plugins and scripts cannot always be trusted
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Installation request for illuminate/support v5.2.31 -> satisfiable by illuminate/support[v5.2.31].
- illuminate/support v5.2.31 requires ext-mbstring * -> the requested PHP extension mbstring is missing from your system.
Problem 2
- Installation request for phpunit/phpunit 5.3.2 -> satisfiable by phpunit/phpunit[5.3.2].
- phpunit/phpunit 5.3.2 requires ext-dom * -> the requested PHP extension dom is missing from your system.
Problem 3
- illuminate/support v5.2.31 requires ext-mbstring * -> the requested PHP extension mbstring is missing from your system.
- illuminate/pagination v5.2.31 requires illuminate/support 5.2.* -> satisfiable by illuminate/support[v5.2.31].
- Installation request for illuminate/pagination v5.2.31 -> satisfiable by illuminate/pagination[v5.2.31].
To enable extensions, verify that they are enabled in those .ini files:
- /etc/php/7.0/cli/php.ini
- /etc/php/7.0/cli/conf.d/10-mysqlnd.ini
- /etc/php/7.0/cli/conf.d/10-opcache.ini
- /etc/php/7.0/cli/conf.d/10-pdo.ini
- /etc/php/7.0/cli/conf.d/20-calendar.ini
- /etc/php/7.0/cli/conf.d/20-ctype.ini
- /etc/php/7.0/cli/conf.d/20-curl.ini
- /etc/php/7.0/cli/conf.d/20-exif.ini
- /etc/php/7.0/cli/conf.d/20-fileinfo.ini
- /etc/php/7.0/cli/conf.d/20-ftp.ini
- /etc/php/7.0/cli/conf.d/20-gd.ini
- /etc/php/7.0/cli/conf.d/20-gettext.ini
- /etc/php/7.0/cli/conf.d/20-iconv.ini
- /etc/php/7.0/cli/conf.d/20-json.ini
- /etc/php/7.0/cli/conf.d/20-mysqli.ini
- /etc/php/7.0/cli/conf.d/20-pdo_mysql.ini
- /etc/php/7.0/cli/conf.d/20-phar.ini
- /etc/php/7.0/cli/conf.d/20-posix.ini
- /etc/php/7.0/cli/conf.d/20-readline.ini
- /etc/php/7.0/cli/conf.d/20-shmop.ini
- /etc/php/7.0/cli/conf.d/20-sockets.ini
- /etc/php/7.0/cli/conf.d/20-sysvmsg.ini
- /etc/php/7.0/cli/conf.d/20-sysvsem.ini
- /etc/php/7.0/cli/conf.d/20-sysvshm.ini
- /etc/php/7.0/cli/conf.d/20-tokenizer.ini
You can also run php --ini inside terminal to see which files are used by PHP in CLI mode.

PHP环境安装不正确     有些模块没有开    把上面那段英文翻译下按照说的做

apt-get install php7.0-mbstring
试试看？

十分感谢！打完apt-get install php7.0-mbstring和apt-get install php7.0-dom就可以啦~~


:sparkles: Added a clearNotification method to clear a single notification (Android Only)

Description
This PR contains an additional method named clearNotification that will clear one single notification based on the ID argument. This also uses a success and error callback on completion.
Related Issue
Issue #2191
Motivation and Context
As mentioned in the issue, I would like a method to specifically remove an ongoing notification. This will allow for any notification to be removed based on the notification id number.
How Has This Been Tested?
I have added tests to the test suite, and have tested on (cordova@7.1.0):

Pixel running Android 8.1<EMAIL_ADDRESS>iPhone 6S running iOS 11.2.5<EMAIL_ADDRESS>
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[X] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[X] My code follows the code style of this project.
[X] My change requires a change to the documentation.
[X] I have updated the documentation accordingly.
[X] I have read the CONTRIBUTING document.
[X] I have added tests to cover my changes.
[X] All new and existing tests passed.

Hey, thanks for contributing! I left some comments regarding what I could find quickly, please let me know what you think of them.

@DavidBriglio this is a solid contribution but I've been hesitant to introduce any API call into this plugin that only works on one platform. If this was to work on Android/iOS then it would be more compelling. It's been awhile since I've looked into the possibility of this working on iOS. Have you checked?

It looks like there may be a way to do this in iOS. I will do more testing and see if I can add it to this PR.

@DavidBriglio  All the comments were fixed, the validations are much better now, thanks!

After some trial and error I was not able to implement this myself on iOS, but I think that these methods could be used to remove notifications:

removeDeliveredNotificationsWithIdentifiers
removePendingNotificationRequestsWithIdentifiers
getPendingNotificationRequestsWithCompletionHandler
getDeliveredNotificationsWithCompletionHandler

Cool, I'm going to get back to this soonish. We should be able to update our iOS implementation and then add this in as a new feature for both platforms.

@macdonst, any assistance needed with the iOS implementation of this feature?

@DavidBriglio thanks for the PR, it is finally merged and I'll be doing a 3.0.0 release with it soon.
@merrygobyebye sure, go for it. With the update to UNUserNotification this is now possible on iOS.

@macdonst Sure -- I'll try to get it done within the next several days.


Column ordering shap values

Hi,
I have a dataset for which I want to get the feature importance using shap_values and hence I would like to know that is the column ordering for the shap_values array same as the column order of my dataframe?
I do know that shape of training data == shape of shap_values
But I just want to confirm if the columns of the training data df are for suppose:
Column_1 | Column_2 | Column_3 | Column_4 | Column_5 | Column_6
Will my numpy array shap_values array have the same column ordering as well?

yep!


Update README.md

Actualización de php.ini shell_exec activate para poder usar la ejecución del generador de pdf

Pull Request Test Coverage Report for Build 14

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 100.0%

Totals

Change from base Build 12:
0.0%

Covered Lines:
14

Relevant Lines:
14

💛  - Coveralls


New site sidebar

This PR will be adding theming properly to the docusaurus site as well as the new side bar implementation

are we able to add:

the texture to the background
Docs label
the small titles above sections (SDKs, Resources)?
Resources section
language selector
icons before each label

are we able to add:

the texture to the background
Docs label
the small titles above sections (SDKs, Resources)?
Resources section
language selector
icons before each label

Hey Angie, thank you for the feedback but none of this is ready to review at all. I'm still trying to figure out how to work the side bars to reflect the designs 😅
I should be getting to all those things soon though!