Identifiers validation failed for dataset Happywhale - Walrus in Arctic Ocean

Identifier validation failed for the dataset Happywhale - Walrus in Arctic Ocean:

Crawler attempt: 169
Publishing organization: OBIS-SEAMAP
Publishing country: UNITED_STATES
Installation: OBIS-SEAMAP IPT
Number of occurrences indexed for this dataset at the time of the issue: 6
Cause: GBIF ID problems exceed 50% threshold: 100% duplicates; 6 total records; 6 absent records
Pipelines execution steps: http://api.gbif.org/v1/pipelines/history/execution/4017620/step

New IDs sample:

Old IDs sample:

306935
306936
68428
68429
72764
78156

Publisher email
Hello,
I am contacting you from the GBIF Secretariat about a dataset published by the Happywhale - Walrus in Arctic Ocean : https://doi.org/10.15468/9vzwfv.
We noticed that the occurrenceIDs were changed. We have temporarily paused the ingestions of this dataset.
As you might already know, when an occurrence record has a new occurrenceID for a given dataset, our system considers it to be a new occurrence.
This means that it will be given a new gbifid and a new occurrence URL (like this one: https://www.gbif.org/occurrence/1252968762) and the old gbifid and URL will be deprecated.
In this case, this means that the occurrence URLs would be deprecated when ingesting the newest versions of these datasets.
We would like to check with you if those changes were intentional. Do you know if this is the case?
Please let us know, thanks! We are happy to resume the dataset ingestion.
Note that some users rely on those occurrence URLs and gbifids (like https://bionomia.net for example). In an attempt to improve
the stability of the occurrence URLs and gbifids, we have implemented a warning system to detect these type of changes in datasets (see this news item).
If the data publisher can provide us with a list of old and new occurrenceIDs per record, we can avoid the identifier and URL changes. Could that be an option?
Please let us know if you have any question. Thanks!
All the best,

You can skip/fix identifier validation using the registry UI.

Identifier validation still  failing for the dataset Happywhale - Walrus in Arctic Ocean:

Crawler attempt: 170
Publishing organization: OBIS-SEAMAP
Publishing country: UNITED_STATES
Installation: OBIS-SEAMAP IPT
Number of occurrences indexed for this dataset at the time of the issue: 6
Cause: GBIF ID problems exceed 50% threshold: 100% duplicates; 6 total records; 6 absent records
Pipelines execution steps: http://api.gbif.org/v1/pipelines/history/execution/4017666/step

New IDs sample:

Old IDs sample:

306935
306936
68428
68429
72764
78156

Publisher email
Hello,
I am contacting you from the GBIF Secretariat about a dataset published by the Happywhale - Walrus in Arctic Ocean : https://doi.org/10.15468/9vzwfv.
We noticed that the occurrenceIDs were changed. We have temporarily paused the ingestions of this dataset.
As you might already know, when an occurrence record has a new occurrenceID for a given dataset, our system considers it to be a new occurrence.
This means that it will be given a new gbifid and a new occurrence URL (like this one: https://www.gbif.org/occurrence/1252968762) and the old gbifid and URL will be deprecated.
In this case, this means that the occurrence URLs would be deprecated when ingesting the newest versions of these datasets.
We would like to check with you if those changes were intentional. Do you know if this is the case?
Please let us know, thanks! We are happy to resume the dataset ingestion.
Note that some users rely on those occurrence URLs and gbifids (like https://bionomia.net for example). In an attempt to improve
the stability of the occurrence URLs and gbifids, we have implemented a warning system to detect these type of changes in datasets (see this news item).
If the data publisher can provide us with a list of old and new occurrenceIDs per record, we can avoid the identifier and URL changes. Could that be an option?
Please let us know if you have any question. Thanks!
All the best,

You can skip/fix identifier validation using the registry UI.


[Request] Rocket sound on arrive and take off

What do you think is missing or what do you think can be done better
[Describe in detail what you want to see and how it makes the mod better]
Launching rockets from my control tower looks cool but there is no sound to the rocket unless almost ontop of it and even then its so quiet.
You want to hear the sound of the rockets firing on the way up and the sound of the retro thrusters cutting in as it descends.

Duplicate of #474


How to add arrays?

HOW DO WE ENTER ARRAY IN FIRETABLE?
The closest I can find it's Multi-select, which only takes strings of predefined options. It hints me that the user can enter custom values, but so far, I DON'T how to turn that option on.
How about array of integers?
Alternatively, I try JSON, but it doesn't seem like to allow array at the top level even when I turn on "Set as an Array" IN THE COLUMN

I have the same problem, JSON "Set as an array" option doesn't change anything. How can I make the "root" property an array?

Yes, It looks like set as an array config in the json field is broken , will be fix in the next release this week 🤞

fixed in v2


Stake splitting vulnerability

Problem
Currently PosMinting.GetSplitStake decides if coin should be spitted in coinstake tx or not.
Basically if we have less than 51*3 = 153 non-zero UTXOs we don't split the coin.
But in fact if we have a large enough coin we always want to split it because large coin will be likely to stake within the coinstakeAge window. By not splitting the coin miner's returns will be reduced since he will create less blocks.
So here is the attack: attacker sees a large coin staking and sends 150 txes (each tx pays 0.0001 in fees and sends 0.0001 to the staker) so the total attack cost is 0.03 STRAT.
Now staker won't split his large coin and therefore loose money.
Best time to perform this attack is during C++ stakers migration to C# nodes since those stakers will be sending large amounts to their new Hd wallets consolidating their previously split coins into 1 big happy UTXO.
Fix
change PosMinting:527 :
if ((utxo != null) && (utxo.Value > Money.Zero) && (hashBock != null))
instead of Money.Zero use smth like 0.1 so we never pick really small coins for staking
(instead of hardcoded value we might use a % of estimated total staking coins)
Doing that will increase attack cost and will help avoiding wasting CPU resourses on coins that will basically never stake.
Also reintroduce coin splitting with target coin value of 75k stratis (coins larger than that should be split) and allow splitting in more than 2 outputs (but limit to 10 max outputs)
ps
This problem and fix were discussed with @Aprogiena

as no escape said instead of money zero use something higher, I would suggest 0.01, but even 0.1 is probably okay. This will prevent the staking node to consider very small coins, which means saving CPU time
this will also prevent the splitting logic to consider those small coins and therefore one would have to have a lot of UTXOs with nontrivial value in order for the splitting logic to say that no more splitting should be done
this by itself should be good enough. However, we can't possibly add that extra rule that very big UTXOs, such as 75,000, will always split

This is indeed a vulnerability of the miner (and wallet) I would even suggest the coin splinting condition to be 1 STRAT, 0.003 STRAT is a very cheep attack but 150 strat will discourage such attacks even more without effecting the miner (staking with less then 1 STRAT or any other currency is probably not gonna change much for the miner) this should probably be configurable as well.

1 Stratis is too much, if you think about it if the limit was 0.01, then we are looking the cause of about 15 Stratis per attack, but the effect of the attack is that the miner would not be able to stake with big coin for half a day, and this would actually cost the miner the profit of those blocks that you would miss, which would very likely be much less then 15 Stratis. Therefore it seems to me that 0.01 is good enough, especially if we say that the coin is split it anyway if its value is over 75 K

so we agreed on the following

minimum coin size > 0.01
for staking amounts > 100 strats, aim for an even split of the coins up to 501*3 utxos

Fixed in https://github.com/stratisproject/StratisBitcoinFullNode/pull/1769


Login error displayed when the number of allowed failed attempts exceeds should be changed

Is your suggestion related to an experience ? Please describe.
The error message displayed when the account is locked after the number of failed login attempts has exceeded is the same as for entering incorrect credentials (even when the correct username and password are given)

Describe the improvement

An error stating that the account is locked due to the number of allowed failed attempts exceeding can be displayed instead

This could be done by purpose so username enumeration is not possible.

We can enable showAuthFailure reason to get the account lock reason and customize authentication endpoint webapp to cater to different error messages if needed.

We can enable showAuthFailure reason to get the account lock reason and customize authentication endpoint webapp to cater to different error messages if needed.


Route Patterns: Inconsistency between /a/* and /a/*/z

When routing with a trailing wildcard it is effectively matching against the leading pattern (/a). When routing with a nested wildcard it is matching against the leading pattern (/a) a single inner segment (/*) and a trailing segment (/z).
In the first case the wildcard can match any number of segments, in the second case it will only match a single segment. I'd suggest this is very confusing and limiting if intentional. These will both match the same things: /a/:wild/z and /a/*/z yet there is no way to match agains the trail end of the pattern. Perhaps I want to handle specific file types in a very particular way no matter what folder they are in.
My proposal would be to make * explicitly 0 or more segments but using RegExp non-greedy semantics (/(?:\/(.+?))?/) and use that everywhere it could appear. So in my examples here it would look like /^\/a(?:\/(.+?))?\/z$/.
Bonus: Named wildcard patterns "/a/*:path/z"

Hi @matthewrobb, Thank you for your proposal.
I know the inconsistency, it's intentional.
Basically, we think the wildcard * should not match slash /:
app.get('/a/*/z')

// GET /a/b/z  => match
// GET /a/b/c/z => not match

But, wildcard * put on the last like /a/* will be special wildcard. The reason for making special wildcard is to make it easier to use middleware and to adapt the fallback pattern.
app.use('/admin/*', basicAuth())

// GET /admin/a => match
// GET /admin/a/b => match

In some cases, this may be confusing, but this is the specification.

Does Hono plan on having any method of wildcarding multiple path segments preceding a literal or trailing named param? It would be WORKABLE if the regex pattern could be allowed to match on separators e.g. app.get(":dirname{.*?}/:filename.:extension", ...) as /^(?<dirname>.*?)(?:\/(?<filename>[^/?#]*))(?:\.(?<extension>[^/?#]+))$/

@yusukebe curious if you "bless" the idea of building custom Router implementations? There aren't a ton of frameworks that offer such a feature but looking through it seems the interface is pretty simple. Alternatively possibly allow a function as the pattern argument: app.route((req) => {}, ) so that we could write very specific matching logic to branch into sub routers or durable objects.

@matthewrobb

curious if you "bless" the idea of building custom Router implementations?

No. It's not so easy to implement, and we do not want to change specifications for the purpose.


chat: fix duplicate messages in threads

Fixes LAND-1299 by checking for and removing cached messages when we hear a fact about a new message that matches a cached message. We were also unnecessarily invalidating the usePost query for the parent, so I removed that.
I also found that we were still passing a channel flag into the whom prop in the ChatScroller in both ChatWindow and ChatThread, so I fixed that (and the things downstream from it).

This will fix the issue @zalberico just mentioned about always seeing the same point in a thread unread.


[Bug] Outdated wiki information about "spleeter separate -h"?

[x] I didn't find a similar issue already open.
[x] I read the documentation (README AND Wiki)
[x] I have installed FFMpeg
[x] My problem is related to Spleeter only, not a derivative product (such as Webapplication, or GUI provided by others)

Description
When I'm trying to get help and type spleeter separate -h as stated on the page 2. Getting Started I get an error.
Step to reproduce

Installed using pip3 install spleeter
Run as python3 spleeter separate -h
Got Error: no such option: -h error

Output
$ python3 spleeter separate -h
Usage: spleeter separate [OPTIONS] FILES...
Try 'spleeter separate --help' for help.

Error: no such option: -h

Environment

OS
Linux

Installation type
pip

RAM available
N/A

Hardware spec
N/A

Additional context
spleeter separate --help works correctly.

Hi @n-zhi,
Indeed, the last version of spleeter uses the typer package as CLI argument manager, so the short -h form for --help no longer works. We'll have a look if we can bring it back easily with typer.
In the meantime I've updated the wiki with the long --help form.
Thank you for spotting this.


Restored removed Dockerfile.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 96.80%. Comparing base (b859411) to head (648134c).

Additional details and impacted files

@@           Coverage Diff           @@
##             main     #318   +/-   ##
=======================================
  Coverage   96.80%   96.80%
=======================================
  Files         152      152
  Lines        9160     9160
=======================================
  Hits         8867     8867
  Misses        293      293


Unable to retrieve service info

Hello again! Thanks for fixing my last issue fairly quickly, this time I'm back with a smaller issue.
While testing a few ROS services created with goroslib, I noticed that the created services don't work with rosservice info and rosservice call (and possibly others). Trying either of those commands will return a cryptic python error, suggesting the connection is broken.
This doesn't happen with regular clients (at least goroslib and rospy), but can still be annoying during testing.
This can be reproduced with docker (or alternatively by running the example code and doing rosservice ... on an Ubuntu install). First run ros:
docker run -it --network=host --name=ros ros:noetic-ros-core roscore

Then start the example (in a new terminal):
docker run --rm -it --network=host golang:1.15 sh -c "git clone https://github.com/aler9/goroslib && cd goroslib && go run examples/serviceprovider.go"

Finally, run either info or call (in a new terminal):
docker exec -it ros bash -c "source /opt/ros/noetic/setup.bash && rosservice info /test_srv"
docker exec -it ros bash -c "source /opt/ros/noetic/setup.bash && rosservice call /test_srv '{data: false}'"

The final commands will give you something along the lines of:
Traceback (most recent call last):
  File "/opt/ros/noetic/bin/rosservice", line 35, in <module>
    rosservice.rosservicemain()
  File "/opt/ros/noetic/lib/python3/dist-packages/rosservice/__init__.py", line 741, in rosservicemain
    _rosservice_cmd_info(argv)
  File "/opt/ros/noetic/lib/python3/dist-packages/rosservice/__init__.py", line 708, in _rosservice_cmd_info
    _rosservice_info(name)
  File "/opt/ros/noetic/lib/python3/dist-packages/rosservice/__init__.py", line 301, in _rosservice_info
    t = get_service_type(service_name)
  File "/opt/ros/noetic/lib/python3/dist-packages/rosservice/__init__.py", line 147, in get_service_type
    return get_service_headers(service_name, service_uri).get('type', None)
  File "/opt/ros/noetic/lib/python3/dist-packages/rosservice/__init__.py", line 124, in get_service_headers
    return rosgraph.network.read_ros_handshake_header(s, BufferType(), 2048)
  File "/opt/ros/noetic/lib/python3/dist-packages/rosgraph/network.py", line 359, in read_ros_handshake_header
    raise ROSHandshakeException("connection from sender terminated before handshake header received. %s bytes were received. Please check sender for additional details."%b.tell())
rosgraph.network.ROSHandshakeException: connection from sender terminated before handshake header received. 0 bytes were received. Please check sender for additional details.

I believe the fix is relatively straightforward. First serviceprovider.go will have to be changed (lines 159-162) to allow for a wildcard hash (similarly to publisher.go at line 314-317):
if req.header.Md5sum != "*" && req.header.Md5sum != sp.srvMd5 {
  eq.conn.Close()
  continue
}

Furthermore, the Type header at line 169 is now hardcoded to goroslib/Service, but it seems this header is used by rosservice to determine the type of the service. I'm no expert, but it seems this header is not used/ignored by goroslib and rospy, so that's why it works without problems for those clients.
I can think of a few solutions. You could try to deduce the type from the request and response types (which would then need to follow the <type>Req/Res scheme), but this would impose restrictions on all users, so not a big fan of this one. Another option would be to keep the currently hardcoded value as a default, but allow users to override it. I'll leave it up to you to think of a nice solution for this one.

Hello, thanks for reporting this issue

the format of service structs was changed to make room for name and package
rosservice info and rosservice call are now supported

These issues are due to the fact that there are a lot of secondary functions which i never used - i started working with ROS during my thesis, but evidently i'm still missing something.


Add a welcome modal

Similar to the one we have on https://celeste.1hive.org
Consider adding the videos that Ted is working.

Ted worked on a few scripts to split the videos on each of the main actions. That allows users to navigate between the subjects.


Avoid gradle assemble in Travis

Two changes

Externally - disabled here https://travis-ci.org/square/okhttp/settings
Travis config avoids assemble task

Need me to flip a setting?


Crash on Mac

Good morning,
I installed MSPhysics 0.9.3 and AMS Library 3.3.0 on Mac 10.8.5, with Sketch Up 2015 Make, by Extension Warehouse.
Unfortunately it crashes if, once I clicked play, I try to move components with the mouse.
Where am I doing wrong??

I haven't tested on mac 10.8.5, but I have tested it on OSX maverics

Hi, Ermess,
Can you check if the crash occurs with the latest version, 0.9.5?
Thanks,
Anton


Update Add Command and Edit Command to support Skills and InterviewScore

Closes #101 and #102

LGTM!


Release Google.Cloud.DocumentAI.V1Beta3 version 2.0.0-beta22

Changes in this release:
New features

Add API fields for the descriptions of entity type and property in the document schema (commit 34114a8)

Created release for Google.Cloud.DocumentAI.V1Beta3-2.0.0-beta22


Expected "/* Begin ", "/* End ", """ or [A-Za-z0-9_.] but "<" found.

Installing react-native-maps and linking it to android dependency is successful. However, it throws an error.
$ react-native link react-native-maps
rnpm-install info Linking react-native-maps android dependency
rnpm-install info Android module react-native-maps has been successfully linked
rnpm-install ERR! It seems something went wrong while linking. Error: Expected "/* Begin ", "/* End ", "\"" or [A-Za-z0-9_.] but "<" found.
Please file an issue here: https://github.com/facebook/react-native/issues

Expected "/* Begin ", "/* End ", "\"" or [A-Za-z0-9_.] but "<" found.

react-native-cli: 2.0.1
react-native: 0.41.2
Thank you.

clean node_modules and update to latest version.

Have you tried doing react-native upgrade before react-native link? That worked for me.

Please do manual link.

Check your project.pbxproj file in my case there were merge conflicts which was showing "<<<<<<"

As @91ranjan said check All of your files that has been changed since the last commit you have.
It's because of the merge conflicts that adds some "<<<<<" lines to your code.
resolving them would perfectly solve my problem!


Invalid administrator verification

Users only need to enter /auth in the chat window to become an administrator
Please fix it, thanks

Thanks for pointing this out.
Just pushed update 1.1.8 that fixes this.

Thank you for fixing it. There may still be a bug:
A password with a number in the first place will cause authentication to fail

Fixed in develop commit #38a1d29
It was happening because the user set token wasn't being converted to a string while the randomly generated one was.
I will merge develop into the master branch later today.


Add option to set llm attribute on a crew

For folks not trying to have each agent use a different LLM this will allow them to set it once on the crew and forget about it

Hey I can work on this.

Let's go @siddartha-10 if you find the time feel free to open a PR otherwise I might do it soon ;)

Working on it.

Hey @joaomdmoura i was working on it,
from my understanding it is not just adding the llm as an attribute in the crew.py right we should also make some changes in the agents.py file as well right?


Cannot load envFile on windows

Hi!
I have this config:
{...,
"envFile": "${workspaceFolder}/src/dev.env",
...}

On windows, when I augment the error message with actual helpful info (#2511), I get:

Can't parse envFile /c:/Users/Me/Dev/FG/Apps (other)/viz_scatterplot/src/dev.env
because of Error: ENOENT: no such file or directory, open 'C:\c:\Users\Me\Dev\FG\Apps (other)\viz_scatterplot\src\dev.env'

something in your path handling code is wrong.

I believe the problem is that folder.uri.path on this line should be folder.uri.fsPath


Add ability to configure sentry logger.

Sentry has a logger parameter that is useful to identify the source of events, this PR allows the user to configure that parameter.

Thank you! 👍


What purpose does .NET serve on Linux?

I want to know what purpose the .NET runtime serves on Linux. What, if any, vscode features require it? I have installed it before but it seems that periodically I get an error "Failed to run .NET runtime. ..." If I cancel that alert I don't notice any problems.  Is there some subtle user experience that will be improved if .NET is runnable?

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

ID: e92ae0e3-2f90-5eeb-ed2c-bdfb85c5eaca
Version Independent ID: 1850602d-6b92-1449-c8bd-116e36fc0f26
Content: Install .NET on Linux distributions - .NET
Content Source: docs/core/install/linux.md
Product: .net
Technology: dotnet-installation
GitHub Login: @adegeo
Microsoft Alias: adegeo

Hi @jimlloyd The biggest advantages that the runtime provides to the OS is really from the software that utilizes it. When an app ships without the runtime and relies on the local runtime you've installed, it gets these benefits:

The app package is smaller as it doesn't include the runtime.
The app benefits from patches applied to the runtime. If the app shipped the runtime with itself, any security and bug fix updates applied to the locally installed runtime wouldn't apply to the app.
Optionally the app author can make the app fully cross-platform (if it doesn't use any platform-specific code). This requires the app runner to start the app via dotnet directly with dotnet path-to-app-binary. Otherwise they get a platform specific executable that does that dotnet path-to-app-binary for you automatically.

If something on your system is complaining about a missing runtime you'll have to figure out what that app is, what runtime it's expecting, and if it's looking for the runtime in a different place.
I hope this answers your question. I'll close this issue. Please feel free to comment again. Cheers!


Fix caldav component handling with dtend missing

Description:
Fix issues with the caldav component if dtend elements in calendar objects (VEVENT) are missing.
Related issue (if applicable): fixes #12080
Checklist:

[x] The code change is tested and works locally.

If user exposed functionality or configuration variables are added/changed:

[ ] Documentation added/updated in home-assistant.github.io

If the code communicates with devices, web services, or third-party tools:

[x] Local tests with tox run successfully. Your PR cannot be merged unless tests pass
[ ] New dependencies have been added to the REQUIREMENTS variable (example).
[ ] New dependencies are only imported inside functions that use them (example).
[ ] New dependencies have been added to requirements_all.txt by running script/gen_requirements_all.py.
[ ] New files were added to .coveragerc.

If the code does not interact with devices:

[ ] Local tests with tox run successfully. Your PR cannot be merged unless tests pass
[ ] Tests have been added to verify that the new code works.

Hi @bottomquark,
It seems you haven't yet signed a CLA. Please do so here.
Once you do that we will be able to review and accept this pull request.
Thanks!

Great contribution, thanks! 🐬 🎉


Add support for boolean values. Useful for checkboxes.

I was moving some existing default data to data_magic, but boolean values wouldn't work because the fuubar feature assumed the value responded to [] during the check for a leading ~.

Thanks Jon


Move Galactic into the subdirectory

This makes it so we can add other reports to the repository.  We also add in a front page where we describe what these pages are for and list the available reports.
@kscottz @wjwwood @aprotyas FYI.

It should also be noted that this breaks any "deep links" to the previous report, but we don't think that is a huge problem.
I'm going to go ahead and just merge this so we can move on to starting the Humble side of things.


Player can't open chest

Describe the bug
Player can't open Chest with Loot Sheet NPC 5e
Player have control of its token
There is a NPC loot sheet in the map, all player have observer permission.
The player can't open the chest on click or double click.
Screenshots

Desktop (please complete the following information):

OS: Windows 10
Browser Brave
Version 1.33.106 Chromium: 96.0.4664.110 (Build officiel) (64 bits)

Additional context
FoundryVTT : 9.238
Dnd5E 1.5.6
Loot Shee NPC 5e 3.4.1

I think and hope my current dev branch will solve these issues.
However, we still did not test wit v9.
Il will update my dev foundry in the coming days so I can start checking for v9 functionallity.
In the meantime, could you check chromes/browsers dev console for error messages?

Client has no error in console on click or double click.
I don't know if the issue come from my parameters or not. But everything seems ok, triple check.

Some news.
It's working now. I've understood why.
The "Individual permission is wierd. When I allow Player2 to loot, it unallow PLayer1 .
2+ players can't have the permission to open the chest ? Only 1 ?
Now the player with permission can open the Chest, loot money but can't loot items There is an error on clicking "Loot item"
"No active character for user"

I suppose this is a test environment.
You will have to create a user for Test

And use a second browser or an incognito window.

Next update will bring optimization for permission handling again.
Issues with that should be clearer to fix for the GM in the future.

it's not a test environnement, it's a real user connected and well configured like your screenshot :)
He can loot money but not item.

I will test this again. The next update will have several bugfixes.
I let you know when release. The item looting should be fixed as well.

You can test https://github.com/jopeek/fvtt-loot-sheet-npc-5e/releases/tag/nightly-v<IP_ADDRESS> this pre release if you like.

Thanks, I'll try to install it before the end of week :)

An error when player click on chest

I've bulk updated with Observer. She can double click on the chest but can't loot anything.

Another screenshot from my GM POV
Every player is set in "parametres/players configuration", I've already made a session with all of them and no problem to control their character.
Still only one is in Individual Permission section. I'm looking every where I don't see anything that explain missing ones.

Can you ping me on discord ?
I suspect a configuration issue. But we would have to test this.

Thank you. on FoundryDiscord ? what is your tag ? (FeelTheWay#8714)

Problems solved. (Configuration Issue + new module version)
Thank you very very much !

@FeelTheWay what was the fix? I've got the same issue.

should be fixed


Benchmarking cleanup

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
165

Relevant Lines:
223

💛  - Coveralls


bug: Incorrect AsyncAPI payload

Depends parameters (the same with Context) should be excluded from rendering AsyncAPI schema
Discussed in https://github.com/airtai/faststream/discussions/928

Originally posted by shepilov-vladislav November 11, 2023
Any option to exclude dependency with FastDepends from docs?

Copy of #1153


field converter stopped working in 0.11.0

Summary
Given class attribute dateTime it is expected to parsed data to be of type datetime using converter
import datetime as dt

@define(field_transformer=convert_attributes)
class Reboot(DataclassBase):
    reason: str = field(metadata={FIELD_NAME: "reboot_reason"})
    dateTime: dt.datetime = field(metadata={FIELD_NAME: "reboot_date_time"})
    vdeviceName: str = field(metadata={FIELD_NAME: "vdevice-name"})
    rebootDateTimeDate: dt.datetime = field(metadata={FIELD_NAME: "reboot_date_time-date"})
    vdeviceDataKey: str = field(metadata={FIELD_NAME: "vdevice-dataKey"})
    lastUpdated: dt.datetime = field(metadata={FIELD_NAME: "lastupdated"})
    vdeviceHostName: int = field(metadata={FIELD_NAME: "vdevice-host-name"})

Logs and external information
works in 0.10.2post0
stopped working in 0.11.0
Reproduction script
from vmngclient.dataclasses import Reboot
import datetime
from vmngclient.utils.creation_tools import create_dataclass
reboot_dict = {
    "reboot_date_time-date":<PHONE_NUMBER>000,
    "reboot_reason": "Reload Command through netconf",
    "vdevice-dataKey": "<IP_ADDRESS>-2023-07-14T07:11:09+00:00",
    "reboot_date_time": "2023-07-14T07:11:09+00:00",
    "vdevice-name": "<IP_ADDRESS>",
    "lastupdated":<PHONE_NUMBER>991,
    "vdevice-host-name": "vm26"
}
reboot_obj = create_dataclass(Reboot, reboot_dict)
assert type(reboot_obj.dateTime) == datetime.datetime

On what platform(s) does it occur?
Not Applicable
Issue Severity
Medium: There is a workaround

This issue was migrated from an old repository: https://github.com/CiscoDevNet/catalystwan/issues/314


provide hash algo for fetch maven artifacts by URL

Plugin fetch-maven-artifacts has been enhanced to allow
user to specify the hashing algorithm to be used when
validating an artifact downloaded via URL.
Possible options are md5, sha1 and sha256.
In addition, when fetching archives from Koji, plugin
no longer assumes the hashing algorithm is md5. Instead,
it leverages the checksum_type attribute from the artifact
information from Koji.
Signed-off-by: Luiz Carvalho<EMAIL_ADDRESS>

Marked as work in progress as we iron out the yaml schema.

@vrutkovs @twaugh PTAL.
Removed the need to explicitly set hashing algorithm via checksum_type.
Instead, user simply needs to define one or more of the following attributes: md5, sha1, sha256.
If the user provides more than one hashing algorithm, then multiple hashes will be computed - one per algorithm. All hashes will be validated.
In most cases, users will only provide a single hash to be validated.
However, when the output of this plugin is properly integrated with Koji's content generator metadata,
we'll always need to compute md5 hash for Koji data consistency.
This change provides the flexibility to users to choose desired hashing algorithm to be
used by OSBS, while also paving the way in ensuring data consistency when importing data into Koji.
Before merging I'd like to squash commits and reword commit message.
Leaving it as is during review for easier rollback if needed.

Squashed commits, ready for merging.


HDDS-3513. add ozone-site.xml by default

What changes were proposed in this pull request?
Add ozone-site.xml to OzoneConfiguration by default. In secure mode , otherwise security items configured in ozone-site.xml will not be effected when startup a secure s3 gateway. we have to configure these in core-site.xml which makes a little confused.
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-3513
How was this patch tested?
setup a secure ozone cluster and configure security items in ozone-site.xml followed by document mentioned,  then start each service.

Hi @Simon0806
Thanks for the contribution and welcome to Ozone.
OzoneConfiguration() calls loadDefaults() and in loadDefaults() we add ozone-site.xml.
I see this has been already taken care of by the below code.
   public OzoneConfiguration() {
     OzoneConfiguration.activate();
     loadDefaults();
   }

  private void loadDefaults() {
    try {
      //there could be multiple ozone-default-generated.xml files on the
      // classpath, which are generated by the annotation processor.
      // Here we add all of them to the list of the available configuration.
      Enumeration<URL> generatedDefaults =
          OzoneConfiguration.class.getClassLoader().getResources(
              "ozone-default-generated.xml");
      while (generatedDefaults.hasMoreElements()) {
        addResource(generatedDefaults.nextElement());
      }
    } catch (IOException e) {
      e.printStackTrace();
    }
    addResource("ozone-site.xml");
  }

Hi @Simon0806
Thanks for the contribution and welcome to Ozone.
OzoneConfiguration() calls loadDefaults() and in loadDefaults() we add ozone-site.xml.
I see this has been already taken care of by the below code.
   public OzoneConfiguration() {
     OzoneConfiguration.activate();
     loadDefaults();
   }

  private void loadDefaults() {
    try {
      //there could be multiple ozone-default-generated.xml files on the
      // classpath, which are generated by the annotation processor.
      // Here we add all of them to the list of the available configuration.
      Enumeration<URL> generatedDefaults =
          OzoneConfiguration.class.getClassLoader().getResources(
              "ozone-default-generated.xml");
      while (generatedDefaults.hasMoreElements()) {
        addResource(generatedDefaults.nextElement());
      }
    } catch (IOException e) {
      e.printStackTrace();
    }
    addResource("ozone-site.xml");
  }

Hi @Simon0806
Thanks for the contribution and welcome to Ozone.
OzoneConfiguration() calls loadDefaults() and in loadDefaults() we add ozone-site.xml.
I see this has been already taken care of by the below code.
   public OzoneConfiguration() {
     OzoneConfiguration.activate();
     loadDefaults();
   }

  private void loadDefaults() {
    try {
      //there could be multiple ozone-default-generated.xml files on the
      // classpath, which are generated by the annotation processor.
      // Here we add all of them to the list of the available configuration.
      Enumeration<URL> generatedDefaults =
          OzoneConfiguration.class.getClassLoader().getResources(
              "ozone-default-generated.xml");
      while (generatedDefaults.hasMoreElements()) {
        addResource(generatedDefaults.nextElement());
      }
    } catch (IOException e) {
      e.printStackTrace();
    }
    addResource("ozone-site.xml");
  }

Hi Bharat
Actually it's true but they are different behaviors. the line you mentioned was add ozone-site.xml into resources belong to OzoneConfiguration but will not add ozone-site.xml into defaultResources belong to Configuration. The initialize process of S3Gateway will use UserGroupInformation.isSecurityEnable to check if security has been configured.
Here is the key point code:
private static void ensureInitialized() {
if (!isInitialized()) {
synchronized(UserGroupInformation.class) {
if (!isInitialized()) { // someone might have beat us
initialize(new Configuration(), false);
}
}
}
}
Here it called new Configuration() which will load defaultResources, which only contains
core-site.xml, hdfs-site.xml, core-default.xml, hdfs-default.xml and ozone-default.xml.
While when initializing OM and SCM it will pass the OzoneConfiguration to do initialize but S3Gateway it use Configuration by default.

I have make another patch to add OzoneConfiguration to UGI when start Gateway.
Do you think this is feasible ?
`diff --git a/hadoop-ozone/s3gateway/src/main/java/org/apache/hadoop/ozone/s3/Gateway.java b/hadoop-ozone/s3gateway/src/main/java/org/apache/hadoop/ozone/s3/Gateway.java
index 5d34181d6..467dd7107 100644
--- a/hadoop-ozone/s3gateway/src/main/java/org/apache/hadoop/ozone/s3/Gateway.java
+++ b/hadoop-ozone/s3gateway/src/main/java/org/apache/hadoop/ozone/s3/Gateway.java
@@ -24,6 +24,8 @@
import org.apache.hadoop.hdds.conf.OzoneConfiguration;
import org.apache.hadoop.hdds.tracing.TracingUtil;
+import org.apache.hadoop.security.SecurityUtil;
+import org.apache.hadoop.security.UserGroupInformation;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import picocli.CommandLine.Command;
@@ -51,6 +53,11 @@ public Void call() throws Exception {
TracingUtil.initTracing("S3gateway", ozoneConfiguration);
OzoneConfigurationHolder.setConfiguration(ozoneConfiguration);
ozoneConfiguration.set("hadoop.http.authentication.type", "simple");

if (SecurityUtil.getAuthenticationMethod(ozoneConfiguration).equals(

 UserGroupInformation.AuthenticationMethod.KERBEROS)){

 UserGroupInformation.setConfiguration(ozoneConfiguration);

}
httpServer = new S3GatewayHttpServer(ozoneConfiguration, "s3gateway");
start();
return null;`

I have uploaded another patch, do you think this is more feasible ?

@Simon0806 please update the title of the JIRA to reflect this is S3Gateway only.

Hi @Simon0806
Thanks for the contribution and welcome to Ozone.
OzoneConfiguration() calls loadDefaults() and in loadDefaults() we add ozone-site.xml.
I see this has been already taken care of by the below code.
   public OzoneConfiguration() {
     OzoneConfiguration.activate();
     loadDefaults();
   }

  private void loadDefaults() {
    try {
      //there could be multiple ozone-default-generated.xml files on the
      // classpath, which are generated by the annotation processor.
      // Here we add all of them to the list of the available configuration.
      Enumeration<URL> generatedDefaults =
          OzoneConfiguration.class.getClassLoader().getResources(
              "ozone-default-generated.xml");
      while (generatedDefaults.hasMoreElements()) {
        addResource(generatedDefaults.nextElement());
      }
    } catch (IOException e) {
      e.printStackTrace();
    }
    addResource("ozone-site.xml");
  }

Hi Bharat
Actually it's true but they are different behaviors. the line you mentioned was add ozone-site.xml into resources belong to OzoneConfiguration but will not add ozone-site.xml into defaultResources belong to Configuration. The initialize process of S3Gateway will use UserGroupInformation.isSecurityEnable to check if security has been configured.
Here is the key point code:

 private static void ensureInitialized() {
    if (!isInitialized()) {
      synchronized(UserGroupInformation.class) {
        if (!isInitialized()) { // someone might have beat us
          initialize(new Configuration(), false);
        }
      }
    }
  }

Here it called new Configuration() which will load defaultResources, which only contains
core-site.xml, hdfs-site.xml, core-default.xml, hdfs-default.xml and ozone-default.xml.
While when initializing OM and SCM it will pass the OzoneConfiguration to do initialize but S3Gateway it use Configuration by default.
Or I can call a UserGroupInformation.setConfiguration(conf) when startup a S3Gateway service to pass the OzoneConfiguration to UserGroupInformation.

Thank You @Simon0806 for the clear explanation. I see in OzoneManager, we set
UserGroupInformation.setConfiguration(conf), and we want to do a similar thing in S3Gateway. Can we do the set conf, without any checks? (Not sure if something might require in future for non-secure, just to be on the safer side)

Hi @Simon0806
Thanks for the contribution and welcome to Ozone.
OzoneConfiguration() calls loadDefaults() and in loadDefaults() we add ozone-site.xml.
I see this has been already taken care of by the below code.
   public OzoneConfiguration() {
     OzoneConfiguration.activate();
     loadDefaults();
   }

  private void loadDefaults() {
    try {
      //there could be multiple ozone-default-generated.xml files on the
      // classpath, which are generated by the annotation processor.
      // Here we add all of them to the list of the available configuration.
      Enumeration<URL> generatedDefaults =
          OzoneConfiguration.class.getClassLoader().getResources(
              "ozone-default-generated.xml");
      while (generatedDefaults.hasMoreElements()) {
        addResource(generatedDefaults.nextElement());
      }
    } catch (IOException e) {
      e.printStackTrace();
    }
    addResource("ozone-site.xml");
  }

Hi Bharat
Actually it's true but they are different behaviors. the line you mentioned was add ozone-site.xml into resources belong to OzoneConfiguration but will not add ozone-site.xml into defaultResources belong to Configuration. The initialize process of S3Gateway will use UserGroupInformation.isSecurityEnable to check if security has been configured.
Here is the key point code:

 private static void ensureInitialized() {
    if (!isInitialized()) {
      synchronized(UserGroupInformation.class) {
        if (!isInitialized()) { // someone might have beat us
          initialize(new Configuration(), false);
        }
      }
    }
  }

Here it called new Configuration() which will load defaultResources, which only contains
core-site.xml, hdfs-site.xml, core-default.xml, hdfs-default.xml and ozone-default.xml.
While when initializing OM and SCM it will pass the OzoneConfiguration to do initialize but S3Gateway it use Configuration by default.
Or I can call a UserGroupInformation.setConfiguration(conf) when startup a S3Gateway service to pass the OzoneConfiguration to UserGroupInformation.

Thank You @Simon0806 for the clear explanation. I see in OzoneManager, we set
UserGroupInformation.setConfiguration(conf), and we want to do a similar thing in S3Gateway. Can we do the set conf, without any checks? (Not sure if something might require in future for non-secure, just to be on the safer side)
  private static void loginOMUser(OzoneConfiguration conf)
      throws IOException, AuthenticationException {

    if (SecurityUtil.getAuthenticationMethod(conf).equals(
        AuthenticationMethod.KERBEROS)) {
      if (LOG.isDebugEnabled()) {
        LOG.debug("Ozone security is enabled. Attempting login for OM user. "
                + "Principal: {}, keytab: {}", conf.get(
            OZONE_OM_KERBEROS_PRINCIPAL_KEY),
            conf.get(OZONE_OM_KERBEROS_KEYTAB_FILE_KEY));
      }

  UserGroupInformation.setConfiguration(conf);

While when initializing OM and SCM it will pass the OzoneConfiguration to do initialize but S3Gateway it use Configuration by default.

Is this because of doing the above?

Yes that's the same behavior which I want to do in S3Gateway, I will update the JIRA title .

Thank You @Simon0806 for the contribution and @xiaoyuyao for the review.


Async feature?

Could investigate on a full async implementation, since people dealing with Vert.x will be used to such patterns already.
Maybe a different "feature" (like reqwest sync/async)?

What about using refactoring to use tokio? You can make the whole library async and then people can use it in a "sync" way using blocking tokio executors. I can help if you want

What about using refactoring to use tokio? You can make the whole library async and then people can use it in a "sync" way using blocking tokio executors. I can help if you want

I experimented on a branch already.Tests are failing with 100% CPU use since I messed something up while reading the socket. I'll point you at it once I'm back home but implementing the protocol using tokio is way less easy than I thought it would be

I experimented on a branch already.Tests are failing with 100% CPU use since I messed something up while reading the socket. I'll point you at it once I'm back home but implementing the protocol using tokio is way less easy than I thought it would be


Cannot read property '__dzAxisProxy' of undefined

Version
4.9.0
Steps to reproduce
use this options.
{
            grid: {
              containLabel: true,
            },
            series: [
              {
                name: '访问来源',
                type: 'pie',
                radius: ['55%', '40%'],
                data: [
                  { value: 235, name: '视频广告' },
                  { value: 274, name: '联盟广告' },
                  { value: 310, name: '邮件营销' },
                  { value: 335, name: '直接访问' },
                  { value: 400, name: '搜索引擎' },
                ],
                labelLine: {
                  show: false
                }
              },
            ],
          }

What is expected?
show a pie chart
What is actually happening?
If I use a pie chart, this problem will occur randomly.
error: Cannot read property '__dzAxisProxy' of undefined

5.1.0 还有这个问题吗？

@13554599576 Please provide a minimum reproducible demo for the issue either with https://codepen.io/Ovilia/pen/dyYWXWM , https://www.makeapie.com/editor.html or https://codesandbox.io/s/mystifying-bash-2uthz.
A minimum reproducible demo should contain as little data and components as possible but can still illustrate your problem. This is the best way for us to reproduce it and solve the problem faster.

I am sorry for raising this issue. I have found the problem, sorry

@13554599576 您发现具体是什么样的问题呢？怎么解决的呢？


Library methods infrastructure

For a proper treatment of library methods the compiler infrastructure should support method body inlining and reduction-based normalization, e.g. the folds
object Library {
  def pairs(xs: DataBag[Int], ys: DataBag[Int]) = for {
    x <- xs
    y <- ys
    if x == y
  } yield (x, y)
}

later used in
object Algorithm {
  val alg = emma.parallelize {
    pairs(us, xs)
  }
}

The pairs definition is first substituted as anonymous lambda
object Algorithm {
  val alg = emma.parallelize {
    ((xs: DataBag[Int], ys: DataBag[Int]) => for {
      x <- xs
      y <- ys
      if x == y
    } yield (x, y))(us, xs)
  }
}

and then simplified using beta-reduction
object Algorithm {
  val alg = emma.parallelize {
    for {
      x <- us
      y <- xs
      if x == y
    } yield (x, y)
  }
}

Superseded by #252. I will try to cherry-pick commits and reuse as much code from #211 as possible. Thanks!


[SPARK-35202] Make The DAG of sql-execution page can be hidden/expand.

What changes were proposed in this pull request?
The DAG part of sql-execution page should can be hidden/expand instead of being displayed directly all the time.
Why are the changes needed?
1.if it is a particularly complex SQL, it would take a long time to render the svg, and the page will be stuck for a long time.
2.sometimes we just want to look at the detail of execution plan, but DAG cannot be hidden, and it is often inconvenient to drag the scroll bar to view the execution plan information.
Does this PR introduce any user-facing change?
Yes, the sql dag can be clicked as hidden or expand.
How was this patch tested?
manual test works well
before modified:

after modified:

Can one of the admins verify this patch?


Solving errors in public\css\ux.css file

Describe the bug
There are some errors in ux.css file
Screenshots

Are you working on this issue? (Yes/No)
Yes i am working on this issue

@gr455 @satu0king  @nitin10s  @shubhankarsharma00  can you please tell me should i uncomment background url or should i remove it .


Generated maven-metadata incorrect

Here is an generated maven-metadata.xml

Here are two issues:

Snapshot version should not shown in /metadata/versioning/release tag.
The /metadata/versioning/versions/version should ordered asc(current desc).

The versioning used by your artifact is not a standard snapshot format for Maven specification. Here's the full thread: https://github.com/dzikoysk/reposilite/issues/95#issuecomment-636778268
Did you experience any bug caused by this feature?

@dzikoysk I upload those artifacts by web cli

Yeah, but it does not change the reported issue. Metadata files may contain extra data to support different features, especially this one, because like I said, snapshot without timestamps are not a part of Maven specification. It has to use release tag, because using such an artifact as snapshot would cause error. I also didn't find any information about order of versions in the specification, so it looks like it's up to the implementation.

Maybe you're right, but nexus did. Different behaviors will bring confusion to users(At least me).

Addressed by #550


no output from deis run while using ruby's puts or pp

Deis is eating my output, if I run:
$ deis run "bundle exec ruby -rpp -e 'pp 10'"
Running `bundle exec ruby -rpp -e 'pp 10'`...
# thats all, no output

$ deis run "bundle exec ruby -e 'puts 10'"
Running `bundle exec ruby -e 'puts 10'`...

# empty line as output, nothing else

Which is fine from my local machine, I've tried to push output to stderr, but no luck.
Strangely bundle exec rake <some task> is putting proper output.
Any advice how to handle this? Since there is no interactive console yet, I wanted to execute small parts of codes on app containers.

I'd guess that the issue is around the quotes, but I'm not sure off the top of my head. Can you debug it by trying it in pieces? Is the output going to the logs of the deis-controller component instead of being channeled to the client?

It has to be sth with quotes because bundle exec ruby -v is putting proper output. Nothing goes to deis-controller logs. I'll try to escape quotes somehow, if if switch single quotes with double it fails terribly.
Jul 08 18:45:17 deis-staging-3 systemd[1]: [/run/fleet/units/app-api_v3.run.27.service:7] Trailing garbage, ignoring.
Jul 08 18:45:17 deis-staging-3 systemd[1]: app-api_v3.run.27.service lacks both ExecStart= and ExecStop= setting. Refusing.

I don't know how to handle these quotes, everything fails one way or another. I've found terrible workaround, I'm a little bit ashamed when using this...
wget https://gist.githubusercontent.com/szymonpk/<gist id>/gistfile1.txt -O /tmp/script.rb 2>/dev/null; bundle exec ruby /tmp/script.rb`

@szymonpk I think this is a dupe of #3400 - see that issue for the root cause. systemd is causing issues. If you find a solution, we would love to fix that...

Ok, I'll look into this. Let's close this one,


Some confusing items .help

I find the following .help items confusing:
.info "Print the information" -- lol print what information?
"Ctrl+C to abort readline" -- how is this differnt than .exit?
"Ctrl+D to exit the REPL" -- how is this different than Ctrl+C?

.info - print system-wide information
ctrl + c - can abort openai connection/request/response.
ctr + d - is same to .exit


Re-enable group tests 1/?

This PR re-enables the previously commented out group tests

So this PR should enable the group tests. It's to expect that changes to the code are needed for this. But there's no explanation to which and why. So I only really looked at the test for now.
The description in the PR also doesn't appear to be correct as it only enables a part of the commented out test.

This PR indeed only covers a part of the tests. Enabling more of them would make the PR grow beyond the limit we imposed ourselves.
This PR fixes all the obvious problems that were introduced in the last weeks and that cause the inner workings to break.
There will be at least one follow-up PR that will close #77.

I still can't find a description of the changes.

The last commit only addresses your comments, as the name suggests. There are no other changes.

I still can't find a description of the changes.

The last commit only addresses your comments, as the name suggests. There are no other changes.

There is no description of any changes in this PR. That's what I'm waiting for before reviewing. The description is "This PR re-enables the previously commented out group tests". But there are a ton of code changes in this PR. They all need a high level description here.

I still can't find a description of the changes.

The last commit only addresses your comments, as the name suggests. There are no other changes.

There is no description of any changes in this PR. That's what I'm waiting for before reviewing. The description is "This PR re-enables the previously commented out group tests". But there are a ton of code changes in this PR. They all need a high level description here.

The context of your question wasn't clear.
There is a high-level description which you didn't quote, but here is a more detailed one:

Re-enable part of the group tests to test basic operations like Add & Update
Validate public keys from the UpdatePath
Change return type of KeyPackage verification from boolean to more specific errors
Fix direct path calculation in treemath
Fix missing RatchetTree clone in create_commit
Refactor part of PrivateTree
Fix various smaller issues that made the tests break

Thanks for all the feedback @franziskuskiefer!
I addressed it in the last two commits, or through comments.
Unfortunately P256 is still broken so it didn't make it in here. I need to investigate what it is this time.


Decouple backend DB and BigchainDB

Solved #1153.

Codecov Report

Merging #1174 into master will not impact coverage.

@@           Coverage Diff           @@
##           master    #1174   +/-   ##
=======================================
  Coverage   96.92%   96.92%
=======================================
  Files          49       49
  Lines        2279     2279
=======================================
  Hits         2209     2209
  Misses         70       70

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 5e479d8...f66c446. Read the comment docs.


Fontawesome control documentation.

It's kinda feature request.
It would be great if there is a proper documentation for fontawesome control.
Also would it be possible to have categories option for this control too like that of google-fonts?

https://github.com/aristath/kirki/commit/0bc7f4b93af85e949fe12f9d0c522473ca27a286


Can't get it work in vue files.

Language: vue
AerialInfo: Aerial Info
Filetype: vue
Configured backends:
treesitter (not supported) [No query file for 'vue']
lsp (not supported) [No LSP client found that supports symbols]
markdown (not supported) [Filetype is not markdown]
man (not supported) [Filetype is not man]
Show symbols: Class, Constructor, Enum, Function, Interface, Module, Method, Struct
The minimal amount of code that demonstrates the missing symbol:
<template lang='pug'>
.foo
  .bar
    .baz
      .qux
        .quux
          .quuz
</template>

<script>
export default {
 setup () {
   function foo () {
     return {}
   }
   return {}
 }
}
</script>

<style lang='scss' scoped>
.foo {
  .bar {
    .baz {
      .qux {
        .quux {
          .quuz {
            color: red;
          }
        }
      }
    }
  }
}
</style>

Expected symbol: Any symbol
LspInfo*:
Detected filetype:   vue
2 client(s) attached to this buffer:
Client: null-ls (id: 1, bufnr: [1])
filetypes:       typescriptreact, html, typescript, css, scss, jsonc, less, graphql, markdown.mdx, javascript, vue, handlebars, yaml, json, markdown, javascriptreact, python, lua, luau
autostart:       false
root directory:  /home/rolf
cmd:
Client: copilot (id: 2, bufnr: [1])
filetypes:
autostart:       false
root directory:  Running in single file mode.
cmd:             node /home/rolf/.local/share/nvim/site/pack/packer/start/copilot.vim/copilot/dist/agent.js
Configured servers list: rust_analyzer, lua_ls, pyright, jsonls
Can't get it to detect symbols but I'm not sure if I missed something. As far as I can tell LSP and Treesitter are working fine.

There's no LSP server running that supports document symbols, and no one has added treesitter support for vue yet (the list of supported languages is here: https://github.com/stevearc/aerial.nvim/tree/master/queries)
I suspect this is going to be even trickier than usual, because it looks like vue files rely heavily on language injections, and aerial doesn't yet support getting symbols from injected languages. That's a larger task and I can't provide any ETA on it (PR's always welcome).

Ok I understand. Still an amazing plugin and thanks for your time.

I got it working. It was an oversight on my part. I had the language server volar(vue-language-server) installed but it wasn't attached to the buffer. Now it is working fine.


Invalid Console warnings on boolean attributes

Describe the issue
The consoles shows warnings that are most probably not correct:
CsvParserPipe [csvToXml] does not have an attribute [fileContainsHeader] to set to value [true]
There is an attribute fileContainsHeader in the class CsvParserPipe.
And probably more console warnings on other boolean attributes.
Reporter
Richard van der Stel

To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Screenshots

Configuration
        <pipe name="csvToXml"
              className="nl.nn.adapterframework.pipes.CsvParserPipe"
              fileContainsHeader="true"
              fieldSeparator=";"
        >
            <forward name="exception"   path="fail:selectNumberOfQueryRecords"/>
            <forward name="success"     path="processBlocks"/>
        </pipe>

Input
Please provide an example of the input message.
Alternatively, provide a Ladybug report.

Environment
FF! 7.7-20210527.152350: Ibis4Titan
Running on LPZWNL000022420 using Apache Tomcat/8.5.34
Java Version: Java(TM) SE Runtime Environment (1.8.0_60-b27)
Heap size: 1150M, total JVM memory: 1534M
Free disk space: 12GB, total disk space: 236GB
Up since: 2021-06-01 14:08:25 (20m)
Additional Environment

DBMS: [e.g. Oracle, MSSQL, MariaDB, MySql, PostgreSQL]
Browser: [e.g. Chrome, Safari, Edge, Firefox]

Additional Context
Add any other context about the problem here. (f.e. ladybug report / test adapter with larva test)

Configuration [retention] - LocalFileSystemPipe [readFile] does not have an attribute [move2dirAfterError] to set to value [D:/temp/BulkUpdate/error]
Configuration [retention] - LocalFileSystemPipe [readFile] does not have an attribute [removeDuplicates] to set to value [true]
Configuration [retention] - LocalFileSystemPipe [readFile] does not have an attribute [escapeXml] to set to value [true]
Configuration [retention] - LocalFileSystemPipe [readFile] does not have an attribute [messageType] to set to value [contents]


Line highlighting conflict with markdown-it-attrs

[x] I confirm that this is an issue rather than a question.

Bug report
Saber use the same syntax (curly brackets {}) as markdown-it-attrs use for highlightLines function, thus causing a confict which make pages containing highlight lines can't render.
Version
0.6.2
Steps to reproduce
Install markdown-it-attrs and enable it in Saber config, then write code block using highlightLines, for example:

```js { highlightLines: ['1-2', 4] }
const foo = 'bar'
const baz = () => {
  return `${1 ? true : false}`
}
```

What is expected?
Page rendered normally.
What is actually happening?
Page isn't rendered and the browser's console show these error:
Uncaught (in promise) DOMException: Failed to execute 'setAttribute' on 'Element': '[1-2,' is not a valid attribute name.
    at baseSetAttr (http://localhost:3000/_saber/js/client.js:17124:8)
    at setAttr (http://localhost:3000/_saber/js/client.js:17099:5)
    at Array.updateAttrs (http://localhost:3000/_saber/js/client.js:17054:7)
    at invokeCreateHooks (http://localhost:3000/_saber/js/client.js:16408:22)
    at createElm (http://localhost:3000/_saber/js/client.js:16295:11)
    at createChildren (http://localhost:3000/_saber/js/client.js:16392:9)
    at createElm (http://localhost:3000/_saber/js/client.js:16293:9)
    at createChildren (http://localhost:3000/_saber/js/client.js:16392:9)
    at createElm (http://localhost:3000/_saber/js/client.js:16293:9)
    at createChildren (http://localhost:3000/_saber/js/client.js:16392:9)

Other relevant information

Result of running saber -v: cli.js/0.6.2 win32-x64 node-v12.2.0
Browser version (optional): Chrome 76.0.3795.3
Is Saber a global or local install? local
Which package manager did you use for the install? Yarn
Does this issue occur when all plugins are disabled? No

Maybe try https://github.com/rstacruz/markdown-it-decorate instead?

Though the syntax of markdown-it-decorate looks more reliable, but the package is too old and lack of maintance.

A lot of activity is not always a sign of health, a well-maintained project will require far less activity, I went through its issue tracker and there're few bug reports.
With that being said, probably we should provide an alternative syntax for enabling line highlighting, for example:

<!-- @saber-highlight-lines: [1, '3-6'] -->

```js
function foo() {

 // ...

}
```

There's a workaround actually: https://github.com/arve0/markdown-it-attrs#custom-delimiters
module.exports = {
  markdown: {
    plugins: {
      resolve: 'markdown-it-attrs',
      options: {
        leftDelimiter: '[',
        rightDelimiter: ']'
      }
  }
}

There's a workaround actually: https://github.com/arve0/markdown-it-attrs#custom-delimiters
module.exports = {
  markdown: {
    plugins: {
      resolve: 'markdown-it-attrs',
      options: {
        leftDelimiter: '[',
        rightDelimiter: ']'
      }
  }
}

With that being said, probably we should provide an alternative syntax for enabling line highlighting.

Vote 👍
Thanks for mentioning custom delimiters, for now I'll just use [] instead.


Character limit on premium account

Hi, First thanks for your great library!
I built a program for a client with a premium Twitter account (which allows you to exceed the character limit on a tweet, among other things), and indeed when I manually tweeting, I am allowed to exceed the limit, but through the library, when I tweet I get the following error: Tweet needs to be a bit shorter. (186).
Is that a local limit or an error from the internal api the library is using?

Anybody? please

Thanks for the question David. Unfortunately I'm not planning on supporting premium API related features as I'm trying to keep everything free/open.


use window.innerWidth to calcualte width

Im on a page where a parent has a min-width set which causes the iframe to size incorrectly. Is there any way to calculate the width based on window.innerWidth?

Interesting idea.

Welcome a PR if you have a moment to take a look and see if this works.

Would love to and might still, simply swamped atm. Was thinking of allowing a function as instead of one of the predefined string so that this is extendable to other use cases in the future.
Thoughts?

I've thought about allowing a custom function to be written in the iFrame. This couldn't be passed from the parent, as that would be a major security problem.

Aren't the size options on the parent? I.e. isn't it the parents job to
determine the size the iframe should be?
On Mon, Jun 13, 2016, 8:26 PM David J. Bradshaw<EMAIL_ADDRESS>wrote:

I've thought about allowing a custom function to be written in the iFrame.
This couldn't be passed from the parent, as that would be a major security
problem.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/davidjbradshaw/iframe-resizer/issues/373#issuecomment-225650483,
or mute the thread
https://github.com/notifications/unsubscribe/AAR4jFjeB3NkkxZwpcItmQPCLmR0YO00ks5qLZLPgaJpZM4IyHy3
.

Yes, but their is an option in the iFrame to override this.
https://github.com/davidjbradshaw/iframe-resizer#heightcalculationmethod--widthcalculationmethod
Rather than pass a string, could make it an option to pass a function.
If you pass a function from the parent page, you create an attack vector for dodgy code.

Perhaps it should just be settable in the parent?
On Mon, Jun 13, 2016 at 10:38 PM David J. Bradshaw<EMAIL_ADDRESS>wrote:

Yes, but their is an option in the iFrame to override this.
https://github.com/davidjbradshaw/iframe-resizer#heightcalculationmethod--widthcalculationmethod
Rather than pass a string, could make it an option to pass a function.
If you pass a function from the parent page, you create an attack vector
for dodgy code.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/davidjbradshaw/iframe-resizer/issues/373#issuecomment-225685411,
or mute the thread
https://github.com/notifications/unsubscribe/AAR4jD2pgREzYHlhL2VfcqVJXoR73lC3ks5qLbHCgaJpZM4IyHy3
.

I had a thought about this and just added the ability to add custom sizing methods on the dev branch. This is really untested, and hopefully I will have some more time to write some tests and an example later this week, but in the meantime you should hopefully be able to do the following in the iFrame now.
<script>
	window.iFrameResizer = {
		widthCalcMethod: function() {
			return window.innerWidth;
		}
	}
</script>
<script src="js/iframeresizer.contentwindow.js"></script>

Oh and let me know if it really does work...

No, Im afraid it doesn't work No change in size detected

Could post the log output?

[iFrameSizer][Host page: xxxxxx] [iFrame.onload] Sending msg to iframe[xxxxxx] (xxxxxx:8:false:true:32:true:true:null:bodyOffset:null:null:0:false:parent:scroll) targetOrigin: https://yyyyy.xxxxxx.net
app-f720aa844c.js:8 [iFrameSizer][xxxxxx] Initialising iFrame (https://yyyyy.xxxxxx.net/)
app-f720aa844c.js:8 [iFrameSizer][xxxxxx] TargetOrigin for parent set to: *
app-f720aa844c.js:8 [iFrameSizer][xxxxxx] HTML & body height set to "auto"
app-f720aa844c.js:8 [iFrameSizer][xxxxxx] Enable public methods
app-f720aa844c.js:8 [iFrameSizer][xxxxxx] Add event listener: Animation Start
app-f720aa844c.js:8 [iFrameSizer][xxxxxx] Add event listener: Animation Iteration
app-f720aa844c.js:8 [iFrameSizer][xxxxxx] Add event listener: Animation End
app-f720aa844c.js:8 [iFrameSizer][xxxxxx] Add event listener: Input
app-f720aa844c.js:8 [iFrameSizer][xxxxxx] Add event listener: Mouse Up
app-f720aa844c.js:8 [iFrameSizer][xxxxxx] Add event listener: Mouse Down
app-f720aa844c.js:8 [iFrameSizer][xxxxxx] Add event listener: Orientation Change
app-f720aa844c.js:8 [iFrameSizer][xxxxxx] Add event listener: Print
app-f720aa844c.js:8 [iFrameSizer][xxxxxx] Add event listener: Ready State Change
app-f720aa844c.js:8 [iFrameSizer][xxxxxx] Add event listener: Touch Start
app-f720aa844c.js:8 [iFrameSizer][xxxxxx] Add event listener: Touch End
app-f720aa844c.js:8 [iFrameSizer][xxxxxx] Add event listener: Touch Cancel
app-f720aa844c.js:8 [iFrameSizer][xxxxxx] Add event listener: Transition Start
app-f720aa844c.js:8 [iFrameSizer][xxxxxx] Add event listener: Transition Iteration
app-f720aa844c.js:8 [iFrameSizer][xxxxxx] Add event listener: Transition End
app-f720aa844c.js:8 [iFrameSizer][xxxxxx] Create body MutationObserver
app-f720aa844c.js:8 [iFrameSizer][xxxxxx] In page linking not enabled
app-f720aa844c.js:8 [iFrameSizer][xxxxxx] Trigger event lock on
app-f720aa844c.js:8 [iFrameSizer][xxxxxx] Sending message to host page (xxxxxx:770:967:init)
host.js:1 [iFrameSizer][Host page: xxxxxx] Received: [iFrameSizer]xxxxxx:770:967:init
host.js:1 [iFrameSizer][Host page: xxxxxx] Checking connection is from: https://yyyyy.xxxxxx.net
host.js:1 [iFrameSizer][Host page: xxxxxx] Checking height is in range 0-Infinity
host.js:1 [iFrameSizer][Host page: xxxxxx] Checking width is in range 0-Infinity
host.js:1 [iFrameSizer][Host page: xxxxxx] IFrame (xxxxxx) height set to 770px
app-f720aa844c.js:8 [iFrameSizer][xxxxxx] Trigger event lock off
app-f720aa844c.js:8 [iFrameSizer][xxxxxx] --
app-f720aa844c.js:8 [iFrameSizer][xxxxxx] Trigger event: mutationObserver: [object HTMLDivElement] attributes
app-f720aa844c.js:8 [iFrameSizer][xxxxxx] No change in size detected
host.js:1 [iFrameSizer][Host page: xxxxxx] [Window resize] Sending msg to iframe[xxxxxx] (resize) targetOrigin: https://yyyyy.xxxxxx.net
app-f720aa844c.js:8 [iFrameSizer][xxxxxx] Trigger event: Parent window requested size check
app-f720aa844c.js:8 [iFrameSizer][xxxxxx] No change in size detected
host.js:1 [iFrameSizer][Host page: xxxxxx] [Window resize] Sending msg to iframe[xxxxxx] (resize) targetOrigin: https://yyyyy.xxxxxx.net
app-f720aa844c.js:8 [iFrameSizer][xxxxxx] Trigger event: Parent window requested size check
app-f720aa844c.js:8 [iFrameSizer][xxxxxx] No change in size detected
host.js:1 [iFrameSizer][Host page: xxxxxx] [Window resize] Sending msg to iframe[xxxxxx] (resize) targetOrigin: https://yyyyy.xxxxxx.net
app-f720aa844c.js:8 [iFrameSizer][xxxxxx] Trigger event: Parent window requested size check
app-f720aa844c.js:8 [iFrameSizer][xxxxxx] No change in size detected
host.js:1 [iFrameSizer][Host page: xxxxxx] [Window resize] Sending msg to iframe[xxxxxx] (resize) targetOrigin: https://yyyyy.xxxxxx.net
app-f720aa844c.js:8 [iFrameSizer][xxxxxx] Trigger event: Parent window requested size check
app-f720aa844c.js:8 [iFrameSizer][xxxxxx] No change in size detected
host.js:1 [iFrameSizer][Host page: xxxxxx] [Window resize] Sending msg to iframe[xxxxxx] (resize) targetOrigin: https://yyyyy.xxxxxx.net
app-f720aa844c.js:8 [iFrameSizer][xxxxxx] Trigger event: Parent window requested size check
app-f720aa844c.js:8 [iFrameSizer][xxxxxx] No change in size detected
host.js:1 [iFrameSizer][Host page: xxxxxx] [Window resize] Sending msg to iframe[xxxxxx] (resize) targetOrigin: https://yyyyy.xxxxxx.net
app-f720aa844c.js:8 [iFrameSizer][xxxxxx] Trigger event: Parent window requested size check
app-f720aa844c.js:8 [iFrameSizer][xxxxxx] No change in size detected
aggregated.js:1 The value "640px" for key "width" was truncated to its numeric prefix.
host.js:1 [iFrameSizer][Host page: xxxxxx] [Window resize] Sending msg to iframe[xxxxxx] (resize) targetOrigin: https://yyyyy.xxxxxx.net
app-f720aa844c.js:8 [iFrameSizer][xxxxxx] Trigger event: Parent window requested size check
app-f720aa844c.js:8 [iFrameSizer][xxxxxx] Trigger event lock on
app-f720aa844c.js:8 [iFrameSizer][xxxxxx] Sending message to host page (xxxxxx:883:640:resizeParent)
host.js:1 [iFrameSizer][Host page: xxxxxx] Received: [iFrameSizer]xxxxxx:883:640:resizeParent
host.js:1 [iFrameSizer][Host page: xxxxxx] Checking connection is from: https://yyyyy.xxxxxx.net
host.js:1 [iFrameSizer][Host page: xxxxxx] Checking height is in range 0-Infinity
host.js:1 [iFrameSizer][Host page: xxxxxx] Checking width is in range 0-Infinity
host.js:1 [iFrameSizer][Host page: xxxxxx] Requesting animation frame
host.js:1 [iFrameSizer][Host page: xxxxxx] IFrame (xxxxxx) height set to 883px
app-f720aa844c.js:8 [iFrameSizer][xxxxxx] Trigger event lock off
app-f720aa844c.js:8 [iFrameSizer][xxxxxx] --
host.js:1 [iFrameSizer][Host page: xxxxxx] [Window resize] Sending msg to iframe[xxxxxx] (resize) targetOrigin: https://yyyyy.xxxxxx.net
app-f720aa844c.js:8 [iFrameSizer][xxxxxx] Trigger event: Parent window requested size check
app-f720aa844c.js:8 [iFrameSizer][xxxxxx] No change in size detected
aggregated.js:1 The value "640px" for key "width" was truncated to its numeric prefix.
host.js:1 [iFrameSizer][Host page: xxxxxx] [Window resize] Sending msg to iframe[xxxxxx] (resize) targetOrigin: https://yyyyy.xxxxxx.net
app-f720aa844c.js:8 [iFrameSizer][xxxxxx] Trigger event: Parent window requested size check
app-f720aa844c.js:8 [iFrameSizer][xxxxxx] No change in size detected
aggregated.js:1 The value "640px" for key "width" was truncated to its numeric prefix.
host.js:1 [iFrameSizer][Host page: xxxxxx] [Window resize] Sending msg to iframe[xxxxxx] (resize) targetOrigin: https://yyyyy.xxxxxx.net
app-f720aa844c.js:8 [iFrameSizer][xxxxxx] Trigger event: Parent window requested size check
app-f720aa844c.js:8 [iFrameSizer][xxxxxx] No change in size detected
host.js:1 [iFrameSizer][Host page: xxxxxx] [Window resize] Sending msg to iframe[xxxxxx] (resize) targetOrigin: https://yyyyy.xxxxxx.net
app-f720aa844c.js:8 [iFrameSizer][xxxxxx] Trigger event: Parent window requested size check
app-f720aa844c.js:8 [iFrameSizer][xxxxxx] Trigger event lock on
app-f720aa844c.js:8 [iFrameSizer][xxxxxx] Sending message to host page (xxxxxx:770:1088:resizeParent)
host.js:1 [iFrameSizer][Host page: xxxxxx] Received: [iFrameSizer]xxxxxx:770:1088:resizeParent
host.js:1 [iFrameSizer][Host page: xxxxxx] Checking connection is from: https://yyyyy.xxxxxx.net
host.js:1 [iFrameSizer][Host page: xxxxxx] Checking height is in range 0-Infinity
host.js:1 [iFrameSizer][Host page: xxxxxx] Checking width is in range 0-Infinity
host.js:1 [iFrameSizer][Host page: xxxxxx] Requesting animation frame
app-f720aa844c.js:8 [iFrameSizer][xxxxxx] Trigger event lock off
app-f720aa844c.js:8 [iFrameSizer][xxxxxx] --
host.js:1 [iFrameSizer][Host page: xxxxxx] IFrame (xxxxxx) height set to 770px
host.js:1 [iFrameSizer][Host page: xxxxxx] [Window resize] Sending msg to iframe[xxxxxx] (resize) targetOrigin: https://yyyyy.xxxxxx.net
app-f720aa844c.js:8 [iFrameSizer][xxxxxx] Trigger event: Parent window requested size check
app-f720aa844c.js:8 [iFrameSizer][xxxxxx] No change in size detected
host.js:1 [iFrameSizer][Host page: xxxxxx] [Window resize] Sending msg to iframe[xxxxxx] (resize) targetOrigin: https://yyyyy.xxxxxx.net
app-f720aa844c.js:8 [iFrameSizer][xxxxxx] Trigger event: Parent window requested size check
app-f720aa844c.js:8 [iFrameSizer][xxxxxx] No change in size detected
host.js:1 [iFrameSizer][Host page: xxxxxx] [Tab Visable] Sending msg to iframe[xxxxxx] (resize) targetOrigin: https://yyyyy.xxxxxx.net
app-f720aa844c.js:8 [iFrameSizer][xxxxxx] Trigger event: Parent window requested size check
app-f720aa844c.js:8 [iFrameSizer][xxxxxx] No change in size detected

Also tried as non global. I could send you a link, offline, if you'd like.

Are you setting sizeWidth to true and sizeHeight to false to make it calc the width?
Also can you add a console.log to the custom sizing method so we're sure it's running.

tried console.log, got nothing. Not setting that stuff. Should I be?

Yep, otherwise it only calcs the height.

hmm... perhaps that was my issue to begin with?

this is what I;m using, still not resizing properly;
{log:true, sizeWidth:true, sizeHeight:false, widthCalcMethod: () => window.innerWidth}

WidthCalcMethod can only be set in the iFrame. See above.

Im a bit confused. This seemed to imply that the options needs to be set on the parent site?

I think I get it, but - shouldnt the iframe resize based on the parent window size? Why would it do its on detection?

It's not possible to pass a function from the parent to the iFrame via postMessge

But why would you? Just figure out the width on the parent, and pass the width to the child? Sorry if im being dumb here, just trying to understand

The parent window resizing triggers a message to be sent to the iFrame to ask it to work out it's new size. The iFrame then works out it's new size and sends a message back to the parent, which then update the iFrame to the new size.

Content in the iFrame changing also triggers a size update

I see. In that case, perhaps my approach in resolving my issue (i.e. that the iframe container has a min-width) is flawed?

Not sure what the problem is your trying to solve is. Their is an option to set min and max sizes.

Ive been barking up the wrong tree. Closing. Thanks for your help!


Flurry Text is Hidden under rating on Nexus 5

Changes:

Ad title text displaying in one line
if title text longer then layout, it will be end with "..."

good 👍


Configuration schema validation using XSD and XML

Configuration should be validated before initialization process.
See #1121 and #1128

Validation instead of Exception is a good idea, but not sure if we should do it by XSD.
The XSD isn't always up-to-date and it's difficult (I think) to unit test the whole config.

Then I would suggest we make this a standard to make sure we update the XSD when ever needed?

NLog 4.6 + NLog 5.0 have made the NLog-Configuration-Parser more strict (alerts on unexpected/misspelled properties). Think any improvements to configuration-file validation should be implemented in the NLog-Configuration-Parser. Since XSD validation is slow, and also requires XSD matches NLog-version.
Notice also XSD validation have been implemented with #3487


Update Function Code breakeven_point.py

Here is the code to my function, it pretty simple I need to work on edge cases given my tests.

Looks good!

The function looks good!


train_dynamic_camera

Hi, could you please explain the purpose of the code related to "train_dynamic_camera"? It appears to have never been used?

Hi, the plan was to simulate dynamic cameras, as in the text-to-video model the videos have camera and scene motion. So I tried sampling a sequence of nearby cameras. But I could not get it working but left it in the code if someone wants to get it working

I understand, thank you for your prompt reply.


feat(headless/commerce): rework and test the buildCommerceAPIRequest function

https://coveord.atlassian.net/browse/KIT-3088

FYI @Spuffynism I had originally removed the export of the buildBaseCommerceAPIRequest function because it wasn't used anywhere when I started working on this, but it's now being used in recommendations-actions.ts so I re-exported it.
This implies I reorganized the tests to account for that, i.e., I'm now testing buildBaseCommerceAPIRequest AND buildCommerceAPIRequest


pm2-gui message can be classified according to different app to display it?

pm2-gui message  can be classified according to different app to display it?
for example now i have two apps, pm2-redis and pm2-mongodb, the pm2-gui display message as follow
2017-11-24 18:28:09: App [pm2-redis] with id [0] and pid [101116], exited with code [0] via signal [SIGINT]
2017-11-24 18:28:10: App [pm2-mongodb] with id [1] and pid [101975], exited with code [0] via signal [SIGINT]
Can pm2-gui display App [pm2-redis] message when i select pm2-redis and display App [pm2-mongodb] messagewhen i select pm2-mongodb? or what can i do?  thank you!

gotcha, the logs actually from pm2.log but not the [app].log.
its a good idea to grep logs by app name from pm2.log and do not display others

what should i do？thank you

in terminal, use commnd ‘tail -f /root/.pm2/pm2.log | grep --line-buffered "pm2-redis"’ ，i can get the log info by app name but how to modify the source 'pm._tailLogs = function (proc, cb) { ' in the file /lib/pm2.js ,
now:
var tail = spawn('tail', ['-n', 20, '-f'].concat(logFiles), {
killSignal: 'SIGTERM',
detached: true,
stdio: ['ignore', 'pipe', 'pipe']
})
modify:
var tail = spawn('tail', ['-n', 20, '-f'].concat(logFiles), {
killSignal: 'SIGTERM',
detached: true,
stdio: ['ignore', 'pipe', 'pipe']
})
var grep = spawn('grep', ['--line-buffered'].concat(# appname), {
killSignal: 'SIGTERM',
detached: true,
stdio: [tail.stdout, 'pipe', 'pipe']
})
but how can i get the app name
Thank you!


Upgraded kubernetes from 1.9.3 to 1.9.4

Signed.

Pipeline needs CI authorization.

There is currently some issues with 1.9.4, so we're holding off and awaiting 1.9.5

@woopstar wondering what are the issues. Just so I can make sure that my Kubernetes cluster is usable.

looks like they just released 1.9.5. Making a new pull request.


Now it seems completely broken.

That was a good day, and I was trying to retrieve the response content, when suddenly a wild exception appears.
>>> import requests
>>> response = requests.get("http://httpbin.herokuapp.com/")
>>> response.content
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "requests\models.py", line 458, in content
    self._content = self.fo.read()
AttributeError: 'Response' object has no attribute 'fo'

I tried to fix it by replacing line 162 of models.py (response.raw = resp) with response.raw = response.fo = resp, but I got the following error:
>>> import requests
>>> response = requests.get("http://httpbin.herokuapp.com/")
>>> response.content
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "requests\models.py", line 481, in content
    if settings.decode_unicode:
NameError: global name 'settings' is not defined

Hmm... from .config import settings?
>>> import requests
>>> response = requests.get("http://httpbin.herokuapp.com/")
>>> response.content
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "requests\models.py", line 493, in content
    self._content = get_unicode_from_response(self)
  File "requests\utils.py", line 291, in get_unicode_from_response
    return unicode(r.content, encoding)
  File "requests\models.py", line 493, in content
    self._content = get_unicode_from_response(self)
  ...
RuntimeError: maximum recursion depth exceeded

Now I'm pretty sure I can't fix that. What is happening?
If that helps, everything was OK in commit f524fe4. This problem probably exists because you merged an outdated pull request.

I've created a pull request. This issue can be closed now.

Please do not use the current develop branch. It is under heavy development, and is not suitable for anything at this time.

I don't use requests in my production code at all, honestly. I only use it when I code for fun. And I like to use all the newest and most broken stuff I can get :-)

v0.6.2 is fully suitable for production, as are all releases. :)


tcs3400

Hi, i forked your driver and crated driver for tcs3400 which is very similar device.
I would like to share this crate with some org or with somebody so I wouldn't be sole owner. To you happen to know who should I ping?

Hi. Nice work. Sure.
Here are some suggestions:

You can transfer the driver to the rust-embedded-community org (you can keep full permissions) (for that open an issue in the meta repo)
You can give me or someone else permissions to your repo.

The repo was transferred. Closing.


add a section for requesting feedback

Add a section to describe what the process looks like and make issues welcomed

I think this issue is solved :)


Check const for arrays

Example
const something = 2; should be accepted but having a const array should
not
const something = [1,2,3]; should be something like
const number = 2;
const something = [self::number];

Hey, thanks for PR. As I agree that sometimes it really makes sense to disallow array constants I don't want to put it as default behaviour:)  can we make an option to toggle this?)


admin can not change another admin's VCs

Since admin will have full access right to all VCs, admin cannot change another admin‘s VC setting.
But I can change it with result 'success', but after refresh, all VC will be back.
I expect either disable change button to other admin or indicate change failed.

what do you mean by "change another VCs"? cannot stop the jobs?

Will disable this API of admin user in REST server.


NOISSUE - Change import name aliases

Pull request title should be MF-XXX - description or NOISSUE - description where XXX is ID of issue that this PR relate to.
Please review the CONTRIBUTING.md file for detailed contributing guidelines.
What does this do?
Currently, in main.go files we have Go package import aliases that are not according to Go recommended practices. This PR changes the aliases of the imports to correspond to go's recommended practices.
Which issue(s) does this PR fix/relate to?
No issue
List any changes that modify/break current functionality
N/A
Have you included tests for your changes?
N/A
Did you document any new/modified functionality?
Notes

Check for instances where an alias is used but not required and rebase branch to sync with master

Did you check this? For example in bootstrap/postgres/setup_test.go you don't need dockertest "github.com/ory/dockertest/v3" as the package name is dockertest also in cli/utils.go

@arvindh123 , I have addressed the commenrts

https://github.com/mainflux/mainflux/blob/2b78902e01709e4eaac0ae9a1e61e6bfafcb38f7/cmd/users/main.go#L48C1-L48C1

https://github.com/mainflux/mainflux/blob/2b78902e01709e4eaac0ae9a1e61e6bfafcb38f7/consumers/writers/cassandra/consumer_test.go#L14

Is the underscore in these necessary: https://github.com/mainflux/mainflux/blob/2b78902e01709e4eaac0ae9a1e61e6bfafcb38f7/pkg/messaging/mqtt/pubsub_test.go#L15 https://github.com/mainflux/mainflux/blob/2b78902e01709e4eaac0ae9a1e61e6bfafcb38f7/pkg/messaging/mqtt/setup_test.go#L18

These aliases are not necessary: https://github.com/mainflux/mainflux/blob/2b78902e01709e4eaac0ae9a1e61e6bfafcb38f7/pkg/messaging/message.pb.go#L13C1-L17C2

These too: https://github.com/mainflux/mainflux/blob/2b78902e01709e4eaac0ae9a1e61e6bfafcb38f7/things/policies/auth.pb.go#L13C1-L16C13 https://github.com/mainflux/mainflux/blob/2b78902e01709e4eaac0ae9a1e61e6bfafcb38f7/things/policies/auth_grpc.pb.go#L13C1-L16C40 https://github.com/mainflux/mainflux/blob/2b78902e01709e4eaac0ae9a1e61e6bfafcb38f7/users/groups/service_test.go#L7C1-L8C11 https://github.com/mainflux/mainflux/blob/2b78902e01709e4eaac0ae9a1e61e6bfafcb38f7/users/policies/auth_grpc.pb.go#L13C1-L16C40
https://github.com/mainflux/mainflux/blob/2b78902e01709e4eaac0ae9a1e61e6bfafcb38f7/users/policies/auth.pb.go#L13C1-L16C13


Vim9: outer iteration variable wrongly assigned with item of list used in inner loop

Steps to reproduce
Run this shell command:
vim -Nu NONE -S <(tee <<'EOF'
    vim9script
    def Ls(): list<string>
        var ls: list<string>
        for s in ['abc', 'def']
            for _ in [123, 456]
                try
                    eval [][0]
                catch
                    break
                endtry
            endfor
            ls += [s]
        endfor
        return ls
    enddef
    echo Ls()
EOF
)

An error is given:
E1012: Type mismatch; expected string but got number

Expected behavior
No error is given.  This is echo'ed:
['abc', 'def']

Version of Vim
8.2 Included patches: 1-4541
Environment
Operating system: Ubuntu 20.04.4 LTS
Terminal: xterm
Value of $TERM: xterm-256color
Shell: zsh 5.8
Additional context
At the script level, the exact same code does not give any error:
vim9script
var ls: list<string>
for s in ['abc', 'def']
    for _ in [123, 456]
        try
            eval [][0]
        catch
            break
        endtry
    endfor
    ls += [s]
endfor
echo ls

['abc', 'def']

What happens is that when the outer loop starts its second iteration, its variable (s) is assigned the second item of the inner loop (i.e. 456).  That's wrong: it should be assigned the second item of the outer loop (i.e. 'def').


some questions about threading model

https://github.com/eBay/NuRaft/blob/master/docs/replication_flow.md
State machine's functions(group1) execute in Background commit thread,

commit
create_snapshot

State machine's functions(group2) execute in User threads and threads from Asio thread pool

precommit
rollback
read_logical_snp_obj
save_logical_snp_obj
apply_snapshot

Although group1 and group2 are executed by different threads, they should not be executed at the same time, right?
So, in the calc example,
std::atomic<int64_ t> cur_ value_;
std::atomic<uint64_ t> last_ committed_ idx_;
Can it be written directly as:
int64_ t cur_ value_;
uint64_ t last_ committed_ idx_;

As a user, when writing the state machine, I have been struggling with whether to use mutex and how to control the granularity. Can only one thread enter the member function of state machine at a time? According to the above understanding, can mutex not be used?

I mean only for the user's context, like cur_value_, not include snapshots_. create_snapshot, read_logical_snp_obj may be executed at the same time， but these two functions do not modify the user context. create_snapshot read user context， commit/save_logical_snp_obj/rollback maybe modify the user context，but these functions do not execute at the same time. I don't know if my understanding is correct。

Hi @guoxiangzhou
The basic assumption is that the state machine APIs should be thread-safe against concurrent calls.
In more detail, please note that

pre_commit and rollback are not part of the original Raft -- it is just for customizing the protocol. Current examples do not use these APIs. If you use them, that is at your own risk.
There will be no concurrent calls for each commit, pre_commit, rollback, and create_snapshot APIs. That means, there will be only one commit, pre_commit, rollback, and create_snapshot call at a time.
While commit is being executed, pre_commit or read_logical_snp_obj can be called from different threads concurrently.
While save_logical_snp_obj and apply_snapshot are being executed, there will be no commit, pre_commit, rollback, create_snapshot, and read_logical_snp_obj.

If you want to allow only one thread to modify the state machine, I recommend you define mutex in your state machine and use it for all mutation APIs.

thx


SQuAD data download does not work properly

It copies it to the wrong directory (main directory). I do not know if there are other dependency problems.

@TimDettmers I don't understand. Following the readme you download it in the SQuAD directory. However, I see your point. Feel free to change it such that you do not have to cd into the SQuAD directory first.

Currently, it is download into the current directory rather than the data/SQuAD directory which make subsequent scripts fail.

Please look at the README where it is stated that you have to cd into the SQuAD dir and download from there so it is not wrong, only inconvenient, we should change that. The same goes for GloVe for instance.


Updated with 1 October 2023 schedule (changes in Takanohara routes). …

…Please update if there any mistakes.

Thank you!


respect purge requests when serving ipro requests from ngx_pagespeed

Fixes https://github.com/pagespeed/ngx_pagespeed/issues/1192
May also fix https://github.com/pagespeed/ngx_pagespeed/issues/1172

LGTM

It make sense to move some of this Fetch stuff into a shared class (in system/)? The specific problem here was that Apache and nginx had diverged in a subtle way, whereas IsCachedResultValid isn't actually specific to either.

Yes -- sharing a common base class between NgxFetch and ApacheFetch makes a lot of sense.  Adding a TODO to (a) avoid delaying this fix and (b) that might be harder to backport due to massive changes in ApacheFetch that are not in 1.11.

SGTM. It'd be nice to see the travis check pass, but I don't see anything on the UI for retry (I may lack bits).

the test I haven't committed yet proves this fix works.  Unfortunately to check in the test I need to fix some infrastructural pieces of nginx and it's way easier to do that if I submit this first.


[Bug] Doesn't support multiple functions of the same name with different parameters

@Spyable
internal protocol MyHapticsProtocol {
    func send(_ style: UIImpactFeedbackGenerator.FeedbackStyle)
    func send(_ type: UINotificationFeedbackGenerator.FeedbackType)
}

results in a bunch Invalid redeclaration of ... warnings

@brzzdev In your example, while possibly not ideal, this could be worked around by externalizing the argument labels:
internal protocol MyHapticsProtocol {
    func send(style: UIImpactFeedbackGenerator.FeedbackStyle)
    func send(type: UINotificationFeedbackGenerator.FeedbackType)
}

This will result in generated code using the parameter names in property names, which will allow the two to be distinguished.
That said, this issue does shed light on an edge case where the function and parameter names are the exact same, but take different types.
I could see this being a problem in code that may have APIs that look a bit more generic, like this:
protocol InputSender {
    func send(input: KeyboardInput)
    func send(input: MouseInput)
}

The only thing that'd we'd have to differentiate the functions would be the parameters' actual type. If we detect that two functions have the same signatures, I think our only option might generating code that includes the type names:
class InputSenderSpy: InputSender {
    var sendInputKeyboardInputCallsCount = 0
    var sendInputKeyboardInputCalled: Bool {
        return sendInputKeyboardInputCallsCount > 0
    }
    var sendInputKeyboardInputReceivedInput: KeyboardInput?
    var sendInputKeyboardInputReceivedInvocations: [KeyboardInput] = []
    var sendInputKeyboardInputClosure: ((KeyboardInput) -> Void)?
    func send(input: KeyboardInput) {
        sendInputKeyboardInputCallsCount += 1
        sendInputKeyboardInputReceivedInput = (input)
        sendInputKeyboardInputReceivedInvocations.append((input))
        sendInputKeyboardInputClosure?(input)
    }
    var sendInputMouseInputCallsCount = 0
    var sendInputMouseInputCalled: Bool {
        return sendInputMouseInputCallsCount > 0
    }
    var sendInputMouseInputReceivedInput: MouseInput?
    var sendInputMouseInputReceivedInvocations: [MouseInput] = []
    var sendInputMouseInputClosure: ((MouseInput) -> Void)?
    func send(input: MouseInput) {
        sendInputMouseInputCallsCount += 1
        sendInputMouseInputReceivedInput = (input)
        sendInputMouseInputReceivedInvocations.append((input))
        sendInputMouseInputClosure?(input)
    }
}

A more visually-pleasing option may be throwing in some underscores into these properties, like
send_UINotificationFeedbackGeneratorFeedbackType_CallsCount.


Table: wrap lines when using tab to navigate

fixes #398

Here‘s a screen recording shows what happens when press and hold Tab or Shift + Tab
https://user-images.githubusercontent.com/73122375/232975866-01e7a4a7-e4a4-4ae3-8f86-cafeb04baef3.mp4

This is awesome! Thank you so much for fixing it! 🙏


enable no-duplicate-imports eslint rule. Fixed no-duplicate issues in service-bus project

This is related to #10967

Damn! I love this PR!

@reviewers  I am not sure if the eslint-plugin-azure-sdk version number needs to be bumped up in package.json:
"name": "@azure/eslint-plugin-azure-sdk",   "version": "3.0.0",

@deyaaeldeen, We should probably ensure that build is run for all packages when there is any change to the eslint plugin. For example, adding this rule may now break say text analytics for which the build breaks if there is a linting error. Or, am I overthinking this?

@deyaaeldeen, We should probably ensure that build is run for all packages when there is any change to the eslint plugin. For example, adding this rule may now break say text analytics for which the build breaks if there is a linting error. Or, am I overthinking this?

For testing no-duplicaterule in service-bus project, I executed npm pack command on the eslint-plugin-azure-sdk project and then I manually copied over the generated dist directory inside the service-bus -> node_modules->@azure-> eslint-plugin-azure-sdk.
I thought that we may need to publish a new version of eslint-plugin-azure-sdk npm package and then update its reference in projects e.g. service-bus

@deyaaeldeen, We should probably ensure that build is run for all packages when there is any change to the eslint plugin. For example, adding this rule may now break say text analytics for which the build breaks if there is a linting error. Or, am I overthinking this?

@ramya-rao-a you are absolutely right and this issue already bit us before when we updated the linting rule that checks for keywords in package.json. I would like CI to build the whole repo and run the test suite of plugin. I created the following issue https://github.com/Azure/azure-sdk-for-js/issues/11240.

Alright, here are some follow ups:
@deyaaeldeen, @willmtemple,
While we wait the Eng Sys to be updated so that the linter is run on all applicable packages when a rule is changed/added, we should be able to reply on rush lint command locally to show which packages fail when a rule is changed/added. This can be done once #11254 is merged, please review the PR.
@mohsin-mehmood,
I would recommend that you remove the update to the eslint plugin in this PR, so that we can go ahead and merge the Service Bus related changes.
Once #11254  is merged, you can enable this change to the eslint plugin locally, run the rush lint command to see which packages are getting affected by this rule and send separate PRs to fix each of those packages. Once all packages are fixed, you can send the last PR to enable the rule in the linter.

@mohsin-mehmood No need to use npm pack or to worry about updates to the linter plugin. We don't publish this plugin, and it is linked to all of our packages for development through PNPM via Rush. If you have linked the repo together using rush update, then changes to the plugin should automatically be received by all packages that have it as a dependency once it is rebuilt,


Add subcommand for listing the courses you joined

Add the /course subcommand for listing the courses you joined.
The response should be an embed.
Possible command naming
/course list all - List all courses in the server
/course list mine - List my courses only

Implemented by #21.