Paper mc 1.18

Describe the problem
Seems something is off with the easy way to do this. I'll just do it  the hard way thought someone should know.
Container definition
Paste run command or compose file here

docker run -d -e TYPE=PAPER -e MEMORY=4G -e EULA=TRUE -e VERSION=1.18 -p #####:25565 --name tab2 itzg/minecraft-server
Container logs
Paste logs here
```Exception in thread "main" io.papermc.fourohfour.FourOhFour:

############################################################################################
#                                                                                #
#                                        Hey there!                                        #
#                                                                                #
#------------------------------------------------------------------------------------------#
#                                                                                #
#   The endpoint you downloaded this application from is no longer in service. In order    #
#     to continue using this application, please view our API documentation for details    #
#     on how to access downloads: https://papermc.io/api/docs/                             #
#                                                                                #
############################################################################################

2021/12/02 01:03:04 Done

Strange, it worked fine for me:
> docker run -it --rm -e EULA=TRUE -e TYPE=PAPER itzg/minecraft-server
[init] Running as uid=1000 gid=1000 with /data as 'drwxrwxr-x 2 1000 1000 4096 Nov 17 00:56 /data'
[init] Resolved version given LATEST into 1.18
[init] Resolving type given PAPER
[init] Removing old PaperMC versions ...
[init] Downloading PaperMC 1.18 (build 21) ...
[init] Creating server.properties in /data/server.properties
[init] Disabling whitelist
[init] Setting whitelist to 'false' in /data/server.properties
[init] Setting white-list to 'false' in /data/server.properties
[init] Setting enable-rcon to 'true' in /data/server.properties
[init] Setting rcon.password to 'minecraft' in /data/server.properties
[init] Setting rcon.port to '25575' in /data/server.properties
[init] Setting motd to 'A Paper Minecraft Server powered by Docker' in /data/server.properties
[init] Checking for JSON files.
[init] Setting initial memory to 1G and max to 1G
[init] Starting the Minecraft server...

Can you add -e DEBUG=true and provide the full container logs with that?

I too am experiencing this issue.

Here are my logs:
2020-12-11-1.log.gz

Here are my logs:
itzg-minecraft-server1.csv

My issue was that I was running an old image. Updating the image fixed this.

@MasterW00 make sure to pull the latest image.

Hey, reopening this issue because I have the same problem, except it's a fresh setup with Paper 1.16.5
I have put TYPE=PAPER, started the server, let it download Paper 1.16.5, and there was the exact same error message as OP.
Manually downloading the jar file definitely works, but the automatic download doesn't, even on a fresh install.


naming-convention error for React Functional Components

Hi!
I just upgraded to v8.0.0 and I have problems with  @typescript-eslint/naming-convention and React Functional Components.
Say I have something like this:
const MyComponent = (props: Props) => {...}

However that results in:
Variable name MyComponent must match one of the following formats: camelCase, UPPER_CASE        @typescript-eslint/naming-convention

Is this a bug or a feature? :)

:tada: This issue has been resolved in version 8.0.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

Thanks for the quick turnaround!
I noticed two other issues after upgrading:

"UNSAFE_componentWillReceiveProps" is marked as error
It is not allowed to use _ as an "ignored" parameter in a function callback, like for instance

 something.then((_, err) => {...})

:tada: This issue has been resolved in version 8.0.2 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

Sorry about that @hankolsen - still adjusting to this new rule provided by @typescript-eslint
Let me know if you find anything else 🙏

Thank you @iamturns !


Markdown lists containing fenced code blocks with language hints breaks formatting

VSCode Version: Code - Insiders 1.3.0-insider (716f76458e4dc93e865b6a999e437ed45774744e, 2016-07-01T05:29:26.347Z)
OS Version: Linux x64 4.4.0-28-generic

In this image, * bar should be the same style as * foo since the code block ended 2 lines ago.

I first saw this happening in our release notes:

The specific problem seems to be the spaces before the end fence code blocks.

Spaces are valid here as long as they do not turn the fenced code block into an indented code block.

By the way, in my example the spaces make it part of the preceeding list item. Non-empty lines after a - or * list item that have 2+ spaces are part of that list item.


dvyukov machine info

pkg/host: move machine info functionality from syz-fuzzer
syz-manager: cosmetic refactoring

This seems to cause test build failures on !Linux: https://syzkaller.appspot.com/text?tag=CrashLog&x=1232d465900000

This seems to cause test build failures on !Linux: https://syzkaller.appspot.com/text?tag=CrashLog&x=1232d465900000

Mailed #2113, thanks for reporting.


Fix vcs_pageview_mode

Fixes https://github.com/readthedocs/sphinx_rtd_theme/issues/701

@Blendify the value is defined as empty so it doesn't work with default


Artboard Symbols being removed

create an artboard and select it and create a “Artboard Symbol” ...
This creates the symbol but still keeps the artboard where it was but its name becomes purple so that it marks - it's a symbol kind of. Changes on this purple artboard will apply to the instances directly.
anyway, when I now select “remove unused” it will remove those artboards for some reason - that's not so cool because they are for sure “used” if they are lying on my stage.
please can you fix this?
many thanks

Are you sure it's removing them, and not just moving them to the Symbols page?

hey … thanks for looking into … here some screenshots …
created the symbol of the artboard … THIS does NOT create atomatically a symbols page … no idea why - sketch bug?
… now I have the artboard symbol which I can modify here directly and in addition the instances (not editable on stage)
… then I wondered why I still don’t have a Symbols Page … hm … and created one symbol of the circle
after the plugin and “remuve unsused”
it really finally moves the artboard symbol also to the symbols …
… but at the same time it removes the original Artboard on the Stage .. that is the weird component of it

Am 04.01.2017 um 21:33 schrieb Jason Burns<EMAIL_ADDRESS>Are you sure it's removing them, and not just moving them to the Symbols page?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/sonburn/symbol-organizer/issues/5#issuecomment-270478813, or mute the thread https://github.com/notifications/unsubscribe-auth/ATzp9khnrRzufv2XQ27PlkKO4ixQSsU4ks5rPAIKgaJpZM4LaoEn.

Unfortunately the screenshots didn't appear in your response, but what you described is what I experienced so I think I understand it. I believe the unexpected action here is the movement of any symbols that don't reside on the symbols page, to the symbols page. I actually never tested that until exploring your issue, and upon reflection, it seems like a nice feature, however I think maybe it should be exposed as an option in the plugin... something like a checkbox with a label "Gather symbols from other pages". What do you think, that would solve your issue?

Can you give this version a shot?
Symbol Organizer.zip

In my testing I have discovered a bug in the layer list ordering. Symbols that are gathered from other pages aren't considered as part of the layer list alphabetizing the first time you run the plugin. Subsequent times they will be alphabetized properly, as they now reside on the symbols page. Once I squash this bug, it should be good to go as far as I can tell.

now it’s cool! It keeps the “Symbol-Artboard”-artboards where they were - great! thanks

Am 05.01.2017 um 23:06 schrieb Jason Burns<EMAIL_ADDRESS>I have squashed the bug and I believe this is shippable. I have gone ahead and checked in this feature, along with a few other enhancements. Thanks for the continued support!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/sonburn/symbol-organizer/issues/5#issuecomment-270771331, or mute the thread https://github.com/notifications/unsubscribe-auth/ATzp9mqKG7-BtKCNf8ZMLjzUB4P3mdI5ks5rPWlIgaJpZM4LaoEn.

Fantastic! Will close this issue.


refactor(docs): split up documentation into multiple files

Summary
This PR splits up the documentation into multiple files.
Fixes #392
Most pages now load in < 1s, instead of previous 20s.
Some info
Before The Split Up Thing
Clean build time (cd docs && time make html)
Executed in  190.83 secs    fish           external
   usr time  181.12 secs    0.00 millis  181.12 secs
   sys time    3.57 secs    3.86 millis    3.56 secs

After The Split Up Thing
Clean build time (cd docs && time make html)
Executed in  235.23 secs    fish           external
   usr time  219.04 secs    2.69 millis  219.04 secs
   sys time    4.56 secs    3.08 millis    4.55 secs

Largest files and their size
Before The Split Up Thing (find . -type f -printf '%s %p\n'|sort -nr|head -n 3)
5114195 ./api.html
1810495 ./ext/commands/api.html
540978 ./whats_new.html

After The Split Up Thing (find . -type f -printf '%s %p\n'|sort -nr|head -n 10)
999209 ./api/channels.html
811327 ./ext/commands/api/bots.html
561931 ./api/guild.html
548798 ./whats_new.html
490001 ./api/interactions.html
489654 ./genindex.html
469703 ./api/client.html
421717 ./api/message.html
349864 ./_static/api_redirect.js
307113 ./api/audit_log.html

Checklist

[ ] If code changes were made, then they have been tested

[ ] I have updated the documentation to reflect the changes
[ ] I have formatted the code properly by running task lint
[ ] I have type-checked the code by running task pyright

[x] This PR fixes an issue
[ ] This PR adds something new (e.g. new method or parameters)
[ ] This PR is a breaking change (e.g. methods or parameters removed/renamed)
[x] This PR is not a code change (e.g. documentation, README, ...)

@ItsAleph would you please resolve conflicts?

I think I've sorted the Discord Models and dataclasses to be seperated into their categories in each section.
Not sure where VoiceState should be documented, or VoiceRegion.
RawGuildMemberRemoveEvent should probably be documented in guilds.rst.
Attachment can also be received in interactions.
Not sure how exactly to determine which of these can be in misc.rst.

@Victorsitou

In Enumerations, should we do:

.. attribute:: one

   Attribute one
.. attribute:: two

   Attribute two

or
.. attribute:: one

   Attribute one

.. attribute:: two

   Attribute two

Since this doesn't affect the output, it's mostly personal choice - i'd go with the second one. Either way, this isn't worth updating manually, so unless we introduce an .rst formatter, we should leave it as is.

In events that have on_x_create/update/delete, I suggest using that order, that is:

:func:on_x_create(...) <disnake.on_x_create>

:func:on_x_update(...) <disnake.on_x_update>

:func:on_x_delete(...) <disnake.on_x_delete>

Updated in https://github.com/DisnakeDev/disnake/pull/722/commits/627c03801196d844872c879cd3c9803b6c70ec12.
Some create/delete events are documented as one item, in which case it's not possible to add the update event inbetween them:
https://github.com/DisnakeDev/disnake/blob/48c99b7522cb6b43107ffea8b1b4b0551f9ef34f/docs/api/events.rst?plain=1#L764-L765

@onerandomusername re: https://github.com/DisnakeDev/disnake/pull/722#issuecomment-1284317396

Not sure where VoiceState should be documented, or VoiceRegion.

Old comment, but I've moved VoiceState to voice.rst in https://github.com/DisnakeDev/disnake/pull/722/commits/48c99b7522cb6b43107ffea8b1b4b0551f9ef34f.

RawGuildMemberRemoveEvent should probably be documented in guilds.rst.

Keeping RawGuildMemberRemoveEvent in members.rst seems fine, since that also links to member events.
RawGuildScheduledEventUserActionEvent and RawIntegrationDeleteEvent are similar, and are also part of their respective pages instead of guilds.rst.

Since this doesn't affect the output, it's mostly personal choice - i'd go with the second one. Either way, this isn't worth updating manually, so unless we introduce an .rst formatter, we should leave it as is.
👍
Updated in https://github.com/DisnakeDev/disnake/commit/627c03801196d844872c879cd3c9803b6c70ec12.
👍

Thanks much to everyone! This wouldn't have been possible with your help!


Allow users to choose which GitHub environment to deploy to

Fixes #2180
What is being addressed
Add support for running the deployment workflow in multiple environments
How is this addressed

Convert the hard-coded environment reference from the reusable workflow
Provide the value from the calling workflows (main, branch, pr-bot)
In the branch workflow, provide an example of how to allow the user to choose their target environment

/test-force-approve
Our pr-bot runs workflows from the main branch so no point in running it for this PR.
Results of the run from the branch workflow: https://github.com/microsoft/AzureTRE/actions/runs/2603851088

/test
(for the makefile fix)


add bh_procedure to conclusion_final.py

Use masking_version_2_dimension_change (???) functions on p-values before passing them in through the bh_procedure function in the end of the conclusion_final.py file.

why does df=275 (especially for each person?) -> see the smooth_final to a way to get the correct number of slices, also I think we're adding more features, so this will probably change...
Also, I know I probably say the at cheap mask approach was good ([::2,::2,:]) but I think using the fitted_mask would actually be more consistent. Sorry


⚠ Bofrost.lu has degraded performance

In b7bef52, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 2014 ms

Resolved: Bofrost.lu performance has improved in b98d1a2 after 6 minutes.


Fix for error on export due to ambiguous match found in TriggerAzDO.batch

This PR fixes the symptoms of the error report in #216.
The batch property in the TriggerAzDO class is causing the ambiguous match with the property of the same name in the base class Trigger
Removing the declaration in TriggerAzDOfixes the issues, my export now works, but I am unsure if such a simplistic fix will have knock on effects for other use cases

I can confirm that this PR fixes the problem

I am unsure if such a simplistic fix will have knock on effects for other use cases

This was why I was reluctant to merge, but enough people have had the issue so lets see what happens, thanks for the PR.


Update Trino dependencies to 464

Description
Trino 464 requiring Java 23 is merged yesterday, but not released yet.
We can merge PR when they release it.

Additional context and related issues
https://github.com/trinodb/trino-gateway/pull/486
https://github.com/trinodb/trino/pull/23783

Release notes
(x) This is not user-visible or is docs only, and no release notes are required.
( ) Release notes are required. Please propose a release note for me.
( ) Release notes are required, with the following suggested text:
* Fix some things. ({issue}`issuenumber`)

Trino released 463 (not 464) yesterday.

Please reopen after Trino released 464.

I am just reopening and setting it to draft so others are aware of this effort.

Please also upgrade in the TrinoGatewayRunner class and see what we have in use in the quickstart and other docs.

Any concerns with reopening @ebyhr ?

There is no benefit to keep opening a PR which cannot build.

There is no benefit to keep opening a PR which cannot build.

The benefit is that others can see that it exists and dont try to do the same work .. I nearly did exactly that. And a build failure is no big deal in this case in my opinion.

What is the motivation sending a PR which upgrades to the version which doesn't exist?

Opening now to see how CI goes.


fix: Block Action execution for Post UQI datasources like oracle

The configProperty path for Post UQI datasource's body field  is stored in actionConfiguration.formData.body.data, other older pre UQI format SQL datasources  actionConfiguration.body. This adds a check for such post UQI datasources like Oracle.
Fixes #24350
Media

A video or a GIF is preferred. when using Loom, don’t embed because it looks like it’s a GIF. instead, just link to the video

Type of change

Please delete options that are not relevant.

Bug fix (non-breaking change which fixes an issue)
New feature (non-breaking change which adds functionality)
Breaking change (fix or feature that would cause existing functionality to not work as expected)
Chore (housekeeping or task changes that don't impact user perception)
This change requires a documentation update

Testing

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Also list any relevant details for your test configuration.
Delete anything that is not relevant

[ ] Manual
[ ] Jest
[ ] Cypress

Test Plan
Tested the following for Oracle DS -

Created oracle DS - and from review page, using new query button, created select/insert/update/delete queries and checked for run button functionality
From the schema of oracle DS, created select/insert/update/delete queries and checked for run button functionality
From the New Query add button on the Entity explorer, created select/insert/update/delete queries and checked for run button functionality>
Quick tested PostGreSQL query run, it is rightly disabled if query field is blank, and if anything entered into the query field, run gets enabled
Quick tested Snowflake query run, here noted that even if the query field is blank, the run button is enabled.

Issues raised during DP testing

Link issues raised during DP testing for better visiblity and tracking (copy link from comments dropped on this PR)

Checklist:
Dev activity

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] PR is being merged under a feature flag

QA activity:

[ ] Speedbreak features have been covered
[ ] Test plan covers all impacted features and areas of interest
[ ] Test plan has been peer reviewed by project stakeholders and other QA members
[x] Manually tested functionality on DP
[ ] We had an implementation alignment call with stakeholders post QA Round 2
[ ] Cypress test cases have been added and approved by SDET/manual QA
[ ] Added Test Plan Approved label after Cypress tests were reviewed
[ ] Added Test Plan Approved label after JUnit tests were reviewed

/ok-to-test

/ok-to-test

As per discussion with @Irongade - he will provide a quick fix for snowflake as well and that can go into this same PR.

/build-deploy-preview skip-tests=true


API to hide Alpha child component on color-picker

Color-picker allows us to set rgba color settings. But in case we need only rgb there is no way to hide alpha channel.

This is a dup of #99

This has been merged in and is available on Sketch and Chrome Pickers in<EMAIL_ADDRESS>🐬


LOB prefetch does not work

Selecting from table with one column of type CLOB turned to be really slow. This is critical problem for us, since our application uses many tables with a clob columns of rather small size.
I've tried to look in the source code for something similar to what's described in:
https://docs.oracle.com/cd/B28359_01/appdev.111/b28395/oci07lob.htm#CHDDHFAB
, but could just find the setting of OCI_ATTR_LOBPREFETCH_LENGTH to TRUE in the defLob.go:define function.
I've tried to modify the code myself as it's described in the Oracle's article, to set the OCI_ATTR_LOBPREFETCH_SIZE on the session, but this had no effect on the performance.
I've also tried to set these attributes in the alloc() function of defLob, but also failed miserably :((
May be someone can point me to the right direction so I could implement the change and create a pull request?
With many thanks in advance!
LK

The session default  OCI_ATTR_DEFAULT_LOBPREFETCH_SIZE is already set in srv.go#L258 to lobChunkSize = 1MiB.
The OCI_ATTR_LOBPREFETCH_LENGTH is set on the LOB to force OCI to prefetch the LOB's length (metadata).
What is your select? How big those LOBs are? What is the usage pattern?
What are you doing with the returned LOB?

Hi!
Many thanks for the response - much appreciate that.
Here's the isolated test that I've created. It create a table of two
columns one of which is an id and the second one is CLOB. The table is
filled with 2000 rows where all CLOBs are empty ones.
Then I just iterate through the result set reading the values.
In case when I select the data including the CLOB column, the test takes
approximately 20 times more than the one without.
Below is my test code (just substitute the connection string :) with your
one )
package lobtest
import (
"database/sql"
"time"
_ "gopkg.in/rana/ora.v4"
"fmt"
"testing"
)
var (
dbConnectionString = "user/pass@host:1521/DB"
)
func TestWithCLob(t *testing.T) {
err := createTable()
if err != nil {
t.Error(err)
return
}
db, err := sql.Open("ora", dbConnectionString)
defer db.Close()
if err != nil {
panic(err)
}
q := "select aut.id, aut.auto_validation_response from aut"
rows, err := db.Query(q)
if err != nil {
panic(err)
}
defer rows.Close()
start := time.Now()
count := 0
for rows.Next() {
if err != nil {
t.Error(err)
return
}
var rowId string
var autoValidationResponse []byte
err = rows.Scan(&rowId, &autoValidationResponse)
if err != nil {
t.Error(err)
return
}
if clobSize := len(autoValidationResponse); clobSize > 0 {
fmt.Printf("clob size = %d", clobSize)
}
count++
}
fmt.Printf("processed %d rows in %f seconds\n", count,
time.Now().Sub(start).Seconds())
}
func TestWithoutCLob(t *testing.T) {
err := createTable()
if err != nil {
t.Error(err)
return
}
db, err := sql.Open("ora", dbConnectionString)
defer db.Close()
if err != nil {
panic(err)
}
q := "select aut.id from aut"
rows, err := db.Query(q)
if err != nil {
panic(err)
}
defer rows.Close()
start := time.Now()
count := 0
for rows.Next() {
if err != nil {
t.Error(err)
return
}
var id string
err = rows.Scan(&id)
if err != nil {
t.Error(err)
return
}
count++
}
fmt.Printf("processed %d rows in %f seconds\n", count,
time.Now().Sub(start).Seconds())
}
func createTable() error {
fmt.Println("table creation started")
db, err := sql.Open("ora", dbConnectionString)
defer db.Close()
if err != nil {
panic(err)
}
db.Exec("drop table aut")
_, err = db.Exec("create table aut (id
number,auto_validation_response clob)")
if err != nil {
return err
}
cmd := " insert all "
for i := 0; i < 2000; i++ {
cmd += fmt.Sprintf(" into aut (id,auto_validation_response)
values (%d, null) ", i)
}
cmd += " select * from dual"
stmt, err := db.Prepare(cmd)
if err != nil {
return err
}
_, err = stmt.Exec()
if err != nil {
return err
}
fmt.Println("table creation completed")
return nil
}
Many thanks in advance!
LK
On Wed, Oct 18, 2017 at 6:17 PM, Tamás Gulácsi<EMAIL_ADDRESS>wrote:

The session default OCI_ATTR_DEFAULT_LOBPREFETCH_SIZE is already set in
srv.go#L258 to lobChunkSize = 1MiB.
The OCI_ATTR_LOBPREFETCH_LENGTH is set on the LOB to force OCI to prefetch
the LOB's length (metadata).
What is your select? How big those LOBs are? What is the usage pattern?
What are you doing with the returned LOB?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/rana/ora/issues/225#issuecomment-337626372, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ALjeJ7-quXFhBTLAS8smQUAL4qHbVpzlks5sthaJgaJpZM4P9vZN
.

Hi!
I think I've managed to find the reason for this. There's no problem with
the blob prefetch size/flag. My mistake!
It's in rset.go#529
Loop:
for _, param := range params {
switch param.typeCode {
// These can consume a lot of memory.
case C.SQLT_LNG, C.SQLT_BFILE, C.SQLT_BLOB, C.SQLT_CLOB, C.SQLT_LBI:
fetchLen = MinFetchLen
break Loop
}
}
Since the result set contains the blob, the fetchLen drops to minimal value
which is in turn causes excessive calling of  OCIStmtFetch2 and the
performance drops dramatically.
I'm closing this issue, but going to open a new one - directly related to
the problem.
Thanks a lot!
LK
On Wed, Oct 18, 2017 at 6:17 PM, Tamás Gulácsi<EMAIL_ADDRESS>wrote:

The session default OCI_ATTR_DEFAULT_LOBPREFETCH_SIZE is already set in
srv.go#L258 to lobChunkSize = 1MiB.
The OCI_ATTR_LOBPREFETCH_LENGTH is set on the LOB to force OCI to prefetch
the LOB's length (metadata).
What is your select? How big those LOBs are? What is the usage pattern?
What are you doing with the returned LOB?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/rana/ora/issues/225#issuecomment-337626372, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ALjeJ7-quXFhBTLAS8smQUAL4qHbVpzlks5sthaJgaJpZM4P9vZN
.


AMP support

Spectre could be compatible with AMP by slightly modifying the code: removing !important, replacing <img> with <amp-img> and removing inline style="" from HTML. I made the AMP components page demo: https://repl.it/KPR2/3 or fullscreen: http://s.cssdeck.com/labs/full/x5pjudqw/noframe
Would you like to add an official AMP flavor of the Spectre CSS framework?

Why i would not promote AMP:
https://daringfireball.net/linked/2017/05/20/gilbertson-amp

I don't get that hatred for AMP. Of course one can make a performant website without it, but in the real life almost all companies bloat their websites. AMP is a radical step to forbid web bloat and stick to lightweight solutions. Furthermore it is open source.

@niutech I will not add an AMP flavor.

Finally I have made an AMP version of your framework: https://github.com/niutech/amp-spectre/

https://news.ycombinator.com/item?id=14695268

@AdsonCicilioti I generated AMP Spectre using this file: https://github.com/picturepan2/spectre/blob/master/dist/spectre.min.css
@leeoniya AMP v0.js is only 78.4 KB gzipped and it's served from the CDN, so it's downloaded only once for all AMP pages.

@niutech, the show/hide layout utility class din't work on elements with display:flex, like as navbar-sections.


Distinguish between public and group

Currently once an item is made public we remove it from all other groups. This does not actually make sense since an object needs to be associable with multiple nodes; if public is selected then the info is public! public/private is slightly different than being in groups.
This may require some significant rework of certain backend systems related to delete and versioning.

Just a further note that currently the groups field drop down list has 'public' in the list. We mentioned in the meeting this past week that it doesn't make sense that there was a check box for public but it was also in the drop down. This was identified as a bug, but I realized why it may be in the drop down - when you are doing a search, you want to be able to search in both public group and private group data (I had to do that yesterday). Currently that is only possible if 'public' is also in the field drop down list.

This has evolved into the idea of implementing a "Project" node. collections/specimens/OTUs can belong to one or more Projects.
Projects would have:
Project Name
Short description of project
Reference (optional?)
People? (not for access, just for recording the workers of a project)
Projects is separate from access Groups.

As a note, this Project node would be very helpful for Pbot functioning as a repository - publications could reference that their data is available in Pbot under the Project XXX


Sports Betting - My Account - My Created Markets Disabled on SportsBook

User can't create markets from Sportsbook UI. So, button won't be available on the UI:

Empty state for the box:

Figma link

done - closing


Segmentation Color RGB drops red channel before sending

Issue description:
(When stripe has white channel configured --> wled.0.[device-ID]._info.leds.rgbw==TRUE,) Entering red channel value via HEX color objects (1.x) is possible, while red value entered via RGB array string objects (2.x) is dropped before sending to WLED device.
1.) HEX color objects
1.1) wled.0.[device-ID].seg.[segment-ID].col.0_HEX
1.2) wled.0.[device-ID].seg.[segment-ID].col.1_HEX
1.3) wled.0.[device-ID].seg.[segment-ID].col.2_HEX
2.) RGB array string objects
2.1) wled.0.[device-ID].seg.[segment-ID].col.0
2.2) wled.0.[device-ID].seg.[segment-ID].col.1
2.3) wled.0.[device-ID].seg.[segment-ID].col.2

Steps to reproduce the behavior:
3.1) Set logging for WLED adapter to DEBUG
3.2) Go to either WLED RGB array string object in iobroker objects (stripe must be configured as RGBW)
3.3) Enter any RGBW array string containing value for red, e.g. "[128,127,126,125]"
3.4) Check iobroker log, filter for "Sending state change by websocket"
3.5) --> Debug log output is "Sending state change by websocket {"seg":{"id":0,"col":[[null,127,126,125],[0,0,0,0],[0,0,0,0]]}}"
3.6) Go to either WLED HEX color object in iobroker objects (white channel not present, see #305)
3.7) Enter any RGB color containing value for red, e.g. "ff1122"
3.8) Check iobroker log, filter for "Sending state change by websocket"
3.9) --> Debug log output is "Sending state change by websocket {"seg":{"id":0,"col":[[255,17,34],[0,0,0],[0,0,0]]}}"

Expected behavior
(3.5) should state "Sending state change by websocket {"seg":{"id":0,"col":[[128,127,126,125],[0,0,0,0],[0,0,0,0]]}}"

Screenshots & Logfiles
n/a

Versions:

Adapter version "iobroker admin": v5.1.25
Adapter version "wled": v0.6.3
JS-Controller version: 3.3.18
Node version: v12.22.7
Operating system: Raspbian GNU/Linux 11 (bullseye) [on Raspberry 4, 4GB]

Additional context
n/a

Fixed in 0.6.8 thank you @trovanaffm please test from git, if successful I will release new
please close or update this issue of testing is OK or you see any issues. Thank you !

released in v0.7.0


Improve trait resolution

This continues my work in cleaning up trait resolution. Of particular importance is the clarification of "required" vs "implied" predicates: required predicates must be proven to mention an item (e.g. one must prove T: Sized to mention Option<T>) whereas implied predicates are implied by the item being present in a signature (e.g. T: Copy implies T: Clone).
So far we consider all predicates on a trait declaration to be implied, but that's not what rustc does. For example:
trait Foo<T: Clone>: ToString {}

Here (according to rustc) T: Clone is required to mention Foo, and Self: ToString is implied by Self: Foo. I don't know if considering T: Clone as implied (like we implicitly did today) could cause problems but at least now what's happening is clear.

Thanks! So if I understand correctly, while this notion of implied VS required predicates was sort of existing implicitly in hax, this PR makes them very explicit and clear, particularly with the traits::utils::implied_predicates and traits::utils::required_predicates?
That sounds pretty nice, and that makes the API of traits more clear!
The rest looks good to me, let's merge!

Yep, this was implicit previously, for example we don't store impl exprs when we refer to a trait, but if we decided to represent required predicates for traits we'd have to do that.


Faction permissions support

AI created code changes, only basic testing done so far.  Requires review.
This change creates faction.[groupName] permissions for namelayer groups, adds the permission to a user when they are added to a group and removes the permission when they are removed.  This change will allow MythicMobs mobs to target based on namelayer group membership.

This would be much better served as a LuckPerms context, not a permission imo

Rejecting this. We review and accept changes from humans who have put in the effort, not ethically dubious untested and unreviewed changes generated with AI.


Move package into subdirectory

Move package into a subdirectory, also move stuff to a private folder.

Finished in 5e7655f57d147c2c900aba0581cf53081c72dab7


help to use dial

Hi! i build new proyect witch asterisk-java library, i need help to use de example class Dial , to compile send error for reference asterisk setting, (you must call setAsteriskSettings() before getActiveProfile() is called the first time) this error comes from not having the sip sever configured in the library i need to know how to do it please..!
regards!!

may i ask how this problem was solved，i also reproduced it


Make the home fragment show basic weather info

I planned to start with showing the temperature and having the UI swap between light and dark based on the sunrise / sunset timestamps.
I also thought it might be a fun project to show the wind speed, but have the direction be an arrow that rotated according to the prevailing wind direction.

I planned to start with showing the temperature and having the UI swap between light and dark based on the sunrise / sunset timestamps.
I also thought it might be a fun project to show the wind speed, but have the direction be an arrow that rotated according to the prevailing wind direction.


Request: Sequential download instead of parrallel?

Check for a map update (hit ESC to skip): Europe
Update available - Type: Map       Version: 16.0.0-r0
                   Size: 19.82 GB  Release date: 2024-03-13 19:32:31.0
                   URL: https://download.tomtom.com/OEM/PSA/MAP/PSA_map-eur_16.0.0-r0-NAC_EUR_WAVE4.tar
Download update? yes
Update available - Type: Firmware  Version: <IP_ADDRESS>_NAC-r0
                   Size: 6.31 GB   Release date: 2023-07-03 10:59:21.0
                   URL: https://majestic-web.mpsa.com/mjf00-web/rest/UpdateDownload?updateId=0000000000000000000&uin=000000000000000000000&type=fw
                   License URL: https://majestic-web.mpsa.com/mjf00-web/rest/LicenseDownload?mediaVersion=000000000000000000&uin=000000000000000000000
Download update? yes
 30% [######>-------------] 9.94 MiB/s   ETA=22m PSA_map-eur_16.0.0-r0-NAC_EUR_WAVE4.tar
100% [####################] 0 B/s        ETA=0s  licenses_0000000000000000_20240924161735.tar
 10% [#>------------------] 617.17 KiB/s ETA=3h  PSA_ovip-int-firmware-version_44-07-05-22_NAC-r0_NAC_EUR_WAVE4.tar

Hi thanks for this excellent alternative update/download app.
At first my downloads timed out because of a busy disk (extracting other files) so the above got me thinking. I personally prefer to download files in sequence, so all bandwidth is used only per file. As the example shows the firmware file is lagging because of multiple downloads. As I type this, I notice I could choose to download per file (not choosing yes on all files at once) but I do want to make a request :)
Would it be possible to download sequentially when choosing all files at once? Again, I know I can choose per file yes, but it might happen you want to download them all in one batch and not check on when to download the next etc.
Thanks!!

Hi,
The original reason for the parallel download is because stellantis server (from where firmware is downloaded) is painfully slow, contrarily to tomtom server.
I don't promise anything but I can have a look sometime to add a flag to download files sequentially, it should not be complex to do. So leaving the request open for now.
As a workaround you could also use the non interactive mode and sequentially download files: ./psa-update --silent VIN && ./psa-update --silent VIN --map eur

The original reason for the parallel download is because stellantis server (from where firmware is downloaded) is painfully slow, contrarily to tomtom server.

As a workaround you could also use the non interactive mode and sequentially download files: ./psa-update --silent VIN && ./psa-update --silent VIN --map eur

Thanks for the explanation and the 'workaround'. In hindsight it's really a non-issue to be honest :) .. but thanks for listening for feedback. Please close if not worth the time developing this request :).

Introduced argument --sequential-download to force sequential download of updates. This is available in release 1.0.6.


Add "Deploy to Production" command line action

PR Overview

In this PR, we're adding the ability for us to publish our website to https://www.antislaverymanuscripts.org/
To do so, run npm run deploy-production on the command line.

Of course, this only applies to Zooniverse developers with access to the production servers.

Note that due production-staging shenanigans, if you view https://www.antislaverymanuscripts.org/ new, you'll see some Subjects from Notes from Nature (butterflies!) instead of something more text/transcription-based. This is because that, for testing, the project/subject queue/etc IDs are all hard-coded and the NfN project is what you see on production; to view the 'proper' testing images, add the staging switch: https://www.antislaverymanuscripts.org/?env=staging

Status
Ready for review! Don't forget to run npm install before you start

LGTM

LGTM


Release attrs upper bound

Closes #102

Hi @Honzys,
Sorry for the delay - I've added a small comment 🙂

@Honzys , can you commit the above fixes so we can merge the PR? :smile:

@Honzys is this PR still relevant?

@Honzys can we close this?


Dashboard redirect loop after update from v2.0 to v2.1

Do you want to request a feature or report a bug?

Bug

What did you do?
my Setup

LoadBalancer including SSL termination and reverse proxy to k8s nodeport
traefik as k8s service on nodeport
LoadBalancer IP (range) configured as forwardedheaders.trustedips for entrypoint

Update from 2.0.6 to 2.1.1

added CRD, adapted ClusterRole
switched from insecure API/dashboard to api@internal / kind TraefikService, still using host based rule

What did you expect to see?
traefik api, traefik dashboard and other k8s services routed via traefik continue working
What did you see instead?
API and other services work fine.
I can no longer access traefik dashboard, however. I see the following redirect loop instead:
https://traefik.example.org/dashboard/ ->
http://traefik.example.org/dashboard/dashboard/ ->
https://traefik.example.org/dashboard/dashboard/ ->
http://traefik.example.org/dashboard/dashboard/dashboard/ ->
https://traefik.example.org/dashboard/dashboard/dashboard/ ->
...
For http to https I have an intentional redirect.
Problem is not serving the dashboard in the first place -- I think the first redirect from https://.../dashboard/ (which arrives as http, as SSL is terminated by LB outside the k8c cluster) to http://.../dashboard/dashboard/ is causing the error and this redirect was introduced from 2.0 to 2.1.
traefik api works fine:
GET https://traefik.example.org/api/version
->
{
    "Version": "2.1.1",
    "Codename": "cantal"
}

All other services works fine, too. Output of echo service (showing forwarded LoadBalancer headers):
CLIENT VALUES:
client_address=('<IP_ADDRESS>', 53630) (<IP_ADDRESS>)
command=GET
path=/echo/
real path=/echo/
query=
request_version=HTTP/1.1

SERVER VALUES:
server_version=BaseHTTP/0.6
sys_version=Python/3.5.0
protocol_version=HTTP/1.0

HEADERS RECEIVED:
Accept=text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Encoding=gzip, deflate, br
Accept-Language=de-DE,en-US;q=0.7,en;q=0.3
Dnt=1
Host=example.org
Te=trailers
Upgrade-Insecure-Requests=1
User-Agent=Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0
X-Forwarded-For=..., <IP_ADDRESS>
X-Forwarded-Host=example.org
X-Forwarded-Port=443
X-Forwarded-Proto=https
X-Forwarded-Server=traefik-76b56566c6-pg672
X-Real-Ip=<IP_ADDRESS>

Output of traefik version: (What version of Traefik are you using?)

2.1.1

What is your environment & configuration (arguments, toml, provider, platform, ...)?
kubernetes, with the following static config
kind: Deployment
apiVersion: apps/v1
metadata:
  namespace: default
  name: traefik
  labels:
    app: traefik

spec:
  replicas: 1
  selector:
    matchLabels:
      app: traefik
  template:
    metadata:
      labels:
        app: traefik
    spec:
      serviceAccountName: traefik-ingress-controller
      containers:
        - name: traefik
          image: traefik:v2.1.1
          args:
            - --api.dashboard=true
            - --accesslog
            - --entrypoints.web.Address=:8000
            - --entrypoints.web.forwardedheaders.trustedips=<IP_ADDRESS>/8
            - --providers.kubernetescrd
            - --ping
            - --ping.entrypoint=web
          ports:
            - name: admin
              containerPort: 8080

node port, entry point
apiVersion: v1
kind: Service
metadata:
  name: traefik
  namespace: default

spec:
  type: NodePort
  ports:
    - protocol: TCP
      name: web
      port: 8000
      nodePort: 30000
  selector:
    app: traefik

traefik dashboard and api
apiVersion: traefik.containo.us/v1alpha1
kind: Middleware
metadata:
  name: basic-auth
  namespace: default
spec:
  basicAuth:
    secret: basic-auth-secret
---
apiVersion: v1
kind: Secret
metadata:
  name: basic-auth-secret
  namespace: default
data:
  users: ...
---
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
metadata:
  name: traefik-dashboard-ingressroute
  namespace: default
spec:
  entryPoints:
    - web
  routes:
  - match: Host(`traefik.example.org`)
    kind: Rule
    middlewares:
    - name: basic-auth
    services:
    - name: api@internal
      kind: TraefikService

If applicable, please paste the log output in DEBUG level (--log.level=DEBUG switch)
(paste your output here)

closing, issue disappeared using api@internal/kind: TraefikService instead of api.insecure / port based service and clearing browser caches.

same problem, @schwebke could you paste you TraefikService file, thank you in advance.

thanks @schwebke , i am the same question, resovled my problem.

So..... What should i do to solve this problem?
Here is how i start my Traefik-v2.


Update DG

#103

Codecov Report

Merging #117 (54a87f8) into master (9de052b) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #117   +/-   ##
=========================================
  Coverage     35.79%   35.79%
  Complexity      437      437
=========================================
  Files           147      147
  Lines          2808     2808
  Branches        331      331
=========================================
  Hits           1005     1005
  Misses         1715     1715
  Partials         88       88

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


Add usb ports to Harvey GO9PTERM script

This provides the template to add specific usb devices. If preferred I should be able to simply have Harvey take control over all usb devices. On the system, but I can't really think of a middle ground, because I wouldn't be able to specify usb devices for each user.

You need to sign your commit, git commit -s --amend will do the tirck, just git push -f foo aahud to your fork will upload it.

hey @aahud, do you have a time from for finishing this? If you are too busy to finish we can ask for someone to take it over and finish it for you :smile:

Branch is updated now. I believe that I incorporated all of the suggestions given. My absence has been more related to the start of my semester than anything else, and for that I apologize. There will be a lot more availability from me now.

thanks @aahud. can you please sign your last commit, we can't merge without it


Force re-authentication after IP changes

IP changes do not trigger forced re-login, but should.

Freshdesk Issue 433


can't not read type 0 on noop response

With my inspection noop response payload is b'\x82A\x00\x04noop\x00'
And it crash on data read
Traceback (most recent call last):
  File "/root/test.py", line 4, in <module>
    print(Thrift.TCompactProtocol(None, b'\x82A\x00\x04noop\x00'))
  File "/usr/local/lib/python3.10/dist-packages/CHRLINE/thrift.py", line 266, in __init__
    self.x()
  File "/usr/local/lib/python3.10/dist-packages/CHRLINE/thrift.py", line 474, in x
    data, d = self.z(ftype, fid)
  File "/usr/local/lib/python3.10/dist-packages/CHRLINE/thrift.py", line 563, in z
    raise Exception(f"can't not read type {ftype}")
Exception: can't not read type 0

I'm not sure add this check is correct fix
451a452,455
>             if self.__last_pos >= len(self.data):
>                 self.res = data
>                 self.dummyProtocol = d
>                 return

It missed an important logic: elif
In Thrift, type 0 means None (or end).
so proper logic to handle it would be better (ouob
It would be appreciated if you could check it works.


[SP6] Look Deeper into Size Brainwaves

Look Deeper into Size Brainwaves
Overview
You'll need to do research into size specific EEG and figure out how exactly size changes could be detected through EEG. Size changing EEG is probably the more difficult one. If you can't find anything for this, we could also do focus and no focus for size changes.
Timeline
We ideally want this done by next week to have enough time to gather EEG data
Technical Overview
You'll need to read papers to see how they've done size change detection and see their methods of implementation. The main focus is seeing stimulus required and the brainwaves that come up as a result of the exposing people to shapes changing sizes.
Submission Guidelines
Add it to the MINT google drive in a google doc.
Comments and Questions
For any questions, message @priyanshumahey

-Closing/opening your eyes to make the cube bigger
-Consider 5s eyes closed, 10s eyes open


Feature: Different placeholder image, when AdBlocker is enabled on website!

Replace placeholder with some image having text "AdBlocker is blocking this image. Please allow to see.". And disable smartify for those images to load when visible in viewport.

Not implementing this, this can be handled by user side!


More specialized error message based on lookahead token

Currently, each error message in our database represents a state in the LR(1) parser. This is not ideal as there could be multiple actions leading to the same error state. For example, the following two inputs will end up with the same error state, thus share one error message.
[...hd, tl]

and
[%$#hd, tl]

In this case, it is hard to customize a friendly error message for the first case, as requested in #1037. The current solution is to modify our parser and add a specific rule.
One solution to this issue is to improve the error message DSL provided by menhir. The default DSL today can only attach an error message to a state (see https://github.com/facebook/reason/blob/master/src/reason_parser.messages). But what we really want is to attach an error message to a (state, lookahead token) pair.

No longer an issue:
echo '[...hd, tl]' | ./_build/install/default/bin/refmt
File "", line 1, characters 1-6:
Error: Lists can only have one `...` spread, at the end.
Explanation: lists are singly-linked list, where a node contains a value and points to the next node. `[a, ...bc]` efficiently creates a new item and links `bc` as its next nodes. `[...bc, a]` would be expensive, as it'd need to traverse `bc` and prepend each item to `a` one by one. We therefore disallow such syntax sugar.
Solution: directly use `concat` or other List helpers.

echo '[%$#hd, tl]' | ./_build/install/default/bin/refmt
File "", line 1, characters 2-4:
Error: Syntax error


software_spec: do not add empty resources

Empty resources are allowed to exist under the following form:
resource "filelock" do
  on_linux do
      url "https://files.pythonhosted.org/packages/14/ec/6ee2168387ce0154632f856d5cc5592328e9cf93127c5c9aeca92c8c16cb/filelock-3.0.12.tar.gz"
      sha256 "18d82244ee114f543149c66a6e0c14e9c4f8a1044b5cdaadd0f82159d6a6ff59"
  end
end

In this case (or for the on_macos only resource case), just ignore the resource block.
Fixes:
/usr/local/Homebrew/Library/Homebrew/dependency_collector.rb:148:in `resource_dep'
/usr/local/Homebrew/Library/Homebrew/dependency_collector.rb:99:in `parse_spec'
/usr/local/Homebrew/Library/Homebrew/dependency_collector.rb:53:in `build'
/usr/local/Homebrew/Library/Homebrew/dependency_collector.rb:40:in `block in fetch'
/usr/local/Homebrew/Library/Homebrew/dependency_collector.rb:40:in `fetch'
/usr/local/Homebrew/Library/Homebrew/dependency_collector.rb:40:in `fetch'
/usr/local/Homebrew/Library/Homebrew/dependency_collector.rb:30:in `add'
/usr/local/Homebrew/Library/Homebrew/software_spec.rb:120:in `resource'
/usr/local/Homebrew/Library/Homebrew/formula.rb:2439:in `block in resource'
/usr/local/Homebrew/Library/Homebrew/formula.rb:2438:in `each'
/usr/local/Homebrew/Library/Homebrew/formula.rb:2438:in `resource'
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/aws-google-auth.rb:149:in `<class:AwsGoogleAuth>'
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/aws-google-auth.rb:1:in `load_formula'
/usr/local/Homebrew/Library/Homebrew/formulary.rb:38:in `rescue in load_formula'
/usr/local/Homebrew/Library/Homebrew/formulary.rb:35:in `load_formula'
/usr/local/Homebrew/Library/Homebrew/formulary.rb:56:in `load_formula_from_path'
/usr/local/Homebrew/Library/Homebrew/formulary.rb:138:in `load_file'
/usr/local/Homebrew/Library/Homebrew/formulary.rb:128:in `klass'
/usr/local/Homebrew/Library/Homebrew/formulary.rb:124:in `get_formula'
/usr/local/Homebrew/Library/Homebrew/formulary.rb:333:in `factory'
/usr/local/Homebrew/Library/Homebrew/cli/args.rb:87:in `block in formulae'
/usr/local/Homebrew/Library/Homebrew/cli/args.rb:86:in `map'
/usr/local/Homebrew/Library/Homebrew/cli/args.rb:86:in `formulae'
/usr/local/Homebrew/Library/Homebrew/cmd/install.rb:133:in `install'
/usr/local/Homebrew/Library/Homebrew/brew.rb:111:in `<main>'

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes? Here's an example.

[x] Have you successfully run brew tests with your changes locally?

resource "filelock" do
  on_linux do
      url "https://files.pythonhosted.org/packages/14/ec/6ee2168387ce0154632f856d5cc5592328e9cf93127c5c9aeca92c8c16cb/filelock-3.0.12.tar.gz"
      sha256 "18d82244ee114f543149c66a6e0c14e9c4f8a1044b5cdaadd0f82159d6a6ff59"
  end
end

I'm just curious why not to swap resource and on_linux?
on_linux do
  resource "filelock" do
      url "https://files.pythonhosted.org/packages/14/ec/6ee2168387ce0154632f856d5cc5592328e9cf93127c5c9aeca92c8c16cb/filelock-3.0.12.tar.gz"
      sha256 "18d82244ee114f543149c66a6e0c14e9c4f8a1044b5cdaadd0f82159d6a6ff59"
  end
end

Probably it was already discussed and I've just missed it.

Yes, that was my initial proposal but we went for this way, after a very long discussion.
Once this is merged I need to tweak the rubocop audit too because we did not allow a lone on_os block, but this should be a small fix.


serialize optimization

optimize serialization and deserialization (pickle -> pyarrow -> multiprocessing + pyarrow)

Codecov Report

Merging #32 (750f960) into main (6f500a5) will decrease coverage by 0.58%.
The diff coverage is 70.41%.

@@            Coverage Diff             @@
##             main      #32      +/-   ##
==========================================
- Coverage   89.91%   89.33%   -0.59%
==========================================
  Files         337      341       +4
  Lines       24641    24691      +50
==========================================
- Hits        22156    22057      -99
- Misses       2485     2634     +149

Flag
Coverage Δ

unittests
89.33% <70.41%> (-0.59%)
:arrow_down:

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

Impacted Files
Coverage Δ

ding/utils/tests/test_serialize_benchmark.py
27.71% <27.71%> (ø)

ding/utils/default_helper.py
87.59% <59.32%> (-8.41%)
:arrow_down:

ding/utils/import_helper.py
81.81% <80.00%> (-0.54%)
:arrow_down:

ding/utils/serialize_zoo.py
90.47% <90.47%> (ø)

ding/utils/serialize_helper.py
91.58% <91.58%> (ø)

ding/utils/tests/test_import_helper.py
100.00% <100.00%> (ø)

ding/utils/tests/test_serialize_zoo.py
100.00% <100.00%> (ø)

ding/worker/collector/one_vs_one_collector.py
70.04% <0.00%> (-19.82%)
:arrow_down:

ding/entry/tests/test_parallel_entry.py
45.45% <0.00%> (-4.55%)
:arrow_down:

...orker/collector/tests/test_one_vs_one_collector.py
91.37% <0.00%> (-3.54%)
:arrow_down:

... and 125 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 6f500a5...750f960. Read the comment docs.


Change io package to nio package

Due to the java.io package is a legacy, we have to update io package to nio package.

fix it


tarpaulin vs kcov comparison

How do tarpaulin's capabilities compare to kcov's?  Does it have any practical advantages, now or in the future?  It would be nice if this information were in the README.  I would be willing to add FreeBSD support, but only if there were some compelling advantage over kcov.

The main advantage is it's a lot easier to install and run - even with the current need for nightly and RUSTFLAGS="--cfg procmacro2_semver_exempt". It also has easy report uploads for coveralls.io and codecov.io.
Also other tools like kcov are designed for C and often flag up false negatives for some rust language features i.e. marking #[derive(..)] attributes as uncovered code. Tarpaulin also shows unused inline and templated functions as uncovered whereas as they don't generate code if they aren't used kcov doesn't mark them as coverable.
Generally, the aim is easier to install and use and by being designed specifically for rust provide more accurate statistics. Though there are still some misses in parts of coverage so some parts are better, other parts aren't 100% there yet.

Hm, it sounds like kcov is easier to install.  Sure, it's two steps (sudo pkg install kcov && cargo install cargo-kcov), but runs on stable rust and doesn't need RUSTFLAGS.  The accuracy problems are interesting.  I'd noticed kcov's problems with #[derive(Debug)]; I didn't know about the problem with unused generic functions.  Would this be appropriate to document in a Github wiki page?

Should have said install + run. Though admittedly last time I used kcov was pre cargo-kcov so I had to run cargo test, get the list of test executables, run kcov on all of them and merge the results which I guess cargo-kcov handles for you.
I hadn't thought about a wiki page, I've just been using blog posts and the readme. Definitely worth considering though.

There's a wiki page now which can be filled in with more details comparing the two (also since procmacro stabilisation there's been no need for the RUSTFLAGS). I'm just goin gto close this issue as it's rather old but if you have any other questions let me know


Broken link in docs

The link:
https://docs.rs/error-chain/0.7.1/error_chain/example_generated
From the following page:
https://docs.rs/error-chain/0.7.1/error_chain/

Could you propose a PR?


Blazor: _Imports.razor not working

Describe the bug
Trying to import a namespace inside _Imports.razor to use in multiple files inside the folder but it doesn't work on the new version (details below). Placing the @using inside the file itself does work.
To Reproduce
Visual Studio Community 2019 16.0.2
ASP.NET Core & .NET Core 3.0.100-preview4-011223
Blazor 3.0.0-preview4-19216-03

dotnet new -i Microsoft.AspNetCore.Blazor.Templates::3.0.0-preview4-19216-03
dotnet new blazorlib
create files according to the screenshot

Screenshots

After some tests it looks like the problem was having a folder with the same name as the namespace I was trying to use (Layouts).

I also faced this issue in my Proj. _Imports.razor not working in blazor. Please help me

Also true for me


💡[Feature]: Needed to add Footer to the contact page

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description
The absence of a footer element on the contact page creates an inconsistent look and feel across the website, which can disrupt the user experience. Adding a footer not only brings uniformity to the design but also enhances the overall visual appeal, making the website appear more cohesive and thoughtfully structured.
Use Case
Adding a footer to the contact page would enhance the user experience by creating a consistent and seamless design across all pages of the project.
Benefits
No response
Add ScreenShots
This is the present contact page:

I wish to add the footer section in this way:

Priority
High
Record

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

@sanjay-kv please assign me this task


Blob storage files render dynamically

Have you read the Contributing Guidelines on issues?

[X] I have read the Contributing Guidelines on issues.

Description
I have tried of implementing blob storage files to render dynamically instead of taking files from local docs directory, however I have tried with many approaches and any of them didn't worked for me, please suggest me the approach of adding this functionality
Has this been requested on Canny?
No response
Motivation
I was working under some project of docusaurus where I'm building a specific website for technical doc storage for an internal project, so all the docs uploaded by user will get stored in azure blob storage and unwanted to fetch those files from there and show as docusaurus documentaion
API design
I must and surely need this feature to be implemented to move my project forward, regarding API design I have created APIs for fetching data from blob storage using nodejs backend but then after I don't get the approach of implementation of it in docusaurus
Have you tried building it?
No response
Self-service

[X] I'd be willing to contribute this feature to Docusaurus myself.

Hey
I'm sorry but Docusaurus issues are not to provide user support. We have a discord server for that kind of community support.
We don't provide particular support for Azure, and I don't even know what blob storage is (I assume with that name it's the Azure variant of S3? 🤷♂ )
Docusaurus is only responsible for building a static deployment. If you think Docusaurus does not do its job well, please explain why and what exactly you expect from us in terms of static file output. If you fail to host your site on Azure, then read Azure docs and contact their support for help.


Really try to make sure that slides et al. are openly available when talk starts

This is a hard one, so I put "try" into the title, but I really mean it. Sharing the slides such that attendees in the room or afar can access them while the talk is going on (and later) is such a useful feature that most conferences lack, and making progress on this would help highlight our theme of changing the culture.

I really like this idea. And really I think in part this comes back to the idea of getting everything into Figshare or whatever ahead of time. So far, I don't believe we have even invited people to share their slides or any other materials anywhere at all. When/how should we approach this?

We really, really tried in multiple ways and with multiple reminders, but some slides are still not up.

This issue was moved to force11/force2018#7


LiquidityPoolsChangeProcessor: batch upsert and remove objects

https://github.com/stellar/go/issues/3926

Fixed in #3944.


Create a flow layout for IGList

Create a flow layout for IGList that does not newline sections #3

[x] Minimum inter-item spacing
[x] Minimum line spacing
[x] Constant item size with constant layout time
[x] Update layout on insert/delete/move
[x] Unit Test

Coverage decreased (-4.5%) to 81.944% when pulling 0b71a6b601955450f12f601381ab4a925c6b5751 on zhubofei:flow-layout into 9e8ad9626ab91326b6bbb75cb6927f8dbe134896 on Instagram:master.

Coverage decreased (-4.8%) to 81.661% when pulling ec0cd2a99f723b5ca8a43574e74e199d35fd9e67 on zhubofei:flow-layout into 9e8ad9626ab91326b6bbb75cb6927f8dbe134896 on Instagram:master.

Coverage decreased (-4.8%) to 81.661% when pulling c9671958f58361b4a3c6ab3ed31e6cd44c2a6474 on zhubofei:flow-layout into 9e8ad9626ab91326b6bbb75cb6927f8dbe134896 on Instagram:master.

Coverage decreased (-4.8%) to 81.661% when pulling c9671958f58361b4a3c6ab3ed31e6cd44c2a6474 on zhubofei:flow-layout into 9e8ad9626ab91326b6bbb75cb6927f8dbe134896 on Instagram:master.

Coverage decreased (-4.6%) to 81.913% when pulling 1b5e3e36bd31b10694c3d05669652b48af7208da on zhubofei:flow-layout into 9e8ad9626ab91326b6bbb75cb6927f8dbe134896 on Instagram:master.

Coverage decreased (-4.6%) to 81.913% when pulling 1b5e3e36bd31b10694c3d05669652b48af7208da on zhubofei:flow-layout into 9e8ad9626ab91326b6bbb75cb6927f8dbe134896 on Instagram:master.

Coverage decreased (-4.9%) to 81.567% when pulling 1b8776622e5b973c57c49a792b8caa98177a5e89 on zhubofei:flow-layout into 9e8ad9626ab91326b6bbb75cb6927f8dbe134896 on Instagram:master.

Coverage decreased (-4.9%) to 81.567% when pulling 1b8776622e5b973c57c49a792b8caa98177a5e89 on zhubofei:flow-layout into 9e8ad9626ab91326b6bbb75cb6927f8dbe134896 on Instagram:master.

@zhubofei -- just a quick note, we'll definitely need some tests here. 😄
@rnystrom -- can we adjust settings on @coveralls ? that shit is noisy AF 🗣 🙉

I'm going to do a little bit of a deeper review on this to make sure I understand what all is going on, but looking at the screenshot in #3 it looks pretty cool! Some things I want to make sure we support:

Section insets
Minimum inter-item spacing
Minimum line spacing

That way you can make a grid layout w/ spacing between all the items (thinking of Instagram's photo grid here).

@rnystrom I updated the initial comment to include a list of tasks. I'm not quite sure if I should create a separate repo for this.

This looks promising. I think I only need to figure out a better update algorithm. Maybe with better animation.

@rnystrom Also, since this layout only allows one item per section, do we really need section inset?

@zhubofei this is a tricky problem. On one hand we don't want to overcomplicate the layout, on the other, if we provide something too basic then people will reach its limitations quickly.
I'm almost starting to think that we should provide links to other open source layouts that do a good job of this as a recommendation.
What do you think? + @jessesquires

Also, since this layout only allows one item per section, do we really need section inset?

Yeah, I don't think so. At least, this isn't the right terminology.
We'll need:

Spacing between items:   ⬛ |---| ⬛
Spacing between "rows":

⬛ ⬛ ⬛
---
  |
---
⬛ ⬛ ⬛

@rnystrom -- I could go either way actually. (1) include layout here, (2) have a new lib for the layout.
either way, we do need it.

@rnystrom The only existing layout I found that can do "no newline" is https://github.com/rhodgkins/RDHCollectionViewGridLayout. You can only do fixed size item with it and the API is a little bit ...weird. I crafted the code a little bit to support fixed size section yesterday. So the only feature left is Scroll direction and maybe some optimization.

@zhubofei sounds great! Let's push this forward then. We can make sure to document that this is only for single-item-section feeds for now. Some thoughts:

Can we name this something explicit, like: "IGListGridCollectionViewLayout"?
Don't bother w/ auto layout (you mean self-sizing cells, right?)
What do you mean by "alignment"?
Let's get rid of section insets then per @jessesquires
Scroll direction is 👍

And as we mentioned before, if we're bundling this w/ IGListKit we will definitely need to cover it w/ unit tests. I built a few of our layouts in Instagram w/ unit tests so I'm happy to help steer direction w/ those if you need it.

@jessesquires @rnystrom What I am trying to do here is just copying all the behaviors UICollectionViewFlowLayout has with the same API.

@rnystrom By alignment, I mean UICollectionViewFlowLayout will increase the inter-item spacing by default if item width+minimumInteritemSpacing cannot take up the whole line. This creates a somewhat "center alignment". Shall we just do the same or provide a choice to keep minimumInteritemSpacing which is more like a "left alignment" .

@zhubofei -- I think the "center alignment" approach will be better.
Regarding scroll direction -- for a first version, I think it's ok if we are vertical only. We can support horizontal scroll later if needed. (and it would be an additive, non-breaking change) To my knowledge, we don't need horizontal scrolling grids anywhere in IG.
cc @rnystrom

@rnystrom Some advice on how to do the unit test on layout would be extremely helpful. I actually don't have a clue about where to start.

Coverage decreased (-7.08%) to 79.221% when pulling 9ae6cddf08df0670bdbb3a17ea2d1388d3f8284e on zhubofei:flow-layout into 3e80402296bf5bca0bee6c03a44e0d5cfbe13ca0 on Instagram:master.

Coverage decreased (-4.9%) to 81.36% when pulling 5f8fde189cf7b66fe1a76cef591ec4f3b12f529f on zhubofei:flow-layout into 3e80402296bf5bca0bee6c03a44e0d5cfbe13ca0 on Instagram:master.

Coverage decreased (-4.9%) to 81.36% when pulling 5f8fde189cf7b66fe1a76cef591ec4f3b12f529f on zhubofei:flow-layout into 3e80402296bf5bca0bee6c03a44e0d5cfbe13ca0 on Instagram:master.

@jessesquires I am half way through the implementation of "center alignment" right now. But I think Instagram actually uses "left alignment" for the grid layout, right? Like this screenshot of my profile page.

Coverage decreased (-7.2%) to 79.129% when pulling cd3ab7715a52ef5b3242488d2d2b45b84875c82e on zhubofei:flow-layout into 3e80402296bf5bca0bee6c03a44e0d5cfbe13ca0 on Instagram:master.

@zhubofei Ha 😅 you are correct.
A couple of options here:

Let's just do left-alignment
Make this configurable (probably not worth it at the moment -- this could also be an additive change later)

Coverage decreased (-2.0%) to 84.33% when pulling 27c7d78a8bf1b51c4fd7953e94c45ca853dc90af on zhubofei:flow-layout into 3e80402296bf5bca0bee6c03a44e0d5cfbe13ca0 on Instagram:master.

Coverage increased (+0.2%) to 86.483% when pulling a53fb13bdd0b6fd4fe90b6794e97055e6ff4f1ff on zhubofei:flow-layout into 3e80402296bf5bca0bee6c03a44e0d5cfbe13ca0 on Instagram:master.

Coverage increased (+0.2%) to 86.483% when pulling a53fb13bdd0b6fd4fe90b6794e97055e6ff4f1ff on zhubofei:flow-layout into 3e80402296bf5bca0bee6c03a44e0d5cfbe13ca0 on Instagram:master.

@rnystrom I wrote two simple tests. Could you give me some advice on how to add more?

Coverage increased (+0.2%) to 86.483% when pulling 2bd3c1c6d735fdf73fc9d0b7ef380c297ac91fe5 on zhubofei:flow-layout into 3e80402296bf5bca0bee6c03a44e0d5cfbe13ca0 on Instagram:master.

Coverage increased (+0.2%) to 86.483% when pulling 2bd3c1c6d735fdf73fc9d0b7ef380c297ac91fe5 on zhubofei:flow-layout into 3e80402296bf5bca0bee6c03a44e0d5cfbe13ca0 on Instagram:master.

Coverage increased (+0.002%) to 86.303% when pulling 7587e6b7799aa8381d6dcadeaf01cdee8772b834 on zhubofei:flow-layout into f5339113df8324b13be2b2f751eec6cfcd803844 on Instagram:master.

@zhubofei finally getting back to this. For tests, here are some things that we could do to help the process out:
We use the following macro to make testing frames easier:
#define IGAssertEqualFrame(frame, x, y, w, h, ...) \
do { \
CGRect expected = CGRectMake(x, y, w, h); \
XCTAssertEqual(CGRectGetMinX(expected), CGRectGetMinX(frame)); \
XCTAssertEqual(CGRectGetMinY(expected), CGRectGetMinY(frame)); \
XCTAssertEqual(CGRectGetWidth(expected), CGRectGetWidth(frame)); \
XCTAssertEqual(CGRectGetHeight(expected), CGRectGetHeight(frame)); \
} while(0)

Also, I'm not sure we need to bother testing the integration of the layout+IGListAdapter. Instead, let's just test plain ol' UICollectionView. We can create a dummy datasource that returns UICollectionViewCells.
The data for the UICollectionViewDataSource can just be an array of arrays. Then it's just:
- (NSInteger)numberOfSectionsInCollectionView:(UICollectionView *)collectionView {
    return [self.sections count];
}

- (NSInteger)collectionView:(UICollectionView *)collectionView numberOfItemsInSection:(NSInteger)section {
    return [self.sections[section] count];
}

- (UICollectionViewCell *)collectionView:(UICollectionView *)collectionView cellForItemAtIndexPath:(NSIndexPath *)indexPath {
    return [collectionView dequeueReusableCellWithReuseIdentifier:@"cell" forIndexPath:indexPath];
}

Your test can have a helper methods for setup and fetching cells:
- (void)prepareWithData:(NSArray<NSArray<IGTestSection *> *> *)data {
    self.dataSource.sections = data;
    [self.layout prepareLayout];
    [self.collectionView reloadData];
    [self.collectionView layoutIfNeeded];
}

- (UICollectionViewCell *)cellForSection:(NSInteger)section item:(NSInteger)item {
    return [self.collectionView cellForItemAtIndexPath:[NSIndexPath indexPathForItem:item inSection:section];
}

Then bring it all together and test final frame positions:
- (void)test_something {
    [self prepareWithData:@[
                            @[ @1, 2 ],
                            @[ @1 ]
                            ]];
    XCTAssertEqual(self.collectionView.contentSize.height, 120);
    IGAssertEqualFrame([self headerForSection:0].frame, 10, 10, 85, 10);
    IGAssertEqualFrame([self cellForSection:0 item:0].frame, 10, 20, 85, 10);
    IGAssertEqualFrame([self cellForSection:0 item:1].frame, 10, 40, 85, 20);
    IGAssertEqualFrame([self headerForSection:1].frame, 10, 75, 85, 10);
    IGAssertEqualFrame([self cellForSection:1 item:0].frame, 10, 85, 85, 30);
}

@rnystrom Do we need the support of multiple items per section for this layout?

Changes Unknown when pulling 89827ee5eab1c169bacfc7a96bfbaa163cc24d5d on zhubofei:flow-layout into ** on Instagram:master**.

Changes Unknown when pulling 89827ee5eab1c169bacfc7a96bfbaa163cc24d5d on zhubofei:flow-layout into ** on Instagram:master**.

@zhubofei let's keep it one-item-per-section for now to make it simple. But we should assert that numberOfItems() is never > 1

@rnystrom Not sure where to put the assert though🤔.

@zhubofei probably in -prepareLayout. It could even be surrounded by #DEBUG like we do here
- (void)prepareLayout {
#if DEBUG
  for (NSInteger section in [self.collectionView numberOfSections]) {
  	IGAssert([self.collectionView numberOfItemsInSection:section] <= 1, @"explain");
  }
#endif
}

Also not sure if we should support 0 items in the section? Like if something were deleted? If that's simple it'd be great!

@rnystrom Yes, I think with some modification we can support 0 items in the section but not simple. It should require the same work of supporting multiple items per section. I'm not sure if 0 item will ever occur, though. I think when we remove an object from IGList the section will be removed as well?

I'm not sure if 0 item will ever occur, though

If there's one thing I've learned w/ open source, it's that what seems impossible will always end up possible 😉
As long as we assert that numberOfItems() == 1 its fine to assume this though. We just can't fail silently when 0 is returned b/c we'll end up w/ weird behavior, and it'll be hard to figure out what's wrong.

@rnystrom Great! IMHO, this layout is ready for some code review. Do you still think we should change the name, though? From IGListGridCollectionViewLayout or IGListCollectionViewGridLayout? I'm currently using IGListCollectionViewFlowLayout.

Coverage increased (+0.5%) to 87.161% when pulling f43d800d84283894da2841a35d7d6d01ff577fc1 on zhubofei:flow-layout into 379d68e5c1279a9506be09efc3f152a8a9c9a9b5 on Instagram:master.

Coverage increased (+0.5%) to 87.161% when pulling f43d800d84283894da2841a35d7d6d01ff577fc1 on zhubofei:flow-layout into 379d68e5c1279a9506be09efc3f152a8a9c9a9b5 on Instagram:master.

@zhubofei awesome! re: naming ya let's go w/ IGListGridCollectionViewLayout. Can we make sure to note in the header docs that this only works w/ section controllers that return 1 item?

Coverage increased (+0.5%) to 87.217% when pulling 901353d21d4a612bd886c169ed4cde223d42125e on zhubofei:flow-layout into 379d68e5c1279a9506be09efc3f152a8a9c9a9b5 on Instagram:master.

@rnystrom Just did!

Coverage increased (+0.5%) to 87.217% when pulling 7b903826f5b12eb3be1085fc9135322c14ce7093 on zhubofei:flow-layout into 379d68e5c1279a9506be09efc3f152a8a9c9a9b5 on Instagram:master.

Coverage increased (+0.5%) to 87.217% when pulling 7b903826f5b12eb3be1085fc9135322c14ce7093 on zhubofei:flow-layout into 379d68e5c1279a9506be09efc3f152a8a9c9a9b5 on Instagram:master.

Coverage increased (+0.5%) to 87.217% when pulling 7b903826f5b12eb3be1085fc9135322c14ce7093 on zhubofei:flow-layout into 379d68e5c1279a9506be09efc3f152a8a9c9a9b5 on Instagram:master.

Coverage increased (+0.5%) to 87.217% when pulling 7b903826f5b12eb3be1085fc9135322c14ce7093 on zhubofei:flow-layout into 379d68e5c1279a9506be09efc3f152a8a9c9a9b5 on Instagram:master.

Coverage increased (+0.5%) to 87.168% when pulling 757fd086ff713d9e924ff7947eec2b3af9499b17 on zhubofei:flow-layout into 379d68e5c1279a9506be09efc3f152a8a9c9a9b5 on Instagram:master.

Coverage increased (+0.5%) to 87.168% when pulling 757fd086ff713d9e924ff7947eec2b3af9499b17 on zhubofei:flow-layout into 379d68e5c1279a9506be09efc3f152a8a9c9a9b5 on Instagram:master.

Coverage increased (+3.4%) to 90.036% when pulling 472c41aef8734c82872d0db5a7fe6dee95b1df9f on zhubofei:flow-layout into 379d68e5c1279a9506be09efc3f152a8a9c9a9b5 on Instagram:master.

Coverage increased (+3.4%) to 90.036% when pulling 472c41aef8734c82872d0db5a7fe6dee95b1df9f on zhubofei:flow-layout into 379d68e5c1279a9506be09efc3f152a8a9c9a9b5 on Instagram:master.

Coverage increased (+3.4%) to 90.036% when pulling 3bf75cb21be0c8fcef67701bc0fbc8dc5d2fac2b on zhubofei:flow-layout into 379d68e5c1279a9506be09efc3f152a8a9c9a9b5 on Instagram:master.

@rnystrom IMHO, at least for fixed-size cell we can get a pretty good performance w/out cache. Actually, for large datasource, it is better to compute attributes on the go. Because layoutAttributesForElementsInRect would be called a lot more than prepareLayout and cache also takes a lot of memory.

@zhubofei oops looks like this branch got out of sync, once we're rebased we can land!

@rnystrom Can I create a new PR instead? There are too many conflicts here. It's really hard for me to rebase 😂.

@zhubofei haha sure thing! We can close this and open a new one

@rnystrom Just opened #225. I'm gonna close this one.

@zhubofei So setting insets using 'IGListGridCollectionViewLayout' is currently not possible?? I'm able to create a grid but i would like some spacing on the left and right.

@otymartin You can set Minimum inter-item spacing and Minimum line spacing instead.

@zhubofei
2 Issues:
Im using storyboards so for whatever reason setting minimumInterimSpace &&  minimumLineSpacing programmatically in my section controller does nothing. It only works via storyboards (interesting).
Secondly (Under header 2) is where I'm using the IGListGridCollectViewLayout. I have minimum line & inter-item at 4 each. As you can see, once the number of items in the row is determined, the excess spacing is shifted to the right instead of increasing the inter-item spacing which is the expected behaviour as shown in Mixed Data GridItem Example which uses the UICollectionViewFlowLayout && apple docs
Let me know if perhaps im doing something wrong!😓

@otymartin I think we better open an issue for this. For issue 1 can you post some code sample so that I can look into it? As for issue 2, you can refer to #263. This grid layout uses left alignment by default and we have not yet implemented center alignment like UICollectionViewFlowLayout yet.

@zhubofei  I'll open an issue

let's definitely move this into it's own issue thread.
let's start with https://github.com/Instagram/IGListKit/pull/140#issuecomment-267478925


Migrates master to reactive arch

Dear Jose, I don't understand anything from what you described. Can you explain me what you mean in simple Language? Sincerely yours, Roel Philippeth  Verzonden vanaf mijn telefoon van Huawei Mobile-------- Oorspronkelijk bericht --------Onderwerp: Re: [android/architecture-samples] Migrates master to reactive arch (#693)Van: Jose Alcérreca Aan: android/architecture-samples Cc: Subscribed @JoseAlcerreca commented on this pull request.
In app/src/sharedTest/java/com/example/android/architecture/blueprints/todoapp/statistics/StatisticsFragmentTest.kt:

@@ -97,6 +97,7 @@ class StatisticsFragmentTest {
.getString(R.string.statistics_active_tasks, 50.0f)
val expectedCompletedTaskText = getApplicationContext()
.getString(R.string.statistics_completed_tasks, 50.0f)

   Thread.sleep(4000)

Missed this! Again!
—You are receiving this because you are subscribed to this thread.Reply to this email directly, view it on GitHub, or unsubscribe.


Can I access Carla simultaneously using different ports?

CARLA version: 0.9.11
Platform/OS: Windows and Linux
Problem: I am using Carla to conduct the multi-agent experiment. My idea is to access the server through different ports at the same time to achieve a more real parallel effect. However, I found that only one port was valid for simultaneous operations. So I would like to ask whether Carla has the ability of multi-port simultaneous access? If so, can you give us some ideas or suggestions? Thanks in advance!!!

P.S. I did this to be able to control the different vehicle at the same time.

Hi, you can only connect to the same CARLA server through the same port, but you can connect multiple scripts that can do different things, like controlling different vehicles each. Just connect all the scripts to the same IP:PORT and you will be connected to the server, and can do different things.
I hope it helps


fix: Better CORS handling

This inject cors as option using WithCors and also fix the usage
because before of this cors were not applied to server.
Fixes: #59

Thanks for the work and sorry to close this pull request!


[Bulk] Validation: validation fixes JM 5/26c

This PR fixes 23 missing descriptions.

Docs Build status updates of commit 7c5c5ef:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

dynamics-nav/How-to--Export--Edit--and-Import-Translated-Profile-Strings.md
:white_check_mark:Succeeded

dynamics-nav/How-to--Export-Objects.md
:white_check_mark:Succeeded

dynamics-nav/How-to--Export-Your-Solution-to-a-Database-Backup-File.md
:white_check_mark:Succeeded

dynamics-nav/How-to--Export-and-Import-Companies-and-Other-Data-using-Windows-PowerShell-Cmdlets.md
:white_check_mark:Succeeded

dynamics-nav/How-to--Export-the-Application-Tables-to-a-Dedicated-Database.md
:white_check_mark:Succeeded

dynamics-nav/How-to--Format-Date-Values.md
:white_check_mark:Succeeded

dynamics-nav/How-to--Format-Decimal-Values.md
:white_check_mark:Succeeded

dynamics-nav/How-to--Get-the-Microsoft-Azure-Image-Name.md
:white_check_mark:Succeeded

dynamics-nav/How-to--Implement-Location-in-C-AL.md
:white_check_mark:Succeeded

dynamics-nav/How-to--Implement-the-Camera-in-C-AL.md
:white_check_mark:Succeeded

dynamics-nav/How-to--Import-Export-Permission-Sets-Permissions.md
:white_check_mark:Succeeded

dynamics-nav/How-to--Import-Objects.md
:white_check_mark:Succeeded

dynamics-nav/How-to--Import-and-Export-a-Word-Report-Layout.md
:white_check_mark:Succeeded

dynamics-nav/How-to--Include-Microsoft-Dynamics-Online-Connect-on-Role-Centers.md
:white_check_mark:Succeeded

dynamics-nav/How-to--Increase-the-Size-of-Database-Files.md
:white_check_mark:Succeeded

dynamics-nav/How-to--Increase-the-Size-of-Transaction-Log-Files.md
:white_check_mark:Succeeded

dynamics-nav/How-to--Insert-Items-in-a-MenuSuite.md
:white_check_mark:Succeeded

dynamics-nav/How-to--Install-C-SIDE-Development-Environment.md
:white_check_mark:Succeeded

dynamics-nav/How-to--Install-Control-Add-Ins-and-Support-Files-for-Your-Solution.md
:white_check_mark:Succeeded

dynamics-nav/How-to--Install-Language-Modules.md
:white_check_mark:Succeeded

dynamics-nav/How-to--Install-a-Windows-Client-Control-Add-in-Assembly.md
:white_check_mark:Succeeded

dynamics-nav/How-to--Install-and-Configure-Internet-Information-Services-for-Microsoft-Dynamics-NAV-Web-Client.md
:white_check_mark:Succeeded

dynamics-nav/how-to-export-and-import-encryption-keys.md
:white_check_mark:Succeeded

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

Global effort to fix build validation errors
The Content & Learning team is fixing build validation errors on docs.microsoft.com for the rest of H2. This will eliminate potential accessibility, security, and usability issues. This PR includes only build validation fixes and does not change other content. Please review within five business days and merge or comment in the PR with any changes you'd like to see. Thank you!
@buck1ey  Can you please suggest a reviewer for this PR? Thank you.


fix: force theme to be ltr direction

if the player is set to rtl direction, some functionality breaks, so, we want to force it to always be ltr
If we set it on the :host, then if someone sets direction on mux-player itself, it'll get overridden. So, instead, to force it to always be ltr, we set it on the media-theme element itself.

To test, try adding direction: rtl to mux-player, or a parent element in the preview of this PR and compare to a preview from the main branch.


Feature/add decode morse code functionality

This PR is raised to implement the following tasks:

[x] Create a method to decode a Morse code character, takes a string parameter, and return the corresponding character in uppercase (e.g. decode_char(".-") returns "A").

[x] Create a method to decode an entire word in Morse code, takes a string parameter, and return the string representation. Every character in a word will be separated by a single space (e.g. decode_word("-- -.--") returns "MY").

[x] Create a method to decode the entire message in Morse code, takes a string parameter, and return the string representation. Every word will be separated by 3 spaces (e.g. decode("-- -.--   -. .- -- .") returns "MY NAME").

[x] Reuse methods whenever possible. Make sure that your code is DRY.

Thank you so much @Davidosky007 for the thorough review 🥳


How to register shortcuts forever?

I have written and select text Sasha Bliss → Ctrl+Shift+P → Clipboard Manager: Copy to Register → a. Now if I press Ctrl+Shift+Super+V, a, is inserted the text Sasha Bliss.
Ctrl+Shift+P → Clipboard Manager: Show Registers → Sasha Bliss in my CLIPBOARD REGISTERS:
 CLIPBOARD REGISTERS (1)
========================
a: Sasha Bliss

But when I reboot Sublime Text 3, after the Ctrl+Shift+Super+V, a, nothing happens, and
 CLIPBOARD REGISTERS (0)
========================

What should I do to all the text has been registered forever, but not before the first restart Sublime Text 3?
Windows 10 Education
Sublime Text 3, Build 3114
Thanks.

Interesting, we could add a feature that saves the text to the user folder. Not a feature I've heard people ask for in the past, but I'll look into it. No promises - if you really want this, I'd recommend adding it as part of the creation of the HISTORY module object.

On Aug 28, 2016, at 5:15 AM, $B'3'Q'j'Q(B $B'9'V'b'_'m'g(B<EMAIL_ADDRESS>wrote:
I have written and select text Sasha Bliss $B"*(B Ctrl+Shift+P $B"*(B Clipboard Manager: Copy to Register $B"*(B a. Now if I press Ctrl+Shift+Super+V, a, is inserted the text Sasha Bliss.
Ctrl+Shift+P $B"*(B Clipboard Manager: Show Registers $B"*(B Sasha Bliss in my CLIPBOARD REGISTERS:
CLIPBOARD REGISTERS (1)
a: Sasha Bliss
But when I reboot Sublime Text 3, after the Ctrl+Shift+Super+V, a, nothing happens, and
CLIPBOARD REGISTERS (0)
What should I do to all the text has been registered forever, but not before the first restart Sublime Text 3?
Windows 10 Education
Sublime Text 3, Build 3114
Thanks.
$B!=(B
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

I'd recommend adding it as part of the creation of the HISTORY module object.

I apologize, you can tell in more detail how I to make it? Thanks.

Actually I think this feature is ill-advised.  Sometimes I have passwords in my clipboard when I open sublime, and I would not want those recorded to disk.

Actually I think this feature is ill-advised. Sometimes I have passwords in my clipboard when I open sublime, and I would not want those recorded to disk.

It is possible to introduce the feature of optional, allowing users to disable it.
Thanks.

Sure, but I'm not interested in writing this feature. The steps to accomplish it aren't hard, though:

Find an appropriate place to store files; sublime text has API helpers for this
Bind an event listener to either application-quit or window-close
serialize the HISTORY variable (json should work!)
do similar for application start, unserializing the history buffer.

I don't have the time to implement this for you, but if you start a fork and need help I'd be happy to look at it.


[WIP] Sphinx example gallery

Description

Related issues
#88
PR check list

[ ] Read the contributing guidelines.

You don't have to read the whole thing, but it's a good idea to skim it. And definitely take a look at it if you're experiencing any issues getting your local environment up and running.

[ ] Provided the relevant details in the PR's description.
[ ] Referenced relevant issues in the PR's description.
[ ] Added tests for all my changes.

The CI will fail unless 100% of all new code is covered by the tests.

[ ] Updated the docs for relevant changes.

[ ] New modules (or renamed ones) are included in docs/api/internal/.
[ ] New public functions/classes/variables are documented in docs/api/index.rst.
[ ] Added the appropriate versionadded, versionchanged, or deprecated directives to docstrings.

The version should be the next release version, which you can infer by bumping the minor version in MAJOR.MINOR.PATCH (e.g., if the current version is 0.2.3, the next release will be 0.3.0).

[ ] Changes are documented in docs/reference/changelog.md.

Please try to follow the conventions laid out in the file. In doubt, just ask!

[ ] Consider granting push permissions to your PR's branch, so maintainers can help you out if needed.
[ ] The CI check are all passing, or I'm working on fixing them!
[ ] I have reviewed my own code! 🤠

📚 Documentation preview 📚: https://ridgeplot--267.org.readthedocs.build/en/267/

Let's wait for #1398 to be merged and released


Support KafkaProperties from Spring Boot autoconfiguration

If KafkaProperties is available from KafkaAutoConfiguration, retrieve the kafka properties and set as KafkaBinderConfigurationProperties' configuration property.
This way, these properties are available at the top level and per-binding properties could still override when setting producer/consumer properties during binding operation
Add tests to verify the scenarios

Resolves #73

Reviewed, polished and squashed the commits. Merging.


Upgraded to SPFx 1.7 and fixing Blob and added Teams-tab support

Added the support of SPFx 1.7 using O365 CLI
Fixed the Blob bug where no photo was loaded
Added the support of using the WebPart as a Teams-tab

@andrewconnell / @juliemturner Let me know if this is something that would be relevant or should we just leave it as is. Currently a small bug prevent it to being used, so I think we should process at least the Blob error.

I think @andrewconnell made a lot of these same changes in his quarterly update (see #10), except for the Teams support stuff. I don't think we want to merge code changes in here without corresponding walkthrough instructions on adding that code into the project though.
@andrewconnell, do you have thoughts?

Agreed @jasonjoh ... all these things were addressed in the PR I submitted including the code changes in this PR but also the associated updates in the lab. IMHO, this PR can be closed without merging.


Cannot install tensorflow go

This is a continuation of a similar issue (#35133 ) but the missing package is now different. It appears that the fix has involved substituting one go dependency for another -- however, the new package also cannot be found:
go get github.com/tensorflow/tensorflow/tensorflow/go package github.com/tensorflow/tensorflow/tensorflow/go/core/core_protos_go_proto: cannot find package "github.com/tensorflow/tensorflow/tensorflow/go/core/core_protos_go_proto" in any of: 	/usr/local/go/src/github.com/tensorflow/tensorflow/tensorflow/go/core/core_protos_go_proto (from $GOROOT)        /Users/admin/go/src/github.com/tensorflow/tensorflow/tensorflow/go/core/core_protos_go_proto (from $GOPATH)

Please follow the Go README:
https://github.com/tensorflow/tensorflow/blob/master/tensorflow/go/README.md
You need to generate the proto files. That means you must use go get -d to download only and then use go generate to BUILD the proto .go files.

@glarchev, Did you get a chance to check @jhseu's comment. Thanks

@gadagashwini I did not. I may come back to it, but this solution is not ideal for me (see latest comments in #35133 for more detail).

@gadagashwini I tried to go through the install process just to see if it works, and it failed on the ./configure step because it expects bazel version 2.0.0, and I have 2.1.0. So it wants me to downgrade my bazel version, which I shouldn't have to do.

Hi, I have the same problem when I go through the installation process. I first had this error message: cannot find package "github.com/tensorflow/tensorflow/tensorflow/go/core/core_protos_go_proto".
So I followed the steps to builds things from source instead and had the error about the bazel version (I had bazel 2.2.0 instead of the request 2.0.0), but removing the .bazelversion files solved the problem.
Following the remaining allowed tensorflow for go to be installed correctly, though it was annoying to have to build everything from source.

@groud @glarchev fyi you can use https://github.com/bazelbuild/bazelisk bazelisk instead of install a specific installation of bazel.  This is a wrapper around bazel which will automatically install and use the correct version of bazel for your project.  Just put a .bazelversion with the desired version in your project root folder.  Still figuring this one out.  Let me know if you get anywhere with this please.

cd $GOPATH/src/github.com/tensorflow/tensorflow
git checkout v2.1.0

@longkeyy thanks a lot! that works.

@glarchev
Please move this issue to closed status if resolved.


Bendy and the Dark Revival BendyVRInstall  steam not license

hello i downloaded the game Bendy and the Dark Reviva and BendyVRInstall but when i try to start the game steam says i dont have the license. How can i fix this. Thanks

hello i downloaded the game Bendy and the Dark Reviva and BendyVRInstall but when i try to start the game steam says i dont have the license. How can i fix this. Thanks

mhm its not for Bendy and the Dark Revival its for Bendy and the Ink Machine


Error messages

Revisit all forms in fgt wallets. cause errors filling out the forms and review the errors messages (enhance as needed)

no longer required


build my own file format

hello, thanks for the tool. I have some idea to add <br> to every paragraph's end before publish. Do you know where I can modify the code to get this?

The server code is not open source at the moment. I haven't done a proper evaluation whether that would be possible.

No worries :) let me know if have plans to make it open-source as well, or if you need any help. Thanks. Very cool plugin


Why doesn't my plug-in take effect

Plug-in settings have not changed. Generally speaking, plug-ins can take effect, right? My 'vite.config.ts' is in the root directory.

If there is a solution, can you tell me how to set it up directly? I have read the tutorial of plug-in, but I have not understood it.
import presets from './presets'
export default defineConfig({
	plugins: [presets()],
})

import WindiCSS from 'vite-plugin-windicss'
import Unocss from 'unocss/vite'
import { presetAttributify, presetUno } from 'unocss'

export default () => {
	return [
		WindiCSS(),
		Unocss({ presets: [presetAttributify(), presetUno()] }),
		uni()
	]
}

Also, I don't know what to do after it takes effect. Do you want to show the code suggestions windicss?

it's my config file
// uno.config.ts

import { defineConfig, presetUno, presetAttributify, presetIcons } from 'unocss';
export default defineConfig({
  presets: [presetUno(), presetAttributify(), presetIcons()],
});

We temporarily close this due to the lack of enough information.
Please provide a minimal reproduction to reopen the issue.
Thanks.

Why reproduction is required


[question] how to validate json body with decorator

I have a question, maybe I doing it wrong...
I try to set up nhttp server with swagger API doc and json schema validation.  With some of your cool packages nhttp , nhttp_swagger, nhttp_controler and nhttp_validator.
import {  Validate,  validate } from<EMAIL_ADDRESS>
// validation via passing the validator manually with controller registry is working
app.use("/api", validate(Category), addControllers([CategoryController]));

// validation via Validate decorator isn't working
export class Category {
  @IsString()
  name!: string;

  @IsNumber()
  id!: number;
}

@ApiDocument({ name: "category" })
@Controller("/category")
export class CategoryController extends BaseController {
  @ApiRequestBody({
    description: "category to create",
    required: true,
    schema: Category,
  })
  @ApiOperation({ summary: "create category" })
  @Validate(Category)
  @Post()
  save(rev: RequestEvent) {
    const { body } = rev;
    return body;
  }
}

Is there an issue or am I missing something? Thx in advance.
btw.
I figured out that import ordering is important if I use validationMetadatasToSchemas. If that dependency is not imported before all the controllers, I get an error Error starting server.  TypeError: Cannot read properties of undefined (reading 'map'). Anyway, just FYI. Maybe that is worth a mentioing somewhere in the docs, because it took me an hour or two to figure that out.

well, you are right. for automatic @ApiRequestBody, it requires additional library class-validator-jsonschema.
import { validationMetadatasToSchemas } from "npm:class-validator-jsonschema";
...
// add to this options.
swagger(app, "/api-docs", document, { validationMetadatasToSchemas });

btw, for latest version 1.1.12 or higher, move to 3rd party lib. the advantage for developer experience, is that there is no need to worry about the version of the library.
Docs:
Controller => https://nhttp.deno.dev/docs/3rd-party-lib/routing-controller
Swagger => https://nhttp.deno.dev/docs/3rd-party-lib/swagger
Validator => https://nhttp.deno.dev/docs/3rd-party-lib/class-validator

perfect, with import via<EMAIL_ADDRESS>validation is working.
Thanks for your quick reply. 👍🚀


build(nodejs): add Dockerfile with yarn

We already have a Dockerfile with npm, would be great have an example with yarn

I have used the same file.
Instead of creating a new file, I just used the build args to switch between npm and yarn.


Questions about Processing Speed

Hi @cln515
As I notice you are using ICP for registration, I would like to know if the program itself might not be real-time due to the computing cost of ICP.
Would you please provide benchmark data for processing speed?
Also, would this whole fusion work with methods of less computing costs like NDT?

I will close as there was no reply.


Crash when opening 50mb YAML file

Version 0.10.1
As the subject says, When I attempt to open a 55MB YAML file, VS Code crashes.
Opening smaller files seems to work fine (5mb).  The larger one makes it blow up every time.
Let me know if I can provide any more information.

@flammard can you attach the file zipped?

@bpasero Github won't let me upload a zipped file.
Unfortunately, we don’t support that file type.  Choose Files Try again with a PNG, GIF, JPG, DOCX, PPTX, XLSX, TXT, or PDF.
Is there some other way of getting it to you?  It's about 3.5MB zipped with 7Zip.

@flammard in those cases I simply create a new repository on GitHub and upload it there via git :)

Here it is: https://github.com/flammard/data
Thanks very much for looking at this.

Brought back the following behaviour:

files over 5MB don't get synced to web workers
files over 20MB don't get any mode supports (coloring, intellisense, etc.)

These changes relieve the memory pressure and I can now open & edit this file fine.


Cxp 13/duplicate check start flashloan

The validity of marginfi_account has been checked at the beginning of the check_flashloan_can_start function. the state of marginfi_account remains unchanged until the end. Checking the validity of marginfi_account again at the end is redundant.

While it is redundant, the performance cost is negligible, and it helps to clarify the limitations at the end of the flashloan.


Bump version to 0.4.0

Also, kustomization.yaml too.
https://github.com/cybozu-go/zombie-detector/blob/main/config/default/kustomization.yaml