Small polish

Summary
Hey I came across this repo and it's pretty cool you can store data on babylon with btc timestamped. It's like adding an execution layer (cw) for bitcoin. I tried to make the contract look a bit cleaner and follow cw best practice, but i feel like i went too far and made too many unnecessary changes lol
What's changed

Renamed some fields and move some things outside contracts.rs.
Add attributes to execute response, I think it's always nice to emit event in case someone runs indexer.
Prefer cw number type instead of rust native number. (There were some issue in the past with serialization issue on native number, so I always prefer to just use cw number type in contract, post from cw).
Removed the unused Makefile.

Test plan

I'm able to compile the contract successfully, but I didn't deploy it to babylon cause I couldn't find the public testnet info.
I looked into writing integration test with cw-multi-test, but turns out I need to mock the babylon binding.

@maurolacy @vitsalis @SebastianElvis @KonradStaniec
Feel free to share any feedback, if babylon is looking for cw devs to work as contractor or do some small works (e.g. write more cw contracts like this one), i'm happy to explore those opportunities.

Thanks for the contribution.
LGTM.

Thanks for the review, I don't have write access, feel free to merge for me.

Thanks for the contribution.
LGTM.

Thanks for the review, I don't have write access, feel free to merge for me.

k, will merge after tagging a previous version / release.


Remove invalid update availability zone API test

Issue #, if available:
Description of changes:
Unfortunately in CloudStack networks cannot be shared between zones. So that means each zone has its own set of unique networks. The ControlPlane IP must be in the same network as the zone for a cluster to utilize it, which means this test is invalid.
Testing (if applicable):
--- PASS: TestCloudStackMulticlusterWorkloadClusterAPI (2407.06s)
    --- PASS: TestCloudStackMulticlusterWorkloadClusterAPI/add_and_remove_labels_and_taints#01 (698.41s)
    --- PASS: TestCloudStackMulticlusterWorkloadClusterAPI/add_and_remove_labels_and_taints (935.45s)
    --- PASS: TestCloudStackMulticlusterWorkloadClusterAPI/scale_up_and_down_cp_and_worker_node_group_#01 (330.54s)
    --- PASS: TestCloudStackMulticlusterWorkloadClusterAPI/scale_up_and_down_cp_and_worker_node_group_ (546.19s)
    --- PASS: TestCloudStackMulticlusterWorkloadClusterAPI/replace_existing_worker_node_groups_and_cilium_policy_enforcement_mode (124.38s)
    --- PASS: TestCloudStackMulticlusterWorkloadClusterAPI/replace_existing_worker_node_groups_and_cilium_policy_enforcement_mode#01 (114.70s)

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/approve

/cherry-pick release-0.16

/lgtm


Withdrawal address prompt

Adding a prompt for withdrawal address when executing key generation.
There are a few changes of note:

I have added a default param for the captive prompt. I simply don't see why not.
I am not confirming selection if the user provides an empty value for the withdrawal address but we can add it if necessary
closest_match in intl.py creates some pretty weird UX scenarios especially during language selection. As an example, if you provide 1234 as the option for language, it will chose 12. My assumption this is used to avoid non-standard character match issues.

#16

Figured out the issue with the stalling test and I think this is good to go.
I'm not 100% sure on the prompt wording but I do think it is important to acknowledge it is an optional field but the user will at least be prompted.


process.nextTick throw process is not defined in browser (2.11.0)

This looks like a node method that should probably be polyfilled:
https://github.com/NerdWalletOSS/apollo-cache-policies/blame/b2bdb08fb60bb7f60cac888bf4bc933ad40c0f11/src/cache/InvalidationPolicyCache.ts#L356
Looks like process.nextTick isn't being automatically polyfilled by webpack 5, should this maybe include a polyfill or be done differently? Upgrading to this version breaks the page

Ah makes sense, fixing.

Switched it to use setTimeout in 3.0.2. If you're using the enableCollections: true flag, note that useFragment/useFragmentWhere has been updated in 3.0.0 with a breaking change to nest the filter in an options object so look out for those references. Thanks for the report!

Thanks mate! Closing :)


JFrog is going to depricate APIKey

As JFrog is going to deprecate APIKey, what will be valuable option to keep using your awesome tool?
https://www.jfrog.com/confluence/display/JFROG/User+Profile#UserProfile-JFrogAPIKeyDeprecationProcess

Bumping up the issue.

Any update on this? Recent version of JFrog have deprecated the APIKey. Do you plan on working on this?


Add autocomplete=off to login form fields, password fields

Fixes AAH-2625
This PR:

forks the patternfly 4 LoginForm component, to allow adding autoComplete=off
adds autoComplete=off to both the username and password fields on the login form, to match https://github.com/ansible/awx/pull/14232
adds autoComplete=off to any other password fields in forms

(docs)

tested in firefox, chrome


[Tech report] Model components

Added model components with visualizations and code implementation explanations with code snippets.

Review done.
Cleaned sentences, fix minor mistakes, moved images to correct location and rebased to latest main. Ready to merge.


[Agent] make the operation name of mongodb span more sences

Coverage remained the same at 22.945% when pulling d7bc6852f1f23a9e35f0d04025501967cd2357db on ascrutae:fix/mongodb-operation-name-issue into 65efb6de999f1c82c97245290e5856653b3aca4e on apache:master.


Update layers/meta-balena digest to d21da1f

This PR contains the following updates:

Package
Update
Change

layers/meta-balena
digest
c7ef4ad -> d21da1f

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

Can one of the admins verify this patch?


Catalogs do not work as expected

I cannot get the catalog processing working. The following file (carMaintenance.dita) throws a Could not process schema or catalog error. The DITA grammars can be found here for testing.
<?xml version="1.0" encoding="UTF-8"?>
<?xml-model href="urn:oasis:names:tc:dita:rng:task.rng" schematypens="http://relaxng.org/ns/structure/1.0"?>
<?xml-model href="urn:oasis:names:tc:dita:rng:task.rng" schematypens="http://purl.oclc.org/dsdl/schematron"?>
<task id="carMaintenance">
    <title>Car Maintenance</title>
    <shortdesc>Avoid costly repairs by constantly performing simple maintenance tasks.</shortdesc>
    <taskbody/>
</task>

This is my config.cson:
"*":
  core:
    telemetryConsent: "limited"
  "exception-reporting":
    userId: "3701b290-4444-420b-9784-a1192315e69b"
  "linter-autocomplete-jing":
    displaySchemaWarnings: true
    rules: [
      {
        priority: 1
        test:
          rootNs: "urn:oasis:names:tc:dita:rng:task.rng"
        outcome:
          xmlCatalog: "/home/stefan/workspace/DITA/dita-ot/plugins/org.oasis-open.dita.v1_3/rng/technicalContent/catalog.xml"
      }
    ]
  "linter-ui-default": {}

I'm sorry for the late reply -- must have overlooked the notification. In case it's still relevant: The test in config.cson doesn't match the document above since
rootNs: "urn:oasis:names:tc:dita:rng:task.rng"

would require xmlns="urn:oasis:names:tc:dita:rng:task.rng" on the root element. You could instead use rootLocalName: "task" or, if that's not specific enough, a path regex (see https://github.com/aerhard/linter-autocomplete-jing/blob/master/README.md).


Create index.js

Dependent on #3 and #5

[ ] If not already created, create static folder
[ ] Create index.js
[ ] Link to index.html
[ ] Load routine names into the html using fetch calls to get data
[ ] Make each button holding a routine, link to the correct address (opening a routine)
[ ] Make sure create button linked to correct page

Consider if unit tests are needed. Create a new issue if tests needed

Also consider turning the buttons into actual buttons to allow for event listening

Consider if unit tests are needed. Create a new issue if tests needed

Fairly simple functions, no tests needed

Also consider turning the buttons into actual buttons to allow for event listening

Done, although only the create routine button has an event listener. The rest make use of onclick attribute.


Runtime tracing tool does not capture utility process

Start with --trace --trace-category-filter="browser,io,ipc,mojom,v8,disabled-by-default-mojom,disabled-by-default-v8.cpu_profiler"
Wait for extensions to activate
Developer: Stop Tracing
Load the profile in chrome://tracing and see that Utility process is not present in the captured process columns.

Works fine with latest versions.


Cannot find the weight

When I run ddpg.py It says unable to find the weight. I have confusion where to place file "traffic" that contains 1000 TMs.

How did you solve this issue? Facing the same problem while running ddpg.py

Sorry, no  solution.
Because the author  did not explain the problem or I did not notice it.
------------------ 原始邮件 ------------------
发件人: "Aditya<EMAIL_ADDRESS>发送时间: 2020年3月17日(星期二) 晚上8:02
收件人<EMAIL_ADDRESS>抄送<EMAIL_ADDRESS>主题: Re: [knowledgedefinednetworking/a-deep-rl-approach-for-sdn-routing-optimization] Cannot find the weight (#5)
How did you solve this issue? Facing the same problem while running ddpg.py
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.


Meshparty no longer loading

Hello,
I am getting an error now when I attempt to load Meshparty. I was having no issues as recently as a week and half ago when I last ran it. I have copied the error below. My apologies for lack of programming and environment debugging, I'm a biologist with amateur coding skills... :(  Any advice is greatly appreciated.
I did upgrade to the latest version of Meshparty today (1.16.7) after getting the error but to no avail though.
Here is my notebook where I now get the error. I'm using Python package from micronsbinder on a Windows laptop. I didn't change anything in the last week and a half (apart from upgrading Meshparty today).
Here is the line that now generates an error when I run it:
from meshparty import trimesh_io, trimesh_vtk, skeleton, utils

ValueError                                Traceback (most recent call last)
~\AppData\Local\Temp\ipykernel_21760\2181983511.py in <cell line: 1>()
----> 1 from meshparty import trimesh_io, trimesh_vtk, skeleton, utils
~\anaconda3\lib\site-packages\meshparty\trimesh_io.py in
28     from trimesh import io as exchange
29
---> 30 from pymeshfix import _meshfix
31 from tqdm import trange
32 import DracoPy
~\anaconda3\lib\site-packages\pymeshfix_init_.py in
----> 1 from pymeshfix.meshfix import *
2 from pymeshfix import _meshfix
3 from pymeshfix._version import version
4 from pymeshfix._meshfix import clean_from_arrays, clean_from_file, PyTMesh
~\anaconda3\lib\site-packages\pymeshfix\meshfix.py in
5 import numpy as np
6
----> 7 from pymeshfix import _meshfix
8
9
pymeshfix\cython_meshfix.pyx in init pymeshfix._meshfix()
ValueError: numpy.ndarray size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject

This is an error which reflects an unfortunate but common problem with python packaging and environments. Your numpy version that is installed does not match the version that a compiled library is expecting.  You likely recently installed a new library (unrelated to meshparty or trimesh) which triggered a new version (or old version) of numpy to be installed and caused this. In general this often happens when using a mix of conda and pop to manage your packages, because they don’t know about each others dependancies. I would try upgrading or downgrading numpy in a way that makes those two version numbers 96 and 88 get closer together till they match


refactor(exception): rename "ClientError" to "ManagerError"

Task linked: CU-2bpm9mt 重命名 ClientError


First version of "Updating Drupal" docs

GitHub Issue: (https://github.com/Islandora/documentation/issues/1040)

Other Relevant Links (Google Groups discussion, related pull requests, Release pull requests, etc.)

What does this Pull Request do?
Adds new documentation for updating Drupal core and modules.
How should this be tested?
Review what was written and suggest changes or corrections.
Interested parties
@Islandora/8-x-committers
@dannylamb

I still need to write out instructions for updating individual modules, but it is a start.

Thanks @manez! Let me you think of the changes I made based on your feedback.

@manez @dannylamb
Should I update mkdocs.yml so this content shows up in the “Administrator Documentation” section (that only contains “RDF Generation”), or should it be listed in the “Developer Documentation" section? (Of course this depends how folks interpret developer v.s. administrator documentation.)
I also wonder if we would want to put the "Installing modules" content that currently lives in the “Developer Documentation", also under the “Administrator Documentation”?

It seems to me that both are a better fit in the Administrator documentation, but I'll defer to @dannylamb  on the Grand Plan. https://islandora.github.io/documentation/installation/ probably eblongs there too, but its off in its own place because of significance

I think @rosiel made that section as more of a "Repository Administrator" than a "Systems Administrator".  We should probably sort that out.  Common sysadmin tasks need a good clear spot, preferably near the installation instructions.

@rosiel Thanks for the feedback. I don't know what you mean by "surfacing," for now I just added your suggested text to the top. What other edits should I make?
Should I create another Github issue to explore creating new sections like "sysadmin documentation," and perhaps rename "administration documentation" to "repository administration documentation"?

I would do just that @ysuarez.  Make a sysadmin section and add the word "repository" to the current admin section.

@dannylamb @rosiel @manez
Here is what I have done so far...

I added Rosie's intro text as is (it looked great to me)

I updated the documentation menu organization

I renamed "Administrator Documentation" to "Repository Administrator Documentation"
I added a new "System Administrator Documentation"
I added my new section, updating Drupal, here.
I also moved Installing Modules here too.

Thoughts?


Stop Middleware shortcutting when filter is used

Implementation for #80
This change passes a bool up the stack to the middleware layer to say if the pipeline should be short-circuited
I think this first go isn't probably the right approach but is worth having a discussion over to see what is needed.

Cool!  I will take a look tonight.


cannot run example files

Hi, Guangyu
I meet this error when I am running command : docker run -v /Users/KunFang/Downloads/:/data/ -t guangywang/tadsplimer:v1.0.3 python3 /bin/TADsplimer.py split_TADs -c /data/simulation_merge.txt,/data/simulation_split.txt --contact_maps_aliases merge,split -o /data/
Error message:
/data/simulation_merge.txt
auto: 2.1903446166505756 0.24093790783156332
There were 50 or more warnings (use warnings() to see the first 50)
There were 50 or more warnings (use warnings() to see the first 50)
/data/simulation_split.txt
Traceback (most recent call last):
File "/bin/TADsplimer.py", line 386, in
split_TADs(command='split_TADs')
File "/bin/TADsplimer.py", line 263, in split_TADs
up2, down2, files2 = TAD_calling.file_split(file[1], outfile=tmp_dir2, print_subcontact=0, aliases=aliases[1])
File "/bin/TAD_calling.py", line 41, in file_split
contact_map = np.loadtxt(file)
File "/opt/conda/lib/python3.5/site-packages/numpy/lib/npyio.py", line 926, in loadtxt
fh = np.lib._datasource.open(fname, 'rt', encoding=encoding)
File "/opt/conda/lib/python3.5/site-packages/numpy/lib/_datasource.py", line 262, in open
return ds.open(path, mode, encoding=encoding, newline=newline)
File "/opt/conda/lib/python3.5/site-packages/numpy/lib/_datasource.py", line 618, in open
raise IOError("%s not found." % path)
OSError: /data/simulation_split.txt not found.
However, I double-check but find that the simulation_split.txt indeed in the /data directory.
I was wondering if you have any suggestion to solve this problem? And I was also wondering what is the TAD.txt input format for TAD_matching? Thanks a lot!
Best,
Kun

Hi, Guangyu
I meet this error when I am running command : docker run -v /Users/KunFang/Downloads/:/data/ -t guangywang/tadsplimer:v1.0.3 python3 /bin/TADsplimer.py split_TADs -c /data/simulation_merge.txt,/data/simulation_split.txt --contact_maps_aliases merge,split -o /data/
Error message:
/data/simulation_merge.txt
auto: 2.1903446166505756 0.24093790783156332
There were 50 or more warnings (use warnings() to see the first 50)
There were 50 or more warnings (use warnings() to see the first 50)
/data/simulation_split.txt
Traceback (most recent call last):
File "/bin/TADsplimer.py", line 386, in
split_TADs(command='split_TADs')
File "/bin/TADsplimer.py", line 263, in split_TADs
up2, down2, files2 = TAD_calling.file_split(file[1], outfile=tmp_dir2, print_subcontact=0, aliases=aliases[1])
File "/bin/TAD_calling.py", line 41, in file_split
contact_map = np.loadtxt(file)
File "/opt/conda/lib/python3.5/site-packages/numpy/lib/npyio.py", line 926, in loadtxt
fh = np.lib._datasource.open(fname, 'rt', encoding=encoding)
File "/opt/conda/lib/python3.5/site-packages/numpy/lib/_datasource.py", line 262, in open
return ds.open(path, mode, encoding=encoding, newline=newline)
File "/opt/conda/lib/python3.5/site-packages/numpy/lib/_datasource.py", line 618, in open
raise IOError("%s not found." % path)
OSError: /data/simulation_split.txt not found.
However, I double-check but find that the simulation_split.txt indeed in the /data directory.
I was wondering if you have any suggestion to solve this problem? And I was also wondering what is the TAD.txt input format for TAD_matching? Thanks a lot!
Best,
Kun

Hi Kun,
I have tested TADsplimer. Following is my command.
docker run -v /Users/yuchunchun/Downloads/TADsplimer-master/example/:/data/ -t guangywang/tadsplimer:v1.0.3 python3 /bin/TADsplimer.py split_TADs -c /data/simulation_merge.txt,/data/simulation_split.txt --contact_maps_aliases merge,split -o /data/
It is okay. If you directly downloaded my Git and didn’t change the path of test files. The test files should be in the folder: /TADsplimer-master/example/ . You can use following command to check if the path is correct:
less /TADsplimer-master/example/simulation_split.txt
If you have any questions, please let me know. In case I missed your questions, I can also send questions to my email<EMAIL_ADDRESS>Best,
Guangyu

Hi, Guangyu
Thanks for your reply! I will try your suggestion.
Best,
Kun


MAL manga list not syncing

Steps to reproduce

Connect Mangadex account to Neko and add library
Connect MAL account (I just created a new account, I'm attempting to migrate my library)
Check your Manga List on MAL

Expected behavior
My library of manga should appear in MAL's Manga List
Actual behavior
Instead, it is empty.
Crash logs
No response
Neko version
2.18.2
Android version
Android 11
Device
Moto g Power (2021)
Other details
I may be misinterpreting what "tracking" is supposed to do. Does it actually only take from MAL instead of sending to it? If so, please let me know how I can send my MangaDex library to my MAL account (with sync, preferably). And yes, I have tried MAL-Sync but am unable to get it to work (I really don't know GitHub)
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open issue.
[X] I have written a short but informative title.
[X] I have updated the app to the newest version Latest.
[X] I have filled out all of the requested information in this form.


Add logshell & logscript tags

Ability to get list of logfiles instead of just one file

Done. Makes it possible to use either a logfile pointing to a genuine file, or a script or command giving the list of files to analyze.


Enhance the DatePicker and the TimePicker

It would be nice to refactor the DatePicker and the TimePicker so that they are based from the native HTML5 input types date and time. This would allow native browser to use their great dedicated UI. The same UI users are familiar with.
Which component

DatePicker
TimePicker

We could also introduce a new component base on the native input type datetime-local which allow user to enter a date + hour and minutes within a single field.

DateTimePicker

What do you think about this ?

This could be done using 2 new props:

use-native which is a function that returns true or false. By default, it is falsy. When the function returns true the component shows the native input element instead of uiv custom element(s)...  The function can contain checks to make sure the native type attribute value (date, time, datetime-local) is supported, check the use agent, the window's width or whatever you need...

run-use-native-on-resize which is a boolean, false by default. When set to true, the function defined via use-native will be executed again on resize (after a throttle to keep the perfs).

Sounds good ?


BREAKING CHANGE: add option to download all attachments or a comma-separated list of attachment IDs

BREAKING CHANGE: The downloadAttachment node output is changed. Each output item could now contain multiple binary fields named "attachment_0", "attachment_1", etc. Previously, there was only one binary field per output item named "attachment".

:tada: This PR is included in version 2.0.0 :tada:
The release is available on:

GitHub release
npm package (@latest dist-tag)

Your semantic-release bot :package::rocket:


ETH Daisy Chain connection order in config

Refering to robotology/QA/issues/134 , @marcoaccame suggested

The chain of ETH boards can change from robot to robot. The correct action would be to add the HW schematics in a file inside robots-configuration repository.

which is something I totally agree it should be done.  I can do it for iCubDarmstadt01, however
you might prefer a specific format/template.

I commit the image of the robot configuration in this issue, but i will put it also in the repo. I hope it helps. iCubDarmastadt01 is a E3.1 robot


New package: ChebyshevFiltering v0.1.0

Registering package: ChebyshevFiltering
Repository: https://github.com/Dario-Rosa85/ChebyshevFiltering.jl
Created by: @Dario-Rosa85
Version: v0.1.0
Commit: 55e9e704bb2665425a751fa32256b23f3e89f68a
Reviewed by: @Dario-Rosa85
Reference: https://github.com/Dario-Rosa85/ChebyshevFiltering.jl/issues/1#issuecomment-1632617879

Please make sure to add some form of documentation before registering. This could be just a small usage example in the README


Net 6/7 Debugger Fails To Attach to Process for Test Project

Does this issue occur when all extensions are disabled?: Well it requires the C# extension to discover tests. But disabling all but the C# extension it still happens.

MacOS Ventura 13.5
VS Code 1.18.0
.NET Core SDK 7.0.400 x64
.NET Core Runtime 7.0.10 x64
C# Extension v2.0.328

Steps to Reproduce:

dotnet new sln -n foo
dotnet new webapi -n web
dotnet new mstest - n test
dotnet sln ./foo.sln add ./web.csproj
dotnet sln ./foo.sln add ./test.csproj
code .
set a break point on the sample test operation
click debug test
fails, with unable to start debugging: failed to attach to process

Other details:
I have no test extensions installed what-so-ever, vanilla install of VS Code. This was working for years and then just stopped.
I have rolled back to the previous .NET Core SDK and runtimes. I have rolled back to the previous VS Code as well. All with the same results. I have tried a fresh install nuking everything top to bottom for VS Code, NET Core SDK and Runtimes. I have tried this on a second Mac machine.
Everything restores and builds successfully. I can run tests, just can't debug tests. Randomely, it will work but if I try it again it fails again. Then it doesnt work until a random attempt, but only once.
I should also note that I CAN debug tests in Visual Studio for Mac.
So ultimately the problem seems to be specifically with VS Code attaching to a process for test projects.

When I click Debug Test in the unit test file it has the same result every time now.

When I roll back the C# Extension to v1.26.0 everything seems to work again...

Please file an issue on the C# extension repo


what gene should we use to put at +1 in a Stx-phage assembly

Hi George, All,
disclaimer: sorry but I am not a bacteriologist nor a virolog ;-)
I do not find 'terminase' genes in my circularStx- phage assemblies although they are described in Pinto et al 2021 for this usage!
Is this normal in a non-integrated form or is it due to flye
I usually use circlator fixstart to put DnaA at +1 in bacterial assemblies and would like to also show nice maps for my phages.
Do you have a recommendation for the choice of the first gene to show on a bacteriophage map? Is the first shiga gene a good option?
thanks for your feedback and knowledge

Hi @splaisan,
I’ll come back with a more length explanation tomorrow (it’s late in Australia), but I have just the tool for you I think :)
https://github.com/gbouras13/dnaapler

Thanks @splaisan for you very kind words - I am trying to get Dnaapler published at JOSS, hopefully won't be too long :)
Another thing is that you can actually run Dnaapler within pharokka if you use --dnaapler - the reoriented phage is in the output directory.
If you do bacterial assemblies too, you may be interested in my tool Hybracter (https://github.com/gbouras13/hybracter) - a preprint for this one is coming very soon, and I'd love feedback if you try it out.
George

Thanks George,
I indeed saw the option after receiving your message. I will include it next time. I did not know yet what dnaapler was then.
I can easily try Hybracter as I just performed bacterial assemblies which I rotated with circlator. I will redo this step and let you know.
cheers


Bring in spike-in scaling factors into DESeq2

spike-in scaling factors need to be the size factors in DESeq2 analysis.

Completed with previous commit; used as filter with latest commit


Remove unneeded includes from wlr_input_device.h

This uncovered many places where we were using things without directly including them.
This allows us to avoid including tablet-unstable-v2 in many of the example compositors.
depends on #2469

Hmm. I know it'll be annoying for you, but could you re-order commits so that this PR can be merged before #2469? Otherwise we'll end up in an intermediate state where all compositors including wlr_input_device.h will need to generate the tablet protocol header.

Hmm. I know it'll be annoying for you, but could you re-order commits so that this PR can be merged before #2469? Otherwise we'll end up in an intermediate state where all compositors including wlr_input_device.h will need to generate the tablet protocol header.

yeah that makes sense, no worries!


Womanium Final Assignment - Ahmed Aboukouta

Submission of the Womanium Final Assignmen -- Homework 4
PR Description
Submission of the Womanium Final Assignment -- Homework 4
Some notes

[x] Please make sure that you placed the files in an appropriate folder

[x] And that the files have indicative names.

[x] Please note that Classiq runs automatic code linting, which may minorly alter some files.

[x] If you're familiar with pre-commit, you may run pre-commit install, and then at each commit, your files will be altered in a similar way

I noticed a small mistake in this submission. Will Submit another PR.

Up-to-date submission/PR link: https://github.com/Classiq/classiq-library/pull/251


Adding JWT Audience to support array of audiences

Audience claim in JWT should support a list of audiences
Refer https://tools.ietf.org/html/rfc7519#section-4.1.3

4.1.3.  "aud" (Audience) Claim
The "aud" (audience) claim identifies the recipients that the JWT is
intended for.  Each principal intended to process the JWT MUST
identify itself with a value in the audience claim.  If the principal
processing the claim does not identify itself with a value in the
"aud" claim when this claim is present, then the JWT MUST be
rejected.  In the general case, the "aud" value is an array of case-
sensitive strings, each containing a StringOrURI value.  In the
special case when the JWT has one audience, the "aud" value MAY be a
single case-sensitive string containing a StringOrURI value.  The
interpretation of audience values is generally application specific.
Use of this claim is OPTIONAL.

if you just arrived at this problem and you are blocked by this fact, remember that you can use jwt.ParseWithClaims which accepts a different struct to be Unmarshalled, and you can extend your struct to have audience as an array. In my case we needed to even support a irregular JSON, which lead me to this: https://play.golang.org/p/-nuVjhE3uKP
👍  hope to see this merged soon

It would be great to have this PR merged as this functionality is something I am looking for as well. What can be done to move this along?

Is there any plans to merge that PR soon? I am facing the same problem and this will make my life easier :)

@dgrijalva Do you have any updates on my PR?

Any plans to (ever) merge this?

i needed this as well but just to create a JWT (not as in this PR to verify).  But, yeah, it'd be nice to include this in.
type MyCustomClaims struct {
	Uid string   `json:"uid"`
	Aud []string `json:"aud"`
	jwt.StandardClaims
}

	claims := MyCustomClaims{
		"alice",
		[]string{"http://fe.default.svc.cluster.local:8080/", "http://be.default.svc.cluster.local:8080/"},
		jwt.StandardClaims{
			Issuer:    "someissuer",
			Subject:   "somesubject",
			IssuedAt:  time.Now().Unix(),
			ExpiresAt: time.Now().Add(time.Minute * 5).Unix(),
		},
	}

	token := jwt.NewWithClaims(jwt.SigningMethodRS256, claims)

gives a jwt like
{
  "uid": "alice",
  "aud": [
    "http://fe.default.svc.cluster.local:8080/",
    "http://be.default.svc.cluster.local:8080/"
  ],
  "exp":<PHONE_NUMBER>,
  "iat":<PHONE_NUMBER>,
  "iss": "someissuer",
  "sub": "somesubject"
}

fwiw, envoyproxy's jwt validator can process an inbound jwt in that format

+1 to built-in support for an array of audiences.

@dgrijalva attention please!

+1 This would be really useful

+1 This would be really useful

@dgrijalva could we get this merged in please?


new globus setup states

Why was this change made? 🤔
Fixes #2865 -- gives us two new states for work_versions we will need for the globus integration

When a user selects the globus upload option, and we are able to create their globus endpoint for them, no new state is needed.  See #2847
When a user selects the globus upload option, and we are NOT able to create their globus endpoint for them since they first need to complete their globus setup, we DO need a new state, and this is triggered via work_version.globus_setup_pending!.  See #2871.  This (a) shows the state to the user, (b) allows us to selectively show the new button that will let the user know their setup is complete, and (c) lets us disable the Deposit button.
Once the user tells us they have completed their globus setup, we can try and create the globus endpoint folder again, and if it succeeds this time, we can transition back to the draft state so they can proceed with adding their files to globus and completing the deposit, done via work_version.globus_setup_complete!

Note that since a user can go into the new state from either a first_draft or a version_draft, we actually have two states we can end up in, so that we know which state we will transition back into.
How was this change tested? 🤨
Localhost and existing tests

Did you have specific tests in mind?  The current tests seem to look at behavior we expect to happen when a transition occurs, in our current case we just change the state itself back and forth.  So not super interesting (though I suppose could be built on when other behaviors are attached to the transition).
Yes, thanks for the reminder.

@peetucket Yeah, I don't think they would be super interesting at this point but even a handful of basic tests would make it such that if someone accidentally removed or mucked with the code already in this branch (e.g., a rebase gone awry), at least one test would break.


ansible-lint: remove all trailing whitespace warnings

... just to get more compact ansible-lint output.

solved by pull request #115.


Ordering of inclusion of scripts

When I use the following order
<script src="prism/components/prism-core.js"></script>
<script src="prism/components/prism-markup.js"></script>
<script src="prism/components/prism-clike.js"></script>
<script src="prism/components/prism-javascript.js"></script>
<script src="prism/components/prism-css.js"></script>

and looking at Prism.languages.markup.script.inside.tag.inside gives
Object {tag: Object, attr-value: Object, punctuation: /\/?>/g, attr-name: Object}

But when I include css before js
<script src="prism/components/prism-core.js"></script>
<script src="prism/components/prism-markup.js"></script>
<script src="prism/components/prism-clike.js"></script>
<script src="prism/components/prism-css.js"></script>
<script src="prism/components/prism-javascript.js"></script>

Prism.languages.markup.script.inside.tag.inside gives
Object {tag: Object, style-attr: Object, attr-value: Object, punctuation: /\/?>/g, attr-name: Object}

To summarize, if  CSS is included before JS, style-attr gets added to Prism.languages.markup.script.inside.tag.inside.
Is it expected behaviour ? Are we supposed to have style-attr inside script?

If I understand correctly, this is not something we should care about. The case of a script tag having a style attribute is obviously not common at all. Wether this attribute is highlighted as CSS by Prism or not is not a big deal.

Thanks, I just needed a clarification. :)


Placeholder in DownstreamHostAndPorts

Is it possible to achieve this with Ocelot?
Environment Variables
ApiName : account
EnvironmentName : dev
{
    "Routes": [
        {
            "DownstreamPathTemplate": "/{everything}",
            "DownstreamScheme": "http",
            "UpstreamPathTemplate": "/{everything}",
            "UpstreamHttpMethod": ["Get", "Put", "Delete", "Post"],
            "DownstreamHostAndPorts": [{
                    "Host": "api.{ApiName}.{EnvironmentName}",
                    "Port": 80
                }
            ]
        }
    ],
    "GlobalConfiguration": {
        "BaseUrl": "https://localhost:8080"
    }
}

Can this be achieved on the current Ocelot version?

You can easily add it yourself
https://stackoverflow.com/a/63601248/2557855

@ifyonyekpe  Hi John!
Are you still interested in discussions after 5 years of Ocelot usage? 😉
My answer: "It is impossible"
Your request looks like a life hack for your user scenario. And you are ignoring a lot of useful and ready features of Ocelot, see below 👇

To setup multiple environments using ocelot.json config file,  you should use: Multiple environments. This is special Configuration feature for multiple environments.
To setup one static everything-route, you should use Catch All route mode of Routing feature.
To setup one static everything-route and replace the host/port, you should integrate Ocelot to a Service Discovery provider.
To setup many dynamic everything-routes and having the host being replaced, you should use Dynamic Routing special Ocelot core mode of Service Discovery feature.

Hope it will help you!

I'm going to close this issue because required Ocelot behavior can be designed, implemented and configured by current Ocelot features.

@jeffersantoss commented on Apr 27, 2023

Can this be achieved on the current Ocelot version?

Hi Jefferson!
Yes, it can!
See my tips above! ☝

The feature request is not accepted!
Reason: Very rare user case, can be covered by current functionality
Interested sides of this discussion could create PR(s) with ready solutions and link to this issue with reopening.


Updates

added self denoising classifier to DPKS and allowed the Loss Interpreter to be used for regression problem

Approve


⚠ Samsung has degraded performance

In 2482d74, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2152 ms

Resolved: Samsung performance has improved in 1c1ce71.


myPart.stop() does not reset part

Stopping a part while it is playing should reset the part so that when you start it again it plays from the beginning (or at least that is my understanding).
However, it seems if you stop the part then start it again, it starts where it left off and loops to that point again. That is if you stop on partStep = 5, and start it again, it will now play from partStep = 5 to partStep = 5. I'm not sure where the bug is as it seems myPart.stop() is resetting myPart.partStep to 0 when you stop.
Any workaround to force the part to reset to the beginning?
Example
I've altered your p5.Part example to demonstrate:
https://codepen.io/nicholaus/pen/xrXqWO
https://dl.dropboxusercontent.com/u/22690024/startStopTest/stopStartTest.html
var box, drum, myPart;
  var boxPat = [1, 0, 0, 2, 0, 2, 0, 0];
  var drumPat = [0, 1, 1, 0, 2, 0, 1, 0];
  var msg = 'click to play';

  function preload() {
    box = loadSound('assets/beatbox.mp3');
    drum = loadSound('assets/drum.mp3');
  }

  function setup() {
    noStroke();
    fill(255);
    textAlign(CENTER);
    masterVolume(0.1);

    var boxPhrase = new p5.Phrase('box', playBox, boxPat);
    var drumPhrase = new p5.Phrase('drum', playDrum, drumPat);
    myPart = new p5.Part();
    myPart.addPhrase(boxPhrase);
    myPart.addPhrase(drumPhrase);
    myPart.setBPM(60);
    masterVolume(0.1);
  }

  function draw() {
    background(0);
    text(msg, width / 2, height / 2);
  }

  function playBox(time, playbackRate) {
    box.rate(playbackRate);
    box.play(time);
  }

  function playDrum(time, playbackRate) {
    drum.rate(playbackRate);
    drum.play(time);
  }

  function mouseClicked() {
    if (mouseX > 0 && mouseX < width && mouseY > 0 && mouseY < height) {
      if (!myPart.isPlaying){
        myPart.start();
        msg = 'playing part';
        console.log(myPart.partStep)
      } else {
        myPart.stop()
        msg = "stopped"
        console.log(myPart.partStep)
      }

    }
  }

It looks like if I reset the myPart.metro.metroTicks = 0, it will reset the part appropriately.
e.g.,
function mouseClicked() {
   if (mouseX > 0 && mouseX < width && mouseY > 0 && mouseY < height) {
     if (!myPart.isPlaying){
       myPart.start();
       msg = 'playing part';
       console.log(myPart.partStep)
     } else {
       myPart.stop()
       myPart.metro.metroTicks = 0;

       msg = "stopped"
       console.log(myPart.partStep)
     }

   }

@nbrosowsky thank you for such an insight view! Does this bug still persist?


<EMAIL_ADDRESS>and react-styleguidist@7 incompatibility

Is this a bug report?
Yes
Did you try recovering your dependencies?
Yes
Which terms did you search for in User Guide?
N/A
Environment
Environment:
OS:  macOS High Sierra 10.13.4
Node:  8.11.1
Yarn:  1.7.0
npm:  6.1.0
Watchman:  Not Found
Xcode:  Not Found
Android Studio:  3.0 AI-171.4443003
Packages: (wanted => installed)
react: 16.2.0 => 16.2.0
react-dom: 16.2.0 => 16.2.0
react-scripts: 2.0.0-next.66cc7a90 => 2.0.0-next.66cc7a90
Steps to Reproduce

create app with<EMAIL_ADDRESS>Add react-styleguidist@7
start application development server with yarn start or npm run start

Expected Behavior
The application server should start without failing a pre-flight check
Actual Behavior
Application server fails to start due to strict matching on webpack-dev-server to version 2.11.0 and react-styleguidist@7 uses<EMAIL_ADDRESS>Reproducible Demo
I don't have time to build one right now. I'll add one if I have time later.

While not a long term solution, nor a suggested, nor supported solution; I was able to temporarily solve this issue by locking webpack-dev-server in my package.json
{
  ...
  "devDependencies": {
    ...
    "webpack-dev-server": "2.11.0"
  }
}

fyi there is another issue with running styleguidist on @next: https://github.com/facebook/create-react-app/issues/4477

These two things should never be installed side-by-side, so I'm closing this. There's too many nuanced bugs in package managers and packages for us to even attempt to solve this; the package manager should handle it.

@Timer CRA currently supports using react-styleguidist. Is react-scripts 2 removing support for this then?
https://github.com/facebook/create-react-app/blob/master/packages/react-scripts/template/README.md#getting-started-with-styleguidist

react-scripts 2 will change how this works, suggesting you install it to a monorepo/separate package.
Plus, we don't have "support" for it -- this was a contributor-provided guide that we don't know how to support.


Convert button is not disabled if user has insufficient funds

The "Convert" page allows a user to attempt an AMM swap even if they do not have enough input token. I would expect the "Convert" button to be disabled if the user does not have enough input funds to swap.
To reproduce:

Go to "Convert" page and attempt to swap an amount greater than your current balance

No longer an issue. Closing.


#3548 Change the storage type of Dot from HashSet to ArrayList

add code
add testcase

Codecov Report

Merging #3550 into master will decrease coverage by <.01%.
The diff coverage is 55.55%.

@@            Coverage Diff             @@
##           master    #3550      +/-   ##
==========================================
- Coverage   40.09%   40.09%   -0.01%
==========================================
  Files        2186     2186
  Lines       71527    71517      -10
  Branches     9833     9830       -3
==========================================
- Hits        28681    28674       -7
+ Misses      40102    40095       -7
- Partials     2744     2748       +4

Impacted Files
Coverage Δ

...ava/com/navercorp/pinpoint/web/vo/scatter/Dot.java
61.11% <ø> (-4.11%)
:arrow_down:

...rcorp/pinpoint/web/view/ScatterDataSerializer.java
0% <0%> (ø)
:arrow_up:

.../com/navercorp/pinpoint/web/scatter/DotGroups.java
51.25% <100%> (+5%)
:arrow_up:

...a/com/navercorp/pinpoint/web/scatter/DotGroup.java
60% <66.66%> (+5%)
:arrow_up:

.../navercorp/pinpoint/common/util/TransactionId.java
65.71% <0%> (-14.29%)
:arrow_down:

...tor/metric/datasource/DefaultDataSourceMetric.java
75.75% <0%> (-3.04%)
:arrow_down:

...navercorp/pinpoint/rpc/common/SocketStateCode.java
82.92% <0%> (-2.44%)
:arrow_down:

.../com/navercorp/pinpoint/profiler/context/Span.java
48.27% <0%> (-1.73%)
:arrow_down:

...orp/pinpoint/rpc/server/DefaultPinpointServer.java
81.11% <0%> (-0.7%)
:arrow_down:

...m/navercorp/pinpoint/test/OrderedSpanRecorder.java
72.11% <0%> (+1.92%)
:arrow_up:

... and 2 more

Continue to review full report at Codecov.

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


[Tizen] Fix gcov build error

Due to the lcov 2.0 upgrade, the warning is changed to error so the gcov build fails. Ignore this case. (Tizen PM guide)

:memo: TAOS-CI Version: 1.5.20200925. Thank you for submitting PR #204. Please a submit 1commit/1PR (one commit per one PR) policy to get comments quickly from reviewers. Your PR must pass all verificiation processes of cibot before starting a review process from reviewers. If you are new member to join this project, please read manuals in documentation folder and wiki page. In order to monitor a progress status of your PR in more detail, visit http://ci.nnstreamer.ai/.


Plugin/LaTeX: 2009 was thirteen years ago

Description
This plugin was hard-coded for the 2009 edition of MacTeX. I am 99.999999% sure literally zero people use this plugin, since it hasn't done anything in over a decade.
Motivation and Context
Now, it will attempt to locate the currently installed edition of MacTeX and add it to the path.
Note: this branch alsö includes a fix to path quoting in test/run; otherwise tests wouldn't be able to run at all when $BASH_IT has a space in it.
How Has This Been Tested?
Types of changes

[x] Bug fix (non-breaking change which fixes an issue)

Checklist:

[x] My code follows the code style of this project.
[x] If my change requires a change to the documentation, I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[x] If I have added a new file, I also added it to clean_files.txt and formatted it using lint_clean_files.sh.
[ ] I have added tests to cover my changes, and all the new and existing tests pass.

Honestly I think we can just get rid of this plugin altogether, does not seem that useful anyway

Since it hasn't worked in over a decade, it would be a breaking change in name only.


NSubstitute version

I have been trying out EntityFramework.Testing.NSubstitute.  It was very easy to get up and running and my tests work great in Visual Studio.  The tests however, fail when run on the build server.  It appears that EntityFramework.Testing.NSubstitute requires NSubstitute <IP_ADDRESS>.  The latest version of NSubstitute is now v<IP_ADDRESS>.  I have reverted to using the older version of NSubstitute for now but was wondering if there were any plans to upgrade EntityFramework.Testing.NSubstitute to work with the latest version of NSubstitute?

You can try bindingRedirect

NSubstitute is at version 2.0.2 now. Would be great to update the version restriction

Hi, this should be solved by #23


Bump uuid to v4

Hello,
is it possible to bump uuid to 4.0.0? One of our other dependencies needs this version.
If not, does anyone know how i can have two dependencies which both rely on one sub-dependency but with different versions?
In our case: rollbart_dart depends on uuidv3 and analytics_flutter depends on uuidv4.
Thanks.

This should be fixed with https://github.com/rollbar/rollbar-flutter/pull/118. Thank you for reporting!


[WIP] Add snippet support

Add snippet support

Add a @Snippet block directive that takes one argument: the path
to the snippet as if it were a symbol link.
Render a snippet as follows:

The snippet explanation
For each snippet chunk:

The name in bold if present
The source code as a code block

Snippets are transmitted to DocC via the Symbol Graph format.
Snippets do not have their own dedicated page as they won't have accompanying
long-form content. Snippets may be collected in a snippet "index" where one can
easily search or browse for them in one place, where they'll be grouped
appropriately.
This requires https://github.com/apple/swift-docc-symbolkit/pull/10 (now merged)
This also requires https://github.com/apple/swift-docc-symbolkit/pull/15.

@franklinsch How would you like this tested?

@bitjammer What do you think about the following:

Tests for Snippet.swift, to verify that we can parse the directive and emit the right diagnostics (we do the same for the other directives)
Integration-style test like the ones in SemaToRenderNodeTests, to verify the parsing -> render JSON emissions flow. We could add some snippets to one of the test bundles.

@swift-ci Please test

@swift-ci Please test

@swift-ci Please test

Tests added.

@swift-ci Please test

@swift-ci Please test Linux Platform

Going to need to add a snippet kind case to SymbolKit. Sigh.

I don't know if that will be necessary to land before this PR, however. Cleaning up the tests.

Still need to clean up some other tests.

@swift-ci Please test

Not sure if this repo supports building with other PRs – it needs https://github.com/apple/swift-docc-symbolkit/pull/15. Temporarily edited Package.{swift,resolved} for the time being.

@swift-ci Please test

replace_acceptable_years in check_source really needs another look at some point.

@swift-ci Please test

@swift-ci Please test macOS Platform

Okay @franklinsch ready for review when you have a moment. Thanks!

@swift-ci Please test

Updated the Package.resolved now that I've merged https://github.com/apple/swift-docc-symbolkit/pull/15.
@swift-ci Please test

@swift-ci Please test


Use C.UTF-8 as locale when invoking external awk program

The en_US.UTF-8 locale is not guaranteed to be installed, and it quite often isn't by default.
The C.UTF-8 locale was introduced as a Debian-specific locale, but was later upstreamed into glibc 2.35 [1].
This patch fixes failures when running interpreter tests on systems where the en_US.UTF-8 locale is not present. It also changes the locale on goawk_test.go, similar to !174 [2].
1: https://sourceware.org/bugzilla/show_bug.cgi?id=17318
2: https://github.com/benhoyt/goawk/pull/174

I ran into some test failures when packaging goawk for Debian. I also ran the
test suite on a fresh Arch container, which failed for the same reason. This
seems like a reasonable fix :^)

I think MacOS does not support C.UTF-8 :(
I changed the commit to use en_US.UTF-8 when running the test on darwin.

Thanks for this. These locale environment variables are all a bit messy, aren't they? I'm okay with this fix, however, let's hide the messiness inside a function so it's easy to update in one place (later we could use locale -a to see if it's present, for example). Perhaps a func awkLocale() string which returns "" on Windows, and the correct locale on others.

Just at the bottom of interp_test.go below normalizeNewlines is fine.

If it is in interp_test then goawk_test can't import it :(

Oops, I'd missed the fact that the first one was in goawk_test.go. In that case, I think what you have is reasonable. Let's do it.


iOS crash, EXC_BAD_ACCESS KERN_INVALID_ADDRESS 0x1b29f9dac -[MTLIOAccelCommandBuffer commandBufferResourceInfo] crash

Steps to Reproduce

I can't reproduce this crash
this crash was found on some users' phone, reported to the Firebase Console.

Expected results:
Actual results:
Crashed: io.flutter.1.raster
EXC_BAD_ACCESS KERN_INVALID_ADDRESS 0x00000000000002e0

Crashed: io.flutter.1.raster
0  Metal                          0x1b29f9dac -[MTLIOAccelCommandBuffer commandBufferResourceInfo]
1  AGXMetalA9                     0x1d52b6778 (Missing)
2  AGXMetalA9                     0x1d522419c (Missing)
3  Flutter                        0x1042a2d8c GrMtlCommandBuffer::getRenderCommandEncoder(MTLRenderPassDescriptor*, GrMtlPipelineState const*, GrMtlOpsRenderPass*) + 88 (GrMtlCommandBuffer.mm:88)
4  Flutter                        0x1042a8918 GrMtlOpsRenderPass::precreateCmdEncoder() + 40 (GrMtlOpsRenderPass.mm:40)
5  Flutter                        0x1042a8ccc GrMtlOpsRenderPass::GrMtlOpsRenderPass(GrMtlGpu*, GrRenderTarget*, GrSurfaceOrigin, GrOpsRenderPass::LoadAndStoreInfo const&, GrOpsRenderPass::StencilLoadAndStoreInfo const&) + 244 (GrMtlOpsRenderPass.mm:244)
6  Flutter                        0x1042a6240 GrMtlGpu::onGetOpsRenderPass(GrRenderTarget*, GrAttachment*, GrSurfaceOrigin, SkIRect const&, GrOpsRenderPass::LoadAndStoreInfo const&, GrOpsRenderPass::StencilLoadAndStoreInfo const&, SkTArray<GrSurfaceProxy*, true> const&, GrXferBarrierFlags) + 213 (GrMtlGpu.mm:213)
7  Flutter                        0x1041beb74 GrOpsTask::onExecute(GrOpFlushState*) + 625 (GrOpsTask.cpp:625)
8  Flutter                        0x1041b321c GrDrawingManager::flush(SkSpan<GrSurfaceProxy*>, SkSurface::BackendSurfaceAccess, GrFlushInfo const&, GrBackendSurfaceMutableState const*) + 308 (GrDrawingManager.cpp:308)
9  Flutter                        0x1041b365c GrDrawingManager::flushSurfaces(SkSpan<GrSurfaceProxy*>, SkSurface::BackendSurfaceAccess, GrFlushInfo const&, GrBackendSurfaceMutableState const*) + 498 (GrDrawingManager.cpp:498)
10 Flutter                        0x10407f760 SkCanvas::onFlush() + 398 (GrDirectContext.cpp:398)
11 Flutter                        0x1044fd8c0 std::__1::__function::__func<flutter::GPUSurfaceMetal::AcquireFrameFromCAMetalLayer(SkISize const&)::$_0, std::__1::allocator<flutter::GPUSurfaceMetal::AcquireFrameFromCAMetalLayer(SkISize const&)::$_0>, bool (flutter::SurfaceFrame const&, SkCanvas*)>::operator()(flutter::SurfaceFrame const&, SkCanvas*&&) + 93 (gpu_surface_metal.mm:93)
12 Flutter                        0x104361064 flutter::SurfaceFrame::Submit() + 43 (surface_frame.cc:43)
13 Flutter                        0x1043674a0 flutter::Rasterizer::DrawToSurface(flutter::LayerTree&) + 1902 (functional:1902)
14 Flutter                        0x104368064 std::__1::__function::__func<flutter::Rasterizer::Draw(fml::RefPtr<flutter::Pipeline<flutter::LayerTree> >, std::__1::function<bool (flutter::LayerTree&)>)::$_1, std::__1::allocator<flutter::Rasterizer::Draw(fml::RefPtr<flutter::Pipeline<flutter::LayerTree> >, std::__1::function<bool (flutter::LayerTree&)>)::$_1>, void (std::__1::unique_ptr<flutter::LayerTree, std::__1::default_delete<flutter::LayerTree> >)>::operator()(std::__1::unique_ptr<flutter::LayerTree, std::__1::default_delete<flutter::LayerTree> >&&) + 356 (rasterizer.cc:356)
15 Flutter                        0x104367790 flutter::Rasterizer::Draw(fml::RefPtr<flutter::Pipeline<flutter::LayerTree> >, std::__1::function<bool (flutter::LayerTree&)>) + 2648 (memory:2648)
16 Flutter                        0x10436f1e0 std::__1::__function::__func<flutter::Shell::OnAnimatorDraw(fml::RefPtr<flutter::Pipeline<flutter::LayerTree> >, fml::TimePoint)::$_35, std::__1::allocator<flutter::Shell::OnAnimatorDraw(fml::RefPtr<flutter::Pipeline<flutter::LayerTree> >, fml::TimePoint)::$_35>, void ()>::operator()() + 1818 (functional:1818)
17 Flutter                        0x104309f78 fml::MessageLoopImpl::FlushTasks(fml::FlushType) + 121 (ref_ptr.h:121)
18 Flutter                        0x10430bdf8 fml::MessageLoopDarwin::OnTimerFire(__CFRunLoopTimer*, fml::MessageLoopDarwin*) + 76 (message_loop_darwin.mm:76)
19 CoreFoundation                 0x19e846134 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__
20 CoreFoundation                 0x19e845e50 __CFRunLoopDoTimer
21 CoreFoundation                 0x19e84552c __CFRunLoopDoTimers
22 CoreFoundation                 0x19e84053c __CFRunLoopRun
23 CoreFoundation                 0x19e83fba8 CFRunLoopRunSpecific
24 Flutter                        0x10430bcd4 fml::MessageLoopDarwin::Run() + 47 (message_loop_darwin.mm:47)
25 Flutter                        0x10430b6d8 void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, fml::Thread::Thread(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)::$_0> >(void*) + 96 (message_loop_impl.cc:96)
26 libsystem_pthread.dylib        0x19e5ddd98 _pthread_start
27 libsystem_pthread.dylib        0x19e5e174c thread_start

Logs

[✓] Flutter (Channel stable, 2.2.3, on macOS 11.5 20G71 darwin-x64, locale
    zh-Hans-CN)
    • Flutter version 2.2.3 at /Users/Shared/flutter
    • Framework revision f4abaa0735 (3 months ago), 2021-07-01 12:46:11 -0700
    • Engine revision 241c87ad80
    • Dart version 2.13.4
    • Pub download mirror https://pub.flutter-io.cn
    • Flutter download mirror https://storage.flutter-io.cn

the stack trace of this crash is slightly different from the #74386, and I can't reproduce the error, so I assumed this one is not duplicate of the #74386 ?

Hi @BlakeWuh
Unfortunately, the Flutter version you're using is outdated and is no longer supported, it's not feasible to provide any bug fixes for such an old version of Flutter.
I kindly advise you to update to the latest Flutter stable, if you encounter the issue again, please comment below with the details from the latest stable, including steps to replicate the issue.
Can you please upgrade to the latest  stable and try again
Execute the following commands to upgrade
flutter channel stable
flutter upgrade --force
flutter doctor -v
If the problem persists, can you please provide your flutter doctor -v with the upgrade, complete reproducible minimal code sample, and complete flutter run --verbose logs running the minimal code sample?
Thank you

OK. We may upgrade flutter in about 2 weeks. After upgrading, if we encounter the issue again, I'll comment again


Add Rate Limiting to Login Page

Dependent on #4783
Add the ability to rate limit the login page.
Uses https://github.com/jsocol/django-ratelimit

Did you look into if / how this would work if you have multiple django containers/pods or when using multiple uwsgi processes? I think we need to explain in the docs what works and doesn't work.

Didn't know that was even possible. How can I go about setting up an environment to test that?

The docker compose in release mode already has 2 processes: https://github.com/valentijnscholten/django-DefectDojo/blob/d30234cba2278b73848c8f1f85362a0adbd24c21/docker/entrypoint-uwsgi.sh#L36
I think the default cache used by the ratelimiter is not cross-process, typically people use some external cache like memcached or redis for that.

It appears to block requests on a per process basis (guessing based on the 500 followed by 2 200's)

Here is what the documentation has to say about caching
After activating django-ratelimit, you should ensure that your cache backend is setup to be both persistent and work across multiple deployment worker instances (for instance UWSGI workers). Read more in the Django docs on caching.

Does dojo use any sort of caching method out of the box?

No, it only uses the default cache, which is in memory and local to a process/worker. That's also the reason why we can't easily add query caching for example or other forms of global caching. If we were to switch to redis as default celery broker, we could also use redis as a cross worker/process cache. I think for it's best to just make the limitation very clear in our docs.
Maybe something could be achieved by doing sticky sessions in nginx.


[Feature] Hive MetaCache adapt to connector table

What type of PR is this：

[ ] bug
[x] feature
[ ] enhancement
[ ] refactor
[ ] others

Which issues of this PR fixes ：

Fixes #
https://github.com/StarRocks/starrocks/issues/6509
Problem Summary(Required) ：

In DLA New FrameWork, we need to support manual refresh and auto sync refresh hive meta cache on  internal catalog's hive table and external catalog's connector table. the main point of adapting as follow:

remove old refresh_stmt in old parser
add new refresh_stmt in new parser
manual refresh adapt to connector table
auto sync refresh adapt to connector table
both support schema change in auto sync refresh.
support drop_table event in auto sync refresh on connector table

cc @gengjun-git plz take a look about bdb persistent

run starrocks_fe_unittest

[FE PR Coverage check]
:disappointed: fail : 42 / 208 (20.19%)
file detail

path
covered line
new line
coverage

:large_blue_circle:
com/starrocks/external/hive/events/MetastoreEventFactory.java
0
14
00.00%

:large_blue_circle:
com/starrocks/sql/ast/RefreshTableStmt.java
0
1
00.00%

:large_blue_circle:
com/starrocks/mysql/nio/AcceptListener.java
0
1
00.00%

:large_blue_circle:
com/starrocks/service/FrontendServiceImpl.java
0
4
00.00%

:large_blue_circle:
com/starrocks/external/hive/events/DropTableEvent.java
0
17
00.00%

:large_blue_circle:
com/starrocks/http/action/WebBaseAction.java
0
2
00.00%

:large_blue_circle:
com/starrocks/backup/BackupHandler.java
0
3
00.00%

:large_blue_circle:
com/starrocks/sql/analyzer/PrivilegeChecker.java
0
1
00.00%

:large_blue_circle:
com/starrocks/server/GlobalStateMgr.java
0
12
00.00%

:large_blue_circle:
com/starrocks/external/hive/events/AlterPartitionEvent.java
0
1
00.00%

:large_blue_circle:
com/starrocks/external/hive/events/AlterTableEvent.java
0
11
00.00%

:large_blue_circle:
com/starrocks/qe/ConnectProcessor.java
0
1
00.00%

:large_blue_circle:
com/starrocks/external/hive/HivePartitionKey.java
0
1
00.00%

:large_blue_circle:
com/starrocks/persist/EditLog.java
0
1
00.00%

:large_blue_circle:
com/starrocks/external/hive/HiveRepository.java
0
3
00.00%

:large_blue_circle:
com/starrocks/external/hive/events/MetastoreEventsProcessor.java
1
10
10.00%

:large_blue_circle:
com/starrocks/catalog/HiveTable.java
6
43
13.95%

:large_blue_circle:
com/starrocks/external/HiveMetaStoreTableUtils.java
6
22
27.27%

:large_blue_circle:
com/starrocks/external/hive/HiveMetaCache.java
11
34
32.35%

:large_blue_circle:
com/starrocks/connector/hive/HiveConnector.java
5
9
55.56%

:large_blue_circle:
com/starrocks/connector/ConnectorMgr.java
2
3
66.67%

:large_blue_circle:
com/starrocks/sql/analyzer/RefreshTableStatementAnalyzer.java
7
10
70.00%

:large_blue_circle:
com/starrocks/http/rest/RestBaseAction.java
1
1
100.00%

:large_blue_circle:
com/starrocks/statistic/StatisticUtils.java
1
1
100.00%

:large_blue_circle:
com/starrocks/scheduler/TaskRun.java
1
1
100.00%

:large_blue_circle:
com/starrocks/mysql/MysqlServer.java
1
1
100.00%


Feature Form - case

When lower case alphas are entered into the unit or alpha field they should be upper cased when sent to the API. The database should not hold any lower cased alphas in unit or alpha field.
When you enter lower case in unit or alpha, the message to the API is lower case. When you accept the address, the published data shows as lower case.

prefix should also be upper cased, but it is being published as lower case.

@rgabara yesterday we discussed this being done in the database. Should this issue be reassigned to e-Spatial?

A separate issue has been raised in the AIMS repository for this to be implemented in the API or Database. This issue remains open to implement upper casing in the UI. The following fields are affected:
Unit Value
Level Value
Address Number Prefix
Address Number Suffix

please retest in 0.8.1

Tested 0.8.1
All four fields entered lower case, submitted as upper case.


Complete the event store

To do actual event store, we need to be able to list the events from an aggregate root id

Codecov Report

Merging #170 (ecfb185) into main (c859f9f) will decrease coverage by 0.27%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             main     #170      +/-   ##
==========================================
- Coverage   63.56%   63.29%   -0.28%
==========================================
  Files         114      114
  Lines        3280     3294      +14
==========================================
  Hits         2085     2085
- Misses       1195     1209      +14

Impacted Files
Coverage Δ

...src/database/domain_implementations/event_store.rs
0.00% <0.00%> (ø)

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


Cannot open a project in a new tab

When you right-click on a project, there is no option to open it in a new tab

Fixed in #32


Ask about reducing vhdx storage

Hello, I recently upgraded to wsl2.
I want to ask can I reduce the size of the wsl2 virtual machine.
The ext4.vhdx file size takes up about 80GiB, but the ssd I'm using is not too large.
Recently, I created a folder that was about 60GiB.
And then I deleted it, but the size of the virtual machine didn't shrink again.
I want to save space on the c drive by reducing the size of the vhdx file.
I need your help.
Thank you.

https://github.com/microsoft/WSL/issues/4373#issuecomment-636497096
I searched more and solved it, thanks!


fix SetPrune and SetCombine bug

seems there are some conflicts, can you resubmit the commit from a clean fork? Thanks


Hyperparameters for DataModules

🚀 Feature
Add a save_hyperparameters function to LightningDataModule and let the Trainer log it together with the model's hyperparameters.
Motivation
DataModules are a great way to decouple the model code from the data it runs on.
People using datasets where pre-processing is not as fixed as in the common benchmarks need their DataModules to be configurable.
Examples would be:

size of sliding windows
maximum sequence length
type of scaling (min-max, standardization, etc.)

Logging these hyperparameters is just as important for evaluating your model performance as the model's hyperparameters.
Therefore, they should be automatically logged by the trainer, too.
Pitch
You are still searching for the perfect way to pre-process your data for maximum performance?
Keep all your efforts in order by logging the hyperparameters of your LightningDataModule.
Alternatives
Right now, I manually define a hyperparameter dictionary as a member of my DataModule.
Afterward, I call update on the hparams property of my LightningModule.
This is pretty low-level code at the top-level of my script.
Additional context
Code example for current solution:
class MyDataModule(pl.LightningDataModule):
    def __init__(self,
                 fd,
                 batch_size,
                 max_rul=125,
                 window_size=30,
                 percent_fail_runs=None,
                 percent_broken=None,
                 feature_select=None):

        ...

        self.hparams = {'fd': self.fd,
                        'batch_size': self.batch_size,
                        'window_size': self.window_size,
                        'max_rul': self.max_rul,
                        'percent_broken': self.percent_broken,
                        'percent_fail_runs': self.percent_fail_runs}

...

data = datasets.MyDataModule(...)
model.hparams.update(data.hparams)

yup, been battling with myself whether or not this is necessary. But I think it is...do you want to submit a PR for this?

Sure, I'll give it a shot.

@tilman151 I like this idea!. Then we won't need to manually call .prepare_data() and .setup() to extract these parameters, to then update hparams for logging.
What do you think about an add_datamodule_specific_args() static method in LighningDataModule as well? Do you see the use case? For defining defaults for parameters like train/val/test split, positive/negative balance in the datamodule.

@adriantre I think you can still define a static method similar to that of LightningModule which should work.

@SurajDonthi Yes, you are right of course 😅

@edenlightning I am really sorry to bother you, but could you explain why this issue was closed? The associated PR was still under review.

sorry, this is an automatic bot. apologize for that! I know it's been a while..


[Feature] Self hosted librespeed server support

General

[X] My feature does not exist in the latest version of MySpeed.
[X] I have checked that my feature has not been suggested by anyone else.

Your Idea
Hey,
First of all, thank you for this project, it's pretty cool. However, I was wondering if it would be possible to support a self hosted librespeed server? I tried to hack it in with overriding DNS to point to a custom server list I made, but it failed because of the self signed cert.
Thanks!

Glad to hear you like this project. I like the idea of custom servers. I'll add the feature in the next update :)

👍

Hey, Did this ever got completed?


vCheck asking for credentials with vCenter Appliance

Hello,
I am currently building a new environment using vSphere 6.
I installed a vCenter Appliance 6.
I want to use my good old daily vCheck (latest version available).
When I run it against my new vCenter Appliance 6 it keeps asking me for my credentials...
I tried to use the same script to run it against my "old" Windows vCenter 5.5 and it doesn't ask me for credentials.
This is problematic as I want to schedule the vCheck...
vCenter Appliance is joined to active directory, AD authentification is working correctly.
FQDN is correctly set.
I am using PowerCLI 6 Release 1.
Thanks in advance for your help!

Does Connect-VIServer work for you without credentials prompt?

No, I have the same problem, it is asking for credentials... so doesn't come from the vCheck sorry :-(
VMware support forwarded me to thie website...

Yeah, VMware support is pretty rubbish unfortunately :(
I guess I'll close this off since it is not an issue with vCheck itself, but appears to be a larger issue with authenticating against VCSA 6.0


Can't build

I can't build the repo.
Lastest version of Devkitarm. Win7 x32

I'm going to assume that you have an error relating to __sync_get_arbiter
you need to manually build the latest commit of libctru because the latest release (1.0.0) doesn't contain this pull request: https://github.com/smealum/ctrulib/pull/235

How do I do that?

Why do you want to do it? It doesn't work yet anyway.

You guys really can't wait for piracy, can you?

in any case, you have no real purpose building it now.

On Dec 29, 2015, at 9:42 AM, Sebastian<EMAIL_ADDRESS>wrote:
You guys really can't wait for piracy, can you?
—
Reply to this email directly or view it on GitHub.

Maybe to test a commit before making a pull req?

I for one am only waiting to play Cave Story 3D (impossible to find in my country) and emulators. But really, if this worked already people would be shitting themselves over at GBATemp. This. Does. Not. Work. Yet. Give steveice10 time. Rome wasn't built in one day.

I want it because it means I can make applications that use kernel permissions and install homebrew to homescreen....

you can't use this for kernel hax or downgrading yet.
anyway you could say this issue is solved: build the latest libctru, edit the Makefile to point to it, and then build this. frankly if you can't figure that out then should you really be messing with this? ;)

Was this even an issue? Troll can't read, thinks he can downgrade already with unfinished code...

i know you cannot yet but when it is done you can... yeah this should be marked as solved

You cant build with Windows ;)

Insta Linux bruh


[WIP] Aws provisioning

Coverage increased (+2.2%) to 46.18% when pulling 7bc2b532470cf65012a8ba36a709b4f47f1bc0c8 on egopher:aws_provisioning into e34bad26cbe3cc8c92ed68c0c17a123739f7f20b on supergiant:master.


external hyperlink doesn't work with Excel 2007

After a few hours of attempts to make use of external hyperlink, I found even the following example for an external link does not seem to work with Excel 2007:
sheet.add_hyperlink :location => 'https://github.com/randym/axlsx', :ref => sheet.rows.first.cells.first
Excel 2007 gives out an error with the generated file upon opening.

I found same error with Excel 2007.
if location have querystring and querystring have [], error occuerred.

OK :location => 'http://example.com?a=1'
NG :location => 'http://example.com?a[]=1'


Licensing info is out-to-date

The licensing info in the note is out-to-date. The info in the latest D365 licensing guide says "unlimited" use of Conversation Intelligence for Sales Enterprise users.

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

ID: 3baf14c7-f261-53f1-0ac6-081f4fd6c35c
Version Independent ID: 3baf14c7-f261-53f1-0ac6-081f4fd6c35c
Content: Prerequisites to configure Conversation intelligence app
Content Source: ce/sales/prereq-sales-insights-app.md
Service: dynamics-365-sales
GitHub Login: @lavanyakr01
Microsoft Alias: lavanyakr

Hello @Chielus
Thanks for letting us know. I'm in the process of getting the license information validated. I'll get back to you soon.
Thank you!

Hi @Chielus
Thanks for pointing out the issue. I've removed the capacity limitations from the doc. Please check out this FAQ.
Hope this clarifies. Please close the issue if you are good with the updates


Replace Guava EventBus with our custom one

Add EventBus to replace Guava one
Replace usages of Guava EventBus with custom one

Depends on #6275
Signed-off-by: Tomas Slusny<EMAIL_ADDRESS>TODO:

[x] Make registration lazy (probably, from benchmarks I didnt saw any noticeable difference) - decided to not do it not worth the complexity, and there is almost no difference in startup time
[x] Add support for child events (decided we do not need them)

Updated the PR to use LambdaMetaFactory instead of Reflect.Method as it seems faster

Updated the PR with privateLookupIn call for Java 9+ (in case they would ever rename the allowedModes field that is accessed via reflection)

This fixes #6563

Commits 75f488d7ae45d19772e4db23e4ad88412311f6ae a290e0bb9357cbc258fe8ce6f0322c5b7f285b5c and 85ce347d6db712b4ebb9fc19bac47f4c2ceebae2 should be squahed into 5c3aebc61c6c82653da51388cb0868b4819fa30d


azure_blob.rs: use division instead of left shift

Should have been a right shift but I did a left shift. It's constant folded anyways so we just use a shift.

follow-up of https://github.com/neondatabase/neon/pull/5546#discussion_r1361044489


[release-ocm-2.11] MGMT-18332: install gcc, git and openssl-devel required to run lint correctly

/override ci/prow/edge-e2e-ai-operator-ztp


sfdx update issue

Summary
Unable to  update using sfdx command + create new lwc
Steps To Reproduce:

Run 'SFDX update' or 'sfdx force:lightning:component:create —type lwc -n helloWorld -d force-app/main/default/lwc'
You will face issue as attached.

Expected result

SFDX should be updated or component should be created.

Actual result

Error as attached.

Additional information
Feel free to attach a screenshot.
VS Code Version: 1.34.0
SFDX CLI Version: Not able to check, as it is giving error for all commands.
OS and version: Windows 7

@raJSN  we have had issues with the updater between V6 and V7 major versions of the CLI. It is best for you to uninstall the CLI, see: https://developer.salesforce.com/docs/atlas.en-us.sfdx_setup.meta/sfdx_setup/sfdx_setup_uninstall.htm
and the reinstall
Be warned you will have to reinstall any plugins you have, to get a list of your plugins run sfdx plugins


Show Debugger version in the About window

Currently About window in the UI shows information that I cannot relate to Debugger. Would be great to show Debugger version there.

I think showing the version somewhere is a good idea, but what is the about window you are referring to?

Maybe it is a Mac specific thing.

oh yeah, no idea what is that about or how to put info there.


[Feature] Weather spell

Not that weather, the other one
could also call it erosion but than I can't make it work on the 27 non waxed copper variants
Enjoy the 50+ new lines on the block tag gen

can you later remind me to add the missing translation


Rika-Firenet REVO ll

Hi,
I saw your integration for Rika-Firenet and wanted to ask if it also works with REVO ll.
The integration looks great and I would like to use it if it works.
Thanks in advanced
Rol

Hi Rol,
Thank you for your message! The integration should be compatible as long as you have the Firenet module. You can go ahead and test it, and it should work.

Hi,
Thanks, great. I will test it.
🙂

@Rol-123 ,
The challenge with the pellet quantity sensor is that your tank capacity isn't a multiple of 15kg, making it tricky to track the exact level unless you only add full bags. One way to manage this would be to create an "input_button" for a full tank, which sets "input_number.reservoir_pellet_after_bag_add" to 39kg, and press it manually whenever you fill the tank to the max level.
The process is straightforward: each time you add a bag to the tank, I save the current value of pellets_before_service, and a template subtracts the difference between the saved value and the real-time value from input_number.reservoir_pellet_after_bag_add.
For example, if your tank was full at the last refill, input_number.reservoir_pellet_after_bag_add would be set to 39kg. If pellets_before_service was at 700kg at that time, and later it’s at 680kg, the template calculates the current tank level as follows:
39 - (700 - 680) = 39 - 20 = 19kg. You should be able to adjust it to your needs using this approach.

Hi,
Thank you very much for your explanation (I'm still a beginner). I'll try to do it that way. I thought there was a sensor in the stove that would measure it.
The rest now works almost as I wanted it to, except for the sensors for hourly, daily_stove_consumption.
Can you maybe tell me where I can download the pictures?

I used your example, it worked for a day and then it stopped working. I don't know why but I would keep trying.
The pictures are the ones you used in your "Lovelace card basic example"
thanks in advanced

You can find pictures URL at the bottom of this file
Lovelace example is here
As you can see, pictures can be found on this entity attribute : states['climate.rika_domo'].attributes.entity_picture

Ok, Thank you very much for your answer. I‘ll willtry it 😁
I have the basics up and running, now comes the fine-tuning


[SPARK-32366][DOC] Fix doc link of datetime pattern in 3.0 migration guide

What changes were proposed in this pull request?

In http://spark.apache.org/docs/latest/sql-migration-guide.html#query-engine, there is a invalid reference for datetime reference "sql-ref-datetime-pattern.md". We should fix the link as http://spark.apache.org/docs/latest/sql-ref-datetime-pattern.html.

Also, it is nice to add url for DateTimeFormatter
Why are the changes needed?

Fix migration guide doc
Does this PR introduce any user-facing change?

No
How was this patch tested?

Build the doc in local env and check it:

cc @MaxGekk @HyukjinKwon

Test build #126169 has started for PR 29162 at commit 4657497.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/30782/
Test PASSed.

Test build #126169 has finished for PR 29162 at commit 4657497.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/126169/
Test PASSed.

Test build #126173 has started for PR 29162 at commit 3f44ce1.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/30786/
Test PASSed.

Test build #126173 has finished for PR 29162 at commit 3f44ce1.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/126173/
Test PASSed.

Merged to master and branch-3.0.


Update schedule.php

Hi,
After installing V6.0.2 in a custom directory, sent commands (configuration, start, stop, etc...) were not taken into account. Commands were correctly received in INSTAL_DIR\FIFO, but not processed.
It seems the problem comes from hard coded path for FIFOs in this schedule.php.
Proposed correction worked for my installation (at least for configuring, starting and stopping camera).

First time for me to GitHub, hope I follow the correct process (maybe I need to create an issue associated to this commit?).
Thanks a lot for this great piece of software!
Sylvain

Thank you for that. It was previously relying on editing this value if using a subfolder


Spec out separate chat backends

This is super rough. The idea is that each service will spin up a gRPC
server and a connection to Core. Core will be able to dispatch client
events to the chat backend, and the chat backend will be able to
interact with Core.

This was redone in another PR.


Floating labels - IE Edge support?

Are you going to fix floating labes for IE EDGE? Because still it doesn't work on this browser.
Maybe you change :placeholder-shown for something else which works on IE too?

as they're only experiments, not part of core bootstrap, and a solution for IE/Edge would require additional JS, going to close this for now. no immediate plans to write up custom scripting for this at this point.


[TEST]test ci

Why is this PR needed?
What changes were proposed in this PR?
Does this PR introduce any user interface change?

No
Yes. (please explain the change and update document)

Is any new testcase added?

No
Yes

Build Failed  with Spark 2.4.5, Please check CI http://<IP_ADDRESS>:12444/job/ApacheCarbon_PR_Builder_2.4.5/3569/

Build Failed  with Spark 2.4.5, Please check CI http://<IP_ADDRESS>:12444/job/ApacheCarbon_PR_Builder_2.4.5/3569/

Build Failed  with Spark 2.3.4, Please check CI http://<IP_ADDRESS>:12444/job/ApacheCarbonPRBuilder2.3/5329/

Build Failed  with Spark 2.3.4, Please check CI http://<IP_ADDRESS>:12444/job/ApacheCarbonPRBuilder2.3/5329/

Build Success with Spark 2.3.4, Please check CI http://<IP_ADDRESS>:12444/job/ApacheCarbonPRBuilder2.3/5330/

Build Success with Spark 2.3.4, Please check CI http://<IP_ADDRESS>:12444/job/ApacheCarbonPRBuilder2.3/5330/

Build Success with Spark 2.4.5, Please check CI http://<IP_ADDRESS>:12444/job/ApacheCarbon_PR_Builder_2.4.5/3570/

Build Success with Spark 2.4.5, Please check CI http://<IP_ADDRESS>:12444/job/ApacheCarbon_PR_Builder_2.4.5/3570/


getCookie raw vs decoded name/value

What is the expected behavior?
getCookie() :  expect arg to accept a decoded name
expect the return value to be decoded
getCookies() expect decoded names/values
responseCookies  public property : expect decoded names/values
What is the actual behavior?
must pass an encoded name to getCookie()  and it returns a raw/encoded value
What steps will reproduce the problem?
response headers include
Set-Cookie: dingus=foo%3Bbar; path=/
Set-Cookie: a%3Bb=foo%3Bbar; path=/

Code:
$curl->getCookie('dingus') // returns "foo%3Bbar"   I would expect "foo;bar"
$curl->getCookie('a;b'); // returns null, I would expect "foo;bar"
$curl->getCookie('a%3Bb'); // returns "foo%3Bbar"  -> ugh

likewise, I would expect getCookies (and public responseCookies property) to return array of decoded keys/values
feature or bug?

Hi, I believe the current behavior is correct. I've tested in 2 other common libraries:
Set cookies script
// Set-Cookie: dingus=foo%3Bbar; path=/
$name = 'dingus';
$value = urldecode('foo%3Bbar');
setcookie($name, $value, $expires = 0, $path = "/");

// Set-Cookie: a%3Bb=foo%3Bbar; path=/
$name = 'a%3Bb';
$value = urldecode('foo%3Bbar');
setcookie($name, $value, $expires = 0, $path = "/");

Run server
$ php -S <IP_ADDRESS>:8000 setcookies.php

Test in php using https://github.com/rmccue/Requests
require __DIR__ . '/vendor/autoload.php';

Requests::register_autoloader();

$response = Requests::get('http://<IP_ADDRESS>:8000/');
var_dump((string)$response->cookies['dingus']); // string(9) "foo%3Bbar"
var_dump((string)$response->cookies['a;b']); // string(0) ""
var_dump((string)$response->cookies['a%3Bb']); // string(9) "foo%3Bbar"

Test in python using https://github.com/kennethreitz/requests
[nav] In [1]: import requests

[ins] In [2]: r = requests.get('http://<IP_ADDRESS>:8000/')

[ins] In [3]: r.cookies.get('dingus')
Out[3]: 'foo%3Bbar'

[ins] In [4]: r.cookies.get('a;b')

[ins] In [5]: r.cookies.get('a%3Bb')
Out[5]: 'foo%3Bbar'

Thank you for your prompt response..
https://github.com/kennethreitz/requests has the motto "http for humans"..
I've opened kennethreitz/requests#5116   inquiring as to why r.cookies.get() 's return value isn't for humans
even guzzle is basing its behavior on the python library  guzzle/guzzle#99
\Curl\Curl::setCookie($name, $value)  takes decoded name/value and sets and sets the cookie
getCookie should do the opposite
the encoding is a transport layer detail that should be handled by the library (just as it mostly is with PHP itself).
php's setcookie  transparently encodes the value (but not the name)
php's $_COOKIE superglobal is "correct"
var_dump($_COOKIE);
array (size=2)
  'dingus' => string 'foo;bar' (length=7)
  'a;b' => string 'foo;bar' (length=7)

If I want the raw cookie header in php :
var_dump($_SERVER["HTTP_COOKIE"]);
string 'dingus=foo%3Bbar; a%3Bb=foo%3Bbar' (length=33)

To be able to access cookie values using the decoded cookie name (e.g. $curl->getCookie('a;b')) and access decoded cookie values, the following change appears to work.
Note that urldecode is used instead of rawurldecode because rawurldecode doesn't decode plus symbols into spaces whereas urldecode does.
diff --git a/src/Curl/Curl.php b/src/Curl/Curl.php
index fd4836f..967127a 100644
--- a/src/Curl/Curl.php
+++ b/src/Curl/Curl.php
@@ -1784,7 +1784,7 @@ class Curl
 function createHeaderCallback($header_callback_data) {
     return function ($ch, $header) use ($header_callback_data) {
         if (preg_match('/^Set-Cookie:\s*([^=]+)=([^;]+)/mi', $header, $cookie) === 1) {
-            $header_callback_data->responseCookies[$cookie[1]] = trim($cookie[2], " \n\r\t\0\x0B");
+            $header_callback_data->responseCookies[urldecode($cookie[1])] = urldecode(trim($cookie[2], " \n\r\t\0\x0B"));
         }
         $header_callback_data->rawResponseHeaders .= $header;
         return strlen($header);

Perhaps fallbacks could be added so that $curl->getCookie('a;b'); and $response->cookies['a;b'] work as expected:
// Fix for $curl->getCookie('a;b');.
public function getCookie($key)
{
    if (isset($this->responseCookies[$key])) {
        return $this->responseCookies[$key];
    } elseif (isset($this->responseCookies[urlencode($key)])) {
        return $this->responseCookies[urlencode($key)];
    } else {
        return null;
    }
}

// Fix for $response->cookies['a;b'];
// would need to be done in CaseInsensitiveArray::offsetGet().
public function offsetGet($offset)
{
    $offsetlower = strtolower($offset);
    if (isset($this->data[$offsetlower])) {
        return $this->data[$offsetlower];
    } elseif (isset($this->data[urlencode($offsetlower)])) {
        return $this->data[urlencode($offsetlower)];
    } else {
        return null;
    }
}

I think what would help move this ticket forward are real-world examples for each of the following cases:

cookie name is encoded, cookie value is encoded (Set-Cookie: a%3Bb=foo%3Bbar;)
cookie name is not encoded, cookie value is encoded (Set-Cookie: ab=foo%3Bbar;)
cookie name is encoded, cookie value is not encoded (Set-Cookie: a%3Bb=foobar;)


Add music protobuf and BUILD file.

Add the license text to the build and proto files. (This is tricky on my phone, so I'll look closer tomorrow.)


Downgraded simplecov for coveralls compatibility

On my machine, running bundle install resulted in Bundler complaining that our Gemfile asked for version 0.11.0 or simplecov, while our Gemfile.lock had it locked in at version 0.10.0. After trying to upgrade simplecov, it turns out that the latest version of coveralls requires the outdated version of simplecov. So I modified the Gemfile to say to use version 0.10.0, and all should be well and good.

Whoops, I just realized we don't check in Gemfile.lock. My mistake.


fix(tier4_control_component_launch): fix duplicate declaration of controller parameter paths

Description
see https://github.com/autowarefoundation/autoware_launch/issues/728
Tests performed
In autoware.launch.xml:
  <arg name="lat_controller_param_path" default="<path_to_arbitrary_lateral_controller_param_file>" description="lateral controller configuration file location"/>
  <arg name="lon_controller_param_path" default="<path_to_arbitrary_longitudinal_controller_param_file>" description="longitudinal controller configuration file location"/>
  <!-- Control -->
  <group if="$(var launch_control)">
    <include file="$(find-pkg-share autoware_launch)/launch/components/tier4_control_component.launch.xml"/>
      <arg name="lat_controller_param_path" value="$(var lat_controller_param_path)"/>
      <arg name="lon_controller_param_path" value="$(var lon_controller_param_path)"/>
  </group>

Effects on system behavior
After fixing, arbitrary lateral and longitudinal controller parameter file paths can be specified in the group Control in autoware.launch.xml and can be passed to tier4_control_component.launch.xml
Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.

[X] I've confirmed the contribution guidelines.
[X] The PR follows the pull request guidelines.

In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.

[ ] The PR follows the pull request guidelines.

Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.

[X] There are no open discussions or they are tracked via tickets.

After all checkboxes are checked, anyone who has write access can merge the PR.

Why does the task build-and-test-differential / clang-tidy-differential (pull_request) fail?

@xuyuan-han The required build passed. Now you can merge.

I don't have write access permission to merge the code. Can you help with this? @takayuki5168

Okay, I did.


error in user_timeline

I'm getting the following error:
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1836, in call
return self.wsgi_app(environ, start_response)
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1820, in wsgi_app
response = self.make_response(self.handle_exception(e))
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1403, in handle_exception
reraise(exc_type, exc_value, tb)
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1817, in wsgi_app
response = self.full_dispatch_request()
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1477, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1381, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1475, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1461, in dispatch_request
return self.view_functionsrule.endpoint
File "flask/examples/minitwit/minitwit.py", line 122, in user_timeline
[username], one=True)
TypeError: string indices must be integers, not unicode

Can you post the offending line/statement?

It was my bad, I missed the comma after the SELECT sql statement! After adding it, the issue went away!


Appstudio update test-component-pac-sidu

Pipelines as Code configuration proposal
To start the PipelineRun, add a new comment with content /ok-to-test
For more detailed information about running a PipelineRun, please refer to Pipelines as Code documentation Running the PipelineRun
To customize the proposed PipelineRuns after merge, please refer to Build Pipeline customization

Pipelines as Code CI/test-component-pac-sidu-on-pull-request has failed.

StatusDurationName

✅ Succeeded
25 seconds
init

✅ Succeeded
2 minutes
clone-repository

✅ Succeeded
41 seconds
build-container

✅ Succeeded
20 seconds
inspect-image

✅ Succeeded
22 seconds
deprecated-base-image-check

✅ Succeeded
12 seconds
clair-scan

✅ Succeeded
57 seconds
clamav-scan

✅ Succeeded
38 seconds
sbom-json-check

✅ Succeeded
21 minutes
label-check

✅ Succeeded
7 seconds
show-summary

❌ Failed
6 seconds
show-sbom

Failure reasontask show-sbom has the status "Failed":
"step-show-sbom" exited with code 1


Template error: instance of Fn::GetAtt references undefined resource

In the file template.yaml, the rows:
Value: !GetAtt {{ cookiecutter.project_name }}.Arn
Value: !GetAtt {{ cookiecutter.project_name }}Role.Arn
must be:
Value: !GetAtt {{ cookiecutter.project_name }}Function.Arn
Value: !GetAtt {{ cookiecutter.project_name }}FunctionRole.Arn
Because the resource name is:
{{ cookiecutter.project_name }}Function:

Thanks for catching this. Will be pushing an update shortly. Apologies for the late response.


Streamline Travis testing

Fixes #1795

Reduced matrix build count from 9 to 3

If it works I'd have no problem with merging.

I think we need to do a comparison of speeds between 2 and 4 jobs. I would not expect travis vms to have enough parallel resources to run 4 jobs. They only have 1.5 CPU cores.

I didn't notice that. Yeah 2 would be better, it would reduce the amount the logs get jumbled up.

I was under the impression that logs only became misaligned with really large thread numbers. Haven't observed any disordering with four threads (on a physical computer) yet.
Isn't the general consensus twice the number of cores available? So maybe three threads. Or four for luck. One can't to too much harm, surely.
Anyway, the build doesn't seem to be starting whatever the concurrency settings are.

If Travis ever decides to upgrade their OS version to one that comes with GCC 4.8, speeds could be farther improved by using their 'container based infrastructure', which has over 9000 2 cores and 4GB of memory. It doesn't allow su elevation, so at present, it cannot be activated as the apt GCC upgrade commands won't work.

Oh look, it does get jumbled. Fancy that.

It inexplicably fails when linking polarssl on GCC. Clang builds look faster though.

Many thanks for the diagnosis, @worktycho.
With 4 threads:
5299.1  4 min 30 sec  about 7 hours ago  clang TRAVIS_MCSERVER_BUILD_TYPE=RELEASE MCSERVER_PATH=./MCServer Linux (4m 30s)
5299.2  4 min 14 sec  about 7 hours ago  clang TRAVIS_MCSERVER_BUILD_TYPE=DEBUG MCSERVER_PATH=./MCServer_debug Linux (4m 14s)
Without:
5298.5  5 min 41 sec  about 8 hours ago  clang TRAVIS_MCSERVER_BUILD_TYPE=RELEASE MCSERVER_PATH=./MCServer Linux (5m 41s)
5298.6  5 min 17 sec  about 8 hours ago  clang TRAVIS_MCSERVER_BUILD_TYPE=DEBUG MCSERVER_PATH=./MCServer_debug Linux (5m 17s)
The experimental procedure is somewhat flawed, since the second test is for the NetworkIPEnum branch, but it seems faster.

Merge?

My main problem with the experiment is that in values are within normal variations. For example job 5304 has builds lasting between 8 min 22 sec and 3 min 55 sec.

For me the main point is that there are many less CI build jobs, so the overall time is much shorter - ~12 minutes instead of ~40. I'd say merge.

My view is similar but I think we should remove the change to the number of parallel make jobs then merge. That can be done in a seperate PR.

Muchas gracias!


Opaque NewConnection struct

Based on discussion in gitter (see also https://github.com/djc/quinn/issues/207#issuecomment-518042632). I'm not sure how I feel about this. Forwards-compatibility is definitely nice. Panicing on drop without the driver having been taken is interesting, but I worry that it will convert harmless behavior into crashes, e.g. in the quinn-h3 client/server changes you can see where I had to carefully avoid that. Acquiring the components of a connection with one-time accessors also seems less obvious than destructuring them out of public fields, no matter how well-documented the accessors are.

Closing in favor of #421.


Changed --code-size to 1em

Changed the --code-size CSS variable to be in terms of em instead of %. Instead of 100% it is now 1em. This is consistent with the default Obsidian usage of --code-size. While it may not be an issue currently visible in Obsidian with default plugins, it may one day create errors and is already creating errors in plugins.

looking good! ty for the pr


libvirt: DiskSecret - add supported UUID field

From libvirt docs:
The encryption tag can currently contain a sequence of secret tags,
each with mandatory attributes type and either uuid or usage (since 2.1.0).
The type is required. UUID or Usage is optional, only one must
be set.
Ref: https://libvirt.org/formatstorageencryption.html
Signed-off-by: Alexander Gallego<EMAIL_ADDRESS>Signed-off-by: Jason Baron<EMAIL_ADDRESS>NONE

Hello contributor, thanks for submitting a PR for this project!
I am the bot who triggers "standard-CI" builds for this project.
As a security measure, I will not run automated tests on PRs that are not from white-listed contributors.
In order to allow automated tests to run, please ask one of the project maintainers to review the code and then do one of the following:

Type ci test please on this PR to trigger automated tests for it.
Type ci add to whitelist on this PR to trigger automated tests for it and also add you to the contributor white-list so that your future PRs will be tested automatically.
If you are planning to contribute to more than one project, maybe it's better to ask them to add you to the project organization, so you'll be able to run tests for all the organization's projects.

Thanks @senior7515. It's not quite clear what the intent behind this changeset is. KubeVirt's domain XML mapping is not 100% at this point as we're not using all the fields. If I'm reading this right, all this changeset does is create a field which otherwise wouldn't be used. Is there more to it than this?

ci test please


ADD Backend Issue Report Template

A Backend Issue Report Template is essential for maintaining clarity, consistency, and efficiency when addressing backend-related problems. It standardizes the reporting process, ensuring each issue contains key information, such as the issue description, steps to reproduce, expected vs. actual behavior, and relevant environment details. This structure not only makes it easier for developers to understand and prioritize issues but also reduces the need for repeated clarifications, saving time for both the reporter and the development team. Additionally, it fosters better communication across technical and non-technical team members by guiding reporters to use clear, precise language. A well-structured template streamlines debugging, allowing developers to focus directly on resolution, and serves as a historical reference, aiding in identifying recurring issues or patterns that may benefit from long-term improvements. Ultimately, a backend issue report template helps keep the development process organized, responsive, and productive.

@RamakrushnaBiswal assign me the task under GSSOC

Go for it @alo7lika


Update iina to <IP_ADDRESS>

After making all changes to the cask:

[x] brew cask audit --download {{cask_file}} is error-free.
[x] brew cask style --fix {{cask_file}} left no offenses.
[x] The commit message includes the cask’s name and version.

My bad, duplicate of #46522.