Add a parameter to take a string of PowerShell code

I'm working on something that would benefit from passing a string of PowerShell to it and not having to save it in a file first. Is that a planned addition?

Hi Doug.
Thank you for the suggestion. We will definitely consider this. I will update the issue soon.
Thanks,
Raghu

Hi Doug.
Can you provide more details about your scenario - passing scriptblock to ScriptAnalyzer
Thanks,
Raghu

HI Raghu,
Sure. I have two OneGet (PackageManagement) providers that integrate GitHub Repos and Gists. It'd be cool to run ScriptAnalyzer on the ps1/psm1 files before downloading (or just independently at any point in time) .  I can easily get the ps1 from a repo for example, as a string using invoke-restmethod. It'd really convenient if I didn't have to save it to a file and then call ScriptAnalyzer.

As part of this feature work we are working to add Stream support:
https://github.com/PowerShell/PSScriptAnalyzer/issues/312

Hi Doug.
We have added the support for consuming Scripts as Streams - check out the latest build from the development branch:
https://github.com/PowerShell/PSScriptAnalyzer/pull/357

Great, I'll give it a try.


Rename button name  Change as "Change Tag"

Rename button name  Change as "Change Tag" clients ko button nhi mil raha , so please Button name should be Change Tag

Pura likhne ki jagah nai he


OpenCE 1.11.4 Release contents

[x] CVE for black - CVE-2024-21503
[x] pola/rs  https://github.com/open-ce/open-ce/issues/1029, https://github.com/open-ce/open-ce/issues/889
[x] Update rust to v1.801.81
[x] bitsandbytes https://github.com/open-ce/open-ce/issues/890
[x] Update to Ray 2.34.0 2.35.0 and Re-Enable ray-env_
[x] Re-Enable Apache Beam env_
[x] Re-Enable langchain env_
[x] #1179
[ ] #1181 Moved to later release as it requires newer PyTorch

[ ] #1180
[ ] Deepspeed Ops
[ ] Check if Jax and Jaxlib can be built on PPC for CUDA
[ ] #1205
[ ] #1078

This is released.


Example for Pronunciation file

Although the general format for the Pronunciation file is given in the page, a more specific example with a few sample lines such as the one given in the Audio + human-labeled transcript data for testing/training tab would be helpful.

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

ID: 4b5a089e-3c35-9111-0498-2d17422d53e8
Version Independent ID: cfa03813-8c78-3f5b-706a-e63278c0278a
Content: Prepare data for Custom Speech - Speech service - Azure Cognitive Services
Content Source: articles/cognitive-services/Speech-Service/how-to-custom-speech-test-and-train.md
Service: cognitive-services
Sub-service: speech-service
GitHub Login: @trevorbye
Microsoft Alias: trbye

@manish-95 we will review your feedback and get back to you shortly. Thanks.

@trevorbcan please take note of the above feedback for doc-enhancement. Thanks.

👍

Thanks @manish-95 for this request. We have added this to our backlog of work items and we'll prioritize and pick this up in due course.
#please-close

Still needed. Will continue searching for the correct format.

Still needed. Will continue searching for the correct format.

So it seems that a file with a word, tab, and then spoken form works.
ffmpeg    f f m peg

Hope this helps anyone searching for this.

So it seems that a file with a word, tab, and then spoken form works.
ffmpeg    f f m peg

Hope this helps anyone searching for this.


test with directionless motor controller

obviously it won't make motors go backwards, but how reasonably is it handled?

seems to be working now (0.6.1)


⚠ Bofrost.be has degraded performance

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

HTTP code: 200
Response time: 819 ms

Resolved: Bofrost.be performance has improved in d2897e7 after 7 minutes.


[Bug]: Infinity Txn conflict

Is there an existing issue for the same bug?

[X] I have checked the existing issues.

RAGFlow workspace code commit ID
n/a
RAGFlow image version
nightly（v0.15.0-17-g35580af8 full）
Other environment information
1.Ubuntu 24
2.Ragflow (config with Infinity engine)

Actual behavior
1.Once upon a local docment is selected (I still havn't press 'confirm' button), Ragserver raised the 3022 error list below. There no any error displayed in the frontend page.
ragflow-infinity  | [13:54:18.257] [28] [error] Table ragflow_dd78793cbfa211efaa260242ac150006_eb856922bfa211ef97d60242ac150006 doesn't exist
ragflow-infinity  | [13:54:18.257] [28] [error] Table ragflow_dd78793cbfa211efaa260242ac150006_eb856922bfa211ef97d60242ac150006 doesn't exist@src/main/query_context.cpp:225
ragflow-infinity  | [13:54:18.257] [28] [error] [THRIFT ERROR]: Table ragflow_dd78793cbfa211efaa260242ac150006_eb856922bfa211ef97d60242ac150006 doesn't exist@src/main/query_context.cpp:225
ragflow-server    | 2024-12-21 21:54:18,257 ERROR    17 (3022, "Table ragflow_dd78793cbfa211efaa260242ac150006_eb856922bfa211ef97d60242ac150006 doesn't exist@src/main/query_context.cpp:225")
ragflow-server    | Traceback (most recent call last):
ragflow-server    |   File "/ragflow/api/apps/kb_app.py", line 107, in update
ragflow-server    |     settings.docStoreConn.update({"kb_id": kb.id}, {"pagerank_fea": req["pagerank"]},
ragflow-server    |   File "/ragflow/rag/utils/infinity_conn.py", line 430, in update
ragflow-server    |     table_instance = db_instance.get_table(table_name)
ragflow-server    |   File "/ragflow/.venv/lib/python3.10/site-packages/infinity/remote_thrift/utils.py", line 403, in wrapper
ragflow-server    |     return func(*args, **kwargs)
ragflow-server    |   File "/ragflow/.venv/lib/python3.10/site-packages/infinity/remote_thrift/db.py", line 113, in get_table
ragflow-server    |     raise InfinityException(res.error_code, res.error_msg)
ragflow-server    | infinity.common.InfinityException: (3022, "Table ragflow_dd78793cbfa211efaa260242ac150006_eb856922bfa211ef97d60242ac150006 doesn't exist@src/main/query_context.cpp:225")

When I start to parse the documentation, the proccess is stop in the stage 'task has been received' over 30 mins without any issues rasied in backend and frontend before the actual parsing process started.  There is no any loading over CPU/MEM/DISK IO.
p.s. I have 20 CPUs and 64G mem, which is running the previous version RAGFLOW perfectly and the dataset was successfuly parsed by previous realsed RAGFLOW.

After chunk has been produced (still havn't finish the whole parsing process), Infinity error 4002 was raised when I try to drop this knowlegebase.

4.During the parsing process, there is a long time waiting（still waiting after 1 hour when I capture the log ） between each stage (from OCR started to Embedding the chunks) without any loading on CPU/MEM/DISK IO.  It seems everything is GOOD but everything is HANGING UP without doing anything. I use the RAGFLOW  nomic-text @ FastEmbeded and SILICONFLOW's chat model in system wide.
ragflow-server    | 2024-12-21 22:38:27,787 INFO     19 task_consumer_0 reported heartbeat: {"name": "task_consumer_0", "now": "2024-12-21T22:38:27.786730", "boot_at": "2024-12-21T21:51:55.278526", "pending": 1, "lag": 37, "done": 1, "failed": 0, "current": {"id": "f605ad3ebfa311efbf9d0242ac150006", "doc_id": "59bb2120bfa311efb8850242ac150006", "from_page": 12, "to_page": 24, "retry_count": 0, "kb_id": "eb856922bfa211ef97d60242ac150006", "parser_id": "book", "parser_config": {"auto_keywords": 3, "auto_questions": 1, "raptor": {"use_raptor": true, "prompt": "\u8bf7\u603b\u7ed3\u4ee5\u4e0b\u6bb5\u843d\u3002 \u5c0f\u5fc3\u6570\u5b57\uff0c\u4e0d\u8981\u7f16\u9020\u3002 \u6bb5\u843d\u5982\u4e0b\uff1a\n      {cluster_content}\n\u4ee5\u4e0a\u5c31\u662f\u4f60\u9700\u8981\u603b\u7ed3\u7684\u5185\u5bb9\u3002", "max_token": 512, "threshold": 0.1, "max_cluster": 64, "random_seed": 0}}, "name": "2023\u5e74\u7248GMP\u6307\u5357-\u8d28\u91cf\u7ba1\u7406\u4f53\u7cfb.pdf", "type": "pdf", "location": "2023\u5e74\u7248GMP\u6307\u5357-\u8d28\u91cf\u7ba1\u7406\u4f53\u7cfb.pdf", "size": 7081164, "tenant_id": "dd78793cbfa211efaa260242ac150006", "language": "Chinese", "embd_id": "nomic-ai/nomic-embed-text-v1.5@FastEmbed", "pagerank": 10, "img2txt_id": "", "asr_id": "paraformer-realtime-8k-v1@Tongyi-Qianwen", "llm_id": "THUDM/glm-4-9b-chat@SILICONFLOW", "update_time":<PHONE_NUMBER>003}}

Expected behavior
No response
Steps to reproduce
upload a document and start parsing process.

Additional information
No response

#4207 fixed this.


About adding new custom theme in nextra

I recently build a new blog theme and now I'm thinking of Marge with Nextra. what is Cateria to add a new theme in nextra?
plz, tell me any guidance @B2o5T and @shuding.
Theme GitHub repo https://github.com/officialrajdeepsingh/nextra-blog

Sorry I am not interested in maintaining yet another theme


Problem with Installing Bebop autonomy

Hello,
I got the new Bebop drone recently and I wanted to get it up and running so I followed the instructions described Here.
when I run: rosdep install --from-paths src -i
I get this:
executing command [sudo -H apt-get install ros-kinetic-rosserial-python]
[sudo] password for rayane:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
ros-kinetic-rosserial-msgs
The following NEW packages will be installed:
ros-kinetic-rosserial-msgs ros-kinetic-rosserial-python
0 upgraded, 2 newly installed, 0 to remove and 154 not upgraded.
Need to get 49,9 kB of archives.
After this operation, 449 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Err:1 http://packages.ros.org/ros/ubuntu xenial/main amd64 ros-kinetic-rosserial-msgs amd64 0.7.7-0xenial-20180824-085438-0800
404  Not Found [IP: <IP_ADDRESS> 80]
Err:2 http://packages.ros.org/ros/ubuntu xenial/main amd64 ros-kinetic-rosserial-python amd64 0.7.7-0xenial-20190320-134538-0800
404  Not Found [IP: <IP_ADDRESS> 80]
E: Failed to fetch http://packages.ros.org/ros/ubuntu/pool/main/r/ros-kinetic-rosserial-msgs/ros-kinetic-rosserial-msgs_0.7.7-0xenial-20180824-085438-0800_amd64.deb  404  Not Found [IP: <IP_ADDRESS> 80]
E: Failed to fetch http://packages.ros.org/ros/ubuntu/pool/main/r/ros-kinetic-rosserial-python/ros-kinetic-rosserial-python_0.7.7-0xenial-20190320-134538-0800_amd64.deb  404  Not Found [IP: <IP_ADDRESS> 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
ERROR: the following rosdeps failed to install
apt: command [sudo -H apt-get install ros-kinetic-rosserial-python] failed
Please any suggestion will be appreciated
Am using Ubuntu 16.04 and ROS Kinetic

Please, could you explain how did you solve the problem? Thanks!

The Problem was in fetching packages. I followed this  link to solve it.


FEATURE: Virtual Zones

By adding virtual zones, we can tie these virtual zones to other accessories in HomeKit which in-turn can trigger the alarm if their state changes in a specific way. This also overcomes the issue of native HomeKit devices not being able to trigger an alarm system directly (as of this ticket's creation).
Overall, this augments an entire home's security setup and allows for some pretty unique scenarios, including wireless sensors, and programmatic home security automations with something like NodeRED.

Is there any update on this feature?


Missing IP in ports, when create a Stack from a Catalog

Rancher Version: v1.0.0 & v 1.0.1
Docker Version: 1.9.1
OS:  Ubuntu 14.04.1 LTS (GNU/Linux 3.13.0-32-generic x86_64)
Steps to Reproduce:

Set Ports with IP in the Catalog's docker-compose.yml, like below:

ports:
-   "<IP_ADDRESS>:8118:8118"

Create a Stack StackA from this Catalog.

Results:
The StackA's generated docker-compose.yml has wrong Ports config, like below:

ServiceA:
ports:
-   8118:8118/tcp

Expected:
The StackA's generated docker-compose.yml should have the same IP & ports with the Catalog's docker-compose.yml:

ServiceA:
ports:
-   "<IP_ADDRESS>:8118:8118"

It seems to be caused when parse the Catalog's docker-compose.yml to the Stack's config.

@prachidamle could you take a look? Looks like a bug in service's docker-compose file generation; we should switch it to use a new supported port format.

I have the same issue

This is actually a rancher-compose issue.
I tried adding the following in rancher-compose and it didn't hold on to the host IP.
hostportmap1:
  ports:
  - 81:80/tcp
  labels:
    io.rancher.scheduler.affinity:host_label: test=true
  tty: true
  image: nginx
  stdin_open: true

Verified that the new rancher-compose with the bump in libcompose (v0.8.0) is working with v1.1.0-dev2. Most likely working as of v1.1.0-dev1.


Css update jun2016

in this update
asc, desc buttons position
magnifying glass,
loading image
fixed grey out text in table

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Can one of the admins verify this patch?


Error calculating zone Rear. You have configured forecasting but but there is no OWM API configured.

What happened?
I setup everything and tried setting up OWM API. I show the integration is setup and reporting  information back to Home assistant but still get this error.
Logger: custom_components.smart_irrigation
Source: custom_components/smart_irrigation/init.py:509
Integration: Smart Irrigation (documentation, issues)
First occurred: September 29, 2023 at 11:00:00 PM (2 occurrences)
Last logged: September 30, 2023 at 11:00:00 PM
Error calculating zone Rear. You have configured forecasting but but there is no OWM API configured. Either configure the OWM API or stop using forcasting on the PyETO module.
Added Image of the subscription to OWM API.

How to reproduce
Set up smart irrigation with a area, try to set up a module and calculate areas
Relevant log output
I posted above

Which version are you running?
V2023.9.2
Diagnostics file

[X] I have attached a diagnostics file

Additional information
No response

Did you create an API key in OWM?

You don't need another integration. Smart Integration integrates OWM by it's own. Just copy your one of your existing API key into Smart integration.

The issue was I was putting the open weather map API into Open weather Map integration... Once I put the API key into Smart irrigation it works great now. Thank you! Sorry for confusion.


Split out SuiteSparse

cvxopt builds its own copy of SuiteSparse. However, it would be much better in the long run if we build it ourselves. This lets us better customize it to server our needs. See this PR ( https://github.com/conda-forge/staged-recipes/pull/655 ) to package SuiteSparse.

Breaking out SuiteSparse with this PR ( https://github.com/conda-forge/cvxopt-feedstock/pull/4 ).


Pure Storage: filter needs to be updated as some logs are going to wrong index

Was the issue replicated by support?
No
What is the sc4s version ?
3.1.4
Is there a pcap available?
yes. Will share via email or via sales engineer
Is the issue related to the environment of the customer or Software related issue?
Software
Is it related to Data loss, please explain ?
Protocol? Hardware specs?
pure appliances are using port 514 (tcp) to ingest syslog
Last chance index/Fallback index?
fallback
Is the issue related to local customization?
Do we have all the default indexes created?
yes
Describe the bug
A clear and concise description of what the bug is.
I have defined a custom index in the splunk metadata file for which most of the logs are getting ingested except few which are going to infraops and osnix indexes as well. Looks like filter needs to be updated to capture the logs being missed. Thanks.  (https://splunk.github.io/splunk-connect-for-syslog/main/sources/vendor/PureStorage/array/)
To Reproduce
Steps to reproduce the behavior:

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

hi @aalisher-tmx sure, please send a pcap through Salesforce support ticket or via sales engineer and mention my username so it gets passed to me

hello @aalisher-tmx my apologies for the delay. We've started working on this issue but I can't find a sample message to reproduce the bug, all the messages that I tried from the provided pcap file worked correctly. Please send a sample message that is not parsed correctly

fixed in 3.11.1


Is there some way to use service bus triggers with User Assigned Managed Identities?

The document referenced here has information on how to use a System Assigned Managed Identity. Is there a way to do the same thing with User Assigned Managed Identities?

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

ID: 6bea1026-35d3-a51f-6161-01aa0cc245a4
Version Independent ID: 8f084907-67d6-c2a6-69a4-7a8c8aaa0ba0
Content: Use identity-based connections with Azure Functions triggers and bindings
Content Source: articles/azure-functions/functions-identity-based-connections-tutorial-2.md
Service: azure-functions
GitHub Login: @ggailey777
Microsoft Alias: glenga

Thank you for your feedback! We will review and update as appropriate.

@Tiberriver256 You can refer to this document on how you can add the user assigned identity. If you are looking for how to create the user assigned identity in azure then you can refer to this document. You can now assign the role to your user-managed identity as per your requirement.
The roles should be the same as per system assigned identity or different as per your requirement.

Thank you @MayankBargali-MSFT. All of that was well documented and easy to find. The question was after you do all of that, how do you get a ServiceBusTrigger to use a user-assigned managed identity?
A friend of mine pointed me to this document for the answer. It may be worth linking to this document at the end of your guide here to help others:

@Tiberriver256 Thanks for your response. I have assigned this to @ggailey777 to further investigate and update the document as appropriate.


Added WebAuthn Playground

A web page (no server) to test WebAuthn operations with configurable parameters, and view/parse responses.

Great job @opotonniee!


Ajax tooltip — a new tooltip is created above the previous ones each time

Hi,
I have configured an ajax-tooltip with the functionBefore thing.
Everytime I open->close->open the tooltip, I see a new tooltip coming above all the previous ones with the 'Loading...' text first and then the ajax-loaded content...
Bug?

Actually there are more than one new tooltip each time :(
And I started to get error of unable to allocate memory and I've been studying the evolution of APC cache each time I open a new ajax tooltip and it is increasing very fast.

Probably not an issue in Tooltipster.

I have identified that this does not happen if I call a simple php file like test.php but it does if I call a path like /my-test-path. So the difference is that in the second case the response is a full html page with doctype etc... and that would not be cached by Tooltipster so I needed to clean things up and it works now! Awesome :)
For those working on Drupal like me here is what I've done. I am actually displaying a view and I had already cleaned up the page.tpl.php for that specific path by creating a specific page--my_specific_path--with_slashes_replaced--by_double_hyphens.tpl.php
But cleaning the page.tpl.php was enough to remove the logo and blocks, but not what is added by html.tpl.php... so I did the same for that one :
html--my_specific_path--with_slashes_replaced--by_double_hyphens.tpl.php
Don't forget to clear caches for new templates to be added to the registry.


ComBinlogDump overflow issue

The struct ComBinlogDump defines pos field as 32bits which I think is due to https://dev.mysql.com/doc/refman/8.0/en/replication-options-binary-log.html#sysvar_max_binlog_size ensure we will rotate the binlog after the max value<PHONE_NUMBER> (1G).
However, that is not a hard limit.

A transaction is written in one chunk to the binary log, so it is never split between several binary logs. Therefore, if you have big transactions, you might see binary log files larger than max_binlog_size.

How to reproduce:
START TRANSACTION;
# 4GB worth of DML
COMMIT;

The pos field will overflow.

Hi.
No, this is due to: https://github.com/mysql/mysql-server/blob/trunk/sql/rpl_source.cc#L961
Please consider using https://docs.rs/mysql/latest/mysql/struct.BinlogRequest.html#method.with_use_gtid


feat: write to a google sheet

What changes are being made and why?

Added feature refers to #1 .

Tests must be updated with the sheets used on the test environments!

@Siencode would you willing to proceed with the changes asked for this PR or should I take over?

I think you can take over @loicmathieu 👍

@Siencode would you willing to proceed with the changes asked for this PR or should I take over?

@loicmathieu Sorry, but I couldn't find the free time to continue this PR. You can take over because I can't now determine when I will be able to make requested changes

@Siencode sorry for your PR but we have another contribution for these tasks that I just merged (I kind of forgot that you already contribute something). We value a lot your contribution, thanks a lot, and I'm sorry that someone else take over this feature.

The contributed tasks are here: https://github.com/kestra-io/plugin-googleworkspace/tree/master/src/main/java/io/kestra/plugin/googleworkspace/sheets
If you think it misses, we would be more than happy to welcome any contribution.


[Cache] Sort resourceUsages according to resourceName

What type of PR is this?
/kind bug
What this PR does / why we need it:
The resourceUsages should be in a stable order to avoid endless creation of update events.
So, I added processes to sort resourceUsages according to resourceName in ClusterQueue and LocalQueue.
Which issue(s) this PR fixes:

Fixes #902
Special notes for your reviewer:
Does this PR introduce a user-facing change?

Fix a bug that updates events for clusterQueues are created endlessly.

/assign @alculquicondor

let's cherry-pick as well.
I think we can do a last patch release of 0.3 along with 0.4

let's cherry-pick as well.
I think we can do a last patch release of 0.3 along with 0.4

That's great!
/cherrypick release-0.3


Lab 5 - Part 2 - Question 1:

dat %>%
select(age, hour12)%>%
group_by( Time = hour12,Age.Group = age) %>%
summarize(Accidents = n())
pander()
@JasonSills  I'm using the above code and technically able to use this table to find the answer, but the table is not clean and organized so lots of searching to find the 7 am windows. How can I clean this up? I imagine it is a simple fix I should know but I'm having a hard time cracking it.  Thank you in advance!

@swest235
We can simplify your code using the count verb. Let's start with a basic table.
dat %>%
  count(hour, age) %>%
  head()

If we then add in a filter and arrange by descending order we get the table you want:

dat %>%
  filter(hour == "07") %>%
  count(hour, age) %>%
  arrange(desc(n))

Note that we filter first, count the columns we are interested in, and then arrange in descending order.

@swest235
The two with hour12 == "7 AM" appear to be the same, but arranged differently.
I'm interested in the difference in hour and hour12. I'm going to see if @lecy has any insights. When I run:
dat%>%
  select(DateTime, hour, hour12)

It looks like DateTime and hour do not align with hour12:

Is this a known bug?

@JasonSills @swest235
I also get different results for 'hour' and 'hour12'. It seems like it could be a system time or location settings issue?
I think I have to use 'hour'.

@dongdongkim99 and @swest235
I have identified the issue. Note that from your instructions you need to update your data preprocessing.
From the instructions:
# set the levels so they are in the correct order
time.levels <-
  c( "12 AM", " 1 AM", " 2 AM", " 3 AM", " 4 AM", " 5 AM",
     " 6 AM", " 7 AM", " 8 AM", " 9 AM", "10 AM", "11 AM",
     "12 PM", " 1 PM", " 2 PM", " 3 PM", " 4 PM", " 5 PM",
     " 6 PM", " 7 PM", " 8 PM", " 9 PM", "10 PM", "11 PM" )

dat$hour12 <- factor( dat$hour12, levels=time.levels )
table( dat$hour12 ) %>% head() %>% pander()

But in your lab rmd file you are provided with:
time.levels <- c("12 AM", paste(1:11, "AM"),
                 "12 PM", paste(1:11, "PM"))

You will see how to do this, step by step, in your solutions if you are unable to update for your submissions.

@JasonSills
Do you mean the two below are different?
time.levels <- c("12 AM", paste(1:11, "AM"),
"12 PM", paste(1:11, "PM"))
time.levels <-
c( "12 AM", " 1 AM", " 2 AM", " 3 AM", " 4 AM", " 5 AM",
" 6 AM", " 7 AM", " 8 AM", " 9 AM", "10 AM", "11 AM",
"12 PM", " 1 PM", " 2 PM", " 3 PM", " 4 PM", " 5 PM",
" 6 PM", " 7 PM", " 8 PM", " 9 PM", "10 PM", "11 PM" )
I change the above to the below. but the issue is not solved. T_T


AppCenter Dashboard fails and gives no information about nothing

Hello, I submitted an app in the AppCenter Dashboard. When I submit it, it fails automatically and the issue the bot opened on my app's repo gives no information about nothing. You can see it here

What am I supposed to fix?

This is actually from the houston repo, so your first issue was correct. The repository looks to be using flatpak, so the current developer.elementary.io (houston) will not work for it. The new dashboard is currently in development and not ready to use, but you can still submit your app for review by opening a PR on the appcenter-reviews repository.

I just ran into this, several months after the release of elementary OS 6 (#84)

We are aware of this. The new dashboard is not yet ready for prime time. In the mean time, you can follow the README on this repository to submit your application for elementary OS 6: https://github.com/elementary/appcenter-reviews


[Doc Improvement][Update TeamsFx-CLI for v2.1.0][3480523]

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/toolkit/TeamsFx-CLI.md
90
42
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/toolkit/TeamsFx-CLI.md
90
42
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/toolkit/TeamsFx-CLI.md
90
41
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/toolkit/TeamsFx-CLI.md
91
40
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/toolkit/TeamsFx-CLI.md
91
40
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/toolkit/Teams-Toolkit-CLI.md
91
61
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/toolkit/Teams-Toolkit-CLI.md
91
61
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.


Normalize panning direction.

Do normalization on panning direction. I think this should be a propal practice to make panning works regardless scale of scene node and camera node.
In our case we need to scale down whole scene node to make it works with MapBox(Maybe it is.) Panning velocity changes if directions not been normalized.

I notice that there is build error from CircleCI for this PR. I don't know much about it, please let me know if I could fix some thing to make it works. Thanks.


Bump version number to 2.0.0

This should fail until https://github.com/eProsima/Micro-XRCE-DDS-Agent/pull/225 and https://github.com/eProsima/Micro-XRCE-DDS-Client/pull/207 are merged and tagged

Build status:

Linux
Windows


Question on backprop

Hello,
I don't have any issues with the code, but I have a question about the pipeline. Generally, the term "backpropagation" is referred to as updating the weights of neurons to train the neural network. However, in this pipeline, it seems that the weights of the neurons only change in that AF2 selects one of the five different trained model weights in each iteration. The only variable that changes is the sequence to ensure that its complex with the target protein fits more the loss function after each iteration, but the weights do not change at all (asunder from what I mentioned of swapping among the 5 different model weights). Is that correct?

Generally the term "backpropagation" refers to propagating the error through the model and updating some parameters/weights. In this case the free parameters/weights are the input sequence of the binder, the rest of the alphafold parameters of the model are frozen (not updated).


1.3 backports 2018-11-06

#6173
#6150
#6145
#6136
#6132
#6019
#5760

This change is

test-me-please

test-docs-please

test-missed-k8s

test-me-please

test-docs-please

test-missed-k8s

test-missed-k8s

test-missed-k8s

test-missed-k8s

test-missed-k8s

test-me-please

test-me-please

test-missed-k8s

test-me-please

test-docs-please

test-missed-k8s

test-upstream-k8s


Get tag from the name instead of the metadata

Retrieve image tag from name instead of the image metadata when deploying from index with pre-built bundles.

The proposed change is expected to fail since in the upstream bundles we don't set the tag on the name, instead, we have the image tag on the metadata. We will need to consider that case separately (if Quay, do X).


Source service requirements

Essential Information for Transmitting Data/Events
To successfully transmit data or events, the following key pieces of information are required:

User Identification: It is imperative to identify the user involved.
Page Context: Knowing the specific page where the event occurred is crucial
Event Description: Understanding the nature of the event triggered by the user is essential.

Segment Methods Documentation

Anonymous User
In situations where the user may not be authenticated, it is advisable to utilize an "anonymous ID" for the user.
We can consider the Device UUID for this situation.
Device UUID NPM library

The first link you have provided only lists the most important fields of the transmitted data object.
This document page in Segment University mentions two more pieces of data which are:

Group
Alias

The source layer is where data originates and is ingested into the system.
It's the entry point for data collection and serves as a crucial component in the data pipeline. Developing the source layer involves integrating with various sources of data, such as websites, server libraries, mobile SDKs, and cloud applications, to collect data and send it to the CDP. Here are some key aspects to consider when developing the source layer:
1. Data Collection:

Identify the data sources: Determine which data sources you want to collect data from. These could include websites, mobile apps, IoT devices, server applications, and more.

Data collection methods: Implement data collection methods such as JavaScript libraries for web tracking, mobile SDKs for Android and iOS, or server-side libraries to capture data from various sources.

Data validation: Data validation in the source layer of a CDP is crucial to ensure that the collected data is accurate, consistent, and adheres to the expected format.

Data Deduplication: Prevent duplicate data entries by identifying and removing redundant data points based on unique identifiers, timestamps, or other criteria.

2. Data Transformation: (Which is for the Dataplane layer)

Data formatting: Ensure that the data collected from different sources is properly formatted and standardized for ingestion into the CDP.

Data Transformation: Offer data transformation capabilities to clean, reformat, or harmonize data from various sources to ensure consistency and accuracy.

Data enrichment: You may need to enrich the data by adding additional context or metadata to make it more valuable.

Here are some features to consider for the source layer development:

Data Format Validation: We have implemented data format validation to ensure that incoming data adheres to the expected structured formats, such as JSON, XML, or other predefined schema. This helps maintain data integrity and structure.

Rate Limiting and Throttling: Rate limiting and throttling mechanisms are in place to prevent brute force attacks and excessive data submissions from single sources.

Data Completeness: We ensure that all required fields are present in the incoming data. Missing critical fields could lead to incomplete or unusable data.

Data Consistency: We perform checks for consistency within the data. This includes maintaining relationships between data elements, such as product IDs and corresponding products in the database.

IP Address Validation: We verify the integrity of IP addresses to ensure they are valid and not associated with malicious sources.

in case of entities and models that we need for our platform, we need Event model that could be something in general like this:
type Event struct {
    EventName  string                 `json:"event_name"`
    UserID     string                 `json:"user_id"`
    Properties map[string]interface{} `json:"properties"`
    Timestamp  time.Time              `json:"timestamp"`
}

The source layer is where data originates and is ingested into the system. It's the entry point for data collection and serves as a crucial component in the data pipeline. Developing the source layer involves integrating with various sources of data, such as websites, server libraries, mobile SDKs, and cloud applications, to collect data and send it to the CDP. Here are some key aspects to consider when developing the source layer: 1. Data Collection:
* Identify the data sources: Determine which data sources you want to collect data from. These could include websites, mobile apps, IoT devices, server applications, and more.

* Data collection methods: Implement data collection methods such as JavaScript libraries for web tracking, mobile SDKs for Android and iOS, or server-side libraries to capture data from various sources.

* Data validation: Data validation in the source layer of a CDP is crucial to ensure that the collected data is accurate, consistent, and adheres to the expected format.

* Data Deduplication: Prevent duplicate data entries by identifying and removing redundant data points based on unique identifiers, timestamps, or other criteria.

2. Data Transformation: (Which is for the Dataplane layer)
* Data formatting: Ensure that the data collected from different sources is properly formatted and standardized for ingestion into the CDP.

* Data Transformation: Offer data transformation capabilities to clean, reformat, or harmonize data from various sources to ensure consistency and accuracy.

* Data enrichment: You may need to enrich the data by adding additional context or metadata to make it more valuable.

Here are some features to consider for the source layer development:
1. **Data Format Validation:** We have implemented data format validation to ensure that incoming data adheres to the expected structured formats, such as JSON, XML, or other predefined schema. This helps maintain data integrity and structure.

2. **Rate Limiting and Throttling:** Rate limiting and throttling mechanisms are in place to prevent brute force attacks and excessive data submissions from single sources.

3. **Data Completeness:** We ensure that all required fields are present in the incoming data. Missing critical fields could lead to incomplete or unusable data.

4. **Data Consistency:** We perform checks for consistency within the data. This includes maintaining relationships between data elements, such as product IDs and corresponding products in the database.

5. **IP Address Validation:** We verify the integrity of IP addresses to ensure they are valid and not associated with malicious sources.

in case of entities and models that we need for our platform, we need Event model that could be something in general like this:
type Event struct {
    EventName  string                 `json:"event_name"`
    UserID     string                 `json:"user_id"`
    Properties map[string]interface{} `json:"properties"`
    Timestamp  time.Time              `json:"timestamp"`
}

Great idea, Taha John!
I think that by combining the Event name, user ID, and timestamp, we can effectively validate each request to identify duplicate data.

Hello everyone,
I appreciate your thorough and valuable research. I would like to introduce another topic that also requires our attention.
Data Security and Compliance:
We should consider implementing an additional strategy for data encryption and protection. However, this is just a preliminary idea. Please share your feedback and thoughts on this matter.
@taha-ahmadi @AtaReversei @j3yzz

Hello everyone,
I appreciate your thorough and valuable research. I would like to introduce another topic that also requires our attention.
Data Security and Compliance:
We should consider implementing an additional strategy for data encryption and protection. However, this is just a preliminary idea. Please share your feedback and thoughts on this matter.
@taha-ahmadi @AtaReversei @j3yzz

Implementing additional data encryption and protection is a commendable idea. It's crucial for safeguarding sensitive data. I suggest further exploring encryption methods and compliance with industry standards. Assess the potential impact on performance and user experience to strike the right balance. Continuous improvement in this area is essential.


Literature Review

This was started in the proposal , but needs to be fleshed out into a thorough review of :

HHL/CN
AN physiology

High/Low SR
Selective neuropathy
controversies

midbrain anatomical connectivity
IC MTFs
Modeling environments
Goldie's work / Wave-V vs. Wave-I stuff

resolved as a draft in https://github.com/gvoysey/thesis/releases/tag/final-draft


Allow specifying loadPath in syntax checking

Otherwise syntax checking will complain about includes not being found.
Used includes rather than excludes in dargs() to avoid wider impact of change, otherwise mimicked same argument mapping as in the main task.

And I know realize I have to sign a CLA, will look into that

CLA submitted


Adding Lewis Palmer School District in Colorado

@lmazuera First stage of verification passed, official domain for Lewis Palmer High School is lewispalmer.org as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.

@lmazuera I am sorry, the website of this school does not answer. It may be due to overrestrictive settings prohibited the website to reply to non-local requests. I cannot verify the school eligibility for this trusted list.
Thus, the school is considered as not eligible for this repository. Please apply for GitHub Student Developer Pack, and then apply for JetBrains free subscription with your GitHub account at https://www.jetbrains.com/shop/eform/students (GitHub tab).
I have to close this request without merging. Thank you for your understanding.


Add in "speaking as" concept

Allows Moderators and Admins to "distinguish" their posts and comments
So that they show up with an alternate style, so that mods and admins
stop looking like busy bodies when they tell people what to do.

Looks pretty good. An issue I found while testing is that I, being an admin cannot distinguish my comment as admin in a sub that I also moderate, and since admins are implicitly mods of all default subs it's not possible to distinguish a comment as admin in any default subs.

Looks pretty good. An issue I found while testing is that I, being an admin cannot distinguish my comment as admin in a sub that I also moderate, and since admins are implicitly mods of all default subs it's not possible to distinguish a comment as admin in any default subs.

So, this was a design decision that was made, but I agree it has some issues.
I had noticed in other places we had people using the least power they had in that area to take an effect, such as deleting a post, and so I replicated that here...
The options for this are really add in another button or ???
I'm not sure what the right answer is to be honest, I guess it's another button, but it feels so ugh to have two buttons that do the same thing for admins...
Do you have any thoughts on the right answer here?

I had noticed in other places we had people using the least power they had in that area to take an effect, such as deleting a post, and so I replicated that here...

I can imagine some cases where it might be useful to speak as admin instead of as a mod

I'm not sure what the right answer is to be honest, I guess it's another button, but it feels so ugh to have two buttons that do the same thing for admins...

Yeah I agree there. Maybe an inline prompt similar to the "Are you sure? yes/no" ones. It'd be a trivial modification to the TextConfirm function to set the text for the yes/no part

Take a look, let me know what you think
Added in the TextConfirm, and just made it so that it read in a mostly reasonable way rather than trying to get a different label in, but that is also a change that obviously could be made.


Imageclock

Use widget_utils module
Some caching for performance
Add UI when drawing is finished to prevent drawing over the launcher
Fix custom color setting inside generated code

Great - thanks!


text segeon us

[Enter feedback here]

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

ID: d3c2a6fb-3005-b23b-bc83-f8046b852851
Version Independent ID: f5d0fbf0-990b-7b3d-0c4a-bd4b51c8532e
Content: Segoe UI font family - Typography
Content Source: typographydocs/font-list/segoe-ui.md
Service: typography
GitHub Login: @nihar
Microsoft Alias: alib

Dear Mehrob007, Can you please share actionable feedback.

No actionable feedback, so closing.


EventSubscriber not bound to type

Summary
The EventSubscriber interface is not bound to a specific type of event, thus not featuring type-safety.
Detailed Description
The EventSubscriber functional interface features a generic method "on" instead of the interface itself being generic and the method respectively being type-bound, which means you can call the "on" method with any kind of event (EventEnvelope) on the same EventSubscriber object instance.
public interface EventSubscriber {
    /**
     * Add custom logic for every event happened
     *
     * @param event the event happened
     */
    <E extends Event> void on(EventEnvelope<E> event);
}

In the EventRouter class, the (in milestone-9 revisioned) signatures of the register methods make the user state the kind (class) of the event listened to, but since the EventSubscriber is not typed, you can register any EventSubscriber and have no type-safety:
<E extends Event> void registerSync(Class<E> eventKind, EventSubscriber subscriber);

This makes implementations of EventSubscriber interface used in EventRouter look like this:
eventRouter.registerSync(ContractNegotiationAgreed.class, new EventSubscriber() {
    @Override
    public <E extends Event> void on(EventEnvelope<E> event) {
        handleContractNegotiationAgreed((ContractNegotiationAgreed) event.getPayload());
    }
});

where you need to explicitly cast the event.
It makes sense to have EventSubscribers tied to a specific kind of event. If it needed to subscribe to any event, it could still be typed EventSubscriber<Event>.
Possible Implementation
Have the EventSubscriber generic like:
public interface EventSubscriber<E extends Event> {
    /**
     * Add custom logic for every event happened
     *
     * @param event the event happened
     */
    void on(EventEnvelope<E> event);
}

and change the signatures in EventRouter accordingly:
<E extends Event> void registerSync(Class<E> eventKind, EventSubscriber<E> subscriber);
<E extends Event> void register(Class<E> eventKind, EventSubscriber<E> subscriber);

EventSubscriber in fact has no control on the event passed, because it's up to the EventRouter to choose the events and pass them to the subscriber. Add the E as the subscriber generic type will force the EventRouter to have an explicit cast.
That is causing many compiler warnings, so, though maybe it's not that clean, but it's more correct from the language perspective.

The way this is solved currently, the explicit cast along with validation is pushed to and multiplied in the consumers, which will need to inspect the event, potentially causing runtime errors there. When an EventSubscriber is defined in one place and registered elsewhere, refactoring will compiletime-silently break things. It makes sense to solve this centrally in the EventRouter where the shortcoming of the language can be isolated (it is an implementation detail and can be reduced to one suppressed warning site) and where the responsibility fits. Moreover, it seems like very bad style to have the same EventSubscriber be able to react to any event, which are also likely to change. If this is necessary in some cases, it can still be achieved through the type hierarchy.


Black and white

I wanted to ask if this works on a black and white image or not?

You could convert the test from one of the datasets to B&W and measure the impact on performance


Clickonce deploy leptonica x64 dll not found

Locally the application works perfectly.
Once deployed with Clickonce, I have this trace:
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
 ---> System.DllNotFoundException: Failed to find library "leptonica-1.80.0.dll" for platform x64.
   at InteropDotNet.LibraryLoader.LoadLibrary(String fileName, String platformName)
   at InteropRuntimeImplementer.LeptonicaApiSignaturesInstance.LeptonicaApiSignaturesImplementation..ctor(LibraryLoader loader)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor, Boolean wrapExceptions)
   at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture)
   at System.Activator.CreateInstance(Type type, Object[] args)
   at InteropDotNet.InteropRuntimeImplementer.CreateInstance[T]()
   at Tesseract.Interop.LeptonicaApi.Initialize()
   at Tesseract.Interop.TessApi.Initialize()
   at Tesseract.Interop.TessApi.get_Native()
   at Tesseract.TesseractEngine..ctor(String datapath, String language, EngineMode engineMode, IEnumerable`1 configFiles, IDictionary`2 initialOptions, Boolean setOnlyNonDebugVariables)
   at Tesseract.TesseractEngine..ctor(String datapath, String language, EngineMode engineMode)

I have tried different location in the solution of the dlls, trying to add them as content of the build and referencing them directly in the project, but the same error occurs each time.
I'll take a look at the code but if someones had this issue before, any help is welcomed.

Looks like the x64 and x84 are well packed during the publish. But then on the clickonce logic, they are completely ignored (even checking that they are in Application Files).

And effectively in the Tesseract solution, the build action is well set to content for both x64 and x86 files.

You need to include the files you want to deploy with click once --> https://stackoverflow.com/questions/34387761/how-do-you-include-many-additional-files-with-clickonce-deployment

https://docs.microsoft.com/nl-nl/visualstudio/deployment/how-to-specify-which-files-are-published-by-clickonce?view=vs-2022&redirectedfrom=MSDN&viewFallbackFrom=vs-2015

@Sicos1977 thanks for the references, but I haved check and all of this is done as stated by microsoft.
Also, the files are well published and present in the Application Files!
But during Clickonce download, those files are not copied.
For now I have made a handmade download by the application to install the dlls and it works. But I would be very happy to understand why.

Looks to be more Clickonce stuff than Tesseract. To be investigated I'll keep updates is any.


Update battery_alert.yaml

Without the item. added to line 610's entity_id throws Error rendering template: UndefinedError: 'entity_id' is undefined and is unable to update Battery Status group.

Great catch.  Thanks!


The pretrained resume_ckpt in train_audio2mounth.py

Thanks!
Can I kindly ask for this pre-trained model? Or where can I find it?

Thanks!
Can I kindly ask for this pre-trained model? Or where can I find it?

It's actually the model which you get feature in https://github.com/tanshuai0219/EDTalk/issues/30#issuecomment-2342853054
I recommend you reading paper again and work out the multistage training strategy~

Thanks for the help. I will try to figure it out.


Optimizing monitor scan costs on Flex Licensing

Purpose of this pull request
Guidance on optimizing monitor scan costs on Flex Licensing
Select the type of change

[ ] Minor Changes - Typos, formatting, slight revisions
[x] Update Content - Revisions, updating sections
[ ] New Content - New features, sections, pages, tutorials
[ ] Site and Tools - .clabot, version updates, maintenance, dependencies, new packages for the site (Docusaurus, Gatsby, React, etc.)

Ticket (if applicable)
https://sumologic.atlassian.net/browse/DOCS-477

I added two comments

Thank you so much for the quick response! May I publish, @banant ?


Updated rabbitmq chart for RabbitMQ 3.13.6

Normally I'd wait until you release a new version. This time however only the amd64 image of RabbitMQ was pushed: https://hub.docker.com/layers/library/rabbitmq/3.13.5/images/sha256-c534306ad054bd05914bb218ee7b53cf8a5e6cb7d8d085ce5a349cff39982998?context=explore
3.13.6 doesn't have this issue and also pusses the arm64 image alongside all the usual support platforms: https://hub.docker.com/layers/library/rabbitmq/3.13.6/images/sha256-02768f2e915808a8d6167b5aed372e881930108cac0b4a585c47e08f740b4c5e?context=explore

Thank you @WyriHaximus

@groundhog2k Thank you for providing this chart :+1:


Decode 3D texture coordinates during upgrade

This is structurally similar to https://github.com/CesiumGS/3d-tiles-tools/pull/98 (where "structurally similar" means "largely copy and paste"), with a similar summary:

glTF 1.0 (in B3DM or I3DM) could contain 3D (!) texture coordinates stored as SHORT
in glTF 1.0, these had been decoded in the shader (that was part of glTF 1.0)
When upgrading glTF 1.0 to glTF 2.0 with gltf-pipeline, then the 3D texture coordinates are transferred to the glTF 2.0
This caused an invalid asset (e.g. with rendering errors in CesiumJS)

The exact encoding of the texture coordinates is not yet clear. It just seems to be "one (arbitrary) way" of not storing the VEC2/FLOAT (2 * 4 = 8 bytes), but instead, storing VEC3/SHORT (3 * 2 = 6 bytes).
In one of the relevant glTF files, the decoding in the shader was done like this:
const float uvMultiplier = 0.0000305185; // 1/32767
v_texcoord0 = a_texcoord0.xy * uvMultiplier * (a_texcoord0.z+32767.0);

This was for an accessor with VEC3/SHORT.
This PR implements the decoding of VEC3/SHORT (or VEC3/BYTE) texture coordinates into VEC2/FLOAT texture coordinates. From a quick test with one of these B3DM files that contain such glTF 1.0 data, the result can be rendered in CesiumJS.
But... there are some guesses and degrees of freedom.

Is the encoding always implemented like this?
Does this have a name (like "oct-encoded" for normals)?
Should this also cover the case of UNSIGNED_SHORT components?
...

Some of this still has to be sorted out and confirmed, so I'll just open this a a DRAFT for now.

(NOTE: The state in this PR currently tries to ignore missing BATCHID attributes in B3DM files. This should not be necessary. In the final state, this might be omitted. But there are reasons to assume that this is one quirk that may happen for ~"some old legacy data sets" - details TBD)

The fact that there could have been "arbitrary" forms of texture coordinate compression in glTF (with all this arbitrariness being compensated in a custom shader) makes it difficult to implement this generically, in a form that always works.
On the one hand, the specific form of compression that was used here appears to be used in multiple files, but it's probably not widespread and unambiguous enough to commit to one decoding method. On the other hand: When we find a glTF with 3D texture coordinates, and no clue about how they might be encoded, then trying to decode them (like in this PR) cannot "break" anything (because leaving them as a VEC3 will make the asset invalid in any case).
No strong opinion, though. Let's leave it as a 'draft' and see whether we encounter more such models, and notice a pattern...

Split up and cleaned up into
https://github.com/CesiumGS/3d-tiles-tools/pull/147
https://github.com/CesiumGS/3d-tiles-tools/pull/148


content-section-styling

Main page layout has been completed.Styling for code snippets and code examples sections next to be done. Each code snippet is already in INDEX.html with id, need to create css rules to show these code snippets in action

Created spinning square as animation example to show off timing-function in progress. Next step to add all different timing-functions values for all sub-section animations

All animation examples created and tested. Layout of page sections completed


fix problem:when redis is cluster,the limit redis script is not work …

when redis is cluster,the limit redis script is not work，in redis,All keys must be on one slot ,so,all the keys that the script uses should be passed using the KEYS array

@mp911de could you comment on this?

All keys must be on one slot

This is correct, that when using Redis Cluster, all keys must map to the same slot. Looking into RedisRateLimiter there is already code to address that issue.
I do not understand how the proposed changes are supposed to fix the issue as local variables are replaced with global ones.


Change video resolution settings (to VGA).

Is it possible to change video recording options, regarding the camera? It is recording by default in FULL HD, however I wanted to record in  VGA 640x480,

There is a quality setting you can pass int.
VideoQuality quality = VideoQuality.High;
                    switch (SizeVideoPicker.SelectedIndex)
                    {
                        case 0:
                            quality = VideoQuality.High;
                            break;
                        case 1:
                            quality = VideoQuality.Medium;
                            break;
                        case 2:
                            quality = VideoQuality.Low;
                            break;
                    }
                    var file = await CrossMedia.Current.TakeVideoAsync(new Plugin.Media.Abstractions.StoreVideoOptions
                    {
                        Name = "video.mp4",
                        Directory = "DefaultVideos",
                        SaveToAlbum = SaveToGalleryVideo.IsToggled,
                        DesiredLength = TimeSpan.FromSeconds(VideoLength.Value),
                        Quality = quality
                    });


POST /files 500 Internal Server Error

Hi
I tried to run https://github.com/Klowner/tussle/tree/main/examples/cloudflare-worker-r2 example but it didn't work
const res = await tussle.handleRequest(request, { context });
tussle.handleRequest() is not working now
Plz help me
[mf:err] POST /files: TypeError: You provided an invalid object where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.
    at Object.createInvalidObservableTypeError2 [as createInvalidObservableTypeError] (D:\licensly\node_modules\.pnpm\rxjs@7.8.0\node_modules\rxjs\src\internal\util\throwUnobservableError.ts:7:10)    at Object.innerFrom2 [as innerFrom] (D:\licensly\node_modules\.pnpm\rxjs@7.8.0\node_modules\rxjs\src\internal\observable\innerFrom.ts:41:9)
    at from2 (D:\licensly\node_modules\.pnpm\rxjs@7.8.0\node_modules\rxjs\src\internal\observable\from.ts:103:52)
    at TussleCloudflareWorker2.hook (D:\licensly\node_modules\.pnpm\@tussle+core@0.6.5\node_modules\@tussle\core\src\middleware.ts:16:14)
    at D:\licensly\node_modules\.pnpm\@tussle+core@0.6.5\node_modules\@tussle\core\src\handlers\create.ts:66:41
    at D:\licensly\node_modules\.pnpm\rxjs@7.8.0\node_modules\rxjs\src\internal\operators\switchMap.ts:109:21
    at OperatorSubscriber3._this._next (D:\licensly\node_modules\.pnpm\rxjs@7.8.0\node_modules\rxjs\src\internal\operators\OperatorSubscriber.ts:70:13)
    at OperatorSubscriber3.Subscriber4.next (D:\licensly\node_modules\.pnpm\rxjs@7.8.0\node_modules\rxjs\src\internal\Subscriber.ts:75:12)
    at D:\licensly\node_modules\.pnpm\rxjs@7.8.0\node_modules\rxjs\src\internal\operators\map.ts:58:20
    at OperatorSubscriber3._this._next<EMAIL_ADDRESS>/files 500 Internal Server Error (142.45ms)```

Can you please provide some information about your environment and the steps you took prior to encountering this error.

-edit the 'wrangler.toml'
-and run yarn install -> yarn build -> yarn dev

I imagine there are other things that happened, like trying to upload a file via a browser?
Are you using Windows? WSL?
You made no edits to the hooks in the worker.ts ?

I'm using windows and I'm trying to upload a file using chrome browser

Can you copy/paste the entirety of const getTussleMiddleware = (() => { ... starting on line 34 of src/worker.ts here?

const getTussleMiddleware = (() => {
let instance: TussleCloudflareWorker;
return (storage: any) => {
if (!instance) {
instance = new TussleCloudflareWorker({
hooks: {
"before-create": (_ctx: any, params: any) => {
let path: string;
switch (params.uploadConcat?.action) {
case "partial": // Creating a file to hold a segment of a parallel upload.
path = params.path + "/segments/" + nanoid();
break;
case "final": // Finishing a parallel upload (combines multiple 'partials' from above)
default:
path = params.path + "/" + nanoid();
break;
}
return {
...params,
path,
};
},
"after-complete": async (ctx: any, params: any) => {
const { location, offset } = params;
await cacheCompletedUploadResponse(
ctx.originalRequest,
location,
offset
);
return params;
},
},
core: {
storage,
},
});
}
return instance;
};
})();
async function handleRequest(
request: Request,
bindings: Bindings,
context: ExecutionContext
) {
if (request.method === "HEAD") {
console.log("looking for cache", request.url);
const cache = await caches.default.match(request.url);
console.log({ cache });
if (cache) {
return cache;
}
}
const storage = new TussleStorageR2({
stateService,
bucket: bindings.TUSSLE_BUCKET,
});
const tussle = getTussleMiddleware(storage);
const res = await tussle.handleRequest(request, { context });
console.log('1')
if (res) {
return res;
}
console.log('2')
const { pathname } = new URL(request.url);
console.log(3, pathname)
switch (request.method) {
case "GET":
{
const file = await storage.getFile(pathname);
if (file) {
return new Response(file.body);
}
}
break;
case "HEAD": {
const info = await firstValueFrom(
storage.getFileInfo({ location: pathname })
);
return new Response(JSON.stringify(info), {
headers: {
"Content-Type": "application/json",
},
});
}
}
return staticHandler(request);
}
const worker: ExportedHandler = {
fetch: handleRequest,
};
export default worker;

Looks like you've made a few changes that you did not previously mention.
So, going back to the first line of your original error:
[mf:err] POST /files: TypeError: You provided an invalid object where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.
The traceback mentions TussleCloudflareWorker2.hook so it's likely something hook related.
Your "before-create" hook appears to have had the async keyword removed from it. With async, that function returns a Promise (one of the accepted types as mentioned in the error message) but without async it returns an Object.
Please re-add async or change the function to return another Promise-like and try again.
Also remember you can run git diff and see what local changes you've made, it may be helpful for finding problems such as this one.

In before-create hook, there is no await
so I removed the async

Please re-add async or change the function to return another Promise-like and try again.

Yeah , It works, Thx
And I have other question
I want to implement this worker in nuxt middleware
Could you give me some suggestion?

I'm not sure I understand what the use case would be as nuxt middleware, is it not a frontend framework?

TNuxt procides server side rendering so I think it's possible to implement that

Sounds like a fun challenge, I would use https://github.com/Klowner/tussle/blob/main/packages/middleware-cloudflareworker/src/middleware.ts as a guide, it's the most recently maintained middleware.
Good luck :+1:

Thx
And Can i use the worker like this ?
worker.fetch(event.node.req, binding, event.context);


⚠ Bofrost.at has degraded performance

In dc897a2, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1221 ms

Resolved: Bofrost.at performance has improved in a51ce78.


[occm] add missing RBAC for serviceaccount token

What this PR does / why we need it:
New clientbuilder needs permission to create serviceaccount token
Which issue this PR fixes(if applicable):
fixes #1514
Special notes for reviewers:
none
Release note:
NONE

/ok-to-test

/lgtm

/lgtm
/approve

Any plans to backport this to 1.21 release?

Any plans to backport this to 1.21 release?

Feel free to propose PR directly on branch release-1.21


Fix  infinite loop in native histogram scraped as classic as well

Fixes: #12731
The fundamental problem is that the ProtobufParser.fieldPos field is used for two things:

keeping track of which classic histogram bucket we need to process next
keeping track of which exemplar we processed for a classic / native histogram

These are not compatible as soon as you want to process native histogram's classic buckets.
An alternate solution would be for the Exemplar function to return a slice, which is nicer, but introduces more memory allocations, so I'm not sure if we should do that @beorn7

I'm confused. The test cases in protobufparse_test.go cover this case, and they work fine. Why doesn't it work fine if tested from scrape_test.go?
I'll look further to understand it better.

I think the problem is different, I hope I can present a solution in a few minutes.

OK, done. @krajorama please review #12737 .
In short, the shared role of fieldPos wasn't a problem, but that the parsing of the conventional single exemplars on series did not return false after the first call. That wasn't tested in the "inner" test scenarios in protobufparse_test.go but it was covered by the "outer" test in scrape_test.go.
#12737 uses @krajorama's test to expose the bug but also refines the tests in protobufparse_test.go to also expose the bug.


Official UniFi Network Application 6.4.54

Official UniFi Network Application 6.4.54
Install command: fetch -o - https://git.io/JzWka | sh -s
install at your own risk, back up your DB first
PS: this was posted already but was tagged as Beta, if you installed the pull beta 6.4.54, it is the same

Upgrade from 6.4.53 to 6.4.54, successful
OPNsense 21.7.2_1-amd64
FreeBSD 12.1-RELEASE-p19-HBSD
OpenSSL 1.1.1k 25 Mar 2021
CPU type Intel(R) Core(TM) i3-7100U CPU @ 2.40GHz (4 cores)
Clean install 6.4.54, successful
OPNsense 21.7.2_1-amd64
FreeBSD 12.1-RELEASE-p19-HBSD
OpenSSL 1.1.1k 25 Mar 2021
CPU type Intel(R) Core(TM) i3-7100U CPU @ 2.40GHz (4 cores)

I tried to upgrade from: 6.2.25 to 6.4.54 and hit the database upgrade problem caused from going from mongodb36 to mongodb42 and needing mongofb40 to work first and change the compatibility, I believe based on #241
Is there a recommended upgrade path or series of manual steps that can be followed to successfully upgrade the database? I'm, not entirely sure how to get mongodb40, pkg install mongodb40 doesn't find a matching package.
PfSense: 2.4.5-RELEASE-p1

there was a link somewhere forgot on the removable and installation of mongodb4.
the easiest would be, to get the backup db, follow the full uninstallation guide(the 2 commands), then install using the new installation script and just restore the backup DB.
did you see the mesage "migrating DB..." when loading unifi network application?
if yes, let that run for a while. then retry accessing unifi forcibly via URL

the script we are using now uses the following
_#remove mongodb34 - discontinued
echo "Removing packages discontinued..."
if [ pkg info | grep -c mongodb- -eq 1 ]; then
pkg unlock -yq mongodb
env ASSUME_ALWAYS_YES=YES /usr/sbin/pkg delete mongodb
fi
if [ pkg info | grep -c mongodb34- -eq 1 ]; then
pkg unlock -yq mongodb34
env ASSUME_ALWAYS_YES=YES /usr/sbin/pkg delete mongodb34
fi
if [ pkg info | grep -c mongodb36- -eq 1 ]; then
pkg unlock -yq mongodb36
env ASSUME_ALWAYS_YES=YES /usr/sbin/pkg delete mongodb36
fi
echo " done."_
AddPkg mongodb42

I got the upgrading messgae, but checking the logs showed it was failing to upgrade as you can't go from 3.6 to 4.2, you need to go to 4.0 first.
** IMPORTANT: UPGRADE PROBLEM: Found an invalid featureCompatibilityVersion document (ERROR: BadValue: Invalid value for version, found 3.6, expected '4.2' or '4.0'. Contents of featureCompatibilityVersion document in admin.system.version: { _id: "featureCompatibilityVersion", version: "3.6" }. See https://docs.mongodb.com/manual/release-notes/4.2-compatibility/#feature-compatibility.). If the current featureCompatibilityVersion is below 4.0, see the documentation on upgrading at https://docs.mongodb.com/manual/release-notes/4.2/#upgrade-procedures.

I've just managed to upgrade to mongodb 4.2. following a slightly varied version of this: https://forums.gentoo.org/viewtopic-p-8535757.html?sid=b30b27b56d542e94801fad6041933a2e#8535757

Reverted back to UniFi 6.2.5
Removed mongodb36
Installed mongodb40
Stop Unifi service unifi.sh stop
ran mongod --noauth --dbpath /usr/local/UniFi/data/db
In another session ran the command mongo and entered the following configuration to upgrade 4.0

db.adminCommand( { getParameter: 1, featureCompatibilityVersion: 1 } )
db.adminCommand( { setFeatureCompatibilityVersion: "4.0" } )
db.adminCommand( { getParameter: 1, featureCompatibilityVersion: 1 } )
db.adminCommand({ "shutdown" : 1 })
exit

Upgraded to UniFi 6.4.54
I can't be 100% sure, but I think this didn't upgrade everything to 4.2 after 4.0 was installed.
Stop Unifi service unifi.sh stop
uninstalled mongodb40
installed mongodb42
ran mongod --noauth --dbpath /usr/local/UniFi/data/db
In another session ran the command mongo and entered the following configuration to upgrade to 4.2

db.adminCommand( { getParameter: 1, featureCompatibilityVersion: 1 } )
db.adminCommand( { setFeatureCompatibilityVersion: "4.2" } )
db.adminCommand( { getParameter: 1, featureCompatibilityVersion: 1 } )
db.adminCommand({ "shutdown" : 1 })
exit

start Unifi: service unifi.sh start


tiny_yolo_v2 Support on DepthAI and megaAI

For folks being able to find this externally (outside of Luxonis email!) putting this here from a megaAI customer:

I managed to run the examples, as well as the other provided NNs in the depthAI resources folder. I am interested to run Yolo V2 and V2 tiny, and have a few questions on these.

What is the maximum size network that the microAI can store? (I had some "not enough memory" when I tried to run the test.py with a yolo-v2-ava network that is ~100MB)
I think for the output of yolo-v2 and v2 tiny, it requires some further post processing, reshaping and NMS, so I was wondering whether I could do this post processing on the microAI? If so, please help to point me in the direction!

From @szabi-luxonis (59 minutes later  ;-) ):

I just ported tiny yolo v2 from NCAPPZOO https://github.com/movidius/ncappzoo/tree/master/networks/tiny_yolo_v2 into our codebase, you can check it out here:
https://github.com/luxonis/depthai/tree/yolov2-tiny-voc
Run with: ./depthai.py -cnn yolov2-tiny-voc

I also increased the max blob size to 150 mb on this branch, before it was 50mb. Making it configurable from the host side is currently under development.
Post processing can be done on microAI, although on this branch it is done in the depthai.py script. If necessary it can be implemented on device side, but it needs to be done by us, since we can't open source device side code because Intel doesn't want to.

This is now supported in main and further improved in develop (including XYZ location support for the object).


🐛 FIX: Replace the buggy shields bagde

Thanks for the awesome theme Sarah. I've also authored a purple VSCode theme. The shields badge for downloads which was working alright is now buggy. It was reporting fewer downloads than actual so I removed it.
I first thought it was only for my theme but apparently, it's reporting 20k fewer downloads for Night Owl as well. So, I figured you'd want to remove it.
I replaced it with the reviews badge.

Ah yeah I noticed that too but have been too slammed to fix yet- thank you Ahmad!

Yay!!! 🙌
You already do a lot for the web community. Glad I could help a fellow dev advocate.


📝 Add emojis to headers in CONTRIBUTING.md

Summary

add emojis to headers in CONTRIBUTING.md
Motivation

makes it a lot easier to find stuff with visual grepping
Test Plan

Check that links work ✅
Additional Notes

Download the template for this pull request:

[!NOTE]
This is auto generated from Add Template to Pull Request

via manual download<EMAIL_ADDRESS>via PROS Integrated Terminal:

curl -o<EMAIL_ADDRESS>https://nightly.link/LemLib/LemLib/actions/artifacts/1469002393.zip;
pros c fetch<EMAIL_ADDRESS>pros c apply<EMAIL_ADDRESS>rm<EMAIL_ADDRESS>

LGTM


Add manual GitHub workflow run

Description of changes:
Add workflow_dispatch event to allow manual triggering of the CI GitHub action, update documentation, and add images to improve the clarity of the documentation.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Thank you!


Is this project dead?

Hi,
I'm asking as I don't see activity on this repo for more than a year.
Also, I wanted to test this on a server running ubuntu 20.04, but when I ran pip3 install rabbit-alert it threw these errors:
ERROR: Could not find a version that satisfies the requirement rabbit-alert (from versions: none)
ERROR: No matching distribution found for rabbit-alert

Is it not supported for ubuntu 20.04 (python3) or am I missing something?

Hello @Emi94.
The project was lower in my priorities than it should be,
but I will catch up with everything that is pending soon.
I'll check your case too and come up with any possible solution as nothing pops into my head right now.

Hello again @Emi94.
Sorry, I didn't notice at first. The package name is rabbitmq-alert not rabbit-alert (check pypi at https://pypi.org/project/rabbitmq-alert/).
So, the command you should be using to install the package is the following:
pip3 install rabbitmq-alert

Thanks.


Installation fails on t/basic-auth.t

OS: Fedora 25 Workstation
$ uname -a
Linux fedorafarm25 4.10.6-200.fc25.x86_64 #1 SMP Mon Mar 27 14:06:23 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

$ perl6 -v
This is Rakudo version 2017.03-9-gfbe7ace built on MoarVM version 2017.03
implementing Perl 6.c.

Log:
$ zef install LWP::Simple
===> Searching for: LWP::Simple
===> Searching for missing dependencies: MIME::Base64, URI
===> Testing: MIME::Base64:ver('1.2'):auth('github:retupmoca')
t/basic.t ................. ok
t/binary-and-long-line.t .. ok
t/oneline.t ............... ok
t/rfc4648-test-vector.t ... ok
All tests successful.
Files=4, Tests=47,  1 wallclock secs
Result: PASS
===> Testing [OK] for MIME::Base64:ver('1.2'):auth('github:retupmoca')
===> Testing: URI:ver('0.1.3')
t/01.t ................... ok
t/escape.t ............... ok
t/november-urlencoded.t .. ok
t/require.t .............. ok
t/rfc-3986-examples.t .... ok
t/utf8-c8.t .............. ok
All tests successful.
Files=6, Tests=96,  2 wallclock secs
Result: PASS
===> Testing [OK] for URI:ver('0.1.3')
===> Testing: LWP::Simple:ver('0.090'):auth('Cosimo Streppone')
t/000-load-module.t ............. ok
t/basic-auth.t ..................1/9Failed to connect: connection timed out
  in method make_request at /home/unclechu/.zef/store/perl6-lwp-simple.git/349408cf06eac91b68d29bcf8349ead7a146c2a9/lib/LWP/Simple.pm (LWP::Simple) line 234
  in method request_shell at /home/unclechu/.zef/store/perl6-lwp-simple.git/349408cf06eac91b68d29bcf8349ead7a146c2a9/lib/LWP/Simple.pm (LWP::Simple) line 84
  in method get at /home/unclechu/.zef/store/perl6-lwp-simple.git/349408cf06eac91b68d29bcf8349ead7a146c2a9/lib/LWP/Simple.pm (LWP::Simple) line 31
  in block <unit> at t/basic-auth.t line 38

# Looks like you planned 9 tests, but ran 8
t/basic-auth.t .................. All 9 subtests passed
t/custom-headers-and-content.t .. ok
t/get-binary-camelia.t .......... ok
t/get-chunked-6guts.t ........... ok
t/get-perl6-org.t ............... ok
t/get-unsized.t ................. ok
t/get-w3-latin1-utf8.t .......... ok
t/get-w3-redirect.t ............. ok
t/getstore.t .................... ok
t/issue-7.t ..................... ok
t/parse-url.t ................... ok
t/socket-sanity.t ............... ok
t/stringify-headers.t ........... ok
All tests successful.

Test Summary Report
-------------------
t/basic-auth.t  (Wstat: 0 Tests: 8 Failed: 0)
  Parse errors: Bad plan.  You planned 9 tests but ran 8.
Files=14, Tests=56,  141 wallclock secs
Result: FAILED
===> Testing [FAIL]: LWP::Simple:ver('0.090'):auth('Cosimo Streppone')
Aborting due to test failure: LWP::Simple:ver('0.090'):auth('Cosimo Streppone') (use --force to override)
  in code  at /home/unclechu/.rakudobrew/moar-nom/install/share/perl6/site/sources/1AAFED94396461621D465B1BFA2B65369F70BF3B (Zef::Client) line 346
  in method test at /home/unclechu/.rakudobrew/moar-nom/install/share/perl6/site/sources/1AAFED94396461621D465B1BFA2B65369F70BF3B (Zef::Client) line 325
  in code  at /home/unclechu/.rakudobrew/moar-nom/install/share/perl6/site/sources/1AAFED94396461621D465B1BFA2B65369F70BF3B (Zef::Client) line 497
  in sub  at /home/unclechu/.rakudobrew/moar-nom/install/share/perl6/site/sources/1AAFED94396461621D465B1BFA2B65369F70BF3B (Zef::Client) line 494
  in method install at /home/unclechu/.rakudobrew/moar-nom/install/share/perl6/site/sources/1AAFED94396461621D465B1BFA2B65369F70BF3B (Zef::Client) line 600
  in sub MAIN at /home/unclechu/.rakudobrew/moar-nom/install/share/perl6/site/sources/9180EF47B497110C10D59FA87F50125A33153714 (Zef::CLI) line 123
  in block <unit> at /home/unclechu/.rakudobrew/moar-nom/install/share/perl6/site/resources/86B387998631615C7ACB7491EA5E11CA56B19070 line 1

The test succeeds for me.
The output shows connection timed out. Are you sure you're not behind any restrictive proxy/firewall? When you access<EMAIL_ADDRESS>, does it say in htpasswd protected zone or does it time out?

@zoffixznet As I know I'm not, just usual NAT. I can't open this page using my browser nor using tor-browser (through tor proxy) nor using curl, I can't even reach <IP_ADDRESS> IP that software.path.com domain pointing at.
$ curl<EMAIL_ADDRESS>curl: (7) Failed to connect to www.software-path.com port 443: Connection timed out

$ ping <IP_ADDRESS> -w 15
PING <IP_ADDRESS> (<IP_ADDRESS>) 56(84) bytes of data.

--- <IP_ADDRESS> ping statistics ---
15 packets transmitted, 0 received, 100% packet loss, time 14354ms

Hello. Actually I have a similar problem. I use a Mac with 2017.07 Rakudo.
$ zef install LWP::Simple
===> Searching for: LWP::Simple
===> Searching for missing dependencies: JSON::Tiny
===> Testing: JSON::Tiny
===> Testing [OK] for JSON::Tiny
===> Testing: LWP::Simple:ver('0.094'):auth('Cosimo Streppone')
Could not receive data from socket: Connection reset by peer
  in method make_request at /Users/atroxaper/.zef/store/perl6-lwp-simple.git/bae9ddcae9e2315d4776be38e32488f7a78fda90/lib/LWP/Simple.pm (LWP::Simple) line 251
  in method request_shell at /Users/atroxaper/.zef/store/perl6-lwp-simple.git/bae9ddcae9e2315d4776be38e32488f7a78fda90/lib/LWP/Simple.pm (LWP::Simple) line 84
  in method post at /Users/atroxaper/.zef/store/perl6-lwp-simple.git/bae9ddcae9e2315d4776be38e32488f7a78fda90/lib/LWP/Simple.pm (LWP::Simple) line 39
  in block <unit> at t/custom-headers-and-content.t line 17

===> Testing [FAIL]: LWP::Simple:ver('0.094'):auth('Cosimo Streppone')
Aborting due to test failure: LWP::Simple:ver('0.094'):auth('Cosimo Streppone') (use --force-test to override)
  in code  at /Users/atroxaper/.rakudobrew/moar-2017.07/install/share/perl6/site/sources/1C5B2A3EA861108A89345CD9B974CE9BF1FEE32F (Zef::Client) line 375
  in method test at /Users/atroxaper/.rakudobrew/moar-2017.07/install/share/perl6/site/sources/1C5B2A3EA861108A89345CD9B974CE9BF1FEE32F (Zef::Client) line 353
  in code  at /Users/atroxaper/.rakudobrew/moar-2017.07/install/share/perl6/site/sources/1C5B2A3EA861108A89345CD9B974CE9BF1FEE32F (Zef::Client) line 530
  in sub  at /Users/atroxaper/.rakudobrew/moar-2017.07/install/share/perl6/site/sources/1C5B2A3EA861108A89345CD9B974CE9BF1FEE32F (Zef::Client) line 527
  in method install at /Users/atroxaper/.rakudobrew/moar-2017.07/install/share/perl6/site/sources/1C5B2A3EA861108A89345CD9B974CE9BF1FEE32F (Zef::Client) line 633
  in sub MAIN at /Users/atroxaper/.rakudobrew/moar-2017.07/install/share/perl6/site/sources/8CF719A0E6E0BBDC883C69273F5806F53CE89B08 (Zef::CLI) line 152
  in block <unit> at /Users/atroxaper/.rakudobrew/moar-2017.07/install/share/perl6/site/resources/9F7A8B63F1D79866260D0A0CD3594BA28A8D75BA line 1
  in sub MAIN at /Users/atroxaper/.rakudobrew/bin/../moar-2017.07/install/share/perl6/site/bin/zef line 2
  in block <unit> at /Users/atroxaper/.rakudobrew/bin/../moar-2017.07/install/share/perl6/site/bin/zef line 2

is there still a problem here? Can you please check? Could this be related to #20 ?

@JJ I just tried and it successfully installed on Fedora 28 Workstation:
λ zef install LWP::Simple
===> Searching for: LWP::Simple
===> Updated cpan mirror: https://raw.githubusercontent.com/ugexe/Perl6-ecosystems/master/cpan.json
===> Updated p6c mirror: http://ecosystem-api.p6c.org/projects.json
===> Searching for missing dependencies: MIME::Base64, URI, JSON::Tiny
===> Testing: MIME::Base64:ver<1.2.1>:auth<github:retupmoca>
===> Testing [OK] for MIME::Base64:ver<1.2.1>:auth<github:retupmoca>
===> Testing: URI:ver<.0.1.4>
===> Testing [OK] for URI:ver<.0.1.4>
===> Testing: JSON::Tiny:ver<1.0>
===> Testing [OK] for JSON::Tiny:ver<1.0>
===> Testing: LWP::Simple:ver<0.106>:auth<github:perl6>
===> Testing [OK] for LWP::Simple:ver<0.106>:auth<github:perl6>
===> Installing: MIME::Base64:ver<1.2.1>:auth<github:retupmoca>
===> Installing: URI:ver<.0.1.4>
===> Installing: JSON::Tiny:ver<1.0>
===> Installing: LWP::Simple:ver<0.106>:auth<github:perl6>

2 bin/ scripts [lwp-download.p6 lwp-get.p6] installed to:
$HOME/.perl6/bin

Where $HOME is.. well, home directory, you know (I just replaced it by my bare hands).
λ dnf info rakudo
Last metadata expiration check: 13 days, 0:14:27 ago on Thu 15 Nov 2018 12:52:06 AM MSK.
Installed Packages
Name         : rakudo
Version      : 0.2018.04
Release      : 1.fc28
Arch         : x86_64
Size         : 23 M
Source       : rakudo-0.2018.04-1.fc28.src.rpm
Repo         : @System
From repo    : updates
Summary      : Perl 6 compiler implementation that runs on MoarVM
URL          : http://rakudo.org/
License      : Artistic 2.0
Description  : Rakudo Perl 6, or just Rakudo, is an implementation of the
             : Perl 6 language specification. More information about Perl 6 is available
             : from <http://perl6.org/>. This package provides a Perl 6 compiler built for
             : MoarVM virtual machine.

λ perl6 --version
This is Rakudo version 2018.04 built on MoarVM version 2018.04.1
implementing Perl 6.c.

I think the issue can be closed.


Adding first processor archetype

How to test:
mvn clean install to build the archetype, for creating a project, run something like:
mvn archetype:generate \
    -DarchetypeGroupId=io.streamzi.archetypes \
    -DarchetypeArtifactId=streamzi-logger-archetype \
    -DarchetypeVersion=0.0.1-SNAPSHOT \
    -DgroupId=com.mycorp \
    -DartifactId=my-app \
    -DdhOrg=matzew \
    -Dversion=1.0-SNAPSHOT

that should give you a project that directly builds a FAT JAR, w/ an image (not pushed to dh, though)

Aside from the comments, I did test and it works well though! :)


Make benchmarks more comparable

Closes #956, I'll adapt the parallelism chapter in the guide in another pull request.

Good refactoring :+1:
I'm now investigating the way to enable debug=True only when testing. Please wai for a bit...

I'm now investigating the way to enable debug=True only when testing.

I could not find the solution. So how about specifying debug=False in setup.py?

Closing in favor of #959


Feature/add glue get job

Adding boto3 get_job functionality (first time contributor so please go easy on me)

Codecov Report

Merging #4948 (d2d1a40) into master (29d01c3) will increase coverage by 0.05%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master    #4948      +/-   ##
==========================================
+ Coverage   95.54%   95.59%   +0.05%
==========================================
  Files         618      619       +1
  Lines       65477    65267     -210
==========================================
- Hits        62558    62392     -166
+ Misses       2919     2875      -44

Flag
Coverage Δ

servertests
36.14% <28.57%> (+0.04%)
:arrow_up:

unittests
95.53% <100.00%> (+0.05%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

moto/glue/exceptions.py
100.00% <100.00%> (ø)

moto/glue/models.py
95.79% <100.00%> (+0.12%)
:arrow_up:

moto/glue/responses.py
98.72% <100.00%> (+0.02%)
:arrow_up:

moto/eks/exceptions.py
95.45% <0.00%> (-4.55%)
:arrow_down:

moto/acm/responses.py
79.20% <0.00%> (-4.14%)
:arrow_down:

moto/route53/responses.py
96.69% <0.00%> (-0.90%)
:arrow_down:

moto/resourcegroupstaggingapi/models.py
83.66% <0.00%> (-0.58%)
:arrow_down:

moto/sns/models.py
96.83% <0.00%> (-0.40%)
:arrow_down:

moto/elbv2/responses.py
93.93% <0.00%> (-0.34%)
:arrow_down:

moto/apigateway/responses.py
94.80% <0.00%> (-0.32%)
:arrow_down:

... and 121 more

Continue to review full report at Codecov.

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


sqlalchemy error 'server closed the connection unexpectedly' while running network creation code

While processing a new test example for Melbourne, I experienced this apparent server timeout related error while running the _03_create_network_resources.py subprocess:
Traceback (most recent call last):
  File "/env/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 1900, in _execute_context
    self.dialect.do_execute(
  File "/env/lib/python3.10/site-packages/sqlalchemy/engine/default.py", line 736, in do_execute
    cursor.execute(statement, parameters)
psycopg2.OperationalError: server closed the connection unexpectedly
	This probably means the server terminated abnormally
	before or while processing the request.

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/ghsci/work/process/subprocesses/_03_create_network_resources.py", line 256, in <module>
    main()
  File "/home/ghsci/work/process/subprocesses/_03_create_network_resources.py", line 145, in main
    db_contents.has_table('nodes') and db_contents.has_table('edges')
  File "/env/lib/python3.10/site-packages/sqlalchemy/engine/reflection.py", line 283, in has_table
    return self.dialect.has_table(conn, table_name, schema)
  File "/env/lib/python3.10/site-packages/sqlalchemy/dialects/postgresql/base.py", line 3596, in has_table
    cursor = connection.execute(
  File "/env/lib/python3.10/site-packages/sqlalchemy/future/engine.py", line 280, in execute
    return self._execute_20(
  File "/env/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 1705, in _execute_20
    return meth(self, args_10style, kwargs_10style, execution_options)
  File "/env/lib/python3.10/site-packages/sqlalchemy/sql/elements.py", line 334, in _execute_on_connection
    return connection._execute_clauseelement(
  File "/env/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 1572, in _execute_clauseelement
    ret = self._execute_context(
  File "/env/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 1943, in _execute_context
    self._handle_dbapi_exception(
  File "/env/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 2124, in _handle_dbapi_exception
    util.raise_(
  File "/env/lib/python3.10/site-packages/sqlalchemy/util/compat.py", line 211, in raise_
    raise exception
  File "/env/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 1900, in _execute_context
    self.dialect.do_execute(
  File "/env/lib/python3.10/site-packages/sqlalchemy/engine/default.py", line 736, in do_execute
    cursor.execute(statement, parameters)
sqlalchemy.exc.OperationalError: (psycopg2.OperationalError) server closed the connection unexpectedly
	This probably means the server terminated abnormally
	before or while processing the request.

[SQL: select relname from pg_class c join pg_namespace n on n.oid=c.relnamespace where pg_catalog.pg_table_is_visible(c.oid) and relname=%(name)s]
[parameters: {'name': 'nodes'}]
(Background on this error at: https://sqlalche.me/e/14/e3q8)

The last message before the error was the following:
2023-03-13 17:34:29 Saved graph as GraphML file at "/home/ghsci/work/process/data/_study_region_outputs/melbourne_au_2023_au_2020/melbourne_au_2023_au_2020_1600m_pedestrian_osm_20230307.graphml"
Done.

This indicates that the error was occurring around here:
https://github.com/global-healthy-liveable-cities/global-indicators/blob/7c7b974b2c0b47dba20646c3d9c0e77a5b0b0b93/process/subprocesses/_03_create_network_resources.py#L144-L146
The db_contents variable is defined much earlier in the code and contains the results of running the inspect() function.  Perhaps this timesout if not accessed for some time? (e.g. Melbourne network is larger than some cities, so may take longer).   I didn't think that was the case however (I thought it was an in-memory object, not accessing the sql database itself).
It seems when the code is re-run following this it proceeds successfully.
Perhaps inspect should be used directly, rather than attempt to save it in a variable
Anyway - not exactly sure what is causing this issue that doesn't seem to appear for smaller cities, but has appeared for me in a couple of Melbourne tests now (so far dealt with by re-running, which uses the saved results and presumably avoids the timeout; but we should sort out underlying issue)

Using the additional connection parameters described in this StackOverflow post appears to resolve this issue, avoiding the timeout:
create_engine(
        connection_string,
        pool_pre_ping=True,
        connect_args={
            "keepalives": 1,
            "keepalives_idle": 30,
            "keepalives_interval": 10,
            "keepalives_count": 5,
        }
    )

I've re-run this with Melbourne where this timeout was observed, and the place where a timeout reliably seemed to occur for that city no longer times out

This was addressed in #218


Libpitt/224 upgrade

Change log:

Update to latest version of next js

@yuanzhou This is working locally with the SenNet configurations


[slack-notifier] Ping on failures & Add success messages

What does this PR do?
Pings commit author on failure during a merge to master.
Adds success messages.
Motivation
Make all teams more involved in the process of keeping the pipeline healthy.

@KSerrania this seems like a good idea.. should we update and land it?


Prepare release 1.0.0

Merge of all changes from develop into master for the 1.0.0 release.

We'll need to merge https://github.com/wultra/powerauth-webflow-customization/pull/155 before merging this pull request.

We'll need to merge https://github.com/wultra/powerauth-webflow-customization/pull/155 before merging this pull request.


lots of grep stray \ before / warnings.

$> sphp 8.0
Switching your shell
Unlinking<EMAIL_ADDRESS>0 symlinks removed.
Unlinking<EMAIL_ADDRESS>25 symlinks removed.
Unlinking<EMAIL_ADDRESS>0 symlinks removed.
Unlinking /opt/homebrew/Cellar/php/8.2.3... 0 symlinks removed.
Linking<EMAIL_ADDRESS>25 symlinks created.

If you need to have this software first in your PATH instead consider running:
  echo 'export PATH="/opt/homebrew/opt/php@8.0/bin:$PATH"' >> ~/.zshrc
  echo 'export PATH="/opt/homebrew/opt/php@8.0/sbin:$PATH"' >> ~/.zshrc
Switching your apache conf
grep: warning: stray \ before /
grep: warning: stray \ before /
grep: warning: stray \ before /
grep: warning: stray \ before /
grep: warning: stray \ before /
grep: warning: stray \ before /
grep: warning: stray \ before /
grep: warning: stray \ before /
grep: /opt/homebrew/etc/httpd/httpd.conf: No such file or directory
sed: /opt/homebrew/etc/httpd/httpd.conf: No such file or directory
grep: warning: stray \ before /
grep: warning: stray \ before /
grep: warning: stray \ before /
grep: warning: stray \ before /
grep: warning: stray \ before /
grep: warning: stray \ before /
grep: warning: stray \ before /
grep: warning: stray \ before /
grep: /opt/homebrew/etc/httpd/httpd.conf: No such file or directory
sed: /opt/homebrew/etc/httpd/httpd.conf: No such file or directory
grep: warning: stray \ before /
grep: warning: stray \ before /
grep: warning: stray \ before /
grep: warning: stray \ before /
grep: warning: stray \ before /
grep: warning: stray \ before /
grep: warning: stray \ before /
grep: warning: stray \ before /
grep: /opt/homebrew/etc/httpd/httpd.conf: No such file or directory
sed: /opt/homebrew/etc/httpd/httpd.conf: No such file or directory
grep: warning: stray \ before /
grep: warning: stray \ before /
grep: warning: stray \ before /
grep: warning: stray \ before /
grep: warning: stray \ before /
grep: warning: stray \ before /
grep: warning: stray \ before /
grep: warning: stray \ before /
grep: /opt/homebrew/etc/httpd/httpd.conf: No such file or directory
sed: /opt/homebrew/etc/httpd/httpd.conf: No such file or directory
sed: /opt/homebrew/etc/httpd/httpd.conf: No such file or directory
Restarting apache
Warning: Service `httpd` is not started.
Error: Formula `httpd` is not installed.

PHP 8.0.28 (cli) (built: Feb 14 2023 15:42:52) ( NTS )
Copyright (c) The PHP Group
Zend Engine v4.0.28, Copyright (c) Zend Technologies
    with Xdebug v3.2.0, Copyright (c) 2002-2022, by Derick Rethans
    with Zend OPcache v8.0.28, Copyright (c), by Zend Technologies

All done!

Maybe because of usage of GNU grep.
 $> grep --version
grep --version
grep (GNU grep) 3.8
Packaged by Homebrew
Copyright (C) 2022 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Mike Haertel and others; see
<https://git.sv.gnu.org/cgit/grep.git/tree/AUTHORS>.

I am not using httpd/apache... so it's safe to ignore the notices above, but probably worth checking to see if apache/httpd file exists before trying the action.

I initially reported this issue in the discussion under the original Gist, which actually led to creation of this repo since Gist does not allow Pull Requests. Unfortunately I never got around to actually submitting one :wink:...
Anyway I'm reproducing @jpickwell's post here, as it contains useful suggestions to fix this issue.

@dregad, in addition to that change, I would remove the unnecessary escapes in the variable values altogether, and then do localized replacements for the sed calls by using something like ${apache_php_mod_path//\//\\\/} (the general form is ${VAR//PATTERN/REPLACE}).
Using the full path for every non-built-in command creates predictability in the script and reduces inconsistencies between user machines.
To help with consistency and to reduce maintenance, small wrapper functions can be written inside the script for each non-built-in. For example:
grep() {
  /usr/bin/grep "$@"
}

Then grep can be used without a path or backslash prefix in the rest of the script.
I would also run the script through ShellCheck and shfmt.

[1]: (https://gist.github.com/rhukster/f4c04f1bf59e0b74e335ee5d186a98e2?permalink_comment_id=4421866#gistcomment-4421866
[2]: https://gist.github.com/rhukster/f4c04f1bf59e0b74e335ee5d186a98e2?permalink_comment_id=4422365#gistcomment-4422365


help: Insert mode causes code block to dissappear. Setting conceallevel to 0 on Insert?

Neovim version (nvim -v)
0.10.1
Neovim distribution
LazyVim
Description
Hello!
I swapped to LazyVim recently and installed the LazyExtras markdown plugin which comes with render-markdown. It's awesome but I am running into a situation where the start and end of code blocks disappear when entering insert mode.
Here is normal mode with cursor in code block

Here is insert mode with cursor in code block. Note the mermaid code block start and end went away.

Is there a way to change the behavior so render-markdown works normally in normal mode but sets the conceallevel back to 0 in insert mode? It's a little disorienting to not see the start and end of the code block when editing.

Oh, I don't know if it matters but here's some verbose logs on the conceal levels
This is with render-markdown enabled

This is with render-markdown disabled. I would have thought it'd drop to 0 after disabling but it's sticking at 2

Hi there. This behavior is configurable through the window options config: https://github.com/MeanderingProgrammer/render-markdown.nvim/wiki#window-options.
The default value for conceallevel is:
{
    win_options = {
        conceallevel = {
            default = vim.api.nvim_get_option_value('conceallevel', {}),
            rendered = 3,
        },
    },
}

Which means it attempts to set back the conceallevel to whatever you have configured when the plugin is initially loaded.
Presumably this means you set the conceallevel to 2 in your config or you use the LazyVim default of 2: https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/config/options.lua#L67.
One way to fix this is to set it to 0 in your config and then you don't need to do anything with this plugin. This should also be the behavior I would expect if you disabled my plugin entirely, but it could depend on how you're changing this value.
An alternative is to set the default conceallevel to 0 in this plugin which would look like:
{
    'MeanderingProgrammer/render-markdown.nvim',
    opts = {
        win_options = { conceallevel = { default = 0 } },
    },
}

Oh snap, thank you for the quick response!
That was it! Sorry about that, I completely whiffed the win_options settings.

I've taken your suggestion to set the default conceallevel to 0 for render-markdown temporarily while I goof around with the LazyVim conceallevel to see what goofs if I set it to 0.
Thank you! Loving the plugin <3

No worries, there's a lot of options and they're not the easiest to parse. Glad you're enjoying the plugin :)