Downloads Rust version if specific point release already installed

Hi, cargo-hack is awesome, thank you for making it!
I'm running my CI pipeline using the rust:latest image, which always has the most recent point release installed:
root@a4a809c38181:/# rustup show
Default host: x86_64-unknown-linux-gnu
rustup home:  /usr/local/rustup

1.56.0-x86_64-unknown-linux-gnu (default)
rustc 1.56.0 (09c42c458 2021-10-18)

However, when I run something like cargo hack check 1.56.., it ends up redownloading the 1.56 toolchain, even though the image already has it installed. My guess is that this is because the image has 1.56.0 installed (with point release) while cargo-hack wants 1.56 (no point release).
Could cargo-hack somehow detect that the latest 1.56 release is 1.56.0 and re-use it if it's already installed?

I would accept a PR to re-use 1.x.y toolchain as 1.x toolchain when it is the latest point release.


Adding support for string timedelta

[x ] Closes #9554
[x ] Tests added / passed
[x ] Passes pre-commit run --all-files

Can one of the admins verify this patch?
Admins can comment ok to test to allow this one PR to run or add to allowlist to allow all future PRs from the same author to run.

ok to test


[bug] Player time_played not being recorded correctly at times

An issue with the time played data might not be logged correctly/accurately at times especially with players joining or leaving simultaneously which may log first time players with no recorded time on the server.

unsure where this could still be an issue but have attempted to fix it, difficult to replicate the bug. Altered the code to validate that the play time will be logged as soon as a player joins.


Feature request: Blur content

It would be nice to be able to blur content. I'd like to be able to show some sort of overlay which blurs the content beneath it. Currently when I show my "popup"/overlay I also add a border that has the same width and height as the window (or screen, as I'm running this directly on DRM) with a translucent background so the things behind my popup gets dimmed down a bit. It would be amazing it you could blur it instead (or more like blur+dim).
I would probably want to add everything that's supposed to be blurred as children to some component and have my overlays live parallel to that blur-container.
<UserControl>
	<Grid>
		<BlurContainer BlurRadius="15">
			<RegularApplicationContentComponent />
		</BlurContainer>
		<Grid IsVisible="{Binding IsThisPopupVisible}">
			<APopupComponent />
		</Grid>
	</Grid>
</UserControl>

Where BlurContainer.BlurRadius could be animated to allow this to "fade in"
This would require the renderer to extract sub-trees of the scene graph and render them into separate textures and then reapplying them as quads onto the output.
Having BlurRadius="0" (or a separate Enabled="false") could possible skip the separate texture to save on draw calls.
Describe the solution you'd like
Like above, or something similar.
Describe alternatives you've considered
Being able to provide specific shaders instead, but that would mean cross platform applications might have to provide multiple shaders, or use something like spir-v to transpile them.
PS. I know this is a tall request ;) I've seen in some issues you're working on a new renderer, so I'm asking anyway

It can ve done now with direct access to skia, if you need.
https://gist.github.com/kekekeks/ac06098a74fe87d49a9ff9ea37fa67bc

Implemented via bitmap effects, e. g. <Grid Effect="blur(5)" ...


Intellisense is wrong when inserting mutliple cells.

I inserted the following cells one at a time (from a joel grus book):
users = [
    { "id": 0, "name": "Hero" },
    { "id": 1, "name": "Dunn" },
    { "id": 2, "name": "Sue" },
    { "id": 3, "name": "Chi" },
    { "id": 4, "name": "Thor" },
    { "id": 5, "name": "Clive" },
    { "id": 6, "name": "Hicks" },
    { "id": 7, "name": "Devin" },
    { "id": 8, "name": "Kate" },
    { "id": 9, "name": "Klein" }
]

friendship_pairs = [(0, 1), (0, 2), (1, 2), (1, 3), (2, 3), (3, 4),
                    (4, 5), (5, 6), (5, 7), (6, 8), (7, 8), (8, 9)]

# Initialize the dict with an empty list for each user id:
friendships = {user["id"]: [] for user in users}

# And loop over the friendship pairs to populate it:
for i, j in friendship_pairs:
    friendships[i].append(j)  # Add j as a friend of user i
    friendships[j].append(i)  # Add i as a friend of user j

Intellisense shows this as the contents of the file:
users = [
    { "id": 0, "name": "Hero" },
    { "id": 1, "name": "Dunn" },
    { "id": 2, "name": "Sue" },
    { "id": 3, "name": "Chi" },
    { "id": 4, "name": "Thor" },
    { "id": 5, "name": "Clive" },
    { "id": 6, "name": "Hicks" },
    { "id": 7, "name": "Devin" },
    { "id": 8, "name": "Kate" },
    { "id": 9, "name": "Klein" }
                    # Initialize the dict with an empty list for each user id:
friendships = {user["id"]: [] for user in users}

# And loop over the friendship pairs to populate it:
for i, j in friendship_pairs:
    friendships[i].append(j)  # Add j as a friend of user i
    friendships[j].append(i)  # Add i as a friend of user j
friendship_pairs = [(0, 1), (0, 2), (1, 2), (1, 3), (2, 3), (3, 4),
                    (4, 5), (5, 6), (5, 7), (6, 8), (7, 8), (8, 9)]

Looks like the 3rd insert went into the wrong spot.

This should be working now. Need to validate.

@rchiodo How do i validate this without debugging?

There shouldn't be any diagnostics in any of the cells (or if there are, they should make sense). This used to insert them in the wrong order and end up with diagnostics that made that obvious.

Awesome,


Fix bug where search with distinct attribute has wrong totalHits and totalPages

Pull Request
Related issue
Fixes #4130
What does this PR do?
This PR -

Fixes the bug where search with distinct attribute and pagination (no ranking) returns incorrect values for totalHits and totalPages.
Add/update unit and integration tests.

PR checklist
Please check if your PR fulfills the following requirements:

[x] Does this PR fix an existing issue, or have you listed the changes applied in the PR description (and why they are needed)?
[x] Have you read the contributing guidelines?
[x] Have you made sure that the title is accurate and descriptive of the changes?

Thank you so much for contributing to Meilisearch!

bors merge


Bug in slate_decomp_q_agent

self._replay_next_target_net_outputs = self._network_adapter(           self._replay.states, 'Target')
should be
 self._replay_next_target_net_outputs = self._network_adapter(           self._replay.next_states, 'Target')
at https://github.com/google-research/recsim/blob/master/recsim/agents/slate_decomp_q_agent.py#L518

@cwhsu-google

Thanks @rahul-zomato was about to totally skip over this bug.


Adding the IS-05 extended schemas and examples

Andrew, could you please check if this is ok. Sender and receiver schemas are overridden and basic samples  are provided...

I though it would be good to specify the uninitialized state and I set it to auto which would mean "go and figure it out from the registry", although this would imply additional complexity on the receiving end as it would require drilling down to the source. Given that your base declarations allow null and don't have a default, I'll change the type to allow for nulls.

Andrew, could you please check the latest change?

Your nulls in the 'type' field will need to have quotes around them in order to be valid. It may also be worth doing the same on the Sender side.

Thanks for spotting this - I did it in a hurry and forgot to run the validation tests, it should be fixed now.
I didn't do it on the sender side as we are specifying the sender has to expose those and those are essentially read-only at the sender side (unlike an multicast address for RTP, control system isn't expected to set the API URL or the connected source's ID). I guess the same would apply to the broker_topic and websockets URL...
Is there another reason why nulls would have to be specified?

It's purely about an uninitialised state. If the Sender simply hasn't been configured yet but wishes to expose itself in order to permit configuration, then null must be an allowed value.

In my opinion, it wouldn't be according to the specification not to have the API URL and a connected sender known before starting a sender. Again, this is not something that would be configurable from the outside world, it is just the information for the control system so it can pass it on when connecting using IS-05.

I'm happy to leave this decision up to you. I don't personally see a downside in permitting nulls, but equally I don't have a problem with this approach.


Cleaned up article

Duplicate tables, and incorrect reference to tooling relevant to VS Code, rather than VS. Also the environment types were for VS Code. Formatting of table was broken for Preview in GitHub.

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

Article
Score
Issues
Scorecard
Processed

msteams-platform/toolkit/toolkit-v4/tools-prerequisites-v4.md
94
15
link
:white_check_mark:

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


Add schibsted/layout

https://github.com/schibsted/layout

@lfarah what do u think?

I like it!

Yes plz

Thx!


Admin UI: check if username is email

It is not currently checked under login and user edit forms.

on my machine (release 0.0.3) it prefills the login with 'admin'  I have to manually change to<EMAIL_ADDRESS>

What the browser prefills it with is not under our control.
Once #81 gets implemented, the issue should be less severe.
There is also #80 about #78 to finally fix broken inputs.

Email address validation is also under user form, just checked.


Analyzer misplaced "use void instead of Null" warning for extension type.

Example:
extension type B<T>(T? _) {}
extension type N(Null _) implements B<Never> {}

which yields the info:
Analyzing badwarn.dart...

   info - badwarn.dart:2:18 - Unnecessary use of the type 'Null'.
          Try using 'void' instead. - prefer_void_to_null

1 issue found.

Since changing Null to void would be a compile-time error, extension type representation types might not be the best place to apply that info.
(Any time a type has to be a subtype of some other type, suggesting void instead of Null risks being invalid.)

With null safety, prefer_void_to_null could be obsolete entirely. Cf. https://github.com/dart-lang/linter/issues/4758.


[Bug Report]  I treid restart to update game version to v<IP_ADDRESS>，but failed

Have you read the Important information text above

[X] Yes i did

Current behavior
cant entry the game , alert wrong game version
Desired behavior
update to v<IP_ADDRESS>
Links to screenshots
No response
To Reproduce
Steps to reproduce the behavior:

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

Software setup

OS:fedora
Docker:

Hardware setup

vCPU:
RAM:
Disk:

Additional context
No response

Hey @dayzKo1 - Please share your default.env and your logs

version: '3.9'
services:
palworld-dedicated-server:
#build: .
container_name: palworld-dedicated-server
image: jammsen/palworld-dedicated-server:latest
restart: always
network_mode: bridge
ports:
- target: 8211 # Gamerserver port inside of the container
published: 8211 # Gamerserver port on your host
protocol: udp
mode: host
- target: 25575 # RCON port inside of the container
published: 25575 # RCON port on your host
protocol: tcp
mode: host
environment:
- TZ=Asia/Shanghai # Change this for logging and backup, see "Environment-Variables"
- ALWAYS_UPDATE_ON_START=true
- MULTITHREAD_ENABLED=true
- COMMUNITY_SERVER=false
- BACKUP_ENABLED=true
- BACKUP_CRON_EXPRESSION=0 * * * *
- NETSERVERMAXTICKRATE=120
- DIFFICULTY=None
- DAYTIME_SPEEDRATE=1.000000
- NIGHTTIME_SPEEDRATE=1.000000
- EXP_RATE=3.000000
- PAL_CAPTURE_RATE=2.000000
- PAL_SPAWN_NUM_RATE=2.000000
- PAL_DAMAGE_RATE_ATTACK=1.000000
- PAL_DAMAGE_RATE_DEFENSE=1.000000
- PLAYER_DAMAGE_RATE_ATTACK=1.000000
- PLAYER_DAMAGE_RATE_DEFENSE=1.000000
- PLAYER_STOMACH_DECREASE_RATE=1.000000
- PLAYER_STAMINA_DECREACE_RATE=0.300000
- PLAYER_AUTO_HP_REGENE_RATE=5.000000
- PLAYER_AUTO_HP_REGENE_RATE_IN_SLEEP=5.000000
- PAL_STOMACH_DECREACE_RATE=1.000000
- PAL_STAMINA_DECREACE_RATE=0.300000
- PAL_AUTO_HP_REGENE_RATE=5.000000
- PAL_AUTO_HP_REGENE_RATE_IN_SLEEP=5.000000
- BUILD_OBJECT_DAMAGE_RATE=1.000000
- BUILD_OBJECT_DETERIORATION_DAMAGE_RATE=1.000000
- COLLECTION_DROP_RATE=3.000000
- COLLECTION_OBJECT_HP_RATE=3.000000
- COLLECTION_OBJECT_RESPAWN_SPEED_RATE=3.000000
- ENEMY_DROP_ITEM_RATE=3.000000
- DEATH_PENALTY=NONE
- ENABLE_PLAYER_TO_PLAYER_DAMAGE=false
- ENABLE_FRIENDLY_FIRE=false
- ENABLE_INVADER_ENEMY=true
- ACTIVE_UNKO=false
- ENABLE_AIM_ASSIST_PAD=true
- ENABLE_AIM_ASSIST_KEYBOARD=false
- DROP_ITEM_MAX_NUM=3000
- DROP_ITEM_MAX_NUM_UNKO=100
- BASE_CAMP_MAX_NUM=128
- BASE_CAMP_WORKER_MAXNUM=20
- DROP_ITEM_ALIVE_MAX_HOURS=1.000000
- AUTO_RESET_GUILD_NO_ONLINE_PLAYERS=false
- AUTO_RESET_GUILD_TIME_NO_ONLINE_PLAYERS=72.000000
- GUILD_PLAYER_MAX_NUM=20
- PAL_EGG_DEFAULT_HATCHING_TIME=0.000000
- WORK_SPEED_RATE=1.000000
- IS_MULTIPLAY=true
- IS_PVP=false
- CAN_PICKUP_OTHER_GUILD_DEATH_PENALTY_DROP=false
- ENABLE_NON_LOGIN_PENALTY=true
- ENABLE_FAST_TRAVEL=true
- IS_START_LOCATION_SELECT_BY_MAP=true
- EXIST_PLAYER_AFTER_LOGOUT=false
- ENABLE_DEFENSE_OTHER_GUILD_PLAYER=false
- COOP_PLAYER_MAX_NUM=4
- MAX_PLAYERS=16
- SERVER_NAME=jammsen-docker-generated-###RANDOM###
- SERVER_DESCRIPTION=Palworld-Dedicated-Server running in Docker by jammsen
- ADMIN_PASSWORD=123456789
- SERVER_PASSWORD=123456789
- PUBLIC_PORT=8211
- PUBLIC_IP=
- RCON_ENABLED=false
- RCON_PORT=25575
- REGION=
- USEAUTH=true
volumes:
- ./game:/palworld

root@localhost:/home/lbty/palworld# docker compose up
[+] Running 1/0
✔ Container palworld-dedicated-server  Created                                                                                0.0s
Attaching to palworld-dedicated-server
palworld-dedicated-server  | >>> Checking for existence of default credentials
palworld-dedicated-server  | >>> Doing an update of the gameserver
palworld-dedicated-server  | time="2024-02-01T19:03:35+08:00" level=info msg="read crontab: cronlist"
palworld-dedicated-server  | tid(17) burning pthread_key_t == 0 so we never use it
palworld-dedicated-server  | Redirecting stderr to '/home/steam/Steam/logs/stderr.txt'
palworld-dedicated-server  | Logging directory: '/home/steam/Steam/logs'
palworld-dedicated-server  | [  0%] Checking for available updates...
palworld-dedicated-server  | [----] Verifying installation...
palworld-dedicated-server  | Steam Console Client (c) Valve Corporation - version<PHONE_NUMBER>
palworld-dedicated-server  | -- type 'quit' to exit --
palworld-dedicated-server  | Loading Steam API...OK
palworld-dedicated-server  |
palworld-dedicated-server  | Connecting anonymously to Steam Public...OK
palworld-dedicated-server  | Waiting for client config...OK
palworld-dedicated-server  | Waiting for user info...OK
palworld-dedicated-server  |  Update state (0x5) verifying install, progress: 0.33 (7340032 /<PHONE_NUMBER>)
palworld-dedicated-server  |  Update state (0x5) verifying install, progress: 23.96 (538560020 /<PHONE_NUMBER>)
palworld-dedicated-server  |  Update state (0x5) verifying install, progress: 56.25<PHONE_NUMBER> /<PHONE_NUMBER>)
palworld-dedicated-server  |  Update state (0x5) verifying install, progress: 88.68<PHONE_NUMBER> /<PHONE_NUMBER>)
palworld-dedicated-server  | Error! App '2394010' state is 0x226 after update job.
palworld-dedicated-server  | >>> Starting the gameserver
palworld-dedicated-server  | >>> Setting up Engine.ini ...
palworld-dedicated-server  | Found [/Script/OnlineSubsystemUtils.IpNetDriver] section
palworld-dedicated-server  | Found NetServerMaxTickRate parameter, chaning it to 120
palworld-dedicated-server  | >>> Finished setting up Engine.ini ...
palworld-dedicated-server  | >>> Setting up PalWorldSettings.ini ...
palworld-dedicated-server  | Checking if config exists
palworld-dedicated-server  | Setting Difficulty to None
palworld-dedicated-server  | Setting DayTimeSpeedRate to 1.000000
palworld-dedicated-server  | Setting NightTimeSpeedRate to 1.000000
palworld-dedicated-server  | Setting ExpRate to 3.000000
palworld-dedicated-server  | Setting PalCaptureRate to 2.000000
palworld-dedicated-server  | Setting PalSpawnNumRate to 2.000000
palworld-dedicated-server  | Setting PalDamageRateAttack to 1.000000
palworld-dedicated-server  | Setting PalDamageRateDefense to 1.000000
palworld-dedicated-server  | Setting PlayerDamageRateAttack to 1.000000
palworld-dedicated-server  | Setting PlayerDamageRateDefense to 1.000000
palworld-dedicated-server  | Setting PlayerStomachDecreaceRate to 1.000000
palworld-dedicated-server  | Setting PlayerStaminaDecreaceRate to 0.300000
palworld-dedicated-server  | Setting PlayerAutoHPRegeneRate to 5.000000
palworld-dedicated-server  | Setting PlayerAutoHpRegeneRateInSleep to 5.000000
palworld-dedicated-server  | Setting PalStomachDecreaceRate to 1.000000
palworld-dedicated-server  | Setting PalStaminaDecreaceRate to
palworld-dedicated-server  | Setting PalAutoHPRegeneRate to 5.000000
palworld-dedicated-server  | Setting PalAutoHpRegeneRateInSleep to 5.000000
palworld-dedicated-server  | Setting BuildObjectDamageRate to 1.000000
palworld-dedicated-server  | Setting BuildObjectDeteriorationDamageRate to 1.000000
palworld-dedicated-server  | Setting PalAutoHpRegeneRateInSleep to 1.000000
palworld-dedicated-server  | Setting CollectionDropRate to 3.000000
palworld-dedicated-server  | Setting CollectionObjectHpRate to 3.000000
palworld-dedicated-server  | Setting CollectionObjectRespawnSpeedRate to 3.000000
palworld-dedicated-server  | Setting EnemyDropItemRate to 3.000000
palworld-dedicated-server  | Setting DeathPenalty to NONE
palworld-dedicated-server  | Setting bEnablePlayerToPlayerDamage to false
palworld-dedicated-server  | Setting bEnableFriendlyFire to false
palworld-dedicated-server  | Setting bEnableInvaderEnemy to true
palworld-dedicated-server  | Setting bActiveUNKO to false
palworld-dedicated-server  | Setting bEnableAimAssistPad to true
palworld-dedicated-server  | Setting bEnableAimAssistKeyboard to false
palworld-dedicated-server  | Setting DropItemMaxNum to 3000
palworld-dedicated-server  | Setting DropItemMaxNum_UNKO to 100
palworld-dedicated-server  | Setting BaseCampMaxNum to 128
palworld-dedicated-server  | Setting BaseCampWorkerMaxNum to 20
palworld-dedicated-server  | Setting DropItemAliveMaxHours to 1.000000
palworld-dedicated-server  | Setting bAutoResetGuildNoOnlinePlayers to false
palworld-dedicated-server  | Setting AutoResetGuildTimeNoOnlinePlayers to 72.000000
palworld-dedicated-server  | Setting GuildPlayerMaxNum to 20
palworld-dedicated-server  | Setting PalEggDefaultHatchingTime to 0.000000
palworld-dedicated-server  | Setting WorkSpeedRate to 1.000000
palworld-dedicated-server  | Setting bIsMultiplay to true
palworld-dedicated-server  | Setting bIsPvP to false
palworld-dedicated-server  | Setting bCanPickupOtherGuildDeathPenaltyDrop to false
palworld-dedicated-server  | Setting bEnableNonLoginPenalty to true
palworld-dedicated-server  | Setting bEnableFastTravel to true
palworld-dedicated-server  | Setting bIsStartLocationSelectByMap to true
palworld-dedicated-server  | Setting bExistPlayerAfterLogout to false
palworld-dedicated-server  | Setting bEnableDefenseOtherGuildPlayer to false
palworld-dedicated-server  | Setting CoopPlayerMaxNum to 4
palworld-dedicated-server  | Setting max-players to 16
palworld-dedicated-server  | Setting server name to jammsen-docker-generated-###RANDOM###
palworld-dedicated-server  | Found standard template, using random numbers in server name
palworld-dedicated-server  | Server name is now jammsen-docker-generated-20126
palworld-dedicated-server  | Setting server description to Palworld-Dedicated-Server running in Docker by jammsen
palworld-dedicated-server  | Setting server admin password to 123456789
palworld-dedicated-server  | Setting server password to 123456789
palworld-dedicated-server  | Setting public port to 8211
palworld-dedicated-server  | Setting public ip to
palworld-dedicated-server  | Setting rcon-enabled to false
palworld-dedicated-server  | Setting RCONPort to 25575
palworld-dedicated-server  | Setting Region to
palworld-dedicated-server  | Setting bUseAuth to true
palworld-dedicated-server  | >>> Finished setting up PalWorldSettings.ini ...
palworld-dedicated-server  | [S_API] SteamAPI_Init(): Loaded local 'steamclient.so' OK.
palworld-dedicated-server  | Shutdown handler: initalize.
palworld-dedicated-server  | - Existing per-process limit (soft=1073741816, hard=1073741816) is enough for us (need only<PHONE_NUMBER>)
palworld-dedicated-server  | Increasing per-process limit of core file size to infinity.
palworld-dedicated-server  | - Existing per-process limit (soft=18446744073709551615, hard=18446744073709551615) is enough for us (need only<PHONE_NUMBER>3709551615)
palworld-dedicated-server  | CAppInfoCacheReadFromDiskThread took 3 milliseconds to initialize
palworld-dedicated-server  | Setting breakpad minidump AppID = 2394010
palworld-dedicated-server  | [S_API FAIL] Tried to access Steam interface SteamUser021 before SteamAPI_Init succeeded.
palworld-dedicated-server  | [S_API FAIL] Tried to access Steam interface SteamFriends017 before SteamAPI_Init succeeded.
palworld-dedicated-server  | [S_API FAIL] Tried to access Steam interface STEAMAPPS_INTERFACE_VERSION008 before SteamAPI_Init succeeded.
palworld-dedicated-server  | [S_API FAIL] Tried to access Steam interface SteamNetworkingUtils004 before SteamAPI_Init succeeded.

Hey @dayzKo1 - Please share your default.env and your logs

Thank you for your reply. I have posted it below

@dayzKo1
Hmmm ALWAYS_UPDATE_ON_START is true but STEAMCMD_VALIDATE_FILES does not exist for you. The log looks good too.
Please update your old configs and files for docker-compose and default.env to the new format, the readme explains how to do that.
But from my POV there is nothing wrong in your settings nor logs.

@dayzKo1 you are also free to join Discord and ask there.

@dayzKo1
Hmmm ALWAYS_UPDATE_ON_START is true but STEAMCMD_VALIDATE_FILES does not exist for you. The log looks good too.
Please update your old configs and files for docker-compose and default.env to the new format, the readme explains how to do that.
But from my POV there is nothing wrong in your settings nor logs.

i will try to update the format

I upgraded and fresh-installed my test-server now 4 times, works like a charm.

I upgraded and fresh-installed my test-server now 4 times, works like a charm.

i add STEAMCMD_VALIDATE_FILES=true, but still not work...

I upgraded and fresh-installed my test-server now 4 times, works like a charm.

i add STEAMCMD_VALIDATE_FILES=true, but still not work...

I upgraded and fresh-installed my test-server now 4 times, works like a charm.

i add STEAMCMD_VALIDATE_FILES=true, but still not work...

besides this config, i thought webhook is useless , so i didnt add that.

I just had the same issue and was looking for a solution. I confirmed that the update is not happening because the steamservice.so file cannot be found. It was updated normally after executing the ln -s linux64/steamclient.so ./steamservice.so command.

Thoose 2 things have nothing to do with each other. Also you can see his SO is OK.

palworld-dedicated-server | [S_API] SteamAPI_Init(): Loaded local 'steamclient.so' OK.

besides this config, i thought webhook is useless , so i didnt add that.

Webhook is not enabled by default. You can add it anyways if you want.

i add STEAMCMD_VALIDATE_FILES=true, but still not work...

Validate doesnt download files, it just validates the checksums of all of them and checks if you have corrupted files.
Can you post your ip:port here if its extrernally reachable so i can try to connect?

@dayzKo1 you are also free to join Discord and ask there.

Again, Discord for chat is here too, then we dont have to write comments in issues as a chat ...

Hey there,
I also ran into this problem, but I did make some adjustments to the server before updating and had to take those into account.
What I did before:

Also created the symlink from ln -s linux64/steamclient.so ./steamservice.so
Manually created a steam_appid.txt and set chattr -a to the folder containing it (had to do that to migrate a previous world from a windows server to linux based) -> https://steamcommunity.com/sharedfiles/filedetails/?id=3146216731

So when I wanted to update he ran into a problem during the uppdate process and reported:
Error! App '2394010' state is 0x606 after update job
To fix this I did the following steps:

Back up the steam_appid.txt that I manually created
Execute chattr -a Pal/Binaries/Linux in the game folder to allow writes to the Linux folder
Started the docker compose file with updates enabled and the up to date docker image
The game updates within the docker file and reports -> Success! App '2394010' fully installed.
Shut down the server
Restore the backup of the steam_appid.txt and set chattr +a Pal/Binaries/Linux so that the server can't overwrite the steam_appid.txt (is required so that my players dont need to create new characters because of the previous change from windows to linux)
Start the server back up again, with updates and verification disabled (no idea if that is required, but it worked for me)

So when I wanted to update he ran into a problem during the uppdate process and reported:
Error! App '2394010' state is 0x606 after update job

https://docs.linuxgsm.com/steamcmd/errors#error-0x606

Hey there, I also ran into this problem, but I did make some adjustments to the server before updating and had to take those into account.
What I did before:

Also created the symlink from ln -s linux64/steamclient.so ./steamservice.so
Manually created a steam_appid.txt and set chattr -a to the folder containing it (had to do that to migrate a previous world from a windows server to linux based) -> https://steamcommunity.com/sharedfiles/filedetails/?id=3146216731

So when I wanted to update he ran into a problem during the uppdate process and reported: Error! App '2394010' state is 0x606 after update job
To fix this I did the following steps:

Back up the steam_appid.txt that I manually created
Execute chattr -a Pal/Binaries/Linux in the game folder to allow writes to the Linux folder
Started the docker compose file with updates enabled and the up to date docker image
The game updates within the docker file and reports -> Success! App '2394010' fully installed.
Shut down the server
Restore the backup of the steam_appid.txt and set chattr +a Pal/Binaries/Linux so that the server can't overwrite the steam_appid.txt (is required so that my players dont need to create new characters because of the previous change from windows to linux)
Start the server back up again, with updates and verification disabled (no idea if that is required, but it worked for me)

That sonds like a REALLY exotic setup you have there 😧

That sonds like a REALLY exotic setup you have there 😧

Yeah, 😅 We played on a Windows Managed Host for a good 20+ Hours until we ran into a bug and couldn't fix it due to the Managed Host, and we decided to migrate to a self-hosted Linux setup.
That required a bit of work to ensure that our characters were still associated with the players.
And the 0x606 definitely occurred due to the removed permission for the Pal/Binaries/Linux directory.

Well if its only 20 hours and we would have to migrate, pretty sure my friends would just say, "shit, but lets start over".
Well good for you when you found a hacky-workaround i guess 🤣

@dayzKo1 you got it running? Do you still need help?
If yes, please read https://github.com/jammsen/docker-palworld-dedicated-server/issues/162#issuecomment-1921197298 and follow that instructions.
@Taragos and i got off-topic, sorry.

@dayzKo1 you got it running? Do you still need help?
If yes, please read #162 (comment) and follow that instructions.
@Taragos and i got off-topic, sorry.

Im trying to understand this comment and make it

Again, there is a DISCORD full of people that could potentially help 👍 Link is in the Readme-page

Again, there is a DISCORD full of people that could potentially help 👍 Link is in the Readme-page

Hello Jammsen, the reason for the issue is that the hard disk storage space is insufficient. The hourly backup fills up 15GB of default space, and after expansion, it can be updated normally. I have joined the Discord group, and if there are any problems in the future, we will discuss them over there. Thank you!

Happy to hear it works now, you can enable the Backup-Rentention-Policy to hinder the disk running full. Its describen in the readme.
Im closing this issue as resolved, feel free to reach out again if you need help.
If you like this project, please consider giving this repo and the docker-hub-repo a Star.


Implement inequality operators (<, >, <=, >=) in the enable when statement

IMPORTANT: All PRs must be linked to an issue (except for extremely trivial and straightforward changes).
Fixes #818
Description
Implement inequality operators (<, >, <=, >=) in the enable when statement
Alternative(s) considered
no
Type
Choose one: Bug fix
Screenshots (if applicable)
Checklist

[x] I have read and acknowledged the Code of conduct
[x] I have read How to Contribute
[x] I have read the Developer's guide
[x] I have signed the Google Individual CLA, or I am covered by my company's Corporate CLA
[x] I have discussed my proposed solution with code owners in the linked issue(s) and we have agreed upon the general approach
[x] I have run ./gradlew spotlessApply and ./gradlew spotlessCheck to check my code follows the style guide of this project
[x] I have run ./gradlew check and ./gradlew connectedCheck to test my changes locally
[x] I have built and run the reference app(s) to verify my change fixes the issue and/or does not break the reference app(s)

please update this PR now that #847 is merged

Updating PR.

@jingtang10
Can you please review it?
I will check whether I can add more tests to increase code coverage.

Working on review comments.

#923

as discussed, merge the MoreTypes.kt files and move it to the common module and use the Type.compareTo rather than defining the extension functions on the QuestionnaireItemEnableWhenComponent.

done.

yes, quantity tests need to be moved to MoreTypes.kt, thanks!

Updating code as per review comments.


[Proposal] Upgrade Java version to 11

Search before asking

[X] I had searched in the feature and found no similar feature requirement.

Description
The current Java version of StreamPark is still 1.8, but Java 11 has become the mainstream version of Java. Many new versions of Java ecosystem libraries are compiled based on Java 11, including Flink and Spark, which have provided support for Java 11 early on.
StreamPark's upgrade to Java 11 is considered from the following aspects：

Flink： Flink supports Java 11 starting from version 1.10, refer to FLINK-10725
Spark： Spark 2.4.x and 3.x uses Scala version 2.12, so Java 11 will work with that version.
Streampark itself：
The Java code of StreamPark can be compiled successfully in Java 11, and the Scala code based on Scala 2.12 which naturally supports Java 11.
Due to the extensive use of SPI and reflection mechanisms within StreamPark, it may be necessary to add additional JVM parameter --add-opens  in the program startup script to eliminate unsafe reflection warnings.

Reference
[Discussion] Upgrading JDK to 11 and removing support for Scala 2.11
Are you willing to submit a PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

+1, The topic of upgrading JDK has been discussed several times, and it is time to start this plan.

good job, I think we can vote in the mail list to better drive this proposal.

After upgrading java 11, you can consider upgrading scala to scala2.13

close ...
For details, please see : https://lists.apache.org/thread/mx8vgq4jp8dk2wgm8m5g1mmq806wzjzg


AMBARI-24583. Ambari agent status could be reported stale just after execution command thread has finished execution

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/3817/
Test FAILed.
Test FAILured.

retest this please

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/3827/
Test PASSed.


"Do I need an Umbrella" results in -  Ignoring kUnimplemented action error!

Hi, I am running the src/assistant_library_with_local_commands_demo.py
Whenever I ask it whether I need an umbrella,  I see this
Say "OK, Google" then speak, or press Ctrl+C to quit...
You said: what day is it
You said: do I need an umbrella
[1546:1558:ERROR:assistant_output_handler.cc(543)] Ignoring kUnimplemented action error!

You said: what day is it
You said: do I need an umbrella
[1546:1558:ERROR:assistant_output_handler.cc(543)] Ignoring kUnimplemented action error!
As you can see:

It does ignore the "error"
The error only appears when I ask if I need an umbrella.

You might or might not want to investigate.
PS - I haven't amended the src file in any way

Thanks for letting us know.
@Fleker, is this something we should forward to assistant-sdk-python?

I think this is a known issue on the assistant sdk side.
@sheridat do you see the same problem when you ask other weather related questions?

@Fleker Yes here is an example
Say "OK, Google" then speak, or press Ctrl+C to quit...
You said: will it rain today
[1155:1167:ERROR:assistant_output_handler.cc(543)] Ignoring kUnimplemented action error!
You said: is a cloudy day
[1155:1167:ERROR:assistant_output_handler.cc(543)] Ignoring kUnimplemented action error!


Get App Status Support

Describe your feature request
This allows support checking if an app is running, stopped or running in background.
How important is this to you?
Important
Describe the solution you'd like
No response
Describe alternatives you've considered
No response
Additional context
No response

@wherewhere Let's merge this. I'll create a new issue for adding tests and documentation for this.

How to merge issues???


Cache calculated bump seeds in context

Closes https://github.com/project-serum/anchor/issues/1364.
Pre-requisite for https://github.com/project-serum/anchor/pull/1361. This is needed for non anchor accounts that won't have the account header and so can't store bump seeds directly in the account data (and so the bump needs to be stored in some other associated account).
One can use ctx.bumps.get("<my_account_name>") to get a bump seed already searched for in the accounts context.

Given that we know which accounts require a PDA check at compile-time, would it be more efficient to generate a struct like BumpsAccountStruct instead of using a BTreeMap? For example:
#[derive(Accounts)]
#[derive(bumps)] // hypothetical proc macro for this suggestion
pub struct Example {
      #[account(
          seeds = [...],
          bump = auction_authority_bump,
      )]
    pub pda_1: AccountInfo<'info>,

    pub not_pda: AccountInfo<'info>,
}

would generate
pub struct BumpsExample {
  pub pda_1: Option<u8>
}

With a BTreeMap with string keys, there are no compile-time checks for account name refactors as well. If i change the struct field name from pda_1 to pda_2 but forget to change the code from ctx.bumps.get("pda_1") to ctx.bumps.get("pda_2"), it becomes a runtime error instead

Given that we know which accounts require a PDA check at compile-time, would it be more efficient to generate a struct like BumpsAccountStruct instead of using a BTreeMap? For example:
#[derive(Accounts)]
#[derive(bumps)] // hypothetical proc macro for this suggestion
pub struct Example<'info> {
    #[account(
        init,
        seeds = [...],
        bump,
    )]
    pub pda_1: AccountInfo<'info>,

    pub not_pda: AccountInfo<'info>,
}

would generate
pub struct BumpsExample {
  pub pda_1: Option<u8>
}

With a BTreeMap with string keys, there are no compile-time checks for account name refactors as well. If i change the struct field name from pda_1 to pda_2 but forget to change the code from ctx.bumps.get("pda_1") to ctx.bumps.get("pda_2"), it becomes a runtime error instead

compile-time checks are a feature IMO

@billythedummy that sounds good. How would you expect to access this from the context?

so i think ctx.bumps would be the generated struct instead of a BTreeMap (so BumpsExample in this case). So instead of ctx.bumps.get("pda_1") it will be ctx.bumps.pda_1. This will probably require adding a new generic to Context for this "bumps" type. Haven't looked closely at the lang internals yet so i'm not sure how difficult it would be to implement this.


Need page to manage event.

On Scheduler, dependent Services, Automations and Gadgets count should be displayed on expansion.
And On Event, expansion attached Automation count should be there.

Email/SMS--> Automation
Custom filter--> Automation, Gadget and Service

https://www.youtube.com/watch?v=6ts7HNCfZf8&feature=youtu.be

Dependend items ka count coloum me dikhana hai. and Expand karne pe jo bhi dikhta hai woh hatana hai aur uski jagah woh items jo dependednt hai woh box me dikhani hai

priority bhi naya aaya hai

Query builder pe bhi humko pata chalna chahiye ispe kya kya dependend hai

Query builder page se plz remove following coloums : total run, create date and on expand plz show dependend items


Provide ARM template to automatically deploy the Azure infrastructure

Provide ARM template to automatically deploy the Azure infrastructure

If no one is looking at this one yet, can I pick this one up?

Nobody is picking this up yet, @SamVanhoutte can you give Carlo access to have a look at our environment?

@CarloGarcia > has been done
tx, @tomkerkhove


Error: cannot find model with key r9_250bps.cpg.6mer.complement.pop2

Hi,
After executing 'nanopolish call-methylation' command, I received the following notifications and the run stopped.
[fai_load] build FASTA index.
Error: cannot find model with key r9_250bps.cpg.6mer.complement.pop2
Thanks
cy

Hi,
Sorry for leaving this so long. Right now the support for calling methylation on the complement strand is not very good since most sequencing runs are 1D. I suggest as a workaround extracting only template reads - I will fix the handling of the complement model when we have 1D^2 data.
Jared

Fixed in  7cb2211


Failed when used in aws region eu-west-2 (London)

E0816 15:28:20.335901       1 albingresses.go:211] Failed to get associated Web ACL. Error: RequestError: send request failed
caused by: Post https://waf-regional.eu-west-2.amazonaws.com/: dial tcp: lookup waf-regional.eu-west-2.amazonaws.com on <IP_ADDRESS>:53: no such host
I0816 15:28:20.335946       1 albingresses.go:101] Assembled 0 ingresses from existing AWS resources in 49.70894416s
F0816 15:28:20.335962       1 albingresses.go:103] Assembled 0 ingresses from 1 load balancers
Release:    1.0-beta.6
Build:      git-f740c293

As far as I can see, It is the same problem encountered in issue #439
This problem have also been seen in eu-west-3, where there's no WAF service (this error will be triggered anywhere this service is unavailable (availability here)).
As @rifelpet suggested, a prerequisite of ALB creation would be a check through SDK function (documented here); Resolving endpoint first, and taking action accordingly, would be interesting
I am working w/ m on a PR to develop this option.
@bigkraig : Regarding session information, I am digging around to easily retrieve region (configured through AWS profile/credentials). Do you have any suggestions in order to achieve it easily ?

@grockeek I've been using the AWS_REGION environment variable, AFAIK that is the only way to get it unless the app also accepts a parameter and overrides the client. aws-cli works the same way. Thanks for looking into this one!
I'm going to close this one since this is the same as #439.


Action not properly reporting ICEs

Do the checklist before filing an issue:

[x] Is this related to the actions-rs Actions?
If you think it's a problem related to Github Actions in general, use GitHub Community forum instead: https://github.community
[x] You've read the Contributing section about bugs reporting: https://github.com/actions-rs/.github/blob/master/CONTRIBUTING.md#reporting-bugs
[x] Is this something you can debug and fix? Send a pull request! Bug fixes and documentation fixes are welcome.

Description
My current workflow has encountered an ICE, however, the clippy action doesn't acknoledge it as one in the generated report
Workflow code
Paste that part of your workflow yaml file that causes the bug in here.
  clippy:
    name: Clippy
    runs-on: ubuntu-latest

    steps:
      - name: Checkout sources
        uses: actions/checkout@v2

      - name: Install nightly toolchain
        id: toolchain
        uses: actions-rs/toolchain@v1
        with:
          toolchain: nightly
          components: clippy
          profile: minimal
          override: true

      - name: Cache dependencies
        uses: Swatinem/rust-cache@v1

      - name: Run clippy
        uses: actions-rs/clippy-check@v1
        env:
          RUSTFLAGS: "-C target-cpu=haswell"
        with:
          token: ${{ secrets.GITHUB_TOKEN }}
          args: --all-features --tests --workspace

Action output
  thread 'rustc' panicked at 'assertion failed: self.start_pos.to_u32() + total_extra_bytes <= bpos.to_u32()', compiler/rustc_span/src/lib.rs:1677:9
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

  error: internal compiler error: unexpected panic

  note: the compiler unexpectedly panicked. this is a bug.

  note: we would appreciate a bug report: https://github.com/rust-lang/rust-clippy/issues/new

  note: Clippy version: clippy 0.1.58 (65f3f8b 2021-11-21)

  query stack during panic:
  #0 [analysis] running analysis passes on this crate
  end of query stack
  {"reason":"compiler-message","package_id":"starchart 0.4.0 (path+file:///home/runner/work/starchart/starchart)","manifest_path":"/home/runner/work/starchart/starchart/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"starchart","src_path":"/home/runner/work/starchart/starchart/src/lib.rs","edition":"2018","doc":true,"doctest":true,"test":true},"message":{"rendered":"warning: 9 warnings emitted\n\n","children":[],"code":null,"level":"warning","message":"9 warnings emitted","spans":[]}}
  ##[debug]Message code is missing, ignoring it
  {"reason":"build-finished","success":false}
  ##[debug]Unexpected reason field, ignoring it: build-finished
  error: could not compile `starchart`; 10 warnings emitted
  ::endgroup::
Clippy results: 0 ICE, 0 errors, 9 warnings, 0 notes, 0 help
##[debug]Prepared next annotations bucket, 9 size
##[debug]This is a last iteration, marking check as "completed", conclusion: success
##[debug]Prepared next annotations bucket, 0 size
Error: Clippy had exited with the 101 exit code
##[debug]Node Action run completed with exit code 1
##[debug]Finishing: Run clippy

Expected behavior
The clippy report generated to have a one when reporting ICEs
Additional context
Add any other context about the problem here.
logs_1030.zip

Accidentally opened this on the wrong repo


Issues for Europeans with google search

At the moment agency-swarm fails when it tries to use google search. The way it uses the function is correct thought + also the generated URL.
E.g.
https://google.com/search?q=prompt+optimization+API+for+natural+language+processing"}', name='ReadURL')
This is most likely because of GDPR. If you open google in a private browser tab from Europe you will see this:

To make this work it would need to accept the terms.

Interesting. Can you please modify the ReadURL tool to include a check if this modal is present, and close it accordingly with selenium? @ai-made-approachable


feat: add font variables for components in theme v2

Motivation
Consistency + possibility to change the font easily without having to write long selectors to override the default font settings for components. It seems that font rules is one of few that does not have its component variables.
Example
In order to change the textarea font we have to do the following:
.str-chat__message-input .str-chat__message-textarea-container .str-chat__message-textarea {
    font: var(--str-chat__body-text);
}

Easier would be something like:
.str-chat {
  --str-chat__message-input-textarea-font: var(--str-chat__body-text);
}

If you use CSS cascade layers, you can just write .str-chat__message-textarea, but the issue makes sense regardless of that


Table 5.1.7

TOE Security Functional Requirements Rationale table needs to be fixed after removal of SOs.

Fixed.


[Color Picker] Pick a bigger area and use the average color

📝 Provide a description of the new feature
What is the expected behavior of the proposed feature?  What is the scenario this would be used?
The color picker picks a wider area around the cursor and calculates the average pixel color inside the area.
Right now the color picker picks the color of one pixel. Exactly what a color picker is expected to do.
However in some cases this is not the ideal behavior. When picking the color from a real image every pixel has a slightly different color. Calculating the average color of the neighbour pixels would lead to a smoother output.
It should be possible to activate the feature in the settings page. Moreover the size of the area should also be adjustable.

If you'd like to see this feature implemented, add a 👍 reaction to this post.

I would add a hotkey to make the area for the time the key is pressd bigger. (How much bigger can be a new option in the settings)

could do 1, 5, 9, 25 grid based.  Would have to be in settings.

I removed the Product-Settings label since this is a feature request for the module not an improvement for the current Settings app.

I would prefer Shift + Scroll to change the sampling area, or similar.

I would prefer Shift + Scroll to change the sampling area, or similar.

I added settings in as it would have to touch the settings UX.
@rawlinson, when would you use exact vs sampling?  If still have the non-zoom scenario to deal with for interaction model if this can be a dual mode input.

I added settings in as it would have to touch the settings UX.
@rawlinson, when would you use exact vs sampling?  If still have the non-zoom scenario to deal with for interaction model if this can be a dual mode input.

As an example, exact when selecting the colour of some text, average when selecting colour from a photo, e.g. the sky - noise will mean that individual pixels won't represent the colour seen when viewing from any sort of distance.

As an example, exact when selecting the colour of some text, average when selecting colour from a photo, e.g. the sky - noise will mean that individual pixels won't represent the colour seen when viewing from any sort of distance.

From #15071

How to deal with edges,
is it a square vs circle…
what sampling algorithm
the size
how to fast swap

Can I propose that the sensed area be defined by a click+drag rectangle. This is compatible with the current click+release to measure a single pixel, and does not need any additional controls.

Has there been any progress on this?

it is very useful especially for textured areas


Update Coinbase Tax Collector to include "losses"

Presently, all CTC results are listed as "gains" in all circumstances.  The script should be updated so calculations are listed as "losses" whenever relevant.

Good suggestion, I will put up a PR for this by the end of this week!

Hi @mdoming10  please check out this PR where I implement this. Let me know if this looks like what you expect with "Losses" vs. "Gains"!
https://github.com/ydeleon6/coinbase-tax-collector/pull/5


[FLINK-23457][network] The upstream sends the buffer of the right size for broadcast case

What is the purpose of the change
This PR fit NewBufferSize in broadcast case
Brief change log

Support create  broadcast buffer consumers with desirable size

Verifying this change

Added unit tests for each classes which behaviour was changed

Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): ( no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (no)
The serializers: (no)
The runtime per-record code paths (performance sensitive): (no)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: (no)
The S3 file system connector: (no)

Documentation

Does this pull request introduce a new feature? (no)
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)

@flinkbot run azure

@flinkbot run azure

I've updated, please have a look again.thx @pnowojski

@lometheus , I left one more comment, you can check it and then you can squash your commits to one for the final review and test.

Wonderful idea ,I just fixed it with select a desirable buffer size.
exp: A question when I use
 PipelinedSubpartition.bufferSize($size)
reset subpartition buffers size ,It seems only first buffer affected by $size , is this normal?

A question when I use PipelinedSubpartition.bufferSize($size) reset subpartition buffers size ,It seems only first buffer affected by $size , is this normal?

If I understood your question right then if one record allocates more than one buffer then the first buffer would be trimmed but the second one will be equal to the size of the rest of the record. In an ideal world, we should trim the second buffer too but in reality, it requires serious changes in the code which actually doesn't make any sense because it is a big mistake to configure buffer size less than one record.
So the answer is yes, it trims only the first buffer for one record but it will trim for each next record too. You can take a look at the comment inside of BufferWritingResultPartition#addToSubpartition.
P.S. Please, squash your commits into one(and you can rebase onto the fresh master).

I squash all my commits into one , thinks for your review and patiently answer again

P.S. Please, squash your commits into one(and you can rebase onto the fresh master).

@lometheus , could you rebase this PR on top of the latest master to pull in the fix for this failure so that we could have a green build?

restored  dev_20210827

@flinkbot run azure

@flinkbot run azure

@flinkbot run azure

@pnowojski flinknot seems doesn't work anymore, how can I deal with this condition

It takes some time for the flinkbot to pickup PR. It looks like it did just that and the most recent version of this PR seems to have some failures?

bfeab81 Azure: FAILURE

Azure was green, merged to master manually after squashing the commits. Thanks @lometheus for your contribution :)


Do you plan to make this Vue 2.0 compatible?

Wondering if you plan to update this. Quill is a great editor. Thank you!

Hi @irelandpaul
Thanks for the kind words. I have just started using Vue 2, so I am just getting used to it before I make any changes.
Do you have much experience with Vue 2 to offer some pointers?
Cheers
Brock

I started with Vue 2 so I'm not sure the differences beyond what is written in the migration guide. I tried my hand changing the depreciated references like v-el , but I did not get it working correctly. It showed up on the page but was not focusable. Before I spun my wheels too much I was going to see if you were planning on working through it.  If I do make any progress I'll let you know!

I just hacked something together to start you off here. I commented each line I hacked.
You need to download the quill.css for 1.1.3, and update the quill module to 1.1.3

I started to work on a VueJS 2 version (and an up-to-date version of Quill).
And since Quill removed setHTML and getHTML in v1.x, a small "hack" is needed to implement the same behaviour again : this.editor.root.innerHTML is used to get (and set) the HTML.
You can find my WIP version here : https://github.com/Elhebert/vue-quill/blob/master/src/Quill.vue
I still have to make some tweaks (and to test it all), and of course, since quite a lot change with VueJS 2, I also need to change the README, which is why I haven't made a PR yet.

I have created a new branch (vue2) that we will be merging the changes from https://github.com/CroudSupport/vue-quill/pull/13 into.
Feel free to test this version and give feedback and when we are happy I will publish this new version to NPM.

Sorry for the stupidly long wait.
This is now vue2


question: Edit and Page Info buttons are blank

version is 2.0.275, fresh install last week
This is in all pages in all themes.

Could you press F12 in Chrome, reload the page and see under Network why the images aren't loading?

In IE they wont load for me either, in Chrome it works perfectly.

Ok nevermind .. on the server IE 10 was in compatibility view .. hope this fixes it for someone else some day :)

I'll add Edge+ support only for v3. It's a shame IE has to spoil it for everyone 😛


New productivity tool: Shortexts

New productivity tool: Shortexts
Submitted by main developer.
http://shortexts.com/

Looks good to me. Thanks! :sparkles:

It is because this is not downloaded from the App Store. By default OSX only allows to run apps downloaded from the app store.

@CarlosR2 this is not correct. To prevent users from seeing the "unidentified developer" warning, you just need to code sign your app. See these links for more info:

http://electron.atom.io/docs/tutorial/mac-app-store-submission-guide/
https://github.com/electron-userland/electron-osx-sign
https://github.com/electron-userland/electron-builder

yeah,
I wrote that weeks ago when I hadn't signed the app yet and didnt know about the developer program.
Now it's signed so I'll correct it.
thanks for the comment

👍


Config.getattr should raise AttributeError

Description

Make __getattr__  to raise  AttributeError instead of return it.Avoid using try except
Motivation and Context

User should be responsible for getting the wrong attribute.To return AttributeError might cause unexpected problems.Raise it instead.Also, aviod using try except syntax
How Has This Been Tested?

[ ] Pass the test by running: pytest qlib/tests/test_all_pipeline.py under upper directory of qlib.
[ ] If you are adding a new feature, test on your own test scripts.

Screenshots of Test Results (if appropriate):

Pipeline test:
Your own tests:

Types of changes

[ x ] Fix bugs
[ ] Add new feature
[ ] Update documentation

@hadrianl
Many thanks for your contribution!

Excellent Project!keep up the good work!


App insights

Pending PR #8  (branched off of properSerialization branch)

/example/simple/app.js: Moved simple app.js
/example/simple/README.md: Created and added payload image for reference
/example/applicaitonInsights/applicationInsights.js: Example of how to implement
/example/applicaitonInsights/README.md: Create step-by-step instructions to implement with image example of metrics in portal

Closes #3

@howlowck Good call :) Censored.


toro looping issues

I have been try to loop my video playing in the toro player .
The structure i used is :
viewpager->frag1=>recyclerview loads 20 videos
->frag2=>recyclerview loads 20 videos
now the issue is one i was able to loop videos by calling onplaybackcompleted override and add seektoposition(0)
This raised issues like when i move from one fragment to another it doesnt cause a problem if the video plays
Now let me say the video has looped ....now when i move from one fragment to another the playback doesn't stop i was able to identy by going into the inner loop and found this
if (manager.getPlayer() != null)
which is returns null if the video is looped atleast once
compile "im.ene.toro2:toro-ext-exoplayer2:2.3.9"

i found out that u are setting the manager.setplayer(null) on playback completion
but how can I avoid this?

Sorry, Toro currently doesn't play well with ViewPager ... You might want to manually control which RecyclewView / Fragment you want to focus, and disable the rest.

no i think fragment system is fine but after completion the player is being set to null only if we can avoid this the fragment system will work fine.
any suggestion on how to do this?

@harikautilya If you are using the exoplayer 2 extension you can simply avoid this by using LoopMediaSource to wrap your original MediaSource. It works well with my library ... (using this will not trigger the complete event until you manually stop the player)

@eneim can u show me related file?

Currently i am using ExoPlayerViewHolder

return new LoopingMediaSource(ExoPlayerHelper.buildMediaSource(itemView.getContext(),                 Uri.parse(videoThumbUrl),                 new DefaultDataSourceFactory(itemView.getContext(),                         Util.getUserAgent(itemView.getContext(), "song")),                 itemView.getHandler(), null), 1);
this is my get media source

got it worked like a charm thanks

@harikautilya good to hear. I will improve this in next major release. But using LoopingMediaSource will be a good solution since I want to use ExoPlayer2 as main playback backend.

yes the issue i had is the put the loop count to 1
when i put it Integer.MAX_VALUE - 1 it worked fine


Unexpected triggering of URLs on blur

There is some behavior that seems unexpected that triggers on blur.
Unexpected cases
There are two cases that seem off from my expectations:
Removing a link and changing focus

Enter the Quill editor
Enter text https://www.google.com test
Click to move the cursor to be between the o and the m in .com
Use the pop-up to remove the link
Click out of the editor
Expected: All text will be plain text
Actual: There is a URL for https://www.google.co with the m from .com left as plain text

Clicking into URL-like text and changing focus

Enter the Quill editor
Enter text https://www.google.com test
Click to move the cursor to be between the o and the m in .com
Use the pop-up to remove the link
Click to the end of the text
Click out of the editor
(Note: At this time https://www.google.com test will all be present as plain text)
Click to move the cursor to be between the o and the m in .com
Use the pop-up to remove the link
Click out of the editor
Expected: All text will be plain text
Actual: There is a URL for https://www.google.co with the m from .com left as plain text

To more narrowly cover the needs of #48 (which prompted #56), I'm wondering when running on blur the URL matching should only occur if the cursor is at the end of the text area or if it is immediately followed by a space.

Thanks for submitting this bug. It should be fixed in the newest release:
https://github.com/visualjerk/quill-magic-url/releases/tag/4.1.4


vtlb must be required?

Could you please explain the reason why haxm provides vtlb support? Is there any historical reason? If we guarantee that ept must be enabled, is it possible to remove vtlb? We notice that allocation for the pages related to vtlb takes a long time during vcpu initialization.

Good question!
There are indeed some historical reasons. At the beginning of HAXM implementation, some CPUs had not supported the EPT feature yet, so vTLB was first enabled. As it was not verified again that whether vTLB could still work on those old CPUs, this part of code remained.
After optimizing the EPT last time, we cleaned up the legacy EPT and removed some vTLB functions. In the future, if it does not impact the support of existing products, we may consider to optimize and test EPT once again to ensure that only EPT is kept.
Thanks a lot.


Fix broken link for Tailwind config

Link to "Learn more about overwriting Tailwind config" is broken and should be fixed

@Atinux


Restructure interface code

I have looked in to the autocompletion for the search box and I found that jquery has library which will do exactly what we are after. I have some suggestions on how we could restructure and separate the code to decrease the coupling between the components and increase cohesion of the classes we have created.

Create a new class "dataFetcher" or "apiService" which handles all communication with the rest api.
We should move the fetch methods from the card generator to this class. Modules should be able to register to one of the apis and get the data on the same time when it is available.

Create a class of the card generator and add the event listener to the init method.
It should be possible to reuse this component without any issues.
The id of the tag to add the cards to can be passed to the init method.

I have created a new branch for this and also implemented the autocompletion in the same branch. #16
There is still some work to be done (Most graphical) until it can be merged, I have split the functionality of the previous card generator script and reuses this for the new search bar. There is very few html changes but quite a few changes to the java scripts.
https://github.com/annk15/MTGKeywordHelper/tree/feature/restructure-interface-and-new-search


Headline cutoff while loading

My page was like this for about 10 seconds.
IIRC, this is due to the lazy instantiation of MDL, but seems like a big risk to defer applying styles so long.

Oops, wrong paste. I meant this image:

There's a bug with MDL 1.0.4/5 that seems to cause this to happen. I'll give the team a nudge to see when we'll get something newer.

Thanks for the feedback, we've got an update coming next week that should fix this.


Feature/custom xml

Alrighty, I got a very basic version of custom XML working.   That leaves migrations which I will start on now.

thank


bug: Video artefacts after hibernate mode in Ubuntu

After Hibernate mode in Ubuntu 21.04 switch to Pomatez window and you will see something like the attached picture.
The only thing that helps is switch to any other tab and then back to Timer.

I don't believe there is anything we can directly do to cause or fix this other than hoping this is fixed in a later version of electron though I will need to do a bunch of tests before upgrading the electron versions.
If you disable the transition value it may be less likely to occur on this, though we will need to look to see if it is consistent or possibly just an issue with your setup as its relating to hibernation issues.
Atm I don't have any machines setup with ubuntu so if anyone else can confirm this?

@konstantin83 could you give the linux build from here a go?
https://github.com/roldanjr/pomatez/actions/runs/2217418376

As there has been no further information or confirmations im closing ths for now


Suspected regression from 1.8.x to 2.0 release

TypeScript Version:  2.0 - downloaded via the announcement blog post.  VS 2015 Update 3.
Code
I have a helper function like so

function ifNotNull<T, R>(element: T, funcIfElementNotNull: (e: T) => R, funcIfElementIsNull?: R | (()=>R)) {
    if (element !== undefined && element !== null) {
        return funcIfElementNotNull(element);
    }

    if (_.isFunction(funcIfElementIsNull)) {
        return funcIfElementIsNull();
    } else {
        return funcIfElementIsNull;
    }
}

Note that I've got _.isFunction typed as
isFunction<T>(object: T | (()=>T)): object is (()=>T);

After updating to 2.0 I got a bunch of errors in my codebase where it appears the inferred return type of the function is the union type R | (()=>R) whereas it used to be, in 1.8, inferred as just R.
The idea is that I often have code like
var thingId = ifNotNull(someExpensiveFuncThatMightReturnNull(), x => x.Id);

which lets me get thingId to be typed the same as whatever x.Id is and cleanly handle someExpensiveFuncThatMightReturnNull() being null without having to invoke it twice and use the || operator to substitute my null value.
Expected behavior:
I would have expected that the if block would eliminate types from the union (as was the case in TS 1.8)
if (_.isFunction(funcIfElementIsNull)) {
    //type of funcIfElementIsNull is ()=>R.  Inferred correctly in 1.8.x and 2.0.x TS versions.
        return funcIfElementIsNull();
    } else {
    //type here should infer as R, but it's inferring as R | (()=>R).  This is the regression
        return funcIfElementIsNull;
    }

Actual behavior:
See the comments in expected behaviour.
My fix was to add an explicit return type of R to the function and a cast on the final return statement.
I don't have TS 1.8 handy anymore to actually inspect the types of the variables & parameters at various points in the function.
Side note
Looking forward to trying out the new 2.x features :)  Thanks!

Note that my calling example of that function didn't provide the 3rd parameter.  An example with it, which  doesn't change the actual problem, would be
var thingId = ifNotNull(someExpensiveFuncThatMightReturnNull(), x => x.Id, myFallbackId);

or
var thingId = ifNotNull(someExpensiveFuncThatMightReturnNull(), x => x.Id, myFallbackIdCalculatorFunc);

Often I just want the nullness to safely propogate which is why the third parameter is optional.

The narrowing for having a call signature does not conclusivelly say that funcIfElementIsNull is not a function. so in the else branch it is still R | ()=>R. I would recommend changing the narrowing logic to be:
    if (typeof funcIfElementIsNull === "function") {
        return funcIfElementIsNull();
    } else {
        return funcIfElementIsNull;
    }

Automatically closing this issue for housekeeping purposes. The issue labels indicate that it is unactionable at the moment or has already been addressed.


Adding the HAREM dataset

Adding the HAREM dataset, a Portuguese language dataset for NER tasks

Thanks for the changes !
Sorry if I wasn't clear about the suggestion of adding the raw dataset as well.
By raw I meant the dataset with its original features, i.e. not tokenized to follow the conll format for NER.
The raw dataset has data fields doc_text, doc_id and entities.

Alright, @lhoestq, now I understand your suggestion, but the JSON files the script downloads aren't actually the "raw" HAREM dataset, the real raw version of it is on XML format that needs a lot of preprocessing. Those JSON are just pre-processed versions of the dataset.
I can make the config of the raw version of the pre-processed dataset, but I'll leave a comment on the dataset summary about those details.

Oh I see ! Sorry I thought there really were the raw (i.e. original/unprocessed) files

The original xml format doesn't seem very practical to use :/
We can ignore that and only keep the default and selective configs then.
Can you revert to the old configs ?
Thanks again for adding this dataset !

Hi @lhoestq, I've reverted the changes and put more details on README about the dataset.


python3.8 support

The sample Dockerfile is for python 3.7. When I tried to update it to support python 3.8, it failed if I simply change version number. The reason is miniconda donwload link naming convention has been changed from Miniconda3-{version}-Linux-x86_64.sh to Miniconda3-py38_{version}-Linux-x86_64.sh
Please update the Docker file to support python 3.8 and latest Azure ML SDK.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: cd073257-7b30-f956-05e1-3118db776efa
Version Independent ID: c4282d40-dc34-fbe5-fb59-b2329e9395b2
Content: Deploy models with custom Docker image - Azure Machine Learning
Content Source: articles/machine-learning/how-to-deploy-custom-docker-image.md
Service: machine-learning
Sub-service: core
GitHub Login: @saachigopal
Microsoft Alias: sagopal

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

@saachigopal please review above feedback for doc enhancement. Thanks!

This dockerfile formatting is out of date and will be updated soon.

@saachigopal, do we have an eta for this update?

A doc work item has been created to track this issue and ensure its resolution.
#please-close
https://mseng.visualstudio.com/TechnicalContent/_workitems/edit/1791674


[Feature] Volume Shortcuts

Introducing two things:

automatic volume creation for k3d- prefixed volumes using the --volume flag -> k3d will handle creation + deletion
magic mount destination keywords: e.g. --volume /some/path:k3s-storage will internally be handled as /some/path:/var/lib/rancher/k3s/storage

Originally posted by @iwilltry42 in https://github.com/rancher/k3d/issues/865#issuecomment-990932170
EDIT: actually, bullet point 1 is already a docker feature: if the source part of the volume mount is not a path on the local filesystem and not an existing named volume, docker will create it (k3d will still print a warning though).

Tried latest version, still got error:
(base) ~ k3d cluster create --servers 2 -v k3d-data:k3s-storage foobar
WARN[0000] No node filter specified
FATA[0000] Failed Cluster Configuration Validation:  failed to validate volume mount 'k3d-data:k3s-storage': volume mount destination doesn't appear to be an absolute path: 'k3s-storage' in 'k3d-data:k3s-storage'
(base) ~

@bayeslearner , damn.. didn't put the new function to use apparently :roll_eyes:
Fixed in b208c1fc ... Sorry for that! (To be released with next patch/minor release)


Add custom discord component

Turns out our server has public api on which we can build any component we like. Current discord widget is great but it looks a bit out of place with different styling and colors.
Preview. Storybook.

'Join' button is less purple now. Preview. Storybook.


Support HTML -> PDF converter during in job Upload

[x] True PDF -> Extract tokens from pdf and save into BDocs format
[x] HTML -> Gotenberg -> Extract tokens from pdf and save into BDocs format
[x] TXT -> Gotenberg -> Extract tokens from pdf and save into BDocs format

Verified.


Changing name to RC_receiver broke the examples

The examples are still looking for receiver.h, not RC_receiver,h

Patched in the v1.0.1

Sadly examples still don't compile:
\RC_raw\RC_raw.ino:14:1: error: 'Receiver' does not name a type; did you mean 'RC_Receiver'?
Receiver receiver(2,3,4,5);

Should now be fixed in version v1.0.2


chore: Add Deprecation for Old Options

Relates SAP/cloud-sdk-backlog#669.
Add a deprecation to the options being removed in version 3.0.

Do we have the changes in the migration guide for v3 already somewhere? I think with 'x is removed and deprecated' should always mention how to do the replacement and the comments saying 'we now use middleware for that' seems not enough for me in that regard.
sure should be done on main so not as part of this PR, just wanting to make sure we don't forget.

Do we have the changes in the migration guide for v3 already somewhere? I think with 'x is removed and deprecated' should always mention how to do the replacement and the comments saying 'we now use middleware for that' seems not enough for me in that regard.
sure should be done on main so not as part of this PR, just wanting to make sure we don't forget.

I added a TODO to the parent ticket:https://github.com/SAP/cloud-sdk-backlog/issues/669


⚠ Samsung has degraded performance

In 79da316, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2393 ms

Resolved: Samsung performance has improved in 4a6054d.


python311Packages.mkdocs-material: 9.4.14 -> 9.5.5

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python311Packages.mkdocs-material is: Material for mkdocs
meta.homepage for python311Packages.mkdocs-material is: https://squidfunk.github.io/mkdocs-material/
meta.changelog for python311Packages.mkdocs-material is: https://github.com/squidfunk/mkdocs-material/blob/refs/tags/9.5.5/CHANGELOG
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 9.5.5 with grep in /nix/store/niijc62vvnnprf1gzzzwnp1mla64550f-python3.11-mkdocs-material-9.5.5
found 9.5.5 in filename of file in /nix/store/niijc62vvnnprf1gzzzwnp1mla64550f-python3.11-mkdocs-material-9.5.5

Rebuild report (if merged into master) (click to expand)

15 total rebuild path(s)

15 package rebuild(s)

First fifty rebuilds by attrpath
copier
hydrus
netbox
netbox_3_6
netbox_3_7
ntfy-sh
python311Packages.canals
python311Packages.mkdocs-jupyter
python311Packages.mkdocs-material
python311Packages.mkdocs-mermaid2-plugin
python311Packages.mkdocstrings-python
python312Packages.canals
python312Packages.mkdocs-material
python312Packages.mkdocs-mermaid2-plugin
python312Packages.mkdocstrings-python

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/niijc62vvnnprf1gzzzwnp1mla64550f-python3.11-mkdocs-material-9.5.5 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python311Packages.mkdocs-material https://github.com/r-ryantm/nixpkgs/archive/f38a46f78c92550a30a526e93623ebf3592c8445.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/f38a46f78c92550a30a526e93623ebf3592c8445#python311Packages.mkdocs-material

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/niijc62vvnnprf1gzzzwnp1mla64550f-python3.11-mkdocs-material-9.5.5
ls -la /nix/store/niijc62vvnnprf1gzzzwnp1mla64550f-python3.11-mkdocs-material-9.5.5/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

3 packages marked as broken and skipped:

python312Packages.canals
python312Packages.mkdocs-mermaid2-plugin
python312Packages.mkdocstrings-python

1 package failed to build:

copier

9 packages built:

hydrus
netbox (netbox_3_7)
ntfy-sh
python311Packages.canals
python311Packages.mkdocs-jupyter
python311Packages.mkdocs-material
python311Packages.mkdocs-mermaid2-plugin
python311Packages.mkdocstrings-python
python312Packages.mkdocs-material

Maintainer pings
cc @dali99 for testing.

Superseded by #284954.


Server/Agent websocket client reconnect backoff

Fixes #2027 for both agent -> server and server -> cloud
Replace the start -> every(...) -> connect unless connecting? state with explicit start/reconnect -> after(...) -> connect! timers.
Connect errors or websocket closes will reconnect with increasing backoff, and websocket opens will reset the reconnect backoff.
The reconnect interval uses capped exponential backoff with randomized full jitter to spread out the incoming server/cloud websocket connections.
Testing
Server
I, [2017-10-06T10:08:43.568184 #9]  INFO -- Cloud::WebsocketClient: Connecting to cloud at wss://socket.kontena.io/platform
I, [2017-10-06T10:08:44.729585 #9]  INFO -- Cloud::WebsocketClient: Connected to wss://socket.kontena.io/platform with ssl verify: /OU=Domain Control Validated/OU=PositiveSSL Wildcard/CN=*.kontena.io (issuer /C=GB/ST=Greater Manchester/L=Salford/O=COMODO CA Limited/CN=COMODO RSA Domain Validation Secure Server CA)
...
I, [2017-10-06T10:09:48.609163 #9]  INFO -- Cloud::WebsocketClient: cloud connection closed with code 1006: read timeout after 4.999060717s while waiting 5.0s for pong
I, [2017-10-06T10:09:48.612059 #9]  INFO -- Cloud::WebsocketClient: reconnect attempt 1 in 3.72s...
I, [2017-10-06T10:09:52.337178 #9]  INFO -- Cloud::WebsocketClient: Connecting to cloud at wss://socket.kontena.io/platform
I, [2017-10-06T10:10:05.664215 #9]  INFO -- Cloud::WebsocketClient: cloud connection closed with code 1006: Host is unreachable - connect(2) for <IP_ADDRESS>:443
I, [2017-10-06T10:10:05.689120 #9]  INFO -- Cloud::WebsocketClient: reconnect attempt 2 in 6.59s...
I, [2017-10-06T10:10:12.278510 #9]  INFO -- Cloud::WebsocketClient: Connecting to cloud at wss://socket.kontena.io/platform
I, [2017-10-06T10:10:23.583045 #9]  INFO -- Cloud::WebsocketClient: cloud connection closed with code 1006: Host is unreachable - connect(2) for <IP_ADDRESS>:443
I, [2017-10-06T10:10:23.584012 #9]  INFO -- Cloud::WebsocketClient: reconnect attempt 3 in 14.93s...
I, [2017-10-06T10:10:38.513631 #9]  INFO -- Cloud::WebsocketClient: Connecting to cloud at wss://socket.kontena.io/platform
I, [2017-10-06T10:10:45.664261 #9]  INFO -- Cloud::WebsocketClient: cloud connection closed with code 1006: Host is unreachable - connect(2) for <IP_ADDRESS>:443
I, [2017-10-06T10:10:45.689159 #9]  INFO -- Cloud::WebsocketClient: reconnect attempt 4 in 16.58s...
I, [2017-10-06T10:11:02.268151 #9]  INFO -- Cloud::WebsocketClient: Connecting to cloud at wss://socket.kontena.io/platform
I, [2017-10-06T10:11:09.376354 #9]  INFO -- Cloud::WebsocketClient: cloud connection closed with code 1006: Host is unreachable - connect(2) for <IP_ADDRESS>:443
I, [2017-10-06T10:11:09.379100 #9]  INFO -- Cloud::WebsocketClient: reconnect attempt 5 in 37.79s...
I, [2017-10-06T10:11:47.168094 #9]  INFO -- Cloud::WebsocketClient: Connecting to cloud at wss://socket.kontena.io/platform
I, [2017-10-06T10:11:54.302606 #9]  INFO -- Cloud::WebsocketClient: cloud connection closed with code 1006: Host is unreachable - connect(2) for <IP_ADDRESS>:443
I, [2017-10-06T10:11:54.303305 #9]  INFO -- Cloud::WebsocketClient: reconnect attempt 6 in 64.60s...
I, [2017-10-06T10:12:58.908079 #9]  INFO -- Cloud::WebsocketClient: Connecting to cloud at wss://socket.kontena.io/platform
I, [2017-10-06T10:13:06.047806 #9]  INFO -- Cloud::WebsocketClient: cloud connection closed with code 1006: Host is unreachable - connect(2) for <IP_ADDRESS>:443
I, [2017-10-06T10:13:06.050075 #9]  INFO -- Cloud::WebsocketClient: reconnect attempt 7 in 35.91s...
I, [2017-10-06T10:13:41.957223 #9]  INFO -- Cloud::WebsocketClient: Connecting to cloud at wss://socket.kontena.io/platform
I, [2017-10-06T10:13:49.087537 #9]  INFO -- Cloud::WebsocketClient: cloud connection closed with code 1006: Host is unreachable - connect(2) for <IP_ADDRESS>:443
I, [2017-10-06T10:13:49.090119 #9]  INFO -- Cloud::WebsocketClient: reconnect attempt 8 in 7.26s...
I, [2017-10-06T10:13:56.349092 #9]  INFO -- Cloud::WebsocketClient: Connecting to cloud at wss://socket.kontena.io/platform
I, [2017-10-06T10:14:03.487285 #9]  INFO -- Cloud::WebsocketClient: cloud connection closed with code 1006: Host is unreachable - connect(2) for <IP_ADDRESS>:443
I, [2017-10-06T10:14:03.488555 #9]  INFO -- Cloud::WebsocketClient: reconnect attempt 9 in 83.35s...

Agent
D, [2017-10-06T10:16:43.433453 #1] DEBUG -- Kontena::WebsocketClient: Server closed connection with code 1006: Server closed connection without sending close frame
W, [2017-10-06T10:16:43.433674 #1]  WARN -- Kontena::WebsocketClient: connection closed with code 1006: Server closed connection without sending close frame
I, [2017-10-06T10:16:43.434086 #1]  INFO -- Kontena::WebsocketClient: reconnect attempt 1 in 0.91s...
I, [2017-10-06T10:16:44.349730 #1]  INFO -- Kontena::WebsocketClient: connecting to master at ws://<IP_ADDRESS>:9292
E, [2017-10-06T10:16:44.360665 #1] ERROR -- Kontena::WebsocketClient: unable to connect to server: Connection refused - connect(2) for <IP_ADDRESS>:9292
I, [2017-10-06T10:16:44.362733 #1]  INFO -- Kontena::WebsocketClient: reconnect attempt 2 in 0.00s...
I, [2017-10-06T10:16:44.369617 #1]  INFO -- Kontena::WebsocketClient: connecting to master at ws://<IP_ADDRESS>:9292
E, [2017-10-06T10:16:44.379800 #1] ERROR -- Kontena::WebsocketClient: unable to connect to server: Connection refused - connect(2) for <IP_ADDRESS>:9292
I, [2017-10-06T10:16:44.381855 #1]  INFO -- Kontena::WebsocketClient: reconnect attempt 3 in 3.11s...
I, [2017-10-06T10:16:47.497299 #1]  INFO -- Kontena::WebsocketClient: connecting to master at ws://<IP_ADDRESS>:9292
E, [2017-10-06T10:16:47.499785 #1] ERROR -- Kontena::WebsocketClient: unable to connect to server: Connection refused - connect(2) for <IP_ADDRESS>:9292
I, [2017-10-06T10:16:47.500335 #1]  INFO -- Kontena::WebsocketClient: reconnect attempt 4 in 3.03s...
I, [2017-10-06T10:16:50.528600 #1]  INFO -- Kontena::WebsocketClient: connecting to master at ws://<IP_ADDRESS>:9292
E, [2017-10-06T10:16:50.550832 #1] ERROR -- Kontena::WebsocketClient: unable to connect to server: Connection refused - connect(2) for <IP_ADDRESS>:9292
I, [2017-10-06T10:16:50.565558 #1]  INFO -- Kontena::WebsocketClient: reconnect attempt 5 in 14.55s...
I, [2017-10-06T10:17:05.128235 #1]  INFO -- Kontena::WebsocketClient: connecting to master at ws://<IP_ADDRESS>:9292
E, [2017-10-06T10:17:05.140768 #1] ERROR -- Kontena::WebsocketClient: unable to connect to server: Connection refused - connect(2) for <IP_ADDRESS>:9292
I, [2017-10-06T10:17:05.147431 #1]  INFO -- Kontena::WebsocketClient: reconnect attempt 6 in 2.91s...
I, [2017-10-06T10:17:08.059366 #1]  INFO -- Kontena::WebsocketClient: connecting to master at ws://<IP_ADDRESS>:9292
E, [2017-10-06T10:17:08.074719 #1] ERROR -- Kontena::WebsocketClient: unable to connect to server: Connection refused - connect(2) for <IP_ADDRESS>:9292
I, [2017-10-06T10:17:08.075968 #1]  INFO -- Kontena::WebsocketClient: reconnect attempt 7 in 57.74s...
I, [2017-10-06T10:18:05.816037 #1]  INFO -- Kontena::WebsocketClient: connecting to master at ws://<IP_ADDRESS>:9292
I, [2017-10-06T10:18:05.867017 #1]  INFO -- Kontena::WebsocketClient: unsecure connection established without SSL

TODO

[ ] specs

Could also consider implementing the reconnect logic within the Kontena::Websocket::Client, which would simplify the actor code in both the server and agent.
The reconnect logic within the Kontena::Websocket::Client could be smarter for things like socket.kontena.io that resolve to multiple addresses. Looking at how the server Cloud::WebsocketClient behaves, it tends to try reconnecting to the same IP multiple times in a row, which makes the round-robin DNS less effective.

Sticking status/design-review on here because I'm not planning on fixing the specs until the design makes sense.

Inferring that the design is fine, and starting to fix the specs to test the implicit start! -> connect! -> reconnect! / connected! -> disconnected! -> reconnect! -> connect! state machine in the agent and server, rather than implementing the reconnect logic in the kontena-websocket-client library.

@nevalla WDYT about the server CloudWebsocketClient reconnect timings? Each worker uses randomized exponential backoff with an initial delay of 0-5s, and that goes up to 0-120s, so the workers should spread their reconnect attempts across a long enough time period, which grows longer the longer the connections are offline:
I, [2017-10-30T14:53:46.418170 #12]  INFO -- Cloud::WebsocketClient: cloud connection closed with code 1006: read timeout after 4.983617513s while waiting 5.0s for pong
I, [2017-10-30T14:53:46.418887 #12]  INFO -- Cloud::WebsocketClient: reconnect attempt 1 in 4.59s...
I, [2017-10-30T14:53:47.287174 #20]  INFO -- Cloud::WebsocketClient: cloud connection closed with code 1006: read timeout after 4.999686016s while waiting 5.0s for pong
I, [2017-10-30T14:53:47.288032 #20]  INFO -- Cloud::WebsocketClient: reconnect attempt 1 in 0.21s...
I, [2017-10-30T14:53:47.494245 #20]  INFO -- Cloud::WebsocketClient: Connecting to cloud at wss://socket.kontena.io/platform
I, [2017-10-30T14:53:47.945408 #8]  INFO -- Cloud::WebsocketClient: cloud connection closed with code 1006: read timeout after 4.999259182s while waiting 5.0s for pong
I, [2017-10-30T14:53:47.948964 #8]  INFO -- Cloud::WebsocketClient: reconnect attempt 1 in 3.57s...
I, [2017-10-30T14:53:48.386137 #16]  INFO -- Cloud::WebsocketClient: cloud connection closed with code 1006: read timeout after 4.999533491s while waiting 5.0s for pong
I, [2017-10-30T14:53:48.386774 #16]  INFO -- Cloud::WebsocketClient: reconnect attempt 1 in 2.64s...

I, [2017-10-30T14:53:47.494245 #20]  INFO -- Cloud::WebsocketClient: Connecting to cloud at wss://socket.kontena.io/platform
I, [2017-10-30T14:53:51.011752 #12]  INFO -- Cloud::WebsocketClient: Connecting to cloud at wss://socket.kontena.io/platform
I, [2017-10-30T14:53:51.029096 #16]  INFO -- Cloud::WebsocketClient: Connecting to cloud at wss://socket.kontena.io/platform
I, [2017-10-30T14:53:51.522516 #8]  INFO -- Cloud::WebsocketClient: Connecting to cloud at wss://socket.kontena.io/platform

...

I, [2017-10-30T14:56:29.013094 #8]  INFO -- Cloud::WebsocketClient: Connecting to cloud at wss://socket.kontena.io/platform
I, [2017-10-30T14:56:29.837238 #8]  INFO -- Cloud::WebsocketClient: Connected to wss://socket.kontena.io/platform with ssl verify: /OU=Domain Control Validated/OU=PositiveSSL Wildcard/CN=*.kontena.io (issuer /C=GB/ST=Greater Manchester/L=Salford/O=COMODO CA Limited/CN=COMODO RSA Domain Validation Secure Server CA)
I, [2017-10-30T14:56:30.247797 #20]  INFO -- Cloud::WebsocketClient: Connecting to cloud at wss://socket.kontena.io/platform
I, [2017-10-30T14:56:31.074249 #20]  INFO -- Cloud::WebsocketClient: Connected to wss://socket.kontena.io/platform with ssl verify: /OU=Domain Control Validated/OU=PositiveSSL Wildcard/CN=*.kontena.io (issuer /C=GB/ST=Greater Manchester/L=Salford/O=COMODO CA Limited/CN=COMODO RSA Domain Validation Secure Server CA)
I, [2017-10-30T14:57:29.729743 #16]  INFO -- Cloud::WebsocketClient: Connecting to cloud at wss://socket.kontena.io/platform
I, [2017-10-30T14:57:30.709683 #16]  INFO -- Cloud::WebsocketClient: Connected to wss://socket.kontena.io/platform with ssl verify: /OU=Domain Control Validated/OU=PositiveSSL Wildcard/CN=*.kontena.io (issuer /C=GB/ST=Greater Manchester/L=Salford/O=COMODO CA Limited/CN=COMODO RSA Domain Validation Secure Server CA)
I, [2017-10-30T14:57:33.600650 #12]  INFO -- Cloud::WebsocketClient: Connecting to cloud at wss://socket.kontena.io/platform
I, [2017-10-30T14:57:34.441702 #12]  INFO -- Cloud::WebsocketClient: Connected to wss://socket.kontena.io/platform with ssl verify: /OU=Domain Control Validated/OU=PositiveSSL Wildcard/CN=*.kontena.io (issuer /C=GB/ST=Greater Manchester/L=Salford/O=COMODO CA Limited/CN=COMODO RSA Domain Validation Secure Server CA)

In this example with four workers, the connections went down at 14:53:46 - 14:53:48... the first reconnects happened at 14:53:47 - 14:53:51, and then ~3min later when the connection comes back up, the reconnects happen at 14:56:29 - 14:57:33.


fix(kv): remove normalizing of variables names to downcase

note: this will remain unique by name case insensitive
closes #16429

[x] Well-formatted commit messages
[x] Rebased/mergeable
[ ] Tests pass

@kelwang great point, updated tests to verify that 👍


Unfreeze dev migrations in data portal

Revert this PR https://github.com/chanzuckerberg/single-cell-data-portal/pull/6715

Closing this out since we didn't actually freeze dev lol

Re-opening this since we ended up figuring out how to freeze dev


chore: upgrade rusty_v8 to 0.97.1

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

Project coverage is 81.69%. Comparing base (0c7f83e) to head (80b7ee6).
Report is 55 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #816      +/-   ##
==========================================
+ Coverage   81.43%   81.69%   +0.25%
==========================================
  Files          97       98       +1
  Lines       23877    24324     +447
==========================================
+ Hits        19445    19872     +427
- Misses       4432     4452      +20

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

my pr upgraded to 0.98


Access is denied error when installing visual studio code

"Access is denied" error when installing visual studio code
No other information. After clicking OK it rollbacks installation
Is there a way to check log files somewhere to get specific information?
I am running on my personal laptop (Windows 10) and have admin privileges.

Strange. Can you install using the System Install package?

Thanks for your response. This issue has been resolved. My user profile had some issues, so I renamed the .vscode folder in c:\users\rgoya (rgoya is my user name) . Re-installed and it worked perfectly. I had been having some trouble with my user profile, and had similar issue with some other software packages. After renaming them, they all are working fine.


add more sans faces

apparently there are some more from when you are having a bad time

special request for mr. glowy eyes

mr. glowy eyes is disproportionately hard because the dialog box output is 1-bit, i'd need a special exception just for this case

i'd recommend grabbing them from the battle images at the spriter's resource here: https://www.spriters-resource.com/pc_computer/undertale/


Updated threshold not being written to jest.config.js file

This is a known issue. Currently, it can only support json files.


error: invalid command 'bdist_wheel'

Hardware: Raspberry Pi 4 Model B Rev 1.1, Revision a03111
OS: Raspberry Pi OS (32-bit) Lite, up to date
Linux raspberrypi 5.4.51-v7l+ #1327 SMP Thu Jul 23 11:04:39 BST 2020 armv7l GNU/Linux
Somehow the quick-install fails with
fatal: [localhost]: FAILED! => {"changed": false, "cmd": "/opt/tinypilot/venv/bin/pip list --format=freeze", "msg": "[Errno 2] No such file or directory", "rc": 2}
I suspect ansible failing already:
Building wheels for collected packages: ansible
  Running setup.py bdist_wheel for ansible ... error
  Complete output from command /tmp/tmp.3iDxsDrTiL/venv/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-syk1vi37/ansible/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/pip-wheel-a3rj78f2 --python-tag cp37:
  usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
     or: -c --help [cmd1 cmd2 ...]
     or: -c --help-commands
     or: -c cmd --help

  error: invalid command 'bdist_wheel'

  ----------------------------------------
  Failed building wheel for ansible
  Running setup.py clean for ansible
Failed to build ansible

Full gist at
https://gist.github.com/Savasci/7f7de61a1ff684c16d19dadaaa980abb

Thanks for reporting this!
The bdist_wheel failure is normal on the Pi.
That's strange that it's dying on that step. Can you try re-running the command? Everything in the install script is idempotent, so it's fine to re-run it.

Thank you for having a look! I ran this a few times to check if this is one of the limiting steps and it seems it is. Line 5 of the gist shows, that this was one of my later re-reruns, the error stays the same.

I've started from scratch now to see if one of the package updates is causing this issue, I'm restarting from a clean 2020-05-27-raspios-buster-lite-armhf.img to check.

Ok, so, on
Linux raspberrypi 4.19.118-v7l+ #1311 SMP Mon Apr 27 14:26:42 BST 2020 armv7l GNU/Linux
the quick-setup works without issues, the bdist_wheel failure still being present, as you said. My final stage on a clean a clean 2020-05-27-raspios-buster-lite-armhf:
PLAY RECAP *********************************************************************
localhost                  : ok=46   changed=31   unreachable=0    failed=0    skipped=8    rescued=0    ignored=0

apt-get upgrade is about to upgrade the following packages:
ca-certificates firmware-atheros firmware-brcm80211 firmware-libertas firmware-misc-nonfree firmware-realtek libgnutls30 libraspberrypi-bin libraspberrypi-dev libraspberrypi-doc libraspberrypi0 raspberrypi-bootloader raspberrypi-kernel raspi-config rpi-eeprom rpi-eeprom-images
from which at least one of them seems to brick the quick-install.

Hmm, that's strange. I'll try to repro on my side, but let me know if you discover anything more about why it's falling over on the virtualenv step.

Thanks! Sure, I'll add if I find out, why that one happens.
Ah, upgrading after installing via quick-install works fine, currently running on
Linux raspberrypi 5.4.51-v7l+ #1327 SMP Thu Jul 23 11:04:39 BST 2020 armv7l GNU/Linux

Fixed in https://github.com/mtlynch/ansible-role-tinypilot/pull/32


Adding support easy integration with solar2d marketplace

I have done my testing on the rttplayer with Xcode
If you want to test it you can add this to your build.settings
plugins = {
["plugin.firebaseAnalytics"] =
{
publisherId="tech.scotth",
marketplaceId = "jdt0u5"
},
}
and this to your main.lua
local firebaseAnalytics = require ("plugin.firebaseAnalytics")
firebaseAnalytics.init()
This is not the best example because this plugin is available on plugins.solar2d but you get the idea.
If the user wants to use the solar2d marketplace they can choose to do so by just adding marketplaceId.
I hope to add better error support in the future.
Thanks,
Scott

I'm not sure how this suppose to work. But I can see some problems with code:

Solar2D relies on plugins being unchanged. Basically, all versions are numbered with releases, so it won't download same release twice.
Solar2D Directory is not connected with marketplace. So plugins have to be both in free plugin directory and in your marketplace for this to work.

I suggest making a new collector for your marketplace which would account for that. You can start by copying Solar2DPluginCollector.

I'm not sure how this suppose to work. But I can see some problems with code:

Solar2D relies on plugins being unchanged. Basically, all versions are numbered with releases, so it won't download same release twice.
Solar2D Directory is not connected with marketplace. So plugins have to be both in free plugin directory and in your marketplace for this to work.

I suggest making a new collector for your marketplace which would account for that. You can start by copying Solar2DPluginCollector.

Just to explain a little better, I want to make it so if a user adds there marketplace account id under the plugin settings for example
["plugin.firebaseAnalytics"] =
{
publisherId="tech.scotth",
marketplaceId = "jdt0u5"
},
The marketplaceId is account Id from the solar2d marketplace. When a user adds marketplaceId this indicates that user want to get a plugin from solar2dmarketplace.com, not from solar2d free plugins.

Could I get around this by adding this?
local validCache = false
if isFile(cacheUrlFile) and isFile(cacheDestFile) then
local f = io.open(cacheUrlFile, "rb")
if f then
validCache = f:read("*all") == downloadURL
f:close()
end
end
if pluginTable.marketplaceId then
validCache = false
end

I could also try to add version support on my server to handle the caching.

I would honestly be okay with adding all plugins to the
https://plugins.solar2d.com/plugins.json and handle it like the class kit plugin.
In the future, I could make my own JSON file or maybe you could expose a way for me to submit a plugin to this directory programmatically.

Do you suggest making a copy of CoronaBuilderPluginCollector.lua or just adding on to CoronaBuilderPluginCollector?
It feels unnecessary to make my own copy CoronaBuilderPluginCollector but if that's what you recommend.

Sorry it took so long to get around for this reply. So, in the file, take a look at the object
PluginCollectorSolar2DDirectory
You can copy it and create your own plugin collector. It can be object or a function. If it is an object, it should have collect(destination, plugin, pluginTable, pluginPlatform, params) function.
It returns string in case of error, or true if plugin is found and put in place.
Goal is to place data.tgz into the destination directory. Collector would be called multiple times, even for same plugin. For example if plugin not found for win32 it would look for same plugin in win32-sim and then in lua as pluginPlatform.
You can access pluginTable, to check out publisherId, etc.
Also, you don't have to insert it into the Core. You can develop plugin collector separately ~/Solar2DPlugins/Collectors on macOS. All .lua files from there will be added to collector list, just make sure to return the collector object (or a function).
Plugin collectors have many convenience functions accessible to them. Most notably fetch and download for retrieving web locations as strings and downloading files. I suggest reading contents of the CoronaBuilderPluginCollector.lua. I tried to make it plain.
Also, collector object has init method, called only once. Idea is to get list of authorized plugins there or do similar initialization to avoid making network calls for every plugin.
I think ideal solution would be to generate plugin collector for user with their authorization keys embedded into in, asking them to put into directory and everything is working.


use pydot to ingest DOT data into a graph

Not merged, closing this PR to break down in smaller PRs.


Elixir: Add groundwork for supporting private repos

WIP for https://github.com/dependabot/feedback/issues/107.

@greysteil sorry for not replying earlier. Super busy until Wednesday, will take a look at this on Thursday/Friday if that's ok.

@stevedomin - ping me if I can help on this at all today!

@stevedomin - anything I can do to help on this one / any pointers? Don't want to let it drop.

@stevedomin - can you give me a pointer on what you think needs doing to achieve the above, and I can handle the rest myself? Keen to get this over the line.

@stevedomin - I got my growth mindset on and wrote me some Elixirs. Mind having a look over and telling me if I've committed any terrible crimes?

@greysteil looking at this now!

I'm going to merge this. @stevedomin - if you have a refactor for that method then I'd love to see it, but I want to get this out.
:shipit:

Sure 👍