[slider] - Update Slider CSS Rules

[x] I have followed (at least) the PR section of the contributing guide.

Some style selectors inside of the Slider seem to syntax errors in their rules.
This PR address issue: #18010

Looks like some of the regression tests failed. I can scale back this PR to be just the thumb rule or, with your guidance, dive into the other rules as well. Cheers.

@hoop71 Thanks for looking at it, but I think that the values are correct.

Thanks! You and your team are awesome!

@hoop71 Alright, this seems like a safe change, let's move to a different problem, thanks for the feedback.


Developer setup instructions fail due to change in Vagrant shared paths

Since https://github.com/torchbox/wagtaildemo/pull/63 was merged, wagtaildemo's Vagrant setup has changed from hosting the wagtaildemo codebase at /home/vagrant/wagtaildemo to /vagrant. However, the documentation at http://docs.wagtail.io/en/latest/contributing/developing.html, and the configuration at wagtaildemo/Vagrantfile.local.example and wagtaildemo/wagtaildemo/settings/local.py.example, has not been changed accordingly.
Firstly, this line in Vagrantfile.local.example is no longer valid Vagrant config:
config.vm.share_folder "wagtail", "/home/vagrant/wagtail", "../wagtail"

and needs to be changed to
config.vm.synced_folder "../wagtail", "/home/vagrant/wagtail"

With this fix in place, following the steps at http://docs.wagtail.io/en/latest/contributing/developing.html gives you a Vagrant setup where wagtaildemo is located at /vagrant and Wagtail is at /home/vagrant/wagtail. The relative path logic in local.py.example assumes that the two are side by side - as a result, wagtaildemo fails to pick up the wagtail codebase and falls back on the pip package. (This can be confirmed by making a code change to wagtail and seeing that it doesn't get picked up, or by logging in and mousing over the wagtail logo - it reports version 0.8.7.)
Suggested fix: Since having the wagtail and wagtaildemo codebases side by side is a sensible way of working, and you can't really do that while wagtaildemo is at /vagrant, I would suggest reverting wagtaildemo's Vagrant setup back to the old behaviour of sharing the codebase at /home/vagrant/wagtaildemo/.

Proposed fix in https://github.com/torchbox/wagtaildemo/pull/70 - @kaedroho, please can you review/merge ASAP?


Car Game In Python Added

Please write a comment at the starting of your program about what it does

Ok.
This is a basic game made by me in python for stating, stoping a car.
On Thu, Oct 17, 2019 at 7:16 AM Harsh Singh<EMAIL_ADDRESS>wrote:

Please write a comment at the starting of your program about what it does
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Harshsngh07/Simple-Hacktoberfest2019/pull/16?email_source=notifications&email_token=ALKLT4TAXWZTWSHCFUICT7TQO67YPA5CNFSM4JBRIHE2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBOOVQA#issuecomment-542960320,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALKLT4RQMF7T3V5J5P3XP3TQO67YPANCNFSM4JBRIHEQ
.


Add a way for agents to monitor and optionally interrupt long-running commands

Some github issues involve debugging commands that hang. When writing code to reproduce and fix these kinds of issues, an autonomous agent needs a way to monitor and optionally interrupt the command if necessary.
After running a particular shell command, every 10 seconds or so it should add a message to the conversation log giving some context about what the command is doing, whether it is still running etc and asking whether it wants to kill it.

From Jake:
Current Understanding

Issue 348 requests a way for agents to monitor and optionally interrupt long-running commands.
The execute_shell function in gptme/tools/shell.py is the main entry point for executing shell commands.

It uses get_shell_command to construct the command string.
The actual execution is done by execute_shell_impl.

execute_shell_impl function:

Uses a ShellSession object to run the command.
Captures stdout and stderr.
Formats the output into a message.
Yields a system message with the command output.

The ShellSession class manages the shell environment:

It uses subprocess.Popen to create a shell process.
The run method executes commands in this shell.

The LogManager class in gptme/logmanager.py is responsible for managing the conversation log.

The append method is used to add new messages to the log.

There's currently no implementation for monitoring long-running commands or interrupting them.
The issue suggests adding messages to the conversation log every 10 seconds for long-running commands.

Questions to Investigate

How can we modify execute_shell_impl to monitor the duration of running commands?
What's the best way to implement a timer for periodic updates (every 10 seconds) during command execution?
How can we add these periodic status updates to the conversation log using LogManager?
What information should be included in the periodic status updates (e.g., execution time, current status)?
How can we implement an interruption mechanism for long-running commands?
Where in the code should we add the logic to prompt the user about potentially killing a long-running command?
How can we modify the ShellSession.run method to support monitoring and potential interruption?
What's the best way to handle the interruption if the user decides to kill the command?
How can we ensure that the monitoring and interruption features don't significantly impact performance for short-running commands?

You can sort of do this by forcing/instructing the agent to use the tmux tool instead and then "undo" when it's not ready (as in the https://github.com/ErikBjare/gptme/blob/master/scripts/treeofthoughts.py script) since otherwise it'll eat tokens like crazy.

@gptme read some relevant source files and tell us what you think


Add "Sailing" mode

This feature allows you to set upper and lower charge limit: do not charge while current value between lower and upper limits
Similar to this
https://apphousekitchen.com/feature-explanation-sailing-mode/

Hey!

Since it is theoretically healthier for the battery to be charged 10% once instead of 1% 10 times, we have included the Sailing Mode feature. This allows you to set a lower limit, from which the battery will be charged up to the charge limit again.

And then later:

Which interval should I choose for my battery to last as long as possible?
Unfortunately, we could not find any explicit studies on this topic yet. Therefore, we assume a value of 5-10%, depending on your own judgment.

I will have to double check if it's actually needed.

The idea is that a user can set any lower and upper limit as he want.
So, someone can set 45% – 65%, other user could set 90% – 95%

I understand what it does and it seems like a really clever idea. I'm just curious if it actually has a noticeable effect on the lifespan :)
And my data from the past 2 months doesn't support the claim that it happens frequently (it hasn't happened once on my M2 Max) – maybe because I don't leave my computer connected to the charger for long enough, or the Apple Silicon SOC doesn't consume enough power (maybe it happens on Intel), or perhaps I'm using chargers that are powerful enough (140W for M2 Max and 96W for M1 Pro), or maybe on Apple Silicon it only happens with the maxed version of the M Max. But please understand where I'm coming from – implementing this feature isn't a priority because another app has it, yet they don't provide any evidence that it actually affects the lifespan...

I understand what it does and it seems like a really clever idea. I'm just curious if it actually has a noticeable effect on the lifespan :)

However, small discharges of the battery still occur when a lot of power is needed for a short time. Then the battery of the MacBook steps in as a buffer.

And my data from the past 2 months doesn't support the claim that it happens frequently (it hasn't happened once on my M2 Max) – maybe because I don't leave my computer connected to the charger for long enough, or the Apple Silicon SOC doesn't consume enough power (maybe it happens on Intel), or perhaps I'm using chargers that are powerful enough (140W for M2 Max and 96W for M1 Pro), or maybe on Apple Silicon it only happens with the maxed version of the M Max. But please understand where I'm coming from – implementing this feature isn't a priority because another app has it, yet they don't provide any evidence that it actually affects the lifespan...

Just installed this app and its great, love the statistics. I moved from another battery charge limiter to here, I did notice a change in battery health on my M2 macbook when sailing mode is enabled vs when not.
I understand it isn't a priority however just letting you know that it does make a difference.


[Feature]: Replacement for downloading models?

Description
Latest patch removed supabase for downloading models.
Problem
It's difficult to find good voice models without a decent scraper.
Proposed Solution
Find an alternative site/source for scraping models and save to a simple database file hosted publicly?
Alternatives Considered
Suffer without it, I guess?

https://discord.com/channels/1096877223765606521/1286901735377604680/1315774636381831189


It's this repository dead?

I've being using this repo for a long time but, there is no activity and lot of PR pending.
If there is no plan to maintain this repo?
Why not ask for maintainers if there is no time for the actuals?
It's a cool tool, and I don't wanna lose it.
Thanks in advance

Ping @stof

See https://twitter.com/greg0ire/status/778213186801721344

R.I.P.

I started a benchmark here : https://docs.google.com/a/universcine.com/spreadsheets/d/136WdT9bmBCj_bw7K-mEgVukv8cZ4yGDKJKLGJzB949Y/edit?usp=sharing

@greg0ire I suggest you to add this repo in the spreadsheet too, to make it easier to compare it to alternatives.
And rather than 5 days ago, put a date for all of them. Much easier to maintain (no need to change it every day)

Will do!

btw, the usage of Mink as HTTP client should be a red flag IMO: Mink is not an HTTP client (your browser is not either when loading pages): it can only do GET requests or submit forms (so no JSON payload, poor support of custom headers, etc...)

Yes I found that strange too, but did not dive quite yet.

I just opened comment and modification access on the spreadsheet.


Update prototyping_tools.md

Request to add link to newly-created repo for Figma Design System template.
Fixes #253

Thanks for the submission Mark!


Editorial: Refactor handling of numeric-like styles, support differing hours/minutes vs minutes/seconds separators

Refactors handling of "numeric"-like styles
Add additional slots to handle 2-digit hours in locales that use them in all cases
Add additional slots to handle differing hours/minutes separators in some locales

Supersedes #186

TG2 discussion: https://github.com/tc39/ecma402/blob/main/meetings/notes-2024-02-22.md#durationformat-update

Incorporated feedback, made a few additional changes:

renamed isFirstUnitDisplayed and isSignDisplayed aliases to signDisplayed throughout
Renamed FormatHours, FormatMinutes, FormatSeconds to FormatNumericHours, FormatNumericMinutes, FormatNumericSeconds to clarify usage
Removed SetFractionalDigitOptions

Justification for removing SetFractionalDigitOptions: Talked it over with @ptomato, who observed that it could be confusing to add nfOpts properties in multiple AOs due to how setting properties can trigger setters in user code. Options as I see it:

Leave as in this version of PR, with the steps for setting fractional digit options repeated in two places.
Restore SetFractionalDigitOptions, since we're passing *null* to OrdinaryObjectCreate when creating nfOpts objects and so, if I understand it correctly, the poisoned object problem won't actually occur. However: creating properties on objects across multiple AOs is not currently something that happens in either 402 or Temporal
Rewrite SetFractionalDigitOptions to return a Record which is then used by the caller to create nfOpts properties. Note: this doesn't actually save that many repeated steps.

requesting re-review! @ryzokuken @FrankYFTang

Requesting re-review! @FrankYFTang @ryzokuken

I've pushed a major update reflecting feedback from @ryzokuken and incorporating some additional bugfixes.
I'd like to draw attention to the last commit: c6025ef4321f582beb5fcc68d2bc5e8a66d9ce02. In this one I removed an alias that was used to ensure that the fractional digit-related options on the _nfOpts_ used by the Intl.NumberFormat in FormatNumericSeconds weren't added if there weren't actually any nonzero subsecond values.
I removed this one because the previous versions of the spec do in fact add those properties whenever there are any subsecond units styled as 'fractional' (or in earlier revisions, "numeric") exist, regardless of whether or not any of them hold a nonzero value.
This strikes me as the wrong behavior -- since subsecond units must be styled as "fractional" whenever hours, minutes, or seconds are styled as "numeric", the fractional digit options for NumberFormat are always added when numeric styles are used.
Any changes to this behaviour would be observable.

New revision ready for review! Much more solid thanks to @ryzokuken's feedback, but could still use more eyes. @gibson042 @FrankYFTang @sffc @anba

TG2 notes: https://github.com/tc39/ecma402/blob/main/meetings/notes-2024-04-25.md#durationformat-update


Upgrade to WebdriverIO 4

Upgrades to a new major WebdriverIO version which has some new connection retry/timeout options that should help issues around occasional Couldn't connect to selenium server errors.

Some specs are failing here due to https://github.com/webdriverio/webdriverio/pull/1048#issuecomment-191350224
Will wait until a fix is released before merging this.

I'm going to bump the major version of spectron after merging this since it brings in a new major version of webdriver.
So the next release will be 1.37.0

So the next release will be 1.37.0

Why not 1.0.0?

Why not 1.0.0?

Since spectron versions need to be pinned to Electron versions I was planning to keep the minor version of this library to match the minor version of the Electron release it is compatible with to make upgrades easier.


Need better instructions to create Standalone .apk file

 Issue by afandria
Tuesday Aug 11, 2015 at 18:32 GMT
Originally opened as https://github.com/flutter/engine/issues/559

Building a Standalone APK instructions are not clear enough.
It has been inconvenient to only be able to start my Sky app via sky_tool, so I wanted to build my own APK. Unfortunately, the link to the stocks/example does not have a README.md for how to build it. It appears that the BUILD.gn, sky.yaml, and apk/AndroidManifest.xml files are important to the process, but I am not sure what command(s) are needed to produce the APK.

Duplicate of #45


Exclude wbengine.exe process from Windows Defender on domain controllers

The Microsoft documentation for configuring antivirus software for Data Protection Manager (DPM) is currently missing an important exclusion.
To backup domain controllers, DPM uses Windows Server Backup to backup the system state. Specifically, this means the bulk of the work required for the backup is performed by the wbengine.exe process -- not the DPM Replication Agent (DPMRA.exe).
While the antivirus documentation specifies to exclude the DPMRA.exe process, it does not even mention the wbengine.exe process.
Here's a screenshot illustrating the difference in backup times between two nearly identical domain controllers:

Note that the wbengine.exe process is excluded on TT-DC10, but is not excluded on TT-DC11 (which took over twice as long to complete the backup).

@v-anesh Any chance you could open a bug to get the DPM documentation updated? @

Update from last night's backup (after excluding wbengine.exe on TT-DC011):


Does the -v or --version flag print the tool's name and version?

No, I can't launch with --version only with -v

I fixed it! Thank you!


Fix a bug after using self destruct

It fixes a bug when a contract account was removed (using SelfDestruct), but later in persistState.persistContractStorage we still tried to use it (and call getGuaranteedAccount).

@adamsmo @AlanVerbner added removal from accountCodes and updated with phase/3/txExec


Safety feature for legacy applications

Description
Legacy apps have a flag in our data base called 'isLegacy' if an legacy application is registerd with tis set to fals the application hits the new application loader and fails.
The intention here is to have a check in place and show an error to the user if script is not return render og a default render function.
solution should be adding a simple type check before execution of application
Environments
All testing of issues are done in project-portal-test

project-portal-test
project-portal-test
project-portal-feature

@espenkalle er dette noe du kan se på ?


updated types and uuid

updated types and uuid, current version can not parse uuid because of string instead of byte, in updated version there is different data type for uuid
tested locally, job, queued_job, archived_job works good

Hey! Want to move this over to kevinburke/rickover... I don't have permission to merge to this project anymore, unfortunately :(

@kevinburke ok, created PR to your fork


add contact page or place to ask questions

Noted in feedback people may want this

this can be as part of the authors box.
About us | contact us

Examples of "About this contributor" sections on article footers:

Authors’ box, for a post with this frontmatter:
---
authors:
  - nicole
  - joe
---

Authors’ box, when no authors have been specified / default info:

SPARC’s Contact form link leads to: https://sparcopen.org/contact/

Use case for a single author, frontmatter looks like this:
---
authors: joe
---


failed with status code 401. Response text is: Unauthenticated

in sandbox environment, payload ttl default value is 1 hour,it will get 401 error code.
when i change the ttl to 5 minute,it work fine. maybe this is also the reason for the #18 issue
so i think client instance need ttl param to change the default value.
sorry for my poor english.

same issue

Hey guys,
Thanks for the report.
Never had this kind on an issue, but I assume that it is totally realistic scenario, so v3.8.1 has just been released to address it.
Hope this will fix the issue.

It works thanks


add gov_robot parameter to governor calls

refs #174

needs testing - will make a full pull request after testing

just verified that this works (when rebased onto current nyx_ophyd code)


[TheForest] Core don't show message at event OnPlayerConnected

Step 2: Describe your setup

Oxide version ("latest" is not a version): v2.0.3337
Game name and version: TheForestDedicatedServerv0.62 and TheForest client v0.62
OS version: Windows2012Server( server) Windows10 ( client )

Step 3: Describe the problem
Just trying to use command function to list connected player names and ids, but covalence can't find player because players.Connected and players.All are empty, searching by ID or NAME
Steps to reproduce:

Create list command method on custom plugin to do it from server console

write on server console filter : /list

Use kick button on GameUI

Link command on plugin server console to find player to bann/kick

Observed results:
[TheForestChecker] Add / to type command: /dasjsdasajkal
> /help
[TheForestChecker] ----------------------------------------------
[TheForestChecker] USAGE:

[TheForestChecker] [COMMAND_NAME] [COMMANDS_ARGS,]
[TheForestChecker]
[TheForestChecker]     help: show this message
[TheForestChecker]     wait: show wait message to log (dummy function)
[TheForestChecker]     list: List connected players to server at this moment
[TheForestChecker]
[TheForestChecker] VERSION:
[TheForestChecker] v0.5 - unstable: still building main commands
[TheForestChecker] ----------------------------------------------

> /list
[TheForestChecker] ----------------------------------------------
[TheForestChecker]
Total players : 0
[TheForestChecker] ----------------------------------------------

Connection:1
Steam auth - clientId<PHONE_NUMBER>6224106 status True
ClientApproved<PHONE_NUMBER>6224106
New player join dedicated server. Total 1 player(s).
>
[TheForestChecker] Add / to type command: /
>
[TheForestChecker] Add / to type command: /
> /list
[TheForestChecker] ----------------------------------------------
[TheForestChecker]
Total players : 0
[TheForestChecker] ----------------------------------------------

Expected results:

What did you expect to happen?

Player list log on server consoleNAME or ID
Relevant code (if applicable):

using System;
using System.Collections.Generic;
using Oxide.Core.Plugins;

namespace Oxide.Plugins
{
  [Info("TheForestChecker", "Netzulo", 0.5)]
  [Description("Allows to players test server functionality")]
  public class TheForestChecker : TheForestPlugin
  {
      public List<string> pluginCommands;
      #region TheForest BASE EVENTS

      /// <summary>
      /// TESTED: OK
      /// </summary>
      void Init()
      {
          pluginCommands = new List<string>();
          pluginCommands.Add("help");
          pluginCommands.Add("wait");
          pluginCommands.Add("list");

          foreach (var pluginCommand in pluginCommands)
          {
              var callbackName = $"OnCmd{pluginCommand[0]}".ToUpper() + pluginCommand.Substring(1);
              AddCovalenceCommand(pluginCommand, callbackName);
              PrintWarning($"Command: {pluginCommand} \n MethodHookName: {callbackName} \n CommandArgs: NOTIMPLEMENTED");
          }
      }

      void Loaded()
      {
          Puts("Loaded works!");
      }

      void Unload()
      {
          Puts("Save files, destroy timers, etc");
      }

      void OnPlayerChat(ChatEvent evt)
      {
          Puts($"New chat message, now can filter: {evt.Message} ");
      }

      void OnServerSave()
      {
          Puts("OnServerSave works!");
      }

      object OnServerCommand(BoltConnection connection, string command, string data)
      {
          //if(connection == null) PrintWarning($"[SERVER_CONSOLE]: \n COMMAND: {command} \n ARGS: {data}");
          //else PrintWarning($"[SERVER_CONSOLE]: \n CONNECTIONID: {connection.ConnectionId} \n COMMAND: {command} \n ARGS: {data}");

          ///Manage server commands
          ///
          if (command.Length > 0 && command[0] == '/')
          {
              switch (command.Substring(1))
              {
                  case "help":
                      Call("OnCmdHelp");
                      break;
                  case "wait":
                      Call("OnCmdWait");
                      break;
                  case "list":
                      Call("OnCmdList");
                      break;
                  default:
                      PrintError($"Server command unknown : {command} {data.SerializeToString()}");
                      break;
              }
          }
          else
          {
              PrintWarning($"Add / to type command: /{command}");
          }
          return null;
      }
      #endregion TheForest BASE EVENTS

      #region CONSOLE custom EVENTS

      void OnCmdWait()
      {
          timer.Once(3f, () =>
          {
              Puts("DARYY!");
          });
          Puts("This was legen.... wait for...!");
      }

      void OnCmdHelp()
      {
          Puts("----------------------------------------------");
          Puts("USAGE: \n");
          Puts("[COMMAND_NAME] [COMMANDS_ARGS,]");
          Puts("");
          Puts("    help: show this message");
          Puts("    wait: show wait message to log (dummy function)");
          Puts("    list: List connected players to server at this moment");
          Puts("");
          Puts("VERSION: ");
          Puts("v0.5 - unstable: still building main commands");
          Puts("----------------------------------------------\n");
      }

      void OnCmdList()
      {//TODO: build command
          try
          {
              int totalPlayers = 0;
              var players = covalence.Players.Connected;

              Puts("----------------------------------------------");
              foreach (var player in players)
              {
                  Puts($"PLAYER_NAME: {player.Name}");
                  Puts($"PLAYER_ID: {player.Id}");
                  Puts($"PLAYER_HAS_PERM_ADMIN: {player.HasPermission("admin")}");
                  Puts($"PLAYER_HAS_PERM_DEFAULT: {player.HasPermission("default")}");
                  totalPlayers += 1;
              }
              Puts($"\nTotal players : {totalPlayers}");
              Puts("----------------------------------------------\n");
          }
          catch (Exception err)
          {
              PrintError($"Command failed at implemented : {err.StackTrace.ToString()}");
          }
      }
      #endregion CONSOLE custom EVENTS

  }//class
}

Step 4: Additional information

Don't log message on console for event OnPlayerConnected

Maybe related #1104

Maybe related this update #1108

Players list still empty

So the issue you are having is with OnPlayerConnected (you didn't provide any example of you using this), or is it simply with getting a player's name and ID?

How i said since release v2.0.3331 . After player connect successfully to server, covalence aren't notified and not creating instances for each player, because some function fail at obtain ids (covalence.players.All) because player list it's empty....
Im showing you a plugin what implements commands on console server and let you try to obtain all connected player list, im showing you a log with plugin implemented and covalence player list are empty on ALL TESTCASES
Sorry ... QA developer here... ( i tried to push some changes, but i don't know process on github , sorry )
Thank you for your time.

resume : OnPlayerConnected can be main point to investigate :)

At start server with oxide many errors... maybe this can help you ?
Connected to Steam successfully
The Forest Server is VAC Secure!
Game server SteamID:XXXXXXXXXXXX
CanResume:False, BoltNetwork:True, isServer:True, StartGameSetup:New
****** Game Activation Sequence ******
NullReferenceException: Object reference not set to an instance of an object
NullReferenceException: Object reference not set to an instance of an object
NullReferenceException: Object reference not set to an instance of an object
Dedicated Server Running
Address: [EndPoint <IP_ADDRESS>:27015 | 27015]
Max Players: 4LO.com [TESTS]                                                                                70fps, 33s
Save Interval: 15 minutes                                                                                0b/s in, 0b/s out
NullReferenceException: Object reference not set to an instance of an object
setPlanePosition site=6
Game autosave started
starting enemy spawn
starting enemy spawn

Without seeing the full error from the Unity log, it's hard to tell what those are from, but likely not from Oxide itself.

ok ok , full clean install with compiled oxide with visual studio

On /logs/output_log.txt

Starting dedicated server
Dedicated server info:
 IP:<IP_ADDRESS>, steamPort:8766, gamePort:27015, queryPort:27016
 players:4, admin password:'yes', password:'no', autosave interval:15
Game setup: Standard Multiplayer Server, New Normal game, slot Slot1
Skipping Steam initialization
Set a Logon
Loading Oxide Core v2.0.0...
Loading extensions...
Downloading CSharpCompiler.exe for .cs (C#) plugin compilation
Download of CSharpCompiler.exe for completed successfully
Loaded extension CSharp v2.0.0 by Oxide Team
Loaded extension MySql v2.0.0 by Oxide Team
Loaded extension SQLite v2.0.0 by Oxide Team
Loaded extension Unity v2.0.0 by Oxide Team
Loaded extension TheForest v2.0.0 by Oxide Team
Using Covalence provider for game 'The Forest'
[Rcon] Server started successfully on port 25580
Loading plugins...
Loaded plugin Unity v2.0.0 by Oxide Team
Loaded plugin The Forest v2.0.0 by Oxide Team
Connected to Steam successfully
The Forest Server is VAC Secure!
Game server SteamID:XXXXXXXXX
CanResume:False, BoltNetwork:True, isServer:True, StartGameSetup:New
****** Game Activation Sequence ******
NullReferenceException: Object reference not set to an instance of an object
TheForest.Utils.AnimationSequence.GetProxyFor (Vector3 position)
TheForest.Utils.AnimationSequence.Awake ()

NullReferenceException: Object reference not set to an instance of an object
TheForest.Utils.Input.GetButtonDown (System.String button)
TriggerCutScene.Update ()

NullReferenceException: Object reference not set to an instance of an object
TheForest.Utils.Input.GetButtonDown (System.String button)
TriggerCutScene.Update ()

NullReferenceException: Object reference not set to an instance of an object
TheForest.Utils.Input.GetButtonDown (System.String button)
TriggerCutScene.Update ()

setPlanePosition site=6
Game autosave started
starting enemy spawn
starting enemy spawn

Yeah, those errors aren't form Oxide then.

ok , then focus on Player connection events on oxide, when add player to covalence list, when connect , but... not was added to Players.All or Players.Connected
:(

More likely the issue is with the hook OnPlayerConnected not being called, which is what stores the Covalence data.

that's sound like i was thinking... thank you ^^  , and... how i can up code to your branches, from my fork ?

[TheForestChecker] Add / to type command: /
> /list
[TheForestChecker] ----------------------------------------------
[TheForestChecker] PLAYERDATA_NAME:<PHONE_NUMBER>6594796293
[TheForestChecker] PLAYERDATA_ID: Netzulo
[TheForestChecker] PLAYERDATA_NAME:<PHONE_NUMBER>6594796952
[TheForestChecker] PLAYERDATA_ID: Netzulo
[TheForestChecker] PLAYERDATA_NAME:<PHONE_NUMBER>6594793892
[TheForestChecker] PLAYERDATA_ID: Netzulo
[TheForestChecker] PLAYERDATA_NAME:<PHONE_NUMBER>6594798543
[TheForestChecker] PLAYERDATA_ID: Netzulo
[TheForestChecker] PLAYERDATA_NAME:<PHONE_NUMBER>6594792743
[TheForestChecker] PLAYERDATA_ID: Netzulo
[TheForestChecker] PLAYERDATA_NAME:<PHONE_NUMBER>6594806510
[TheForestChecker] PLAYERDATA_ID: Netzulo
[TheForestChecker] PLAYERDATA_NAME:<PHONE_NUMBER>6594797023
[TheForestChecker] PLAYERDATA_ID: Netzulo
[TheForestChecker]
Total players : 7
[TheForestChecker] ----------------------------------------------

tomorrow ill push code, begin real coding!


Should the LSIF only support non-deprecated LSP data types

For example, only MarkupContent

I will close the issue. IMO it is OK to support them since the overhead is small and they are still widely in use.


Rainbow color direction

Hi Marco,
I just noticed that PV rainbow colours are the opposite order to jmol and molscript, I wondered if you noticed, or is there a reason for the reversal of colour from N to C terminal?

The same is true for AstexViewer, ie blue at the N-terminus to red at the C-terminus

I've reversed the rainbow direction in the latest version.


test: Cypress - Firestore spec fix

Description

This fixes the Firestore spec that fails sometimes in CI due to all runs accessing the same cloud collection for validation.

Type of change

Script update

How Has This Been Tested?

Cypress CI runs

Checklist:
QA activity:

[X] Added Test Plan Approved label after reviewing all Cypress test

/ok-to-test sha=4821938


Site Statistics

Feature request
Can we get stats on things like:
How many pages?
Maybe how many pages by category?
Are we tracking other metrics?

I include metrics in my "year in review" posts on an annual basis, including from Google Analytics. I think the other stats we're referring to here would come directly from gatsby.


Resolve syncing conflicts from repo_sync_working_branch to main

Pull request opened by Docs to resolve syncing conflicts from repo_sync_working_branch to main.

@huypub : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@dphansen : Thanks for your contribution! The author(s) have been notified to review your proposed change.


fix numberLiteral in sqllexer and query with single quoted string param in ClickHousePreparedQueryStatement

fix: numberLiteral in SQLLexer and add tests
fix: error to query with single quoted string param in ClickHousePreparedQueryStatement

@sundy-li Sun
Could u please help me review & merge this pull request


SSL fails if the server is provided binary

I confirmed that SSL connection is immediately closed after trying establishing VPN connection if the server is provided binary of SoftEther Corporation. If the server is built from source, there is no problem.
I assume this is because of incompatibility between bundled OpenSSL and Java SSL library, but I found no evidence.

uh hey I need help with adding vpn protocol. Could you give me instructions how to add the Softether protocol

I've submitted a report on the SE repo about this, however, I notice that when I access the root SSL website page from Android, I don't see a similar error, which indicates to me that perhaps this is a client/HTTPS setup, configuration or options that prevent negotiation within the app?

^^ working HTTPS page presented on Android browser

For future reference:

MAYBE OpenSSL version control is a clue to solve this issue.
To work around this issue, I think disabling SSL3.0 completely is necessary. But even if setEnabledProtocols in SSLEngine rules out SSL3.0, it seems sock->ssl->s3 will be non-null.
Compared with SoftEther VPN Client's packet log, forcing encrypt-then-MAC could solve this issue. But I haven't been able to enable it in Android.


feat(plugin): Support parsing container application logs as json

Proposed Change

Some Kubernetes container application logs are json, and look like this in their unparsed form:
{
    "log":"{\"http.req.id\":\"d2ff7faf-db0b-4a5b-86c6-344eda2c5b8c\",\"http.req.method\":\"GET\",\"http.req.path\":\"/cart\",\"http.resp.bytes\":6650,\"http.resp.status\":200,\"http.resp.took_ms\":5,\"message\":\"request complete\",\"session\":\"bad3edc3-0974-41e0-9e5e-1427b11219d2\",\"severity\":\"debug\",\"timestamp\":\"2022-09-12T20:06:38.079934409Z\"}\n",
    "stream":"stdout",
    "time":"2022-09-12T20:06:38.080008097Z"
}

The output entry has body as a string, like this:

This change will parse body as json, and look like this:

Applications logs that are no json are skipped. This change applies to both input options (file and journald).
This change is enabled by default, but I would like some opinions on this.
Also fixed filelog receiver's exclude option.
Checklist

[ ] Changes are tested
[ ] CI has passed

@BinaryFissionGames should this be a minor version bump? New functionality right?

Yeah, @jsirianni could you bump this plugin to 0.2.0?

Done :+1:


0x801c0541 Not listed

This error code is not listed.

Documentdetails
⚠ Dit gedeelte niet bewerken. Het is vereist om problemen te koppelen tussen docs.microsoft.com en GitHub.

ID: 6b4f9133-887f-17a6-95fc-3712de8a3fa1
Version Independent ID: 09d34ce8-1590-8202-3e70-e6299dadbb65
Content: Windows Hello errors during PIN creation (Windows 10)
Content Source: windows/security/identity-protection/hello-for-business/hello-errors-during-pin-creation.md
Product: w10
Technology: windows
GitHub Login: @DaniHalfin
Microsoft Alias: daniha

@officedocsbot assign @mypil

@WagoL - Thank you for submitting feedback.
This is related to the closed issue #2941.
Please refer to the doc owner's (DaniHalfin) response below:

Hi everyone,
For any error code not listed in this topic, please file a problem through the feedback hub app.
Error codes that are unlisted in this topic are most likely transient and always too complex to be able to provide resolution through a help topic.
Please report these issues through the feedback hub app, and reach out to us through our official support channels.

@officedocsbot close


Can't delete files with zero size

Can't delete files with zero size
To Reproduce
I've tried to upload several files from inside a zip archive just by drag-and-drop. They are uploaded but got zero size.
After that I tried to delete them but without success. Instead, I'm getting such error:
delete failed:
Traceback (most recent call last):
File "PP/copyparty/broker_util.py", line 47, in try_exec
return func(*args)
^^^^^^^^^^^
File "PP/copyparty/up2k.py", line 3107, in handle_rm
a, b, c = self._handle_rm(uname, ip, vp, lim, rm_up)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "PP/copyparty/up2k.py", line 3226, in _handle_rm
self._forget_file(ptop, volpath, cur, wark, True, st.st_size)
File "PP/copyparty/up2k.py", line 3573, in _forget_file
p = self._vis_job_progress(job)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "PP/copyparty/up2k.py", line 542, in _vis_job_progress
perc = 100 - (len(job["need"]) * 100.0 / len(job["hash"]))
~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
ZeroDivisionError: float division by zero

URL: autocad/zimnik.dwl

Uploading not from archives works as fine as deleting.

Expected behavior
Just workable deleting is enough
Screenshots
Uploading result

Deleting result

Server details

debian-bookworm
service is running in a docker container (im:latest image)

Client details

Windows 10
Brave Browser

Lmao, nice
I'll fix that this weekend 👍 thx!


Do no create file in new_package workflow

Restoring change introduced in https://github.com/mandiant/VM-Packages/pull/69 as the generated file gets added to the commit and this file is not needed. The code also doesn't fix https://github.com/mandiant/VM-Packages/issues/67, see https://github.com/mandiant/VM-Packages/issues/67#issuecomment-1243838565.

@mr-tz not sure if we should delete the option to read from file you added to the Python script in https://github.com/mandiant/VM-Packages/pull/69.
I am also not sure what the best way to fix https://github.com/mandiant/VM-Packages/issues/67 is. We could delete the file after using it if that helps us somehow. 🤔

Fixed in https://github.com/mandiant/VM-Packages/pull/73


Transaction confirmation

Display and require confirmation of arguments before hitting sendTransaction
Something like this while under heavy development:

https://github.com/alexkuz/react-json-tree

https://docs.ethers.io/ethers.js/html/api-wallet.html?highlight=complex transactions#id2


Create DNS comparison command for privileged users.

Back when we had a discrepancy in DNS results, we were afraid SmokeDetector might be a part of it.  Which is what let ArtOfCode to create the dig command, so we could look at DNS results returned by SmokeDetector.
With the recent changes done to SmokeDetector with #6541, we now have the capacity to customize SmokeDetector's DNS settings and configurations.  Which means that having a customizable DNS means we need a mechanism to compare DNS output from SmokeDetector's DNS settings and a reliable DNS server.  In this case, I chose Google DNS as a comparative server for our use to compare against whatever DNS setup is done on SmokeDetector instances, whether system configured DNS or customized DNS with individual SD instances.

A quick check indicates there's a problem:
### AttributeError on Makyen/EC2-test at 2021-06-20T00:42:32Z: module 'dns.resolver' has no attribute 'Resolve'
File "/home/ec2-user/Charcoal-SE-SmokeDetector/chatcommunicate.py", line 458, in __call__
result = self.__func__(*processed_args)
File "/home/ec2-user/Charcoal-SE-SmokeDetector/chatcommands.py", line 2347, in dnscheck
google = dns.resolver.Resolve(configure=False)

@makyen typo fixed

Brief testing indicates this is basically working.


Assets scale not being recognized

I am trying to add my custom assets folder to add icons to my appx installer. For some reason it is not recognizing that these are the icons I want to use and is defaulting to the samples.
My folder does copy to the correct place and all of my icons are
Logo.scale-44.png
Logo.scale-50.png
Logo.scale-150.png
Logo.scale-310.png

And my config is:
        "assets": "./build/appxAssets/"

But, the appx still defaults to the samples instead

Is this working?

For some reason the manifest still doesnt pick up my assets folder. They continue to use the default samples

Inside the template for the manifest the respective values are hardcoded... So one has to use the same names.
https://github.com/felixrieseberg/electron-windows-store/blob/master/template/appxmanifest.xml

Ohhh I see

Trying it out now

One could just overwrite the manifest - this module supports that already.


SelectedColor Binding Not Updateing ViewModel

Describe the bug
When I try to bind the SelectedColor to a ViewModel class it gets the value, but won't set it
To Reproduce
Steps to reproduce the behavior:

Create a project and get ColorPicker all set up according to instructions
Add using Xamarin.Forms ViewModel binding by using the BindingContext in the xaml
Add a property to the ViewModel of type Xamarin.Forms.Color with a get and set
Add a ColorPicker to the xaml and use standard binding format to bind it to the view model property
Run the project and change the color on the color wheel

Expected behavior
I would expect my view model property SET to be called any time the color changes.
Desktop (please complete the following information):

OS: iOS
Version: Latest

Additional context
If I change my xaml to be similar to the TestApp project so that another control in the xaml uses a reference binding then it work, but only if I remove my binding to my view model property. If they are both there, then neither one updates.
Note that when I have my view model binding in place and I set a break point in the GET of my property it does hit it and retrieves the color just fine.
Here is my xaml:
<StackLayout Orientation="Vertical" BackgroundColor="{Binding Source={x:Reference LabelColorWheel}, Path=SelectedColor}">
<colorpicker:ColorCircle x:Name="LabelColorWheel" SelectedColor="{Binding LabelColor}"/>
</StackLayout>
Here is my view model:
private Color _labelColor;
public Color LabelColor
{
get { return _labelColor; }
set
{
if (_labelColor != value)
{
_labelColor = value;
SafePropertyChanged("LabelColor");
}
}
}
I am sorry my formatting isn't very good. It doesn't seem to paste code like I expect.

Hi.
After my investigation:
BackgroundColor of StackLayout is not updated, but Text of Label with the same binding updated correctly.
See example below:
<StackLayout Orientation="Vertical" BackgroundColor="{Binding Source={x:Reference LabelColorWheel}, Path=SelectedColor}">
  <colorpicker:ColorCircle x:Name="LabelColorWheel" SelectedColor="{Binding LabelColor}"/>
  <Label Text="{Binding Source={x:Reference LabelColorWheel}, Path=SelectedColor}"/>
</StackLayout>

This exact case starts working if the binding of ColorCircle is set to OneWayToSource mode:
<colorpicker:ColorCircle x:Name="LabelColorWheel" SelectedColor="{Binding LabelColor, Mode=OneWayToSource}"/>

Right now, I can't find out is it a ColorPicker problem or not. Hope it will help you.

Thank you. I will try it out and let you know.

hi @vpapenko  i tested onewaytosource and it works, however this is not the ideal solution, as if you change the mode to twoway and try to set the color through VM it won't work. if you also try to change the color through the wheel, it won't set the color in the view model either.

@vpapenko would you look into this issue and address it?


Fix optional types not registering as such outside of TS strict mode

On a project with strict TS config turned off, I discovered that the generated propTypes were always marked with isRequired
This PR fixes this and adds testing for this additional typescript config scenario.
Reviewing with whitespace changes turned off will make it easier to review test/index.test.ts

@merceyz have you had a chance to take a look?


Does tFlite support input shape=[1,32,None,3]

System information
Linux Ubuntu 16.04
tf-cpu-1.13.1
I use tensorflow train a crnn+ctc OCR  model,the width of textline is Variable,but when I convert pb to tflite,ValueError: None is only supported in the 1st dimension Tensor 'input_images' has invalid shape [1, 32, None, 3]。

I believe the converter currently can't handle unknown dimension other than the batch size dimension. You could try use a fixed length (such as max length) instead.

if use a fixed length(max width),the run time will be too long for small width

I see.
Currently dynamic input shape is not supported in tflite. However a walkaround could be:

set the unknown dimension to a fixed value during conversion.
then try interpreter.resize_tensor_input() method to resize the input tensor size at inference.

It's not guaranteed that this path will always work as expected though, however it's no harm if you can give it a try. Thanks!

@haozha111  Seems your method does not work.
After calling
 interpreter.resize_tensor_input(

and
interpreter.set_tensor(input_details[0]['index'], im)

the program will crash with
Process finished with exit code 139 (interrupted by signal 11: SIGSEGV)

Hi Melody, sorry that it doesn't work for you. We are actively working on dynamic shapes in TF Lite, and hope to make the user experience better. Adding Nupur who is working in this area.

Any news on dynamic shapes in TF Lite?

I tried resize input_tensor.It would crash in seconds.
And I tried 3 methods in  post_training_quantize ,interpreter.invoke  takes about 3 times before I used optimization method , even the model is  actually smaller.

or at least can we have variable batch? I resize input/output tensors, but when call allocate_tensors (either from python or java) I get an error inside reshape operator that the input and output tensors don't have the same number of elements

@gargn I exported a .tflite file generated from AutoML. The default input is 224x224. Any ideas on how to change the input to 200x80 and then save and download a new .tflite file? I can't seem to find documentation on this? I know i can use resize_tensor_input, but then I have to do the inference at that time. I'd love to get a new tflite file that has a new input tensor all together.
Thoughts?

We added support for unknown dimensions in TensorFlow Lite today (5591208).
Can you try converting your model again with tonight's (1/31) tf-nightly once it's released (pip install tf-nightly). Convert the model with experimental_new_converter = True.
When you load the model it should have an additional field shape_signature that contains the shape with any unknown dimensions marked with -1. shape will have those dimensions marked with 1.
You can then call ResizeInputTensor with the desired shape when running the interpreter. The generated model will only work on the latest TensorFlow version (i.e. the interpreter on the tf-nightly version you are running).
If it does not work, can you provide a detailed error and repro instructions?

I tried this with
tf.__version__ = '2.2.0-dev20200317'
and It's not working -- I believe it's because uint8 dtype (i.e. coral USB compilation?) isn't supported yet. Can this be?
converter = lite.TFLiteConverter.from_saved_model('saved_yolo/')
converter.experimental_new_converter = True

My data needs to be uint8 so my tflite model can be converted to an Edge TPU model...
but it seems that the converter won't work with this data:
In [27]: converter._is_unknown_shapes_allowed(fp32_execution=next(
                 representative_dataset_gen())[0][0].dtype == np.float32)
Out[27]: False

In [28]: converter._is_unknown_shapes_allowed(fp32_execution=next(
                  representative_dataset_gen())[0][0].dtype == np.uint8)
Out[28]: True

converter.representative_dataset = representative_dataset_gen
converter.target_spec.supported_ops = [lite.OpsSet.TFLITE_BUILTINS_INT8]
converter.optimizations = [lite.Optimize.DEFAULT]
converter.inference_input_type = tf.uint8
converter.inference_output_type = tf.uint8
tflite_model = converter.convert()
ValueError                                Traceback (most recent call last)
 in
----> 1 tflite_model = converter.convert()
~/.pyenv/versions/3.7.6/envs/experimental_converter/lib/python3.7/site-packages/tensorflow/lite/python/lite.py in convert(self)
556               "None is only supported in the 1st dimension. Tensor '{0}' has "
557               "invalid shape '{1}'.".format(
--> 558                   _get_tensor_name(tensor), shape_list))
559         elif shape_list and shape_list[0] is None:
560           # Set the batch size to 1 if undefined.
ValueError: None is only supported in the 1st dimension. Tensor 'input_1' has invalid shape '[None, None, None, 3]'.

@gargn

We added support for unknown dimensions in TensorFlow Lite today (5591208).
Can you try converting your model again with tonight's (1/31) tf-nightly once it's released (pip install tf-nightly). Convert the model with experimental_new_converter = True.
When you load the model it should have an additional field shape_signature that contains the shape with any unknown dimensions marked with -1. shape will have those dimensions marked with 1.
You can then call ResizeInputTensor with the desired shape when running the interpreter. The generated model will only work on the latest TensorFlow version (i.e. the interpreter on the tf-nightly version you are running).
If it does not work, can you provide a detailed error and repro instructions?

I've tried this in 2.2.0-rc2 with a keras model and I'm having issues also. Minimal repro:
import tensorflow as tf
from tensorflow.python.keras import Model, Input
from tensorflow.python.keras.layers import Conv2D

print('version:', tf.__version__)

i = Input(shape=(None, None, 3))
x = Conv2D(32, (3, 3))(i)

m = Model(i, x)
converter = tf.lite.TFLiteConverter.from_keras_model(m)
# MLIR enabled by default in 2.2.0, but check anyway:
print('MLIR enabled?', converter.experimental_new_converter)
tflite_model = converter.convert()

Output:
version: 2.2.0-rc2
MLIR enabled? True
---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
<ipython-input-1-f6a6483ac38d> in <module>
     12 # MLIR enabled by default in 2.2.0, but check anyway:
     13 print('MLIR enabled?', converter.experimental_new_converter)
---> 14 tflite_model = converter.convert()

~/.local/lib/python3.7/site-packages/tensorflow/lite/python/lite.py in convert(self)
    481               "None is only supported in the 1st dimension. Tensor '{0}' has "
    482               "invalid shape '{1}'.".format(
--> 483                   _get_tensor_name(tensor), shape_list))
    484         elif shape_list and shape_list[0] is None:
    485           # Set the batch size to 1 if undefined.

ValueError: None is only supported in the 1st dimension. Tensor 'input_1' has invalid shape '[None, None, None, 3]'.

Having the same issue as adrian

@gargn

We added support for unknown dimensions in TensorFlow Lite today (5591208).
Can you try converting your model again with tonight's (1/31) tf-nightly once it's released (pip install tf-nightly). Convert the model with experimental_new_converter = True.
When you load the model it should have an additional field shape_signature that contains the shape with any unknown dimensions marked with -1. shape will have those dimensions marked with 1.
You can then call ResizeInputTensor with the desired shape when running the interpreter. The generated model will only work on the latest TensorFlow version (i.e. the interpreter on the tf-nightly version you are running).
If it does not work, can you provide a detailed error and repro instructions?

I've tried this in 2.2.0-rc2 with a keras model and I'm having issues also. Minimal repro:
import tensorflow as tf
from tensorflow.python.keras import Model, Input
from tensorflow.python.keras.layers import Conv2D

print('version:', tf.__version__)

i = Input(shape=(None, None, 3))
x = Conv2D(32, (3, 3))(i)

m = Model(i, x)
converter = tf.lite.TFLiteConverter.from_keras_model(m)
# MLIR enabled by default in 2.2.0, but check anyway:
print('MLIR enabled?', converter.experimental_new_converter)
tflite_model = converter.convert()

Output:
version: 2.2.0-rc2
MLIR enabled? True
---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
<ipython-input-1-f6a6483ac38d> in <module>
     12 # MLIR enabled by default in 2.2.0, but check anyway:
     13 print('MLIR enabled?', converter.experimental_new_converter)
---> 14 tflite_model = converter.convert()

~/.local/lib/python3.7/site-packages/tensorflow/lite/python/lite.py in convert(self)
    481               "None is only supported in the 1st dimension. Tensor '{0}' has "
    482               "invalid shape '{1}'.".format(
--> 483                   _get_tensor_name(tensor), shape_list))
    484         elif shape_list and shape_list[0] is None:
    485           # Set the batch size to 1 if undefined.

ValueError: None is only supported in the 1st dimension. Tensor 'input_1' has invalid shape '[None, None, None, 3]'.

Having the same issue here.

We can specify a random non-batch size dimemsion for dynamic axis using tensorflow-2.2.0-rc3 tflite_convert.
However, the tflite-runtime cannot recalculate the appropriate output tensor dimensions if our model needs to.
interpreter = tflite.Interpreter(model_path="densenet.tflite")
input_details = interpreter.get_input_details()
output_details = interpreter.get_output_details()
width = 277 # Any number that is valid for the model
interpreter.resize_tensor_input(input_details[0]['index'], (1, 32, width, 1))
interpreter.allocate_tensors()
interpreter.set_tensor(input_details[0]['index'], X)
interpreter.invoke()
output = interpreter.get_tensor(output_details[0]['index'])

Something like this will occur:
RuntimeError: tensorflow/lite/kernels/reshape.cc:66 num_input_elements != num_output_elements (3072 != 13698)

Looks like tflite not yet able to modify all internal operator input/output dimensions accordingly.

@adriancaruana I think your issue was resolved already in recent tf-nightly. Please check the gist here. Thanks!

@james34602 Can you print input_details and output_details? Can you share the tflite file or model file? Thanks!

Absolutely!
https://drive.google.com/file/d/1ymi9BP6QQB1J0am3kkZLKdl6qQkFj_-f/view?usp=sharing
I remove most parameters in the model, however, the I/O of the model remains identical to the original unshrink model file.
---Python print start---
input_details:
[{'name': 'the_input', 'index': 44, 'shape': array([1, 32, 2112, 1]), 'dtype': <class 'numpy.float32'>, 'quantization': (0.0, 0), 'quantization_parameters': {'scales': array([], dtype=float32), 'zero_points': array([], dtype=int32), 'quantized_dimension': 0}}]
output_details:
[{'name': 'out/truediv', 'index': 36, 'shape': array([], dtype=int32), 'dtype': <class 'numpy.float32'>, 'quantization': (0.0, 0), 'quantization_parameters': {'scales': array([], dtype=float32), 'zero_points': array([], dtype=int32), 'quantized_dimension': 0}}]
Traceback (most recent call last):
File "runDensenet.py", line 15, in
text = keras_densenet(image)
File "C:\Users\James34602\Downloads\chinese_ocr\densenet\modelSing.py", line 52, in predict
interpreter.allocate_tensors()
File "C:\Users\James34602\Anaconda3\envs\ocrtest\lib\site-packages\tflite_runtime\interpreter.py", line 243, in allocate_tensors
return self._interpreter.AllocateTensors()
File "C:\Users\James34602\Anaconda3\envs\ocrtest\lib\site-packages\tflite_runtime\tensorflow_wrap_interpreter_wrapper.py", line 110, in AllocateTensors
return _tensorflow_wrap_interpreter_wrapper.InterpreterWrapper_AllocateTensors(self)
RuntimeError: tensorflow/lite/kernels/reshape.cc:66 num_input_elements != num_output_elements (192 != 0)Node number 11 (RESHAPE) failed to prepare.`
---Python print end---
Notice that:

2112 ([1, 32, 2112, 1]) should be None in the first place, tricks are needed to get tflite_convert  working
The tflite run completely correct if the input width is 2112, but it's not when input != 2112.

@jvishnuvardhan
Absolutely!
https://drive.google.com/file/d/1ymi9BP6QQB1J0am3kkZLKdl6qQkFj_-f/view?usp=sharing
I remove most parameters in the model, however, the I/O of the model remains identical to the original unshrink model file.
---Python print start---
input_details:
[{'name': 'the_input', 'index': 44, 'shape': array([1, 32, 2112, 1]), 'dtype': <class 'numpy.float32'>, 'quantization': (0.0, 0), 'quantization_parameters': {'scales': array([], dtype=float32), 'zero_points': array([], dtype=int32), 'quantized_dimension': 0}}]
output_details:
[{'name': 'out/truediv', 'index': 36, 'shape': array([], dtype=int32), 'dtype': <class 'numpy.float32'>, 'quantization': (0.0, 0), 'quantization_parameters': {'scales': array([], dtype=float32), 'zero_points': array([], dtype=int32), 'quantized_dimension': 0}}]
Traceback (most recent call last):
File "runDensenet.py", line 15, in
text = keras_densenet(image)
File "C:\Users\XXX\densenetCustomTrial\densenet\modelSing.py", line 52, in predict
interpreter.allocate_tensors()
File "C:\Users\XXX\Anaconda3\envs\ocrtest\lib\site-packages\tflite_runtime\interpreter.py", line 243, in allocate_tensors
return self._interpreter.AllocateTensors()
File "C:\Users\XXX\Anaconda3\envs\ocrtest\lib\site-packages\tflite_runtime\tensorflow_wrap_interpreter_wrapper.py", line 110, in AllocateTensors
return _tensorflow_wrap_interpreter_wrapper.InterpreterWrapper_AllocateTensors(self)
RuntimeError: tensorflow/lite/kernels/reshape.cc:66 num_input_elements != num_output_elements (192 != 0)Node number 11 (RESHAPE) failed to prepare.`
---Python print end---
Notice that:

2112 ([1, 32, 2112, 1]) should be None in the first place, tricks are needed to get tflite_convert  working
The tflite run completely correct if the input width is 2112, but it's not when input != 2112.

We hope tensorflow team fix the problem...even Matlab MatConvNet can handle dynamic I/O shape...

I used concrete_function to set input shape when converting saved_model to fflite format.
The conversion is successful but when I tried to inference in android, the output shape I got with converted model has shape 0.
In saved_model_cli, output_shape is: (-1, -1, -1, 2)

@james34602 I printed the input_details and found that None (-1) is not present in the signature. Please check the input_details.
Input_details:  [{'name': 'the_input', 'index': 44, 'shape': array([   1,   32, 2112,    1], dtype=int32), 'shape_signature': array([   1,   32, 2112,    1], dtype=int32), 'dtype': <class 'numpy.float32'>, 'quantization': (0.0, 0), 'quantization_parameters': {'scales': array([], dtype=float32), 'zero_points': array([], dtype=int32), 'quantized_dimension': 0}, 'sparsity_parameters': {}}]
If you had defined 3rd dimension as None, then the signature in the input_details should look like 'shape_signature': array([   1,   32, -1,    1], dtype=int32),. Please check @gargn comment on None dimension here.
Can you update the model with None and convert again. Hope it helps. Thanks!

@lynx97 Can you please create a new issue and provide a standalone code to reproduce the issue. Opening new issue is better and can be easy to follow for other users who are facing similar issue like you. Thanks!

@jvishnuvardhan Thanks for attention.
The version of tensorflow I was using is tensorflow-2.2.0-rc3, convert a model contain non-batch None axis is not supported.

Hello guys, @jvishnuvardhan
The tf-nightly can convert None axis in all of my test model, and work perfectly, thanks.
interpreter = tflite.Interpreter(model_path="densenet/densenet.tflite")
X = img.reshape([1, 32, width, 1])
input_details = interpreter.get_input_details()
output_details = interpreter.get_output_details()
interpreter.resize_tensor_input(input_details[0]['index'], (1, 32, width, 1))
interpreter.allocate_tensors()
interpreter.set_tensor(input_details[0]['index'], X)
interpreter.invoke()
Y = interpreter.get_tensor(output_details[0]['index'])

@gds101054108 Can you please verify once and close the issue if this was resolved for you. Couple of other above who had similar issue like you confirmed that None in non-batch dimension work as expected. Thanks!

We added support for unknown dimensions in TensorFlow Lite today (5591208).
Can you try converting your model again with tonight's (1/31) tf-nightly once it's released (pip install tf-nightly). Convert the model with experimental_new_converter = True.
When you load the model it should have an additional field shape_signature that contains the shape with any unknown dimensions marked with -1. shape will have those dimensions marked with 1.
You can then call ResizeInputTensor with the desired shape when running the interpreter. The generated model will only work on the latest TensorFlow version (i.e. the interpreter on the tf-nightly version you are running).
If it does not work, can you provide a detailed error and repro instructions?

Hi！I am very curious for this trick, but I don't know how to achieve this. Could you give me a example?

Actually, I follow the guide of this guy, and it seems to work. So is the last step necessary?

hey @james34602  @jvishnuvardhan
Hey! did it work for None Type?
I see that your input shape is [1, 32, width, 1],
Is it going to work for something like [None,None,None,4]
I tried it for [None,None,None,4], it did not work, any suggestions?

@purva98
tfnightly solve many problems, give it a shot.
[1, 32, width, 1] is [1, 32,None, 1]
width is not predetermined.

Good morning
On Sun, Jun 7, 2020, 10:26 AM James Fung<EMAIL_ADDRESS>wrote:

@purva98 https://github.com/purva98
tfnightly solve many problems, give it a shot.
[1, 32, width, 1] is [1, 32,None, 1]
width is not predetermined.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/tensorflow/tensorflow/issues/29590#issuecomment-640176281,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AIT525WESAGKJFSY3SWJ2W3RVNFKBANCNFSM4HWRWFCQ
.

Hey @james34602 @jvishnuvardhan @gargn
I have been facing similar issues listed in this thread.
I have a model trained with tensorflow 1.15 and wanted to convert it to a tflite model, and have been using the tf-nightly package for it (version: 2.4.0-dev20200714).
Since the model requires dynamic input sizes I  had set the width and height to None and after converting it to tflite this was the input_tensors :
[{'dtype': numpy.float32,
'index': 0,
'name': 'input_image:0',
'quantization': (0.0, 0),
'quantization_parameters': {'quantized_dimension': 0,
'scales': array([], dtype=float32),
'zero_points': array([], dtype=int32)},
'shape': array([1, 1, 1, 3], dtype=int32),
'shape_signature': array([ 1, -1, -1,  3], dtype=int32),
'sparsity_parameters': {}}]
For resizing and setting the input data, I followed this snippet, here batch_image is of shape: [1, height, width, 3].
interpreter.resize_tensor_input(input_details[0]['index'], (1, batch_image.shape[1], batch_image.shape[2], 3), strict=True)
interpreter.allocate_tensors()
interpreter.set_tensor(input_details[0]['index'], input_data)

You can see the input details shape has changed after executing the above snippet
interpreter.get_input_details()

[{'dtype': numpy.float32,
'index': 0,
'name': 'input_image:0',
'quantization': (0.0, 0),
'quantization_parameters': {'quantized_dimension': 0,
'scales': array([], dtype=float32),
'zero_points': array([], dtype=int32)},
'shape': array([  1, 286, 300,   3], dtype=int32),
'shape_signature': array([ 1, -1, -1,  3], dtype=int32),
'sparsity_parameters': {}}]
But on executing interpreter.invoke(), I am facing 2 issues:

Runtime error on some images, these same images work perfectly fine without tflite.

---------------------------------------------------------------------------
RuntimeError                              Traceback (most recent call last)
<ipython-input-59-7d35ed1dfe14> in <module>()
----> 1 interpreter.invoke()

/usr/local/lib/python3.6/dist-packages/tensorflow/lite/python/interpreter.py in invoke(self)
    522     """
    523     self._ensure_safe()
--> 524     self._interpreter.Invoke()
    525
    526   def reset_all_variables(self):

RuntimeError: tensorflow/lite/kernels/kernel_util.cc:249 d1 == d2 || d1 == 1 || d2 == 1 was not true.Node number 49 (ADD) failed to prepare.
tensorflow/lite/kernels/kernel_util.cc:249 d1 == d2 || d1 == 1 || d2 == 1 was not true.Node number 37 (ADD) failed to prepare.

Works on certain images but very high execution time (orders of 10x increase in time) than normally executing the model without tflite directly using the savedmodel format.

I have put together a Colab notebook to reproduce both the situations.
https://colab.research.google.com/drive/1OqzaBvzOCKOr6G-R7mQVPsnkhQm51jfY?usp=sharing
Model Files and Test Images (for both cases):
https://drive.google.com/file/d/1JErOmr9kyQYJFfTW9QwrZMJ6gM_3e9ZH/view?usp=sharing

Can you please check and let me know what could be a solution to this.
Can you also please share what's the recommended way to use tflite for dynamic input size models with the performance gains similar to which tflite says we can achieve?

Mac OS
TF 2.3.0

It still has the problem.
RuntimeError: tensorflow/lite/kernels/reshape.cc:66 num_input_elements != num_output_elements (416 != 0)Node number 11 (RESHAPE) failed to prepare.

I have the same problem as @tjdevWorks .
When using:
interpreter = tf.lite.Interpreter(model_path=path)
input_details = interpreter.get_input_details()
interpreter.resize_tensor_input(input_details[0]['index'], (1, 640, 427, 3))
interpreter.allocate_tensors()
interpreter.set_tensor(input_details[0]['index'], input_data)
interpreter.invoke()

I get:
---------------------------------------------------------------------------

RuntimeError                              Traceback (most recent call last)

<ipython-input-70-8ab2d11515fd> in <module>()
     12 interpreter.set_tensor(input_details[0]['index'], input_data)
     13
---> 14 interpreter.invoke()

/usr/local/lib/python3.7/dist-packages/tensorflow/lite/python/interpreter.py in invoke(self)
    538     """
    539     self._ensure_safe()
--> 540     self._interpreter.Invoke()
    541
    542   def reset_all_variables(self):

RuntimeError: tensorflow/lite/kernels/kernel_util.cc:404 d1 == d2 || d1 == 1 || d2 == 1 was not true.Node number 85 (ADD) failed to prepare.

@jvishnuvardhan Does any news on this exist or can somebody provide some help?

Any news on dynamic shapes in TF Lite?


brew.sh: fix autoupdate not working correctly for bump commands

This env is read by update.sh and shouldn't be reset if an autoupdate is in progress.

Good catch thanks @Bo98!


hacking.md: Document E2E_TEST_LABEL_POD_DENIALS

What type of PR is this?
/kind documentation

What this PR does / why we need it:
We should keep the environment variables pertaining to our CI up-to-date
Which issue(s) this PR fixes:
None

Does this PR have test?
N/A

Special notes for your reviewer:
N/A
Does this PR introduce a user-facing change?

NONE

Codecov Report

Merging #918 (aea0d91) into main (72a0786) will decrease coverage by 0.15%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #918      +/-   ##
==========================================
- Coverage   50.64%   50.49%   -0.16%
==========================================
  Files          42       42
  Lines        4626     4735     +109
==========================================
+ Hits         2343     2391      +48
- Misses       2198     2259      +61
  Partials       85       85

/retest

/retest

Just rebased atop Casmin's patches that fix CI.

/retest

/test pull-security-profiles-operator-test-e2e

/test pull-security-profiles-operator-test-e2e


RTL Support

Hello there!
how can I make the progress bar support rtl direction?
I tried this but it doesn't work
#nprogress .bar {
          position: fixed;
          top: 0;
          inset-inline-start: 0; /* instate of left: 0; */
          z-index: 1031;
          width: 100%;
          height: 4px;
        }

and this also
#nprogress .bar {
         left: ${isRTL ? "unset" : "0"},
          right: ${isRTL ? "0" : "unset"},
        }

We've migrated to nprogress-v2, so in options you can now use the direction property.

Thanks @Skyleen77
I tested it out and it works perfectly


Add QROM Bloq from Cirq-FT

Part of Qualtran & Cirq-FT Integration

@fdmalone You need to LGTM so it can be merged.


Supporting Reanimated 3

Description
With Reanimated 3, comes support for Fabric but also the removal of the Reanimated v1 API. Do we have any ongoing initiatives or plans to update the Reanimated API used?
https://blog.swmansion.com/announcing-reanimated-3-16167428c5f7
Alternatives
No response
Inspirations & examples
No response

Missed that the latest version no longer uses reanimated.


feat: allow peer dependencies using newer cdk versions

Issue #, if available:
Fixes https://github.com/awslabs/aws-bootstrap-kit/issues/76
Description of changes:
Allow peer deps of newer cdk version
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

LGTM . thanks for this! indeed needed  !

😉
Got a message that the pipeline failed: https://github.com/awslabs/aws-bootstrap-kit/runs/5003589747?check_suite_focus=true#step:3:7
@flochaz Can you set the environment variable or disable that step?

Yep WIP


feat: add connection-error component and account error state

Describe the changes you have made in this PR
Add AccountMenu account error state. Add ConnectionError component.
Link this PR to an issue [optional]
Fixes #2377
Type of change

feat: New feature (non-breaking change which adds functionality)

Screenshots of the changes [optional]
Add screenshots to make your changes easier to understand. You can also add a video here.
How has this been tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
Checklist

[ ] Self-review of changed code
[ ] Manual testing
[ ] Added automated tests where applicable
[ ] Update Docs & Guides
For UI-related changes
[ ] Darkmode
[ ] Responsive layout

@reneaaron this is a working draft. Refinement (especially in styles) is needed, but you could check out my changes/architecture if you want.

@reneaaron I updated with master, added the connection error to the options page and abstracted the "connectionFailed" state to a hook function. I added extensive comments to the hook function for explanation. I think this is 95% done now, so let me know what you think. The LND getInfo request url is erroneous for testing. If you throttle/delay the network requests, you can see the loading spinner on the button and test the screen not flicking back to the normal content during loading.

We currently have an issue where if you're unable to connect to a connector, then it's impossible to use LNURL auth there. I think it would it make sense to be able to still switch connector, but it be in a failed state (like this). And you can still use the LNURL auth  and master key features. What do you think? @lujakob @reneaaron @bumi

Yeah, but that should be the case already, right? The failed state would only be reflected on the wallet page (but not in the prompts), right?

Yeah, but that should be the case already, right? The failed state would only be reflected on the wallet page (but not in the prompts), right?

I don't think this has been implemented yet. I can't see any change to how the connector init works so that it will still return the connector if it fails

@rolznz do you think it makes sense for me to look into this? I would need some more information as I don't have the full picture here.
My understanding of lnurl auth is it's a single sign on to log into websites. If I am on www.getalby.com and "login with lightning" the popup opens. Is this the whole thing or is there more to know? Why is there a path for the lnurl auth page in the Options.tsx?
By the way, how do you debug/test lnurl auth in dev mode? If I can successfully login to my www.getalby.com account with the production extension, but not with the dev mode extension.
Maybe a short chat would be helpful?


feat(admin): add a name to the replica selector

What this PR does
It adds a new method Name() string to the replica selector interface
internal/admin.(ReplicaSelector). We can set a unique name for each replica selector, and
therefore, we can use a necessary replica selection algorithm by specifying the name.
Which issue(s) this PR resolves
Updates #393

Current dependencies on/for this PR:

main

PR #394   👈

PR #395

PR #396

This comment was auto-generated by Graphite.

@ijsong queued this pull request to merge with Graphite.

@ijsong merged this pull request with Graphite.


Looking for part of code that controls lore for item powers

I'm not a very experienced coder myself, and I was just wondering where in the code item lore for powers is controlled because I was looking to remove it as I would prefer just to use the custom lore for items rather than default power lore. I've tried removing it from the language files, but that just leaves an empty line which looks very strange and out of place. The lines I'm talking about: http://prntscr.com/ahpgda

They are defined in displayText() of each Power class. Power.java#L44
And the final lore is constructed from RPGItem.java#L481

Thank you.


refactoring kwargs

refactoring kwargs maxwellcircuit.py, CableModeling.py, report_templates.py, general_methods.py

Codecov Report
Attention: Patch coverage is 85.86387% with 27 lines in your changes are missing coverage. Please review.

Project coverage is 75.83%. Comparing base (6bc58c0) to head (a17cb59).
Report is 5 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4672      +/-   ##
==========================================
- Coverage   80.74%   75.83%   -4.92%
==========================================
  Files         119      119
  Lines       54550    54651     +101
==========================================
- Hits        44046    41444    -2602
- Misses      10504    13207    +2703


There is a failed activity log with an error 'UnexpectedQuit' when cloning one blob with a name which contains more than 951 characters

Storage Explorer Version: 1.21.0-dev
Build Number: 20210803.3
Branch: main
Platform/OS: Windows 10/Linux Ubuntu 20.04/MacOS Big Sur 11.4
Architecture: ia32\x64
How Found: From running test cases
Regression From: Not a regression
Steps to Reproduce

Expand one storage account -> Blob Container.
Select one blob container -> Upload one blob.
Clone the blob with a long name which contains more than 951 characters.
Check whether succeed to clone.

Expected Experience
Succeed to clone.
Actual Experience
There is a failed activity log with an error 'UnexpectedQuit'.

{   "message": "\"UnexpectedQuit\"" }
Additional Info

This issue also reproduces when uploading one blob to directory which has a very long path.

Here are is the blob name which contains 952 characters.
longname.txt

A good test, but I hope people will not have blob names with that many chars.

This is a known issue of AzCopy.


Fork Passage to v2.0.0

This is a fork from passage-1 to passage-2 with a new genesis.
Chain relaunch is on Monday July 31

any thought on creating a folder for /passage1/ with a copy of the same files but with the original genesis and old version history and status 'killed'?

any thought on creating a folder for /passage1/ with a copy of the same files but with the original genesis and old version history and status 'killed'?

Something like this? https://github.com/reversesigh/chain-registry/tree/passage1/passage1

Are you going to merge your passage1 branch into this patch-49 branch so it caqn all be taken care of in a single PR?


[PackageDescription] Allow up to 3 components for all Apple platforms

Even though we don't really have any deployment target in
iOS/watchOS/tvOS that uses three components, we should still allow it.

@swift-ci smoke test

This is correct, because a developer may declare their own APIs as available on a three-component version, the package may depend on bug fixes / functionality vended by an OS patch release even if there is no new API, the OS respects 3-component versions in LSMinimumSystemVersion/MinimumOSVersion, and LC_BUILD_VERSION allows 3-component versions for minos.


tools: net-tools: place net-tools inside tools

Reviewers: This change is based on top of #77852. Please therefore disregard the first commit until that PR is merged.
Updates references to net-tools (e.g. referring to $ZEPHYR_BASE or to the net-tools project) to refer to the correct placement of net-tools under tools.
TODO: As soon as https://github.com/zephyrproject-rtos/net-tools/pull/75 has been merged I'll update this PR to point to the proper commit in west. UPDATE: Done.

@kartben Any idea how I could debug that doc build failure? Guess it has something to do with the additional links I introduced? Maybe I overlooked some specific error message that points me to the source of the problem?

@kartben Any idea how I could debug that doc build failure? Guess it has something to do with the additional links I introduced? Maybe I overlooked some specific error message that points me to the source of the problem?

You seem to be missing the declaration for your reference target
Something like:
https://github.com/zephyrproject-rtos/zephyr/blob/main/samples%2Fnet%2Fvirtual%2FREADME.rst#L50

@kartben Any idea how I could debug that doc build failure? Guess it has something to do with the additional links I introduced? Maybe I overlooked some specific error message that points me to the source of the problem?

You seem to be missing the declaration for your reference target

Doh! Fixed. Thanks for your help.

@kartben @pdgendt @jukkar @nordicjm Thanks for having approved earlier versions, would be nice if you could re-approve. No changes, just rebased.


datasource equinix_fabric_cloud_router uuid must be required

https://github.com/equinix/terraform-provider-equinix/blob/ca31c98ecd90e808adc170a210bcc0de1cff59ae/equinix/fabric_cloud_router_read_schema.go#L19

Agreed - the one place where this schema is use requires the user to supply this field as a datasource argument.
https://github.com/equinix/terraform-provider-equinix/blob/main/equinix/data_source_fabric_cloud_router.go#L18-L22

Fixed in version 1.27.0 of Terraform Provider: https://registry.terraform.io/providers/equinix/equinix/1.27.0/docs/data-sources/equinix_fabric_cloud_router
Closing issue.


Python 3 compatible?

Does this project work with Python 3?
According to https://caniusepython3.com/project/pathtools it does not, but that looks at the meta data / categories from setup.py only (via the caniusepython package/binary).
Pathtools is used as a dependency for watchdog, which itself appears to be Python 3 compatible ("Programming Language :: Python :: 3").

@gorakhargosh Are you still maintaining this library? This is one of the remaining few packages in the top 360 on PyPi that are missing trove tags for Python 3.

I bet nobody interested in it. some people started to replace this library for something else. There'll be small changes here and there, and most of functions are already in the standard library done better than in this one.


Add ag listener ip state metric for SQL Server

What does this PR do?

Adds metrics to get the state of SQL Server availability group listener IP addresses via DMVs.
I think it makes sense to add it as a new class, but am happy to insert it into an existing one as well.
Motivation

This is a DMV that Microsoft lists to use to monitor availability group listeners in their documentation. It is also featured in other SQL Server monitoring tools, like Foglight for Databases.
We are currently working to transition alerting from Foglight to Datadog for SQL Server and this is one that we can't yet migrate without this new metric.
Additional Notes

Review checklist (to be filled by reviewers)

[x] Feature or bugfix MUST have appropriate tests (unit, integration, e2e) - Existing tests should be sufficient as far as I can tell
[x] PR title must be written as a CHANGELOG entry (see why)
[x] Files changes must correspond to the primary purpose of the PR as described in the title (small unrelated changes should have their own PR)
[ ] PR must have changelog/ and integration/ labels attached

I'm not sure if the issue lies with the fact that the e2e tests are run on Linux and it has a different concept of the Listener than WSFC, or if it is something I have setup wrong.

Thanks @djova - we are utilizing several custom metrics already, but I felt this would be a value add to the integration and worth submitting as such. It would be great to see it added out of the box in the forthcoming refactor.
Thanks


Command line option to install by build number

Tell us how we can improve Xcodes
The current command line option to install with release name is error prone. Allowing install by build number would reduce the opportunity for fat fingers.
In other words: xcodes install 14B47b should work in addition to xcodes install 14.1 Release Candidate 2
Thanks and keep up the good work!

Hey @ekurutepe - this should belong in xcodes repo - but it looks like somebody has an open PR for it already


Allow compiling LLVM backend in library mode

This enables compiling the LLVM backend in library mode by adding a new KompileBackend called LLVM_LIB.

Add way to add --llvm-kompile-type c to arguments of LLVM compilation via new backend LLVM_LIB.
Remove JAVA kompile backend.

Not sure if this is the best solution, or if it's better to have a separate LLVM_MODE enum. But it seems you can't both have normal compilation and library compilation, because they write to the same file. Let me know if we should do this differently.


FileOutputStream.write() on existing file leaves remnants of previous file bytes

I recently wrote to a file, then read from it and found bytes from a previous write at the end:
    File file = new File("/test.txt");
    FileOutputStream fileStream = new FileOutputStream(file);
    fileStream.write("A very long test string for purposes of testing.".getBytes());
    fileStream.close();

    FileOutputStream fileStream2 = new FileOutputStream(file);
    fileStream2.write("A short string.".getBytes());
    fileStream2.close();

    int length = (int)file.length();
    byte bytes[] = new byte[length];
    InputStream stream = new FileInputStream(file);
    stream.read(bytes, 0, length);
    stream.close();
    String str = new String(bytes);
    System.out.println("Test string: " + str);

For me this prints: Test string: A short string.t string for purposes of testing.
From the desktop it just prints: Test string: A short string.

Thanks for the fix Alexey!


Using base image: Alpine 3.4 / Node v4.5.0 / NPM_VERSION=2

https://github.com/mhart/alpine-node/blob/c447925032bf2a8d7a8bddb55612a2583f809035/Dockerfile
https://hub.docker.com/r/mhart/alpine-node/

Seeing that Nginx is maintaining both (Ubuntu Jessie and Alpine), I started to use the Alpine lately.
Regarding this Ghost Dockerfile, I have to admit that I don't have the courage to convert the current Jessie image into an Alpine one.
Cheers!

Node upstream is still working on Alpine support: https://github.com/nodejs/docker-node/issues/46.

Looks like the alpine image is ready :)
https://github.com/nodejs/docker-node/blob/master/4.7/alpine/Dockerfile

Node V6 is now recommended: https://github.com/docker-library/ghost/issues/58


How to apply for PopCS dataset

WIP. We will provide a form to apply for PopCS dataset.
Hi，May I ask when the dataset will be made public? And Can I use DM001 from https://www.data-baker.com/images/image/001.pdf to train the DiffSinger.

The dataset & pre-trained model for SVS will be made public before the ending of AAAI-22 conference.
We are now working on preprocessing PopCS to obtain more accurate duration labels, segmentations of each song, and F0 labels.
DM001 contains 50 songs, which is only half of PopCS. But maybe you can try DM001, since it seems to have fine annotation.

The dataset & pre-trained model for SVS will be made public before the ending of AAAI-22 conference.
We are now working on preprocessing PopCS to obtain more accurate duration labels, segmentations of each song, and F0 labels.
DM001 contains 50 songs, which is only half of PopCS. But maybe you can try DM001, since it seems to have fine annotation.

Is the data format of training DiffSinger as same as training TTS model, such as librispeech mentioned in the readme？

The dataset & pre-trained model for SVS will be made public before the ending of AAAI-22 conference.
We are now working on preprocessing PopCS to obtain more accurate duration labels, segmentations of each song, and F0 labels.
DM001 contains 50 songs, which is only half of PopCS. But maybe you can try DM001, since it seems to have fine annotation.

Is the data format of training DiffSinger as same as training TTS model, such as librispeech mentioned in the readme？

You can adjust the logic for data packing by yourself to fit your new singing dataset, or wait for our codes with data.


Options for compression level for gzip and xz and the setting of the extreme flag for ez

This PR attempts to set the compression level at the default level if not specified and to fast (-0) or best (-9) if specified and to set the extreme (-e) flag if specified.

:+1: LGTM

Thanks for the PR. Sorry this comment is like 4 years late... I don't really want to support a ton of options related to compression. It's something I almost didn't merge to start with since its easy to just run the command right after if you want something specific. So I'm going to close the MR to try and keep the compression code small. But I appreciate the time you put in and sorry it took me so long to reply ❤


drivers/segger/note_sysview.c: fix compilation

Summary

note_sysview.c: fix compilation for CONFIG_TASK_NAME_SIZE == 0
note_sysview.c: fix compilation if CONFIG_SCHED_INSTRUMENTATION_FILTER not defined

Impact
Testing
SystemView and nucleo-f446re

LGTM


Mail fix

This PR update the mail tests to use ad-hoc application and service

Commits need refactor (likely squash)

Multiple commits, likely squash needed


Integrate into windows

I added functionality to install as a windows service, and provided both the source code and compiled executables with documentation.

Thanks for this, I'll look to restructure things here to include the binaries in a release and just have the source code in the repo, might take me a little while to find the time to do this however


[Suggestion] Music Whilst Loading

An option to play music such as elevator music whilst asynchronously loading would be fun

I could definitely do that
I've been trying to decide what to do about the sometimes long and awkward loading times, and perhaps that would help
I'm also thinking about adding a progress bar somewhere so you can track the load progress and tell if it's stuck or just taking a while

This feature is now implemented
you'll need to install LCSoundTool and enable it in the config for it to work. I have it off by default under the assumption that the majority of people will have load times too short for the loading music to make sense, while still being available for those who wish to have it


On iOS, it is impossible to copy a URL from a message.

Summary
There is no way to copy a URL from a message on iOS.
Environment Information

Device Name:
OS Version: iOS 11.1.1
Mattermost App Version: 1.4.0 (Build 63)
Mattermost Server Version: 4.3.0 (Build 4.3.1)

Steps to reproduce

Post or view and existing message with a URL in it in the iOS client.
Touch and hold on the URL.

Expected behavior
The iOS share sheet should pop up.
Observed behavior
Message-level control menu pops up, instead, with "Flag", "Add Reaction", etc.

Hi @clonezone - we have this feature merged into master, it should be in the next release in a couple weeks!
https://github.com/mattermost/mattermost-mobile/pull/1069

Not the ideal solution. The native share sheet should be used.

@clonezone - we're working on improving files next, and a part of that will be looking into adding the native share sheet.


Fix local.set preservation bug

When translating
(local.set $n (local.get $n))

or
(local.tee $n (local.get $n))

The wasmi translation now properly ignores this since the whole sequence can be ignored and no longer runs into preservation issues. Note: While this change fixes the tagged test case there might be more bugs in local variable preservation that we might need to fix later.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #834   +/-   ##
=======================================
  Coverage   80.94%   80.94%
=======================================
  Files         257      257
  Lines       22461    22472   +11
=======================================
+ Hits        18180    18191   +11
  Misses       4281     4281

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


I think it is better to return a collect when random takes a value, laravel is not a direct return value.

I think it is better to return a collect when random takes a value, laravel is not a direct return value. Uniform data format returned in this way

Hi @xiaobing1024
I'm not sure I follow. random in Collect.js works exactly the same way as in Laravel Collection.
Retrieving a single radom value
// Laravel (PHP)
collect([1, 2, 3])->random();
//=> 2

// Collect.js (JS)
collect([1, 2, 3]).random();
//=> 2

Retrieving mutiple random values
// Laravel (PHP)
$randoms = collect([1, 2, 3, 4, 5, 6])->random(3);
// => Returns a new collection containing 3 random values

$randoms->all();
//=> [1, 2, 5]

// Collect.js (JS)
const randoms = collect([1, 2, 3, 4, 5, 6]).random(3);
// => Returns a new collection containing 3 random values

randoms.all();
//=> [1, 2, 5]

Sorry, I got it wrong.
// Laravel (PHP)
collect([1, 2, 3])->random();
//=> 2

// Laravel (PHP) this is different
collect([1, 2, 3])->random(1);
//=> collect(2)

// Collect.js (JS)
collect([1, 2, 3]).random();
//=> 2

// Collect.js (JS)
collect([1, 2, 3]).random(1);
//=> 2

I see! That shouldn't happen.
Fixed in b5b64f5.
Thanks for creating this issue.


Macro defaults: enter_on_poll & scope

I've reached the Model stage of the pipeline is #113.  This involves setting up defaults....
Current macro implementation has some confusing, to my mind, defaults.  Described here.
Proposal is for these defaults (macro impl details follow, but you get the idea):

enter_on_poll:

None (sync)
Some(true) (async)

span-scope:

Local (sync, is current default),
Local (async) & this follows from enter-on-poll default (above) being true (correct?)

If enter_on_poll=false then convention is for default span-scope to be Threads.
My expectation is that if you just want to add #[trace], it is likely you're new or (more likely) an occasional user needing to debug something now - you're already having a lousy day, and we shouldn't force you to dive into docs to find out what you need to do to get the help you need... in these cases enter-on-poll is likely to be what you want when debugging?  Also if you're new to async we don't hide the effect of polling.
Regular users will already know what they want.
I believe these defaults are consistent with the rust-lang goal of 'empowering everyone' here it is new/occasional users.  Also for these users their productivity is enhanced - at a cost to regular users who want a different default.  However thos regular/power users are still empowered to do what they want, just with some additional cost of having to enter their desired parameters.
Thoughts?

I appreciate you bringing these up. I haven't been able to come up with an apparently better design. But I could exhibit some ideas behind the current design for later evolution/refactoring.
Before v0.4, minitrace has two separate macros, respectively trace and trace_async. And on v0.3, we figured out a way to merge these two macros, namely by detecting async-trait output and elaborating async fn into fn -> impl Future. From the API aspect, I tried to keep them consistent in both sematic(rendered as a single span) and usage(need local parent context on the first call).
Thus, If enter_on_poll becomes the default behavior, the consistency will be broken: fn records only one span for each call while async fn may record more than one fragile span; fn need local parent context on the first call while async fn needs local parent context on each poll.

cc @zhongzc

Not sure I understand:

Thus, If enter_on_poll becomes the default behavior, the consistency will be broken:

To clarify:  You'd like there to be consistency, by default, in the number of spans generated by one call of a sync function and and one call of an async function.
Correct?
Related: Am I correct in understanding that enter_on_poll is only applicable to async functions?

To clarify: You'd like there to be consistency, by default, in the number of spans generated by one call of a sync function and and one call of an async function.
Correct?

Correct

Am I correct in understanding that enter_on_poll is only applicable to async functions

Correct

To clarify: You'd like there to be consistency, by default, in the number of spans generated by one call of a sync function and and one call of an async function.
Correct?

Correct

Ok, I see the symmetry in having that as default behavior.  However, the point of using async is to have your code run concurrently, or in parallel.  From the perspective of a user that has just changed:
#[trace]
fn io_bound(){ ... }

into
#[trace]
async fn io_bound(){ ... }

I believe they would expect to see, say in Jaeger, multiple events for io_bound, and would likely, incorrectly, believe they have made an implementation error whereby their async fn is only run once.
POLS (principle of least surprise) suggests enter_on_poll=true as the default. From that the other defaults follow.
What is the use case/scenario where having async functions appear once adds value?

The first request that I know so far is https://github.com/tikv/minitrace-rust/issues/64#issuecomment-936271952

What is the use case/scenario where having async functions appear once adds value?

The first request that I know so far is #64 (comment)

Thanks. That was informative.  I understood those comments as requesting the option to make async function appear to be sync.
That option is now present.
However, I did not understand them to be making the case the option should be the default.  In fact they are use-case/context specific.  Further, in the 6-months that issue was open only two (2) users showed up with a need for that option.
I'd tend to agree with @zhongzc comment in that issue, and take this to be the use of tracing in 80% of cases:

I'm not trying to convince you, but that outcome is really what I am hoping for as from that graph I can figure out that:

When were futures suspended and when were they resumed
How long was the real execution time and how long was the waiting time, not just the complete time

However, I am trying to convince you to go back to the default behavior. for the reasons @zhongzc outlined, and the one I set out earlier.

ping @zhongzc

Voided by PR #127 rejection.


Nan while using mvsnet_cls_loss in other framework

Hi, thanks for your great work!
I find the mvsnet_cls_loss useful for improving the representational ability of the classification schedule in MVS network.
However, when I transfer mvsnet_cls_loss to other CasMVSNet-like frameworks, I get nan value of loss during training sometimes.
Have you meet this problem before? Hoping for your reply~
BTW, does the mvsnet_cls_loss corresponds to finer ground-truth in the paper?

Thanks for your quick response!


[QUERY] GetFilesAndDirectories does not work with spaces

This is a question for Azure File Storage, specifically the DirectoryClient method "GetFilesAndDirectories". I can upload and view directories in Azure File Explorer and read the Uri property with spaces but the method,  "GetFilesAndDirectories", fails with a message that the resource does not exits. This creates an issue for us when automating file shares between various Azure services that contain spaces within the query string.
Do we need to replace the spaces with typical Uri placeholders for this method to work?

This is the same issue as #7659.  We need URI encoding across all Storage APIs.

Resolved by #8090


MAINT: sparse: update cython code for MST

Cleans up a couple minor issues:

converts ndarray objects to memoryviews
removes unused variable E
adds boundscheck=False and wraparound=False
uses for i in range() instead of legacy syntax

Looks OK from the syntax POV --- merging. Thanks @perimosocordiae.


How can I use this with CommonJS?

Hi, I browsed your library and I feel that it might help me solve a direct issue I'm having with multipart form data. However, I can't import using CommonJS and I don't have the liberty of upgrading the runtime to support ES Modules. Is there a way I could bypass the problem and if not, do you think you could support this? Thanks.

@hanktrizz glad that this module helps! I think it should be possible to use it in CommonJS style, as the TS compiler settings export the code as CommonJS module. I'll give it a shot and give a bit of sample for you to start later.

Closed for inactivity


1.19.2

im getting version updates in console for a higher version than listed on CF. is the 1.19.3 version okay for 1.19.2?
Forge

Yes 1.19.3 version should be working on 1.19.2. I will update on curseforge
Thanks for reporting and please reopen if you encounter any issues

Version 4.0.2 does not work for 1.19.2
Bot never turned on.
Reverting to 3.3.0 worked
Troubleshooting:
I did not gen a new config (never had to before) is there something new with the 4.0 series bots?

Tried testing again with new config and bot will not connect
again this is on forge 1.19.2

i've used your /mc2discord invite command to insure i got the correct permissions.
I reset my bot token to ensure that wasnt the issue either. still not connecting.
when i use /mc2discord status it says error

http://m2d.denisd3d.fr/uploads/view?key=207e5c17-4763-45b6-80fc-e84f15d40a95

Dev found issue: message intent in dev portal was off. thanks again!


Interpolation of DiscreteGaussianProcess

The interpolation of a DiscreteGaussianProcess throws an exception, on pretty much any input.
A test should be added to ensure that it functions correctly.

Resolved (see referenced commit above)