[BUG] leon121

Acknowledgement of preliminary instructions

[X] I have read the preliminary instructions, and I am certain that my problem has not already been addressed.
[X] I have thoroughly looked through the available Wiki articles and could not find a solution to my problem.
[X] I am using the latest version of Bloxstrap.
[x] I did not answer truthfully to all the above checkboxes.

Bloxstrap Version
2.8.1
What problem did you encounter?
when I change the font I get this error

Bloxstrap Log
2024-12-15T20:19:29Z [App::OnStartup] Starting Bloxstrap v2.5.4
2024-12-15T20:19:29Z [App::OnStartup] Compiled Friday, 3 November 2023 at 11:46:02 PM from commit 880c076fcd875fc10b5f6bef770033074d79a7a8 (tag/v2.5.4)
2024-12-15T20:19:29Z [App::OnStartup] Loaded from %UserProfile%\Downloads\Bloxstrap-v2.5.4.exe
2024-12-15T20:19:29Z [InstallChecker::FirstTimeRun] Running first-time install
2024-12-15T20:19:29Z [Logger::Initialize] Initializing at %UserProfile%\AppData\Local\Temp\Bloxstrap_20241215T201929Z.log
2024-12-15T20:19:29Z [Logger::Initialize] Finished initializing!
2024-12-15T20:19:29Z [JsonManager<Dictionary`2>::Load] Loading from ClientSettings\ClientAppSettings.json...
2024-12-15T20:19:29Z [JsonManager<Dictionary`2>::Load] Failed to load!
2024-12-15T20:19:29Z [JsonManager<Dictionary`2>::Load] Could not find a part of the path '%UserProfile%\Downloads\ClientSettings\ClientAppSettings.json'.
2024-12-15T20:19:29Z [FastFlagManager::SetValue] Setting of 'FFlagHandleAltEnterFullscreenManually' to 'False' is pending
2024-12-15T20:19:29Z [FastFlagManager::SetValue] Setting of 'FLogNetwork' to '7' is pending
2024-12-15T20:19:29Z [FastFlagManager::SetValue] Setting of 'DFIntTaskSchedulerTargetFps' to '120' is pending
2024-12-15T20:19:30Z [MainWindow::MainWindow] Initializing menu
2024-12-15T20:20:09Z [NotifyIconWrapper::NotifyIconWrapper] Initializing notification area icon
2024-12-15T20:20:09Z [App::OnStartup] Initializing bootstrapper
2024-12-15T20:20:09Z [App::OnStartup] Initializing bootstrapper dialog
2024-12-15T20:20:09Z [Bootstrapper::Run] Running bootstrapper
2024-12-15T20:20:09Z [Bootstrapper::Run] Performing connectivity check...
2024-12-15T20:20:09Z [Bootstrapper::SetStatus] Connecting to Roblox...
2024-12-15T20:20:09Z [RobloxDeployment::GetInfo] Getting deploy info for channel LIVE (extraInformation=False)
2024-12-15T20:20:09Z [HttpClientLoggingHandler::ProcessRequest] GET https://clientsettingscdn.roblox.com/v2/client-version/WindowsPlayer/channel/LIVE
2024-12-15T20:20:10Z [HttpClientLoggingHandler::ProcessResponse] 200 OK https://clientsettingscdn.roblox.com/v2/client-version/WindowsPlayer/channel/LIVE
2024-12-15T20:20:10Z [Bootstrapper::Run] Connectivity check finished
2024-12-15T20:20:10Z [RobloxDeployment::GetInfo] Getting deploy info for channel LIVE (extraInformation=False)
2024-12-15T20:20:10Z [RobloxDeployment::GetInfo] Deploy information is cached
2024-12-15T20:20:10Z [DeployManager::DefaultBaseUrl.Set] Testing connection to 'https://setup.rbxcdn.com'...
2024-12-15T20:20:10Z [HttpClientLoggingHandler::ProcessRequest] GET https://setup.rbxcdn.com/version
2024-12-15T20:20:10Z [HttpClientLoggingHandler::ProcessResponse] 200 OK https://setup.rbxcdn.com/version
2024-12-15T20:20:10Z [DeployManager::DefaultBaseUrl.Set] Connection successful!
2024-12-15T20:20:10Z [HttpClientLoggingHandler::ProcessRequest] GET https://setup.rbxcdn.com/version-b71c150c7c1f40de-rbxPkgManifest.txt
2024-12-15T20:20:11Z [HttpClientLoggingHandler::ProcessResponse] 200 OK https://setup.rbxcdn.com/version-b71c150c7c1f40de-rbxPkgManifest.txt
2024-12-15T20:20:11Z [HttpClientLoggingHandler::ProcessRequest] GET https://setup.rbxcdn.com/version-b71c150c7c1f40de-rbxManifest.txt
2024-12-15T20:20:11Z [HttpClientLoggingHandler::ProcessResponse] 200 OK https://setup.rbxcdn.com/version-b71c150c7c1f40de-rbxManifest.txt
2024-12-15T20:20:11Z [Bootstrapper::SetStatus] Installing Roblox...
2024-12-15T20:20:11Z [Bootstrapper::DownloadPackage.RobloxApp.zip] Package is already downloaded, skipping...
2024-12-15T20:20:11Z [Bootstrapper::ExtractPackage] Reading RobloxApp.zip...
2024-12-15T20:20:11Z [Bootstrapper::ExtractPackage] Read RobloxApp.zip. Extracting to %UserProfile%\AppData\Local\Bloxstrap\Versions\version-b71c150c7c1f40de...
2024-12-15T20:20:11Z [Bootstrapper::DownloadPackage.content-avatar.zip] Package is already downloaded, skipping...
2024-12-15T20:20:11Z [Bootstrapper::ExtractPackage] Reading content-avatar.zip...
2024-12-15T20:20:11Z [Bootstrapper::ExtractPackage] Read content-avatar.zip. Extracting to %UserProfile%\AppData\Local\Bloxstrap\Versions\version-b71c150c7c1f40de\content\avatar\...
2024-12-15T20:20:11Z [Bootstrapper::DownloadPackage.content-configs.zip] Package is already downloaded, skipping...
2024-12-15T20:20:11Z [Bootstrapper::ExtractPackage] Reading content-configs.zip...
2024-12-15T20:20:11Z [Bootstrapper::ExtractPackage] Read content-configs.zip. Extracting to %UserProfile%\AppData\Local\Bloxstrap\Versions\version-b71c150c7c1f40de\content\configs\...
2024-12-15T20:20:11Z [Bootstrapper::ExtractPackage] Finished extracting content-avatar.zip
2024-12-15T20:20:11Z [Bootstrapper::ExtractPackage] Finished extracting content-configs.zip
2024-12-15T20:20:11Z [Bootstrapper::DownloadPackage.content-fonts.zip] Package is already downloaded, skipping...
2024-12-15T20:20:11Z [Bootstrapper::ExtractPackage] Reading content-fonts.zip...
2024-12-15T20:20:11Z [Bootstrapper::ExtractPackage] Read content-fonts.zip. Extracting to %UserProfile%\AppData\Local\Bloxstrap\Versions\version-b71c150c7c1f40de\content\fonts\...
2024-12-15T20:20:11Z [Bootstrapper::DownloadPackage.content-models.zip] Package is already downloaded, skipping...
2024-12-15T20:20:11Z [Bootstrapper::ExtractPackage] Reading content-models.zip...
2024-12-15T20:20:11Z [Bootstrapper::ExtractPackage] Read content-models.zip. Extracting to %UserProfile%\AppData\Local\Bloxstrap\Versions\version-b71c150c7c1f40de\content\models\...
2024-12-15T20:20:11Z [Bootstrapper::DownloadPackage.content-sky.zip] Package is already downloaded, skipping...
2024-12-15T20:20:11Z [Bootstrapper::ExtractPackage] Reading content-sky.zip...
2024-12-15T20:20:11Z [Bootstrapper::ExtractPackage] Read content-sky.zip. Extracting to %UserProfile%\AppData\Local\Bloxstrap\Versions\version-b71c150c7c1f40de\content\sky\...
2024-12-15T20:20:11Z [Bootstrapper::ExtractPackage] Finished extracting content-models.zip
2024-12-15T20:20:11Z [Bootstrapper::DownloadPackage.content-sounds.zip] Package is already downloaded, skipping...
2024-12-15T20:20:11Z [Bootstrapper::ExtractPackage] Reading content-sounds.zip...
2024-12-15T20:20:11Z [Bootstrapper::ExtractPackage] Read content-sounds.zip. Extracting to %UserProfile%\AppData\Local\Bloxstrap\Versions\version-b71c150c7c1f40de\content\sounds\...
2024-12-15T20:20:11Z [Bootstrapper::ExtractPackage] Finished extracting content-sounds.zip
2024-12-15T20:20:11Z [Bootstrapper::ExtractPackage] Finished extracting content-sky.zip
2024-12-15T20:20:11Z [Bootstrapper::DownloadPackage.shaders.zip] Package is already downloaded, skipping...
2024-12-15T20:20:11Z [Bootstrapper::ExtractPackage] Reading shaders.zip...
2024-12-15T20:20:11Z [Bootstrapper::ExtractPackage] Read shaders.zip. Extracting to %UserProfile%\AppData\Local\Bloxstrap\Versions\version-b71c150c7c1f40de\shaders\...
2024-12-15T20:20:11Z [Bootstrapper::DownloadPackage.ssl.zip] Package is already downloaded, skipping...
2024-12-15T20:20:11Z [Bootstrapper::ExtractPackage] Reading ssl.zip...
2024-12-15T20:20:11Z [Bootstrapper::ExtractPackage] Read ssl.zip. Extracting to %UserProfile%\AppData\Local\Bloxstrap\Versions\version-b71c150c7c1f40de\ssl\...
2024-12-15T20:20:11Z [Bootstrapper::ExtractPackage] Finished extracting ssl.zip
2024-12-15T20:20:11Z [Bootstrapper::ExtractPackage] Finished extracting content-fonts.zip
2024-12-15T20:20:11Z [Bootstrapper::DownloadPackage.content-textures2.zip] Package is already downloaded, skipping...
2024-12-15T20:20:11Z [Bootstrapper::ExtractPackage] Reading content-textures2.zip...
2024-12-15T20:20:11Z [Bootstrapper::ExtractPackage] Read content-textures2.zip. Extracting to %UserProfile%\AppData\Local\Bloxstrap\Versions\version-b71c150c7c1f40de\content\textures\...
2024-12-15T20:20:11Z [Bootstrapper::DownloadPackage.content-textures3.zip] Package is already downloaded, skipping...
2024-12-15T20:20:11Z [Bootstrapper::ExtractPackage] Reading content-textures3.zip...
2024-12-15T20:20:11Z [Bootstrapper::ExtractPackage] Read content-textures3.zip. Extracting to %UserProfile%\AppData\Local\Bloxstrap\Versions\version-b71c150c7c1f40de\PlatformContent\pc\textures\...
2024-12-15T20:20:11Z [Bootstrapper::DownloadPackage.content-terrain.zip] Package is already downloaded, skipping...
2024-12-15T20:20:11Z [Bootstrapper::ExtractPackage] Reading content-terrain.zip...
2024-12-15T20:20:11Z [Bootstrapper::ExtractPackage] Read content-terrain.zip. Extracting to %UserProfile%\AppData\Local\Bloxstrap\Versions\version-b71c150c7c1f40de\PlatformContent\pc\terrain\...
2024-12-15T20:20:11Z [Bootstrapper::ExtractPackage] Finished extracting content-terrain.zip
2024-12-15T20:20:11Z [Bootstrapper::DownloadPackage.content-platform-fonts.zip] Package is already downloaded, skipping...
2024-12-15T20:20:11Z [Bootstrapper::ExtractPackage] Reading content-platform-fonts.zip...
2024-12-15T20:20:11Z [Bootstrapper::ExtractPackage] Read content-platform-fonts.zip. Extracting to %UserProfile%\AppData\Local\Bloxstrap\Versions\version-b71c150c7c1f40de\PlatformContent\pc\fonts\...
2024-12-15T20:20:11Z [Bootstrapper::DownloadPackage.content-platform-dictionaries.zip] Package is already downloaded, skipping...
2024-12-15T20:20:11Z [AsyncHelpers::ExceptionHandler] An exception occurred while running the task 'extracting content-platform-dictionaries.zip'
2024-12-15T20:20:11Z [Bootstrapper::ExtractPackage] Finished extracting content-textures3.zip
2024-12-15T20:20:11Z [Bootstrapper::DownloadPackage.extracontent-places.zip] Package is already downloaded, skipping...
2024-12-15T20:20:11Z [Bootstrapper::ExtractPackage] Reading extracontent-places.zip...
2024-12-15T20:20:11Z [Bootstrapper::ExtractPackage] Read extracontent-places.zip. Extracting to %UserProfile%\AppData\Local\Bloxstrap\Versions\version-b71c150c7c1f40de\ExtraContent\places\...
2024-12-15T20:20:11Z [App::FinalizeExceptionHandling] System.AggregateException: One or more errors occurred. (The given key 'content-platform-dictionaries.zip' was not present in the dictionary.)
 ---> System.Collections.Generic.KeyNotFoundException: The given key 'content-platform-dictionaries.zip' was not present in the dictionary.
   at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
   at Bloxstrap.Bootstrapper.ExtractPackage(Package package)
   --- End of inner exception stack trace ---
2024-12-15T20:20:11Z [Bootstrapper::ExtractPackage] Finished extracting extracontent-places.zip
2024-12-15T20:20:11Z [Bootstrapper::DownloadPackage.extracontent-luapackages.zip] Package is already downloaded, skipping...
2024-12-15T20:20:11Z [Bootstrapper::ExtractPackage] Reading extracontent-luapackages.zip...
2024-12-15T20:20:11Z [Bootstrapper::ExtractPackage] Read extracontent-luapackages.zip. Extracting to %UserProfile%\AppData\Local\Bloxstrap\Versions\version-b71c150c7c1f40de\ExtraContent\LuaPackages\...
2024-12-15T20:20:11Z [Bootstrapper::DownloadPackage.extracontent-translations.zip] Package is already downloaded, skipping...
2024-12-15T20:20:11Z [Bootstrapper::ExtractPackage] Reading extracontent-translations.zip...
2024-12-15T20:20:11Z [Bootstrapper::ExtractPackage] Read extracontent-translations.zip. Extracting to %UserProfile%\AppData\Local\Bloxstrap\Versions\version-b71c150c7c1f40de\ExtraContent\translations\...
2024-12-15T20:20:11Z [Bootstrapper::ExtractPackage] Finished extracting extracontent-translations.zip
2024-12-15T20:20:11Z [Bootstrapper::ExtractPackage] Finished extracting content-platform-fonts.zip
2024-12-15T20:20:11Z [Bootstrapper::DownloadPackage.extracontent-models.zip] Package is already downloaded, skipping...
2024-12-15T20:20:11Z [Bootstrapper::ExtractPackage] Reading extracontent-models.zip...
2024-12-15T20:20:11Z [Bootstrapper::ExtractPackage] Read extracontent-models.zip. Extracting to %UserProfile%\AppData\Local\Bloxstrap\Versions\version-b71c150c7c1f40de\ExtraContent\models\...
2024-12-15T20:20:11Z [Bootstrapper::ExtractPackage] Finished extracting shaders.zip
2024-12-15T20:20:11Z [Bootstrapper::ExtractPackage] Finished extracting extracontent-luapackages.zip
2024-12-15T20:20:11Z [Bootstrapper::ExtractPackage] Finished extracting extracontent-models.zip
2024-12-15T20:20:11Z [Bootstrapper::DownloadPackage.extracontent-textures.zip] Package is already downloaded, skipping...
2024-12-15T20:20:11Z [Bootstrapper::ExtractPackage] Reading extracontent-textures.zip...
2024-12-15T20:20:11Z [Bootstrapper::ExtractPackage] Read extracontent-textures.zip. Extracting to %UserProfile%\AppData\Local\Bloxstrap\Versions\version-b71c150c7c1f40de\ExtraContent\textures\...
2024-12-15T20:20:11Z [Bootstrapper::DownloadPackage.WebView2.zip] Package is already downloaded, skipping...
2024-12-15T20:20:11Z [Bootstrapper::ExtractPackage] Reading WebView2.zip...
2024-12-15T20:20:11Z [Bootstrapper::ExtractPackage] Read WebView2.zip. Extracting to %UserProfile%\AppData\Local\Bloxstrap\Versions\version-b71c150c7c1f40de...
2024-12-15T20:20:11Z [Bootstrapper::ExtractPackage] Finished extracting WebView2.zip
2024-12-15T20:20:11Z [Bootstrapper::DownloadPackage.WebView2RuntimeInstaller.zip] Package is already downloaded, skipping...
2024-12-15T20:20:11Z [Bootstrapper::DownloadPackage.redist.zip] Package is already downloaded, skipping...
2024-12-15T20:20:11Z [AsyncHelpers::ExceptionHandler] An exception occurred while running the task 'extracting redist.zip'
2024-12-15T20:20:11Z [App::FinalizeExceptionHandling] System.AggregateException: One or more errors occurred. (The given key 'redist.zip' was not present in the dictionary.)
 ---> System.Collections.Generic.KeyNotFoundException: The given key 'redist.zip' was not present in the dictionary.
   at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
   at Bloxstrap.Bootstrapper.ExtractPackage(Package package)
   --- End of inner exception stack trace ---
2024-12-15T20:20:11Z [Bootstrapper::ExtractPackage] Finished extracting RobloxApp.zip
2024-12-15T20:20:11Z [Bootstrapper::ExtractPackage] Finished extracting extracontent-textures.zip
2024-12-15T20:20:12Z [Bootstrapper::ExtractPackage] Finished extracting content-textures2.zip
2024-12-15T20:20:12Z [Bootstrapper::SetStatus] Configuring Roblox...

update
https://bloxstraplabs.com/
also please don't lie about your version


Unable to use jit python function to numba with roctools

Reporting a bug

[O] I am using the latest released version of Numba (most recent is visible in
the change log (https://github.com/numba/numba/blob/master/CHANGE_LOG).
[O] I have included below a minimal working reproducer (if you are unsure how
to write one see http://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports).

Hi! I've try to use the new roctool to jit python functions with numba, the code is as simple as below:

@roc.jit(device=True)
def simple_add(a, b):
    return a + b

%timeit simple_add(1,2)

However, the error says:
----> 1 simple_add(1,2)

TypeError: 'DeviceFunctionTemplate' object is not callable

My system setup:

OS: ubuntu 18.04 64bit (Kernel 4.15)
Numba and roctools: is done via the numba conda channel.
ROCM: 1.8.1

Any help would be appreciated! Thx.

Thanks for the report. Really pleased you are trying out this new target architecture, thanks!!! I'm almost done with a first round of documentation updates for this target so some more relevant documentation should be available soon. In the meantime, here are two key points:

kernels cannot explicitly return a value; all result data must be written to an array passed to the function (if computing a scalar, you will probably pass a one-element array);
kernels explicitly declare their thread hierarchy when called: i.e. the number of workgroups and the number of workitems per workgroup (note that while a kernel is compiled once, it can be called multiple times with different workgroup sizes or grid sizes).

As with the CUDA implementation, you cannot call a device function directly, you have to call it from a kernel. Here is an example:
from numba import roc
import numpy as np

@roc.jit
def kernel(an_array):
    # workitem id in a 1D workgroup
    tx = roc.get_local_id(0)
    # workgroup id in a 1D grid
    ty = roc.get_group_id(0)
    # workgroup size, i.e. number of workitem per workgroup
    bw = roc.get_local_size(0)
    # Compute flattened index inside the array
    pos = tx + ty * bw
    # The above is equivalent to pos = roc.get_global_id(0)
    if pos < an_array.size:  # Check array boundaries
        an_array[pos] = simple_add(1, pos)

@roc.jit(device = True)
def simple_add(a, b):
    return a + b

n = 16
x = np.zeros(n)

kernel[1, n](x)

print(x)

this should print:
[ 1.  2.  3.  4.  5.  6.  7.  8.  9. 10. 11. 12. 13. 14. 15. 16.]

As this is a new target architecture, if it is easier to debug things over real time chat, we are on gitter.im.
Thanks.

Added example in https://github.com/numba/numba/pull/3178. Closing.


Fulltext search not working on values with underscore or dots

My Environment

ArangoDB Version:        3.7.3, Docker, Ubuntu 20.04

Query & Data
AQL query:
FOR doc IN FULLTEXT("test", "type", "problem")
  COLLECT code = doc.type
  RETURN code

Collection, Dataset & Indexes:
const test = db.collection("test");

test.ensureIndex({ type : "fulltext", fields: ["type"] });

test.import([
  { type: "problem_show" },
  { type: "problem_graded" },
  { type: "edx.grades.problem.submitted" }
])

Steps to reproduce

Create collection, indexes and add data
Run AQL query

Problem: The query will return only one value:
[
  "edx.grades.problem.submitted"
]

Expected result: But it is expected to return three values (or more - all types that contain problem):
[
  "edx.grades.problem.submitted",
  "problem_graded",
  "problem_show"
]

The number of types including problem is unknown in advance.

@stdob that's due to dots are considered as delimiters. Please consider using Arangosearch instead of full-text index.

Do you want to search for full words (e.g. problem, graded, show), prefixes of these words (probl, grad, sho) or for suffixes / arbitrary substrings (oble, rade, how)?

@Simran-B

Do you want to search for full words (e.g. problem, graded, show), prefixes of these words (probl, grad, sho) or for suffixes / arbitrary substrings (oble, rade, how)?

I have many types of events. In different situations, I need to search either by different parts of a word or the whole word. For example, these different search options:

problem
problem_graded
submitted
edx.grades

and etc.

@gnusi

@stdob that's due to dots are considered as delimiters. Please consider using Arangosearch instead of full-text index.

Ok, thanks, I'll try.

Based on your description, you should probably combine an n-gram Analyzer with a View to enable index-accelerated substring matching. That will keep all characters as-is, unlike the tokenizing Analyzers such as text_en. Just make sure you set the streamType to utf8: https://www.arangodb.com/docs/stable/arangosearch-analyzers.html#n-gram

Hi @stdob,
Did you already have a chance to test the suggestions?

Hi @stdob,
Did you already have a chance to test the suggestions?

Hi @maxkernbach,
I try. Unfortunately, I cannot understand how to set streamType to utf8 and use n-gram by the advice of @Simran-B.
I think I need to dig into the documentation ))

Did you already have a chance to test the suggestions?

Hi @maxkernbach,
I try. Unfortunately, I cannot understand how to set streamType to utf8 and use n-gram by the advice of @Simran-B.
I think I need to dig into the documentation ))

Did you already have a chance to test the suggestions?

Create a trigram Analyzer in arangosh:
var analyzers = require("@arangodb/analyzers");
analyzers.save("trigrams", "ngram", { min: 3, max: 3, preserveOriginal: false, streamType: "utf8" }, ["frequency", "norm", "position"]);

Example of tokens it produces:
db._query(`RETURN TOKENS("edx.grades", "trigrams")`);
/* result:
[
  [
    "edx",
    "dx.",
    "x.g",
    ".gr",
    "gra",
    "rad",
    "ade",
    "des"
  ]
]
*/

It's fairly difficult to get this to work in the way you want however. I would actually recommend something else on second thought, even if it's slower:
SEARCH LIKE(doc.field, "%phras_"), where % stands for zero or more arbitrary characters and _ for a single wildcard character. To search for the substring _gra you need to escape the underscore, i.e. \\_gra in the Web UI or \\\\_gra in arangosh. In your View, make sure that the field is indexed somehow, the identity Analyzer suffices. This ensures that the term dictionary required for the LIKE() search is generated internally.

Create a trigram Analyzer in arangosh:
var analyzers = require("@arangodb/analyzers");
analyzers.save("trigrams", "ngram", { min: 3, max: 3, preserveOriginal: false, streamType: "utf8" }, ["frequency", "norm", "position"]);

Example of tokens it produces:
db._query(`RETURN TOKENS("edx.grades", "trigrams")`);
/* result:
[
  [
    "edx",
    "dx.",
    "x.g",
    ".gr",
    "gra",
    "rad",
    "ade",
    "des"
  ]
]
*/

It's fairly difficult to get this to work in the way you want however. I would actually recommend something else on second thought, even if it's slower:
SEARCH LIKE(doc.field, "%phras_"), where % stands for zero or more arbitrary characters and _ for a single wildcard character. To search for the substring _gra you need to escape the underscore, i.e. \\_gra in the Web UI or \\\\_gra in arangosh. In your View, make sure that the field is indexed somehow, the identity Analyzer suffices. This ensures that the term dictionary required for the LIKE() search is generated internally.

@Simran-B
Thanks for the example. I will experiment further.
Of course, it's a pity that everything is not so simple (as in the same neo4j).
I think that issue can be closed.

@Simran-B
Thanks for the example. I will experiment further.
Of course, it's a pity that everything is not so simple (as in the same neo4j).
I think that issue can be closed.


Add season_id to competition (requested by mtggoldfish).

Travis tests have failed
Hey @bakert,
Please read the following log in order to understand the failure reason.
It'll be awesome if you fix what's wrong and commit the changes.
1st Build
View build log

     echo $CMD

python dev.py lint

     $CMD

$ $CMD
CONFIG: web_cache=.web_cache
CONFIG: redis_enabled=True
CONFIG: redis_host=localhost
CONFIG: redis_port=6379
CONFIG: redis_db=0
CONFIG: whoosh_index_dir=whoosh_index
CONFIG: image_dir=./images
CONFIG: production=False
>>>> Running pylint
************* Module discordbot.functional_test
discordbot/functional_test.py:25: [W0222(signature-differs), TestContext.send] Signature differs from overridden 'send' method
discordbot/functional_test.py:25: [W0222(signature-differs), TestContext.send] Signature differs from overridden 'send' method
discordbot/functional_test.py:25: [W0222(signature-differs), TestContext.send] Signature differs from overridden 'send' method
discordbot/functional_test.py:25: [W0222(signature-differs), TestContext.send] Signature differs from overridden 'send' method
discordbot/functional_test.py:25: [W0222(signature-differs), TestContext.send] Signature differs from overridden 'send' method
discordbot/functional_test.py:25: [W0222(signature-differs), TestContext.send] Signature differs from overridden 'send' method
discordbot/functional_test.py:25: [W0222(signature-differs), TestContext.send] Signature differs from overridden 'send' method
discordbot/functional_test.py:25: [W0222(signature-differs), TestContext.send] Signature differs from overridden 'send' method
discordbot/functional_test.py:25: [W0222(signature-differs), TestContext.send] Signature differs from overridden 'send' method
discordbot/functional_test.py:25: [W0222(signature-differs), TestContext.send] Signature differs from overridden 'send' method
discordbot/functional_test.py:25: [W0222(signature-differs), TestContext.send] Signature differs from overridden 'send' method
discordbot/functional_test.py:25: [W0222(signature-differs), TestContext.send] Signature differs from overridden 'send' method
discordbot/functional_test.py:25: [W0222(signature-differs), TestContext.send] Signature differs from overridden 'send' method
discordbot/functional_test.py:25: [W0222(signature-differs), TestContext.send] Signature differs from overridden 'send' method
discordbot/functional_test.py:25: [W0222(signature-differs), TestContext.send] Signature differs from overridden 'send' method
discordbot/functional_test.py:25: [W0222(signature-differs), TestContext.send] Signature differs from overridden 'send' method
discordbot/functional_test.py:25: [W0222(signature-differs), TestContext.send] Signature differs from overridden 'send' method
discordbot/functional_test.py:25: [W0222(signature-differs), TestContext.send] Signature differs from overridden 'send' method
discordbot/functional_test.py:25: [W0222(signature-differs), TestContext.send] Signature differs from overridden 'send' method
discordbot/functional_test.py:25: [W0222(signature-differs), TestContext.send] Signature differs from overridden 'send' method
discordbot/functional_test.py:25: [W0222(signature-differs), TestContext.send] Signature differs from overridden 'send' method
TestFailedException running ['dev.py', 'lint']:  [(4,)] 4

TravisBuddy Request Identifier: 7d073ad0-8b03-11ea-b0c3-9bf8056a98a6


Better User Pages

Some of these features are probably in the idea book but I have a list of features that would improve the user experience.

Follow other users
View other user's reviews on their profile and possibly show followed friend's reviews on individual shows/movie pages.
View a list of all reviews for a show (if they are set to public) and allow other users to upvote/downvote? (Alternativley could have a discussion section/sub page for each show/movie which lets people talk and interact similar to a forum)
Profile customisation (Avatars, Descriptions, friends list etc)
Profile comments.

Hi @DNYLA, thank you for the ideas, these will definitely improve the user experience and add a lot of nice functionality to the app.

Will continue to track the outstanding tasks in their own tickets.


Update console.py

Added support for linux systems for the title changer

Oh extremely sorry, maybe I did a typo on that

I guessi, i can't fix it here. I can accept it when i fix it and create a pull request again

This is my first time getting a pull request and idk exactly how it works, i guess i cant accept it by changing myself. Can you fix the typo and open a pull request back?

Yea, my first time as well.
Sure
On Fri, 17 Mar 2023 at 22:44, Deniz @.***> wrote:

This is my first time getting a pull request and idk exactly how it works,
i guess i cant accept it by changing myself. Can you fix the typo and open
a pull request back?
—
Reply to this email directly, view it on GitHub
https://github.com/seadhy/Spotify-Account-Creator/pull/19#issuecomment-1474131959,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AT2OAOH2XGW2QMTZMKLRDWTW4SJ6HANCNFSM6AAAAAAV56TFZY
.
You are receiving this because you authored the thread.Message ID:
@.***>


[WIP] added generation of DeviceDescriptors.cs

closes #478
todos:

[x] generate a cs file instead of js
[ ] cleanup puppeteer ExecutablePath argument
[ ] cleanup Main method

@kblok Done!


Adding PSH as a storage option in the model

Feature Request
I will add the feature to allow adding PSH as a storage option in PyPSA
Suggested Solution
No response
Additional Info
No response

Closed with #337


added missing author tag

Probalby will fix https://github.com/perl6/ecosystem/pull/56#issuecomment-139799165

Thank you.


Blank Geo Location Panel

I can't get GoAccess to read locations from the Nginx access.log although the server is already outputting locations in the log
<IP_ADDRESS> - - [31/Mar/2020:15:32:55 +0200] "GET / HTTP/1.1" 404 555 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36" "-" MY Kuala Lumpur
I tried GeoIP Legacy first before this. Geo Location panel wasn't blank but the data was unknown for the location. Then I moved to GeoIP2, upgraded Nginx, added ngx_http_geoip2_module and it's all well on the Nginx side. It's just, I can't figure it out on the GoAccess side to read geo locations from Nginx's logs. It's just a blank the Geo Location panel.

It can't read it from the log, it has to parse it through the IP. libmaxminddb. From the config file:
# For GeoIP2 City database:
# wget -N http://geolite.maxmind.com/download/geoip/database/GeoLite2-City.mmdb.gz
# gunzip GeoLite2-City.mmdb.gz
#
# For GeoIP2 Country database:
# wget -N http://geolite.maxmind.com/download/geoip/database/GeoLite2-Country.mmdb.gz
# gunzip GeoLite2-Country.mmdb.gz
#
#geoip-database /usr/local/share/GeoIP/GeoLiteCity.dat

If GeoIP is needed, you will need to download the City/Country database from MaxMind and use the option --geoip-database to specify the database.

Thanks! The param --geoip-database works but how can I use 2 databases (one for city, one for country) and then output them as country code and city name respectively?

Unfortunately it's not possible right now. #594 should address this.

Oh that's okay. One last thing to ask, what's the proper log format for this Nginx setup?
 log_format  '$remote_addr - $remote_user [$time_local] "$request" '
                    '$status $body_bytes_sent "$http_referer" '
                    '"$http_user_agent" "$http_x_forwarded_for" '
                    '$geoip2_data_country_code $geoip2_data_country_name';

It's also because I can't get the time and date of hits to appear as shown here:

Please post a few lines from your access log

<IP_ADDRESS> - - [01/Apr/2020:11:30:38 +0200] "GET / HTTP/1.1" 404 555 "-" "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36" "-" RU Kaliningrad

<IP_ADDRESS> - - [01/Apr/2020:11:48:47 +0200] "GET / HTTP/1.1" 404 555 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36" "-" MX Ecatepec

<IP_ADDRESS> - - [01/Apr/2020:12:11:22 +0200] "POST /cgi-bin/mainfunction.cgi HTTP/1.1" 404 153 "-" "XTC" "-" MX Puebla City

<IP_ADDRESS> - - [01/Apr/2020:12:29:26 +0200] "GET / HTTP/1.1" 404 153 "-" "Mozilla/5.0 zgrab/0.x" "-" US San Francisco

<IP_ADDRESS> - - [01/Apr/2020:12:33:41 +0200] "GET / HTTP/1.1" 404 153 "-" "Mozilla/5.0 zgrab/0.x" "-" US Stanford

Please note that I added your location from the log to an unused panel called VirtualHost.
goaccess access.log --log-format='%h %^[%d:%t %^] "%r" %s %b "%R" "%u" %^ %v\n' --date-format=%d/%b/%Y --time-format=%T

It all looks good now. Thank you! Time to explore the config for more customization.
Oh and btw, I have to include the parameter -p /usr/local/etc/goaccess/goaccess.conf every time because for some unknown reason, goaccess can't locate the default global config.

Hi again! Is there any way to add the IP address and location of a request in the Time Distribution panel so I can track where it comes from along with the time and date?

@jdotdarko you will need to do some preprocessing, e.g., awk, grep, sed. #117 will address this.
Closing this as it appears to b working for you. Feel free to reopen it if needed. v1.4 is coming out next week. Stay tuned!


Sync script for grafana  dashboard -  github actions  postcommit workflows

The script fetch the status and conclusion of the workflows related with postcommit works.
Every 3 hours the script will fetch the data and save it in a database where grafana will get the data.
This script will run on a cloud function, triggered by a pub/sub topic.

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

R: @byronellis
HI Byron, this is the script for the new dashboard related with postcommit jobs in github actions

@damccorm
Hi Danny.
The changes required are done.

Instead of having to lists an object store all the info about the workflows ( name, path, list of runs, and link of each one of the runs)
Print exceptions in the try blocks
Adding link for each one of the runs in the table with the name as runxId
Check if the page is full and check in the next one in that case.
Adding exponencial backoff in the retrys in case of the request code is not 200
Change the way to fill the query using for loops instead hardcoded inserts

Please let me know if another change is required

Grafana Dashboard can be found under this PR-24176


cleaner README and removing unneeded docker-compose files

Some doc updates

@pb82 thanks for the read, I've update the docker-compse doc


Insert  eos-cr ricarian conract component

this page
https://guias.eoscostarica.io/docs/aprender-eosio/contratos-ricardianos
should  show the ricardian contract renderer in the eoscr component storybook

@xavier506 should guias.eoscostarica.io render the ricardian contract from eoscr-components library. Is that so?


Optionally perform initialization on BufEnter

To address issue #110, perform initialization in a BufEnter autocommand if g:phpcd_auto_restart is set to 1 (as requested in https://github.com/lvht/phpcd.vim/pull/111). If g:phpcd_auto_restart is set to the default value of 0, perform initialization when the ftplugin is loaded.

Thanks for merging.

Every user of phpcd.vim should thank you. You make phpcd.vim better.
Thank you.

PR are always welcome 😄


Update ministries

This PR

removes marking of speeches by percentile criteria
identifies the majority ministry addressed in a given topic and applies this to all speeches in a given topic in mart_speeches
updates corresponding docs

there are errors in the CI. let me look into them before reviewing the PR


Readme / Setup instructions

Document how to download/setup/run the things

What operating systems we support -- Windows you are on your own, Mac + Linux yay


Cannot compile for Arduino Uno

Using the latest release 0.4.4 for windows
Attempting to compile for arduino uno after generating the protobuf .c and .h files produces the following error message -

In file included from sketch\sparkplug_b.pb.h:6:0,

                 from sketch\sparkplug_b.pb.c:4:

C:\Program Files (x86)\Arduino\libraries\nanopb/pb.h:150:42: error: static assertion failed: "DOUBLE_MUST_BE_8_BYTES"

 #      define PB_STATIC_ASSERT(COND,MSG) _Static_assert(COND,#MSG);

                                          ^

sketch\sparkplug_b.pb.c:60:1: note: in expansion of macro 'PB_STATIC_ASSERT'

 PB_STATIC_ASSERT(sizeof(double) == 8, DOUBLE_MUST_BE_8_BYTES)

 ^~~~~~~~~~~~~~~~

exit status 1
Error compiling for board Arduino Uno.

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

Any thoughts as to a fix or workaround?

That's because AVR processor does not have real double datatype, it is an alias for float
Enable compilation option PB_CONVERT_DOUBLE_FLOAT in pb.h.


Touch id in IOS is different from Android in  useMultiTouchHandler callbacks

Description
demo like
 useMultiTouchHandler({
    onStart: event => console.log(event.id)
  })

Android:
first finger >>> log 0
second finger >>> log 1
But in IOS is like this and id is different everytime:
first finger >>> log<PHONE_NUMBER>
second finger >>> log<PHONE_NUMBER>
Could event  id in IOS is the same as  Android so that i could know the order of fingers?
my version is
    "react": "18.0.0",
    "react-native": "0.67.5",
    "@shopify/react-native-skia": "0.1.197",

Version
0.1.197
Steps to reproduce
run on IOS/Android
 useMultiTouchHandler({
    onStart: event => console.log(event.id)
  })

Snack, code example, screenshot, or link to a repository
none

We strongly recommend t use Gesture handler and reanimated 3 for such a use-case: https://shopify.github.io/react-native-skia/docs/animations/reanimated#hello-world


[YoutubeDL] Include playlist_description in post-processing

playlist_id and playlist_title are already supported, and there doesn't seem to be any other use for playlist_description, even though it's often returned by extractors

What's the point in the first place?

@dstftw It's returned by some extractors, but doesn't seem to be used anywhere.

I guess @dstftw asked for a real use case for this addition. Currently no post processor uses it either.

@yan12125 I can't think of any real use case this could have for the post processors atm, but it's returned by some extractors, which is pointless if it doesn't have any use case other than that. I know that at least some users would be interested in getting the playlist description, so why not return it?

Well, end users can get playlist descriptions from -j. Also, users have no direct access to post-processors, do they?

From https://github.com/rg3/youtube-dl/blob/master/README.md#is-anyone-going-to-need-the-feature:

Only post features that you (or an incapacitated friend you can personally talk to) require. Do not post features because they seem like a good idea. If they are really useful, they will be requested by someone who requires them.

So closing.

@yan12125 OK. Thanks for your time, anyway :)   But do you have an example URL where I can get the playlist description using -j?

It was my wrong that I didn't test it. Playlists should use -J, for example:
youtube-dl test:LePlaylist -J --flat-playlist | json_reformat


Compiler warnings printed to stderr

Sabre prints compiler warnings in some cases. BecToken for example:
$ sabre BECToken/BECToken.sol
(node:14221) V8: soljson-v0.4.16+commit.d7661dd9.js:3 Invalid asm.js: Invalid member of stdlib

Note that the analysis still completes successfully.
Expected Behaivour
Hide those warnings from the user as they aren't relevant for the outcome of the analysis.

@b-mueller -- I don't see the compiler warnings on latest master for the above contract. Can you confirm the same on your end?
Probably it can be because of different node, solc versions as well. I'm using<EMAIL_ADDRESS>and<EMAIL_ADDRESS>

I'm running:
Node v11.11.0
<EMAIL_ADDRESS>
I'm getting the warning for almost every contract.

Hmm yeah I stopped getting those now :)


Event Request in Page 6510

Hi Team,
I need to flow some custom fields value from Tracking Specification to reservation entry Please  provide events as per the below screenshot.
![image](https://user-images.githubusercontent.com/36455082/38408517-8b83dff2-399b-11e8-9ebf-772c7

ea4b5b4.png)

Hello Team,
It would be great if we can get both OldTrackingSpecification and NewTrackingSpecification as a parameter in this suggested event.
Thanks

Please log a new request. This one is already marked as fixed in our systems


Unable to change bottom navigation from buttons on the page

I want change the current bottom navigation bar to another. Like: When I click on add to cart button from product detail page it should show selected bottom navigation bar to cart page. Currently It shows me the page but selected page is still homepage.
Also I can't handle navigation from button on the pages to change bottom navigation.

Sorry for the late response.
First of all, this is a layout package. It doesn't include a bottom navigation bar. You need to bring your own. If the navigation bar you are using is faulty, you need to address that problem.
Secondly, please make sure that you are passing all parameters correctly. Look at how the currentIndex and onTap parameters are properly passed down in the Quick start example:
bottomNavigationBar: (currentIndex, onTap) => BottomNavigationBar(
  currentIndex: currentIndex,
  onTap: (index) => onTap(index),
  items: [
    BottomNavigationBarItem(icon: Icon(Icons.home), label: 'Home'),
    BottomNavigationBarItem(icon: Icon(Icons.linear_scale), label: 'Slider'),
    BottomNavigationBarItem(icon: Icon(Icons.search), label: 'Search'),
  ],
),

My guess is that you are not passing the currentIndex down to the navigation bar here.
If that still doesn't solve your problem, please update the package and provide a minimal code that reproduces the problem.


Configurator not showing right Numpad options

There is an HTML/JS rendering bug on the configurator.
When choosing Numpad options for button and save it seems to work. But when come again after restarting it renders non-options. JSON data is ok.
clip from /config/menu2.json:

"button1": {
    "latch": false,
    "latchlogo": "",
    "actionarray": [
      "9",
      "12",
      "12"
    ],
    "valuearray": [
      "1",
      "2",
      "3"
    ]
  },

The problem is not only with Numpad's actions... Noticed the same thing also with Function Keys.  So there is some generic bug somewhere.


Allow decompressing SLLZ while reading Par and converting to ParFile without compression

Description
A ReaderParameters class was added for Converters.Par.Reader with an option to DecompressFiles automatically while reading the par.
A converter from ParFile to BinaryFormat was added to avoid the need to use Converters.Sllz.Compress as a writer when rebuilding assets.
Example
These examples apply to game scripts.
Instead of having to add TF3.YarhlPlugin.YakuzaCommon.Converters.Sllz.Decompress as a reader for every file contained inside a par (if the file is compressed), a parameter can be added to the script and used with Converters.Par.Reader in the "ParameterId" field to decompress all ParFiles that have compression.
Instead of having to compress all files that are contained inside pars, the TF3.YarhlPlugin.YakuzaCommon.Converters.ParFile.FromBinaryFormat converter can be added as a writer to convert a BinaryFormat to ParFile without compressing.
This closes #10

I think Microsoft have made some changes and I need to fix the devops pipeline before being able to merge. I'll try to do it tomorrow.
Just a few comments to your code:

You should add the new case to this switch, so it can use the new code.
Par archives can not contain files over 4GB. I know it is an edge case, but, should we add a "forced compression" if there is a file over 4GB?
Can you add tests for the new code in https://github.com/Kaplas80/TF3.YakuzaPlugins/tree/main/src/TF3.Tests.Yakuza?
I'm not sure how copyright works, but I think you should put your name/alias in the files you create or modify.

You should add the new case to this switch, so it can use the new code.

I did not intend for the ParFile converter to be used with the Sllz compressor, but that's a good idea. I will just add a new compression type to the enum and add a new case to the switch.

Par archives can not contain files over 4GB. I know it is an edge case, but, should we add a "forced compression" if there is a file over 4GB?

How should it work? Set compression type to Standard if the file is over 4GB?

Can you add tests for the new code in https://github.com/Kaplas80/TF3.YakuzaPlugins/tree/main/src/TF3.Tests.Yakuza?

Got it.

I'm not sure how copyright works, but I think you should put your name/alias in the files you create or modify.

Is it fine if i follow this format and put it above the copyright notice (in files I create)? Please give an example if this does not seem appropriate.
// Author:
//       SutandoTsukai181

I wrote the tests and added the new compression type to the switch.
Regarding the 4GB forced compression, Sllz.Compress uses byte[] for storing the input/output data. This will cause a System.OverflowException : Array dimensions exceeded supported range when creating the array with a size that large, which means the 4GB check will have no use.
Changing how Sllz.Compress works internally would be out of the scope of this PR, so I would rather not do it.

Thank you for the changes
I've fixed the nuget configuration of the project which failed yesterday in macos build. Please, rebase your branch to get the fix.
About the 4GB files, you are right and it is out the scope of this PR.

I've done the rebase, but I am not sure if it was supposed to add all of the original commits again :sweat_smile:

I've done the rebase, but I am not sure if it was supposed to add all of the original commits again 😅

It's a bit strange, but checks have passed.
If you don't need to make more changes, I can merge and close the PR.

Thanks.
Everything is done, feel free to merge.


[KNI][release-4.14][manual] add support for feature gates

enablement and reporting for kni-specific feature gates.

backport of https://github.com/openshift-kni/scheduler-plugins/pull/147


slow than tcphttp2

Hello, I tested quic-go which is based on udp, i find it slower much than http2 client(which is base on TCP).
what's wrong ?
httpclient := &http.Client{
	Transport: &http2.Transport{
		TLSClientConfig: &tls.Config{InsecureSkipVerify: true},
	},
	//		Transport: &h2quic.RoundTripper{
	//			TLSClientConfig: &tls.Config{InsecureSkipVerify: true},
	//		},
}

// i issued 100 goroutines to do the following test.
req, _ := http.NewRequest("GET", https://<IP_ADDRESS>:8083/api/test, nil)
resp, err := httpclient.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer resp.Body.Close()
	bin, _ := ioutil.ReadAll(resp.Body)

The benefits of quic won’t show on lossless connections to local host.


onSuccess not firing

Hi! onSuccess doesn't seem to be firing when the login completes and popup closes.
            authOptions={{
              clientId: "com.example.www",
              scope: 'email name',
              redirectURI: "https://example.com/en/signin",
              usePopup: true,
            }}
            uiType="dark"
            className="apple-auth-btn"
            noDefaultStyle={false}
            buttonExtraChildren="Continue with Apple"
            onSuccess={(response: any) => console.log(response)}
            onError={(error: any) => console.error(error)}
            skipScript={false}
            render={(props: any) => <Button
              {...props}
              variant="outline"
            >
              <FaApple className="mr-2 h-4 w-4" />
              Sign in with Apple
            </Button>}
          />```

Switched to RawJS and it's working perfectly!


Not working with Thunderbird 31

Hi !
I am using pretty old version of thunderbird (31) and I can't install your plugin... What is minimal version of Thunderbird I could use... and please don't say 52...
Andy
P.S.: Is there possibility to recompile it for my version?

It's 38.0. There is nothing to compile the module is pure Javascript + Node.js binary. I'll check if I can lower the version, but I think it won't work.

I tried it with version 44, and I get an error when adding account:
Timestamp: 13/04/17 09:22:21
Error: ReferenceError: mexint is not defined
Source File: javascript:%20mexint
Line: 1

Woah that's weird error. I tried with Thunderbird 44 and it worked fine. I don't have any source file named mexint, not even variable. What happens when you click Add Account? Do you get error message (instantly or with a little delay)? I would need to get my hands on it to find out more...

I tried to add mexint reference to all javascript files, so you can try if the error goes away.

Oh god now I know why u getting that error. When you tried to filter mexint in error console, you typed "mexint" in Code field and evaluated it instead of typing it in Filter field. I just did the same thing, the user interface might be little confusing here :-D. Anyway I would like to find out more about actual error or if you somehow resolved it please let me know :-)

Added support for TB version 30 and higher. Also found out that you might need to enter domain\username to authenticate (thanks to Mario Goljak).


Create ISSUE_TEMPLATE.md

@isaacabraham I note there's not CI on this repo - it would be great to enable it?

CI set up here: https://ci.appveyor.com/project/fsprojectsgit/fsharp-cloudagent/

CI is now ok


Add a command-line parameter to change the base filename of the output file

For instance:
noah@Noahs-MBP yjit-bench % WARMUP_ITRS=2 MIN_BENCH_TIME=0 MIN_BENCH_ITRS=10 ./run_benchmarks.rb --base-name=avocado fib
Running benchmark "fib" (1/1)
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby -I harness /Users/noah/yjit/yjit-bench/benchmarks/fib.rb
ruby 2.6.10p210 (2022-04-12 revision 67958) [universal.arm64e-darwin22]
itr #1: 208ms
itr #2: 208ms
itr #3: 209ms
itr #4: 209ms
itr #5: 209ms
itr #6: 208ms
itr #7: 213ms
itr #8: 210ms
itr #9: 210ms
itr #10: 209ms
itr #11: 208ms
itr #12: 210ms
RSS: 24.6MiB
Average of last 10, non-warmup iters: 210ms
Total time spent benchmarking: 2s

ruby: ruby 2.6.10p210 (2022-04-12 revision 67958) [universal.arm64e-darwin22]

-----  ---------  ----------
bench  ruby (ms)  stddev (%)
fib    210.0      0.7
-----  ---------  ----------

Output:
./data/avocado_001.csv

It renames all three files, not just the CSV. It also correctly checks that avocado_001.csv already exists and uses avocado_002.csv instead when appropriate -- though we're still just checking the CSV files, so if you deleted those and kept the JSON files, bad things would happen, same as before.

My only problem with --out-name is that it's ignoring the output directory and it'll overwrite, which normally run_benchmarks.rb won't do. I like the idea of a warning there, and "exact" feels warning-ish. But if you'd prefer just --out-name, we can do that.


HWKAPM-745 Remove the FragmentCompletionTime event type, use NodeDeta…

…ils instead when building the end to end Trace, and use the 'initial' NodeDetails for creating events for the Alerts engine

@jpkrohling Could you review please?
Reviewer notes:

FragmentCompletionTime has been removed as a derived information type
This information was only used (at present) in the construction of the aggregate service dependency view on the Distributed Tracing page - this code is now using the NodeDetails information for the initial invoked node (within a service), so reflects the service response time information
Have renamed the alerting event to 'Invocation', as these events represent the service invocations and can be used to alert on the response time (or the number of invocations within a particular time frame based on a filter - for example).

Looks like Jenkins has run out of disk space :(

I just cleared some space

@jpkrohling Found some issues while doing additional testing which are now fixed - added a test. If you could do another quick review. Thanks.

Do you have the single change as a single commit somewhere?

@jpkrohling Sorry I shouldn't have squashed until the review was complete. Thanks for the review!


Nest raw blocks

Is there any reason handlebars can't / shouldn't be able to handle nested raw blocks, e.g.:
{{{{a}}}}
  {{{{b}}}}
  {{{{/b}}}}
{{{{/a}}}}

It handles these cases:
{{#a}}
  {{#b}}
  {{/b}}
{{/a}}

{{#a}}
  {{#a}}
  {{/a}}
{{/a}}

{{{{a}}}}
  {{#b}}
  {{/b}}
{{{{/a}}}}

Raw blocks are, well, raw. By definition, any Handlebars markup inside is ignored. Including nested raw blocks.

@agladysh Sorry, I didn't explain that clearly enough. I updated my post.

By definition, any Handlebars markup inside is not handled. Including nested raw block markup.

By "handled" I mean it can parse it, like it can parse regular nested blocks.

The content of a raw block is always used verbatim, as it should be.

That's what I want. But it errors.

@jmm Ah, sorry. It seems to be a bug then.

Tracking under #1060


Dependensy on new version not work

Hello
Thanks for the quick fix for API 24 and lower! Everything works correctly if the source code of your library is included as a separate module.
But, when using the dependency "implementation 'io.github.doorbash: colyseus-kotlin: 0.14.2'" there is an error.

Hi @mgusevstudio Thanks for the report. Adding
maven { url 'https://jitpack.io' }

to your root build.gradle should fix the problem.

Did not work. Apparently I'm doing something wrong (

Fixed in 0.14.4

Everything is fine in version 0.14.5, thanks!


fix focus/blur issues during editing

We use the CM field in our app and do a page update if the user leaves the CM field. (onBlur)
Unfortunately, blur events are fired during editing, follwed by an immediate "focus" event.
Especially IE (Version 11) fires a lot of "blur/(re)focus" events during editing.
We had a workaround in our code, that detects quick "blur/focus" events, but this workaround had other issues.
This PR fixes firing unneccessary (and unwanted) focus/blur events.
Current Behaviour:
When clicking around inside the CM field, unexpected blur events occur, followed by an immediate focus event
Expected Behaviour:
The first time you click in the CM field, a focus event should be fired
All subsequent clicks/text selections/d'n'd operations should not fire a "blur/focus" event.
If you click outside the CM field, a blur event should be fired
The idea behind this fix is, not to fire blur/focus as long as the user holds the mouse button down or is doing d'n'd operations

Did you look at the existing delayingBlurEvent mechanism? Is it not possible to use that in this case?

I took a look at this mechanism, the problem is, I can only suppress one event with delayingBlurEvent. IE keeps on firing blur/focus events during a dns-operation. (The screen/mouse cursor flickers)
If you want I can do some more investigations, how to combine my change with the existing mechanism.

Ah, that makes sense.
But I'm really not prepared to just blindly delay these events around mouse events on all platforms. Especially since it seems very likely that this patch will cause such events to be dropped entirely (if you click and then really blur the editor before your timeout fires, I don't think the blur event will ever happen). So as it stands, this patch is not acceptable.

I've updated the PR and found a less invasive solution.
This covers most of my use cases:

The most annoying blur/focus firing when just clicking around in the CM-field is gone now
There are some rare drag'n'drop cases where IE fires a blur event although you did not leave the field. I can live with them as d'n'd is completely broken in IE

ensureFocus is also used in another context and changing its behavior like this doesn't look safe.
Patch c0b371cf5 suggests that synchronously focusing at this point is a problem, hence the timeout in the existing code. I don't think it's a good idea to start doing that again (and it doesn't seem necessary—you could lift the if (cm.state.focused) into leftButtonDown and run the old behavior if the editor isn't already focused).

I think I need more help. Did I understand you right, that I should change the leftButtonDown method this way:
  function leftButtonDown(cm, pos, repeat, event) {
    if (ie) {
      if (cm.state.focused) {
        cm.state.delayingBlurEvent = true
      }
      setTimeout(bind(ensureFocus, cm), 0);
    }
    else { cm.curOp.focus = activeElt(); }

This will fix my problem in IE.
I'm not sure if it is a good idea to set delayingBlurEvent = true - because I do not know if it is safely set back to false

because I do not know if it is safely set back to false

Indeed, that's no good either. Does something like https://github.com/codemirror/CodeMirror/tree/delay-blur , which preserves the delayBlurEvent flag during draggin, work for you?

Hello @marijnh
I tried your branch, unfortunately, this does not fix my problem.
I added
    editor.on("focus", function() { console.log("focus")});
    editor.on("blur", function() { console.log("blur")});

to the example in index.html and opened it with IE 11.

Then I clicked into the CM field. the cursor was placed and "focus" was logged.
When I click into an other place, the cursor is repositioned to the new location and "blur/focus" was logged. And this is my problem, as the "blur" event triggers some update actions in my application.
I did not try to do drag/drop operations on your branch, yet

cheers
Roland

Oh right, since you mentioned the main problem was dragging, that's what I was thinking about. Does adding a call to delayBlurEvent in leftButtonSelect, as in my latest revision of the patch (d5079717) help with that?

Hello @marijnh unfortunately, your last change does also not fix my problem.
Do you have the ability to test it in IE?
As already said, it would be very easy to reproduce. I added the two event handlers and clicked several times into the codeMirror field

as you can see, there are several focus/blur events.
Doing the same in Firefox/Chrome/Edge gives me only one "focus" event

Do you have the ability to test it in IE?

I was trying to avoid that, but I gave in and did an IE debugging session. Patch 8e7f6728 resolves all the spurious focus/blur events I could find.

@marijnh great, your patch fixes my main issue in IE. Drag & Drop operations in IE still fire a blur event which is not really a problem for me. Unfortunately, the drag&drop in FireFox/Chrome is broken now:
How to reproduce
Select a line in FF/Chrome:

Drag & drop it

Try to place the cursor again. You cannot refocus the element in FF/Chrome now (IE works)
Dropping the line fires a blur event now in all browsers (which is more or less unexpected, but I can live with that)

I wasn't able to reproduce the new issue on Firefox, but I did see it on Chrome. Patch 12512d3e should help.


[nix] optimizations of mill builders

[nix] mill use empty rt-*.jar
[nix] mill batch prepareoffline
[nix] apply strip-nondeterminism for jar output

I tried a different approach on handling the rt.jar file in PR #434, by sharing the file in nix output. Maybe this approach is better than creating an empty jar file?

@Avimitin Maybe we can merge this PR first and rebase your PR on it?

OK. Require review from @sequencer .


Release v1.0.0

Closes #11, #13.
API Changes

Document:undoAll() has been renamed to Document:resetContents()
new Document:batchEdits() method
new Document:setContents() method
new Mara.trackDocumentHistory() function

Changes

refactor Document.spec files
add support for TestEZ-Companion
update combined-dispatch benchmark

BREAKING CHANGES

Mara.stapleDocuments() and Mara.None are removed
Some internal types have been removed/changed

ok


feat: prevent changes in dynamic tags

The tags were changing on every plan because I think the order of var.tags was producing a randomly sorted list. Adding a sort argument will prevent the plan from producing so many changes.

Nice!!!


[QUESTION] How to enable freetype on Windows?

It seems the Windows version of SkiaSharp is hardcoded to use DirectWrite?
I would like to be able to configure it (at runtime) to use Freetype instead.
Is this possible? Would a PR be accepted for doing so?

Interestingly, internally Skia code allows overriding the font manager for unit testing:
// A global function pointer that's not declared, but can be overriden at startup by test tools.
sk_sp<SkFontMgr> (*gSkFontMgr_DefaultFactory)() = nullptr;

sk_sp<SkFontMgr> SkFontMgr::RefDefault() {
    static SkOnce once;
    static sk_sp<SkFontMgr> singleton;

    once([]{
        sk_sp<SkFontMgr> fm = gSkFontMgr_DefaultFactory ? gSkFontMgr_DefaultFactory()
                                                        : SkFontMgr::Factory();
        singleton = fm ? std::move(fm) : sk_make_sp<SkEmptyFontMgr>();
    });
    return singleton;
}

So in theory, this could be used to configure the font manager at runtime, at least once, at startup?

I think there should be a proxy font manager that can be used to expose all needed functions as pointers. That would allow us to have a managed font manager and also allows us to chose an implementation at runtime.

It required very few changes to allow freetype on Windows, switchable once, at runtime.
Not sure if this is something typical SkiaSharp users need though...
However, since it is optional, and doesn't change existing behavior, it certainly is a nice to have?
It allows the same rendering on all platforms...

Oh my, in my own tests, FreeType gives better quality rendering than DirectWrite on Windows! Crazy... So yet another reason why to allow enabling it 😉

Using Freetype in all platforms allows us the have proper render tests that produce the same results on every platform. I guess we just need to add a new build target for Windows that enables Freetype.

Yes, this is indeed also a use case for us.
Actually, for comparing the images in our unit tests, I ported the excellent PixelMatch library to .NET Standard:
https://github.com/Ziriax/PixelMatch.net
Note that due to CPU architecture differences, you rarely end up with exactly the same rendering when running the code on different machines...

@Ziriax could you open a PR that switches to freetype? I want to see what is needed and if all the tests are still good.
There are ways to do this, the easiest might be to have a separate package for now that allows a different libSkiaSharp. I do this for the NanoServer package. At least then folks can use this until a nice runtime check can be implemented.

A separate maintained package is perfect!
Yes, I can provide a PR. We have two options here:

make a truly platform independent version of libSkiaSharp, that uses the same technology on all platforms, and excludes platform dependent code. It would also exclude any "system global" behavior, e.g. never load system installed fonts, always require explicit typeface construction from a stream/file, etc... Skia's SkFontMgr_New_Custom_Empty does this (it uses FreeType). We might not get this right the first time, this will be an incremental effort. This only requires changes to the .gn files.

allow turning on the custom empty font manager at runtime, but this must be the first call before any other Skia calls are made. This would require changes to both the C#, cpp and .gn files. I personally don't need this. The only reason I mentioned this, is because it would allow for backwards compatibility in the main SkiaSharp package. But it will make the package bigger by dragging in all the FreeType code, and people might complain.

My personal preference goes to (1): a truly cross platform unit testable rendering library (give or take a bit because of CPU floating point rounding differences :wink:).

Option 1 sounds good.
If you can make the or add a variant or some args in the cake, then that should do it very well. Exactly like we do with Linux. In fact, nano server just calls into the main windows cake, so that might be nice if changes are made.

I also did this once, but at least for free type on Linux you need smth like fontconfig. This means on windows we need smth similar

I our case we didn't need fontconfig, since we load the type faces manually. At least I got it working without fontconfig as far as I recall.

Yes, that's exactly what I also did. But this would change the behavior of skia sharp. I would love to have the fontmanager from windows but let free type render them

Another idea would be to bypass skia completely and do all the text related stuff in a different library utilizing free type and maybe also harfbuzz

Freetype doesn't require FontConfig that's just the default implementation that is being used. There is always a dictionary based font manager.

@Gillibald I know, I know. But for a end user of skiasharp it's not easy to build this dictionary. And tbh, as a avalonia user I do even care less about these things. That's why I propose to build a second infrastructure either with only building the dictionary or to handle text completely on its own to get away from implementation details of skia

For Avalonia we can use any font manager implementation we want. In the end we are always able to load a Typeface via stream. By default we use Skia's font manager. Long term we will introduce our own FontConfig binding to better customize the lookup routine for Linux systems.
Being able to choose the font host implementation (DirectWrite, Freetype, X) at runtime would give us the flexibility we need. The font manager implementation isn't important.

Yes, I would love to see a version of SkiaSharp where you can inject the font manager and font rendering system at runtime. This won't be easy, since I think Skia is not design that way.
In an experiment I hacked this together to allow setting it once at program startup, before any SkiaSharp call was done. That was easy, but not really usable?

Fwiw, in skia-python, we let you use
SkFontMgr_New_Custom_Empty explicitly as an alternative to the default:
https://github.com/kyamagu/skia-python/blob/e0b030c14e33f70880cfcc502eaeed898a77fc3c/src/skia/Font.cpp#L709
(Of course, on Linux the default is also freetype).


Type resolution crash on proc_macro2

thread 'main' panicked at 'Definition should have a type', src/name_resolution.rs:456:6
backtrace:
./scripts/scan.py -c proc-macro2
INFO:root:=== Scanning proc-macro2 in data/packages ===
thread 'main' panicked at 'Definition should have a type', src/name_resolution.rs:456:6
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
INFO:root:=== Results ===
INFO:root:===== All results =====

INFO:root:===== Crate Summary =====
Number of dangerous imports by crate:
===== Crate Totals =====
0 crates with 1 or more dangerous imports
1 crates with 0 dangerous imports

caleb@caleb-mac cargo-scan % RUST_BACKTRACE=1 ./scripts/scan.py -c proc-macro2
INFO:root:=== Scanning proc-macro2 in data/packages ===
thread 'main' panicked at 'Definition should have a type', src/name_resolution.rs:456:6
stack backtrace:
   0: rust_begin_unwind
             at /rustc/8460ca823e8367a30dda430efda790588b8c84d3/library/std/src/panicking.rs:575:5
   1: core::panicking::panic_fmt
             at /rustc/8460ca823e8367a30dda430efda790588b8c84d3/library/core/src/panicking.rs:64:14
   2: core::panicking::panic_display
             at /rustc/8460ca823e8367a30dda430efda790588b8c84d3/library/core/src/panicking.rs:147:5
   3: core::panicking::panic_str
             at /rustc/8460ca823e8367a30dda430efda790588b8c84d3/library/core/src/panicking.rs:131:5
   4: core::option::expect_failed
             at /rustc/8460ca823e8367a30dda430efda790588b8c84d3/library/core/src/option.rs:1924:5
   5: core::option::Option<T>::expect
             at /rustc/8460ca823e8367a30dda430efda790588b8c84d3/library/core/src/option.rs:786:21
   6: cargo_scan::name_resolution::get_canonical_type
             at ./src/name_resolution.rs:436:14
   7: cargo_scan::name_resolution::Resolver::resolve_type
             at ./src/name_resolution.rs:188:9
   8: cargo_scan::resolve::FileResolver::resolve_type_core
             at ./src/resolve.rs:88:9
   9: cargo_scan::resolve::FileResolver::resolve_type_or_else
             at ./src/resolve.rs:111:15
  10: <cargo_scan::resolve::FileResolver as cargo_scan::resolve::Resolve>::resolve_field_type
             at ./src/resolve.rs:188:9
  11: cargo_scan::scanner::Scanner::scan_deref::{{closure}}
             at ./src/scanner.rs:560:26
  12: core::iter::traits::iterator::Iterator::for_each::call::{{closure}}
             at /rustc/8460ca823e8367a30dda430efda790588b8c84d3/library/core/src/iter/traits/iterator.rs:834:29
  13: core::iter::traits::iterator::Iterator::fold
             at /rustc/8460ca823e8367a30dda430efda790588b8c84d3/library/core/src/iter/traits/iterator.rs:2438:21
  14: core::iter::traits::iterator::Iterator::for_each
             at /rustc/8460ca823e8367a30dda430efda790588b8c84d3/library/core/src/iter/traits/iterator.rs:837:9
  15: cargo_scan::scanner::Scanner::scan_deref
             at ./src/scanner.rs:558:9
  16: cargo_scan::scanner::Scanner::scan_expr
             at ./src/scanner.rs:528:21
  17: cargo_scan::scanner::Scanner::scan_expr_call_args
             at ./src/scanner.rs:596:13
  18: cargo_scan::scanner::Scanner::scan_expr
             at ./src/scanner.rs:474:17
  19: cargo_scan::scanner::Scanner::scan_fn_local
             at ./src/scanner.rs:360:13
  20: cargo_scan::scanner::Scanner::scan_fn_statement
             at ./src/scanner.rs:344:36
  21: cargo_scan::scanner::Scanner::scan_expr
             at ./src/scanner.rs:397:21
  22: cargo_scan::scanner::Scanner::scan_expr
             at ./src/scanner.rs:420:17
  23: cargo_scan::scanner::Scanner::scan_expr_call_args
             at ./src/scanner.rs:596:13
  24: cargo_scan::scanner::Scanner::scan_expr
             at ./src/scanner.rs:474:17
  25: cargo_scan::scanner::Scanner::scan_fn_statement
             at ./src/scanner.rs:345:42
  26: cargo_scan::scanner::Scanner::scan_fn
             at ./src/scanner.rs:327:13
  27: cargo_scan::scanner::Scanner::scan_method
             at ./src/scanner.rs:290:9
  28: cargo_scan::scanner::Scanner::scan_impl
             at ./src/scanner.rs:257:21
  29: cargo_scan::scanner::Scanner::scan_item
             at ./src/scanner.rs:174:37
  30: cargo_scan::scanner::Scanner::scan_file
             at ./src/scanner.rs:164:13
  31: cargo_scan::scanner::scan_file
             at ./src/scanner.rs:727:5
  32: cargo_scan::scanner::try_scan_file
             at ./src/scanner.rs:740:5
  33: cargo_scan::scanner::scan_crate_with_sinks
             at ./src/scanner.rs:776:13
  34: cargo_scan::scanner::scan_crate
             at ./src/scanner.rs:809:5
  35: scan::main
             at ./src/bin/scan.rs:29:19
  36: core::ops::function::FnOnce::call_once
             at /rustc/8460ca823e8367a30dda430efda790588b8c84d3/library/core/src/ops/function.rs:250:5
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
INFO:root:=== Results ===
INFO:root:===== All results =====

INFO:root:===== Crate Summary =====
Number of dangerous imports by crate:
===== Crate Totals =====
0 crates with 1 or more dangerous imports
1 crates with 0 dangerous imports

fixed by @lzoghbi , thanks!


Feature finddbainstance parseuserspns

Type of Change

[ ] Bug fix (non-breaking change, fixes # )
[X] New feature (non-breaking change, adds functionality, fixes # )
[ ] Breaking change (effects multiple commands or functionality, fixes # )
[ ] Ran manual Pester test and has passed (`.\tests\manual.pester.ps1)
[ ] Adding code coverage to existing functionality
[ ] Pester test is included
[ ] If new file reference added for test, has is been added to github.com/sqlcollaborative/appveyor-lab ?
[ ] Nunit test is included
[ ] Documentation
[ ] Build system

Purpose
Have Find-DbaInstance use service account SPNs to find servers
Approach
Remove the filter for computer objects and parse the host name out of the SPN if the property doesn't exist.
Commands to test
Find-DbaInstance -DiscoveryType DomainSPN

oh la la!

hey @cfradenburg - is this working? will you be ready for  PR soon?

It works good in my environment but I'm aware that there may be nuances with SPNs.  When I was talking with @wsmelton on Slack about my thoughts he recommended putting it in as a draft to make sure Fred (I think @FriedrichWeinmann) got a chance to look at it to make sure I'm not inadvertently breaking anything.  He said Fred is busy so it may take a few days so I didn't think anything of it sitting for a bit.

No problem, thanks. I'll ping Fred. I took a look and it looks sound to me but I am not detail oriented 😅


Feature request - LDAP support

LDAP (maybe AD) support is probably a must.
It will solve a lot of issues and make the management of it in bigger environments way better.
Ideally, it will also allow users to query hosts that they are allowed to.

Thanks for this! We're actively working on a new iteration of Kolide and we're definitely taking this into account :). I'm going to close this for now, but stay tuned!


GitHub actions pipeline fails, but deployment is successful.

I have an application that I updated to .NET 6 RC2. I'm using the early access support in Azure App Services for .NET 6.
See this pipeline run. The pipeline is marked as failed. It has these error messages:
Failed exitCode=1, command="kudusync" -v 50  -f "D:\local\Temp\zipdeploy\extracted" -t "D:\home\site\wwwroot" -n "D:\home\site\deployments\eb83bb8a398d41519ffcc04f3e439eb9\manifest" -p "D:\home\site\deployments\3256fa236268404b9d4ca54fd9658548\manifest" -i ".git;.hg;.deployment;deploy.cmd"
An error has occurred during web site deployment.
Error: The target file "D:\home\site\wwwroot\wwwroot\Identity\lib\bootstrap\LICENSE" is a directory, not a file.\r\nD:\Program Files (x86)\SiteExtensions\Kudu\94.30524.5227\bin\Scripts\starter.cmd "D:\home\site\deployments\tools\deploy.cmd"
Error: Failed to deploy web package to App Service.
Error: Deployment Failed with Error: Package deployment using ZIP Deploy failed. Refer logs for more details.

Despite the pipeline for deploy being marked as failed, the changes from that commit are live on my website.
What I expected to happen
I would expect on or the other of these to happen:

the pipeline fails and the website is NOT updated
the pipeline succeeds and the website is updated

Having the pipeline fail and the website updated is most unexpected

I took a look at the file D:\home\site\deployments\3256fa236268404b9d4ca54fd9658548\manifest and see these lines:
wwwroot\Identity\lib\bootstrap\LICENSE
wwwroot\Identity\lib\bootstrap\LICENSE\LICENSE

However when I do a dotnet publish locally, I only see the file wwwroot\Identity\lib\bootstrap\LICENSE.
This file is being feed into an invocation of kudusync:
kudusync -v 50  -f "D:\local\Temp\zipdeploy\extracted" -t "D:\home\site\wwwroot" -n "D:\home\site\deployments\5cf69452c7844fc789d38983aa41b625\manifest" -p "D:\home\site\deployments\3256fa236268404b9d4ca54fd9658548\manifest" -i ".git;.hg;.deployment;deploy.cmd"

I have not yet found out what is generating this erroneous input for kudusync.

Looking at the existing site directory, there is indeed the wwwroot\Identity\lib\bootstrap\LICENSE\LICENSE file.
Directory of D:\home\site\wwwroot\wwwroot\Identity\lib\bootstrap\LICENSE

10/18/2020  08:24 PM    <DIR>          .
10/18/2020  08:24 PM    <DIR>          ..
05/13/2021  08:52 PM             1,153 LICENSE

So it seems the kudusync.net program can't handle directories turning into files between deploys.
One option might be to fix kudusync.net.

I have a PR to KuduSync.NET that may address the problem: https://github.com/projectkudu/KuduSync.NET/pull/30

I wonder if this isn't a Kudu issue at all because I see pretty much the same thing when running dotnet build on my newly upgraded .NET 6.0 solution on a Mac. Seems a but of a coincidence.
/usr/local/share/dotnet/sdk/6.0.100/Sdks/Microsoft.NET.Sdk.Razor/targets/Microsoft.NET.Sdk.Razor.StaticWebAssets.targets(616,5): error MSB3024: Could not copy the file "/Users/rich/.nuget/packages/microsoft.aspnetcore.identity.ui/6.0.0/staticwebassets/V5/lib/bootstrap/LICENSE" to the destination file "/Users/rich/GitHub//src/website/wwwroot/Identity/lib/bootstrap/LICENSE", because the destination is a folder instead of a file. To copy the source file into a folder, consider using the DestinationFolder parameter instead of DestinationFiles. [/Users/rich/GitHub//src/.Web/.Web.csproj]

@BALAGA-GAYATRI I'm going to close this and replace with #201, which explains the problem more crisply.
@RichMercer I think the file moving inside the Microsoft.AspNetCore.Identity.UI package when upgrading to v6.0.0 is the common element between your problem and my problem. For your bug, perhaps there is a bug in the Microsoft.NET.Sdk.Razor.StaticWebAssets.targets file or the Copy MSBuild task it uses.


update participant information on readme

update participant information on readme

All checks have passed, pull can be approved


Install fail

I installed the plugin, it tried to fetch and build dependent tools.
This failed pretty spectacularly.
In addition to not working, it also took ages to build!
Why wouldn't we just pull a binary? Binary distribution is best distribution ;)
Dub fetch : dfix
Dub build : dfix
Error: linker exited with status 1
C:\dev\D\dmd2\windows\bin\dmd.exe failed with exit code 1.
Dub fetch : d-profile-viewer
Dub build : d-profile-viewer
Dub fetch : dcd
Dub build : dcd (client)
Dub fetch : dcd
Dub build : dcd (server)
DCD : starting server...
Dub fetch : dfmt
Dub build : dfmt
src\dfmt\main.d(90,38): Deprecation: function `std.exception.enforceEx!(GetOptException).enforceEx!bool.enforceEx` is deprecated - Use `enforce`. `enforceEx` will be removed with 2.089.
Error: linker exited with status 1
C:\dev\D\dmd2\windows\bin\dmd.exe failed with exit code 1.
Dub fetch : dscanner
Dub build : dscanner
Invalid source/import path: C:\Users\Manu\AppData\Local\dub\packages\dscanner-0.5.3\dscanner\bin
src\dscanner\analysis\unused.d(314,18): Error: no property `statementNoCaseNoDefault` for type `const(WithStatement)`
C:\dev\D\dmd2\windows\bin\dmd.exe failed with exit code 1.

There hasn't been much development on here recently. Developing a complete extension takes time, and it's only compatible with one editor; since Microsoft has been developing the Language Server Protocol to remedy this, I've begun working on a language server to get all the work to something that could be used by more than just one editor.
I didn't try to integrate it with this extension simply because it started out with not nearly as many features.
Regarding the linker problem, maybe using a build from the development branch would give you better results ?
The reasons for building the tools instead of using binaries are :

it would have required hosting the binaries somewhere (I don't think DCD & others had binaries on Github back then)
it's cross-platform and thus easier to do (I'm lazy)


Drag Drop API Example trouble in IE 11

Request type

[] Please close this issue, I accidentally submitted it without adding any details
[ ] New documentation
[x] Correction or update

Details

I implemented the drag drop api in my code and noticed that i was getting a rapid flicker in IE when the draggable moved over a drop target. I noticed that the example i was using had the same issue. here is the example with the issue: https://mdn.github.io/dom-examples/drag-and-drop/copy-move-DataTransfer.html

IE11 I was using


Container scoped volumes can lose data in 1.6

Related to #7271, but specific to 1.6, since it relies on a different backend.

@sangeethah
Can we test #7271 and #8683?

Tested with rancher-server build from master:
Create a stack with service using container scoped volume.
Write some data to this volume.
Upgrade this service by passing an invalid image so that that service upgrade fails.
Rollback upgrade.
Once the service rollback is successful , the service container has a new volume attached to it and the data that was written to the volume is not present any more.
The original container scoped volume is still present but is in detached state.

Other scenarios with per-container scoped volumes that have issues:
Scenario1:
Deploy health check enabled services with per-container scoped volumes.
Write some data to this volume.
Power down the host on which this instances of the service is running.
Wait for the container to get migrated to a different host.
After the container got migrated , it was attached to the existing volume as expected. I was able to read the existing data from this volume.
Write more data to this volume.
Power down host where this container is running.
When the container migrated to a different host , this time it got attached to a new volume instead of the existing volume.
Existing volume does not get deleted but remains in detached state now.
root@san-nfs1:/var/nfs# ls -ltr  mynewtest_contest1_1_dc82a1a1-aed7-4d89-b85f-6fe72546e9df_3b9c9
total 8
-rw-r--r-- 1 nobody nogroup 4 May 17 22:59 pp1
-rw-r--r-- 1 nobody nogroup 4 May 17 23:04 pp2
root@san-nfs1:/var/nfs# ls -ltr  mynewtest_contest1_1_7416b1cb-1147-40c0-b3f3-7c1719acf385_c9d82
total 0
root@san-nfs1:/var/nfs#

Scenario2:
Stack has 2 services -
"health" with container scoped volume-con1
"healthnew" with container scoped  volume-con1
Deactivated and deleted host on which health-2 and healthnew-2 instances of the services where running.
When new instances of health-2 and healthnew-2 got recreated in a different host , both health-2 and healthnew-2 now attached to the container-scoped volume of  healthnew-2 instance.
Scenario 3:
Earlier when we used to scale down instances with container scoped volumes , volume associated with the scaled down instance will get deleted. But now I don't see the volumes being deleted.
Deploy service with per-container scoped volumes and scale 2.
On the second instance of the service , write some data to the volume.
Scale down service to 1.
As part of scaling down , when second instance of the service gets deleted , volume associated with this container is still present.
Scale up service to 2.
When a new service instance gets created , it ends up using the volume that was associated with the scaled down instance.

Tested the following scenarios on build from master and they all work as expected:
Scenario 1:
Create a stack with service using container scoped volume.
Write some data to this volume.
Upgrade this service by passing an invalid image so that that service upgrade fails.
Rollback upgrade.
Once the service rollback is successful , the service container have the original volumes attached to it. We have access to the data that was written previously for these volumes.
Scenario 2:
Deploy health check enabled services with per-container scoped volumes.
Write some data to this volume.
Power down the host on which this instances of the service is running.
Wait for the container to get migrated to a different host.
After the container got migrated , it was attached to the existing volume as expected. I was able to read the existing data from this volume.
Scenario 3:
Stack has 2 services -
"health" with container scoped volume-con1
"healthnew" with container scoped volume-con1
Deactivated and deleted host on which health-2 and healthnew-2 instances of the services where running.
When new instances of health-2 and healthnew-2 got recreated in a different host , both health-2 and healthnew-2 were attached to the appropriate volumes as expected.

There is one change in behavior w.r.to when container scoped volumes get deleted . In case of scaling down service instances, We will not be deleting volumes and so when we scale up services again , the new service instances will end up reusing the existing volumes in this case .
Container scoped volumes will get deleted only when the stack the service belongs to gets deleted .
On stack creation , some of the container scoped volumes get deleted from the rancher-server side , but continue to the present in the storage server . This is a known issue that could happen more often with stack deletion involving lot of container scoped volumes  - https://github.com/rancher/rancher/issues/8498

agent logs and nfs driver logs -
nfslogs.zip

@sangeethah Did we cover this use case? https://github.com/rancher/rancher/issues/8683

@deniseschannon yes. That is the scenario mentioned in scenario1 where upgrade fails and you rollback upgrade.


Title Typo

Acrylicic should be Acrylic

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

ID: df65515f-272d-53f6-0740-d19784a517f0
Version Independent ID: 83d9e436-c660-6203-3438-2f75b8b128f4
Content: What's new in the Windows 10 Insider Preview Builds (RS5)
Content Source: wip/at-home/Whats-new-wip-at-home.md
Service: wip-at-work
GitHub Login: @dawnwood
Microsoft Alias: dawn.wood

Thank you, @erhuan-msft I've made that change.


How to conveniently convert paginate result to pandas DataFrame?

Said I fetch the pulls as:
    c = obtain_client()
    prs = c.paginate(
        c.rest.pulls.list,
        owner="apache",
        repo="pulsar",
        state="open")

Now prs is a generator of PullRequestSimple list. How can I convert it to a pandas DataFrame as:
   url id node_id ... draft
0 ... nnn mmm ... False
...

I just found a way now:
    c = obtain_client()
    prs = c.paginate(
        c.rest.pulls.list,
        owner="apache",
        repo="pulsar",
        state="open")
    df = pd.DataFrame([vars(pr) for pr in prs])

But I still wonder if we can provide some utilities to interoperate with pandas smoothly.

githubkit uses pydantic model to serialize data. You can search for the way to convert pydantic models into pandas DataFrame. In the code above, you may change the vars(pr) into pr.dict(). More infomation about the usage, you can check the pydantic docs

@yanyongyu Thank you!


feat(lnd): update lnd to v0.5.1-beta-982-gf9ba6759

Description:
Update lnd to v0.5.1-beta-982-gf9ba6759
Motivation and Context:
Runtime panic with current lnd version

Coverage remained the same at 20.989% when pulling 56fc62cd80ea622a84cb197441ed51cf8a24cdac on mrfelton:chore/update-lnd into f096b01e0a6fb450596acf23a316cbf2d35f03bd on LN-Zap:master.


button colors

any way to change button colors / customize toolbars?

@fishlipz Not yet, they are hardcoded as .icon files. I wanted to spruce up the interface a bit. Also changed the main menu and back/forward buttons shapes. I would like to add a chrome://flags flag to disable this in the future, because I know some people don't like it.


The iOS app can't sync after the release of 1.4.0

After the release of 1.4.0, the iOS app won't  sync. Before reporting the sync issue here, I first tried uninstalling the app (version 1.3.1) and then reinstalling it, but then the app couldn't be found at all in the App Store...
Is the 1.4.0 app not available yet in the (swedish) App Store?
Thank you in advance!

Hi @jola16, unfortunately, we had to pull the iOS app due to the inability to continue supporting continuous breaking iOS updates from Apple. Not only was this impractical from the goal of having a shared xBrowserSync codebase for all platforms, but it also meant having to purchase newer Apple hardware to develop on as well as paying $99/year for an Apple developer license. Combined with Apple’s extremely stringent App Store submission review process, we couldn't justify the iOS app holding up new releases for the other platforms, so the hard decision was taking to pull iOS support completely. Apologies for the inconvenience. 🙏


sync hub cluster info to hubcontrolplane status

Signed-off-by: morvencao<EMAIL_ADDRESS>sync hub cluster info to hubcontrolplane status:
# oc --kubeconfig=/tmp/kubeconfig get hubcontrolplane hub1 -o yaml
apiVersion: cluster.open-cluster-management.io/v1alpha1
kind: HubControlPlane
metadata:
  creationTimestamp: "2022-11-15T09:37:13Z"
  generation: 1
  name: hub1
  resourceVersion: "322"
  uid: fd8ecda5-0b0c-4157-bf76-4198df01bd27
status:
  endpoint: https://ocm-controlplane-hub1.apps.xxx.com:443/
  managedClusters:
    available:
    - mc1

Also fix managedcluster status sync issue:
# oc --kubeconfig=/tmp/kubeconfig get mcl mc1 -o yaml
apiVersion: cluster.open-cluster-management.io/v1
kind: ManagedCluster
metadata:
  creationTimestamp: "2022-11-15T01:56:14Z"
  generation: 1
  name: mc1
  resourceVersion: "318"
  uid: 4492e5d8-5b85-44f7-b819-7f4038246c1e
spec:
  hubAcceptsClient: true
  leaseDurationSeconds: 60
  managedClusterClientConfigs:
  - caBundle: xxx
    url: https://mc1-control-plane:6443
status:
  allocatable:
    cpu: "8"
    ephemeral-storage: 121756080Ki
    hugepages-1Gi: "0"
    hugepages-2Mi: "0"
    memory: 16424164Ki
    pods: "110"
  capacity:
    cpu: "8"
    ephemeral-storage: 121756080Ki
    hugepages-1Gi: "0"
    hugepages-2Mi: "0"
    memory: 16424164Ki
    pods: "110"
  conditions:
  - lastTransitionTime: "2022-11-15T01:38:22Z"
    message: Accepted by hub cluster admin
    reason: HubClusterAdminAccepted
    status: "True"
    type: HubAcceptedManagedCluster
  - lastTransitionTime: "2022-11-15T01:37:45Z"
    message: Managed cluster joined
    reason: ManagedClusterJoined
    status: "True"
    type: ManagedClusterJoined
  - lastTransitionTime: "2022-11-15T01:37:45Z"
    message: Managed cluster is available
    reason: ManagedClusterAvailable
    status: "True"
    type: ManagedClusterConditionAvailable
  version:
    kubernetes: v1.24.0

/hold

move endpoint to spec of hubcontrolplane:
apiVersion: cluster.open-cluster-management.io/v1alpha1
kind: HubControlPlane
metadata:
  creationTimestamp: "2022-11-15T13:53:01Z"
  generation: 1
  name: hub1
  resourceVersion: "406"
  uid: b642e1d4-cf14-4117-9d02-15fae1f98caf
spec:
  endpoint: https://ocm-controlplane-hub1.apps.xxx.com:443/
status:
  managedClusters:
    available:
    - mc1
    unknown:
    - mc3
    - mc4
    - mc2


packages/demo: enforce local workspace resolution of sveltefirets

sveltefirets was updated to 0.0.27 in https://github.com/jacob-8/sveltefirets/commit/1bd0aef1d68b75888e3f6cc026bfb1c5eb3248dd but we forgot to update it in demo.
I was trying to run demo with modified version of sveltefirets (to test SAMLAuthProvider which is currently missing in demo).
I found that because of version mismatch pnpm was fetching sveltefirets from npm (skipping local module resolution that was working before).
Using Workspace protocol I have enforced local resolution of sveltefirets in demo to prevent this issue from happening in future.

Thanks for the pull request. I've updated the demo to use 0.0.27 now, but am not using the workspace protocol prefix as it's unneeded in local dev if the package numbers match (which they do now). The reason I'm avoiding the prefix is so the Stackblitz playground for the demo, found at https://stackblitz.com/github/jacob-8/sveltefirets/tree/main/packages/demo?file=src%2Froutes%2Findex.md still works, as Stackblitz only loads the demo subfolder and must pull the package from NPM.


Supporting listening for multiple events to unsubscribe

I'm not sure if this idea is good enough, Please take a look. Thanks.

Interesting idea, but I'm curious when this actually would be used. If it's just for some corner case, then I would argue it'd be better to just call bindUntilEvent() multiple times on the same stream, rather than shifting the entire API to account for it.

Hi! This is why I submitted the commite before. Because I changed the RxLifecycle Framework, so I reopened a project (https://github.com/passin95/RxDispose). This project may support multiple types of events to work. Would you please kindly have a look at this project?

I'm sorry, but have to be honest: I don't have time to review other peoples' projects right now.


can the download of alsa be omitted and pointed to lcoal files via the ./makejdk-any-platform.sh

alsa - can the download of alsa be omitted and pointed to lcoal files via the ./makejdk-any-platform.sh ? If so, it is missing in man.

ok. I t was investiageted that alsa indeed cna not be currenlty set on cmdline. Will draft a pr.
Pleae anyubody remove documentation label...

quotation from senior development:
 I would suggest adding a --user-alsa-installation <dir> and either ensure it gets copied to
${BUILD_CONFIG[WORKSPACE_DIR]}/${BUILD_CONFIG[WORKING_DIR]}/installedalsa
around abouts here: https://github.com/adoptium/temurin-build/blob/d889cc1223d106cc3a43e1fe9fa76a9559bfc10d/sbin/prepareWorkspace.sh#L655
or create a new BUILD_CONFIG[ALSA_LOCATION] which defaults to
${BUILD_CONFIG[WORKSPACE_DIR]}/${BUILD_CONFIG[WORKING_DIR]}/installedalsa
and can be overridden by --user-alsa-installation <dir> (edited)

The https://github.com/adoptium/temurin-build/blob/d889cc1223d106cc3a43e1fe9fa76a9559bfc10d/sbin/build.sh#L482 seems to be jdk8u only

checking for alsa/asoundlib.h... no
configure: error: Could not find alsa!
configure exiting with result code 1

withou alsa-devel installed, the configure fails, and dwnloded alsa is not used


arch/xmc4 Add tickless support

Summary
Add Tickless support of xmc4 chip
Impact
Testing

Wrong manipulation. Closed this PR by error : https://github.com/apache/nuttx/pull/11737


1.20.6 Update

Perfect timing! Thank you @MrBretze.
While I am not the owner of this project, I would recommend you to try and minimize spurious differences, like the extra newline in build.gradle and the indentation in gradle.properties. In general, patches that do not change irrelevant parts of the code is better accepted.

We need to modify build.gradle and gradle.properties to update to 1.20.6

Yes, I understand that. I was referring to the changes in whitespace and formatting that makes the diff larger than necessary.

For the moment i publied a compiled version here: https://github.com/MrBretze/debugStickSurvival/releases/tag/Fabric-1.20.6

Thanks for your service in my absence! I won't merge as i already implemented those fixes, but your help is appreciated


Update kernel patch to apply again

This adapts the patch to apply after linux-toradex commit 340bd44082a75 (media: i2c: ov5640: Add ov5640 test pattern in imx8 video stack).
This edits the patch by hand, so the line numbers are not refreshed, but with these changes the patch applies again. Tested with linux-toradex commit 6f32493eb88eb (PCI: imx6: Turn off regulator when system is in suspend mode).

Thanks! I mostly reported this as a PR because it was easier, makes sense to refresh with your own tools of course :-)


[Question] How to setup VT100 Plugin for configuration automatic data capture system (ADCS)

Hi !
As the title, How to setup VT100 Plugin for configuring automatic data capture system (ADCS).
I don't see any option for this setup.
I don't find help from document of Business Central.

I setup the service OK.
But, I must use source of NAV 2018 for setup. Then connect to NAV server instance of container.


Change name to mercateo-spring-boot-starter-hornetq-cluster

I would recommend to change the name because spring-boot-starter-* is reserved for official starters. Instead mercateo-spring-boot-starter-hornetq-cluster would be their proposal:

http://docs.spring.io/spring-boot/docs/1.4.0.RC1/reference/htmlsingle/#using-boot-starter
http://docs.spring.io/spring-boot/docs/1.4.0.RC1/reference/htmlsingle/#boot-features-custom-starter-naming

Can't argue with that I guess. Going to rename it. Thanks!

repo, project, URLs, packages renamed


Expose headStateRoot in fork choice

Currently, we only expose the head block root in our fork choice module.
It would be more convenient and efficient to also expose the state root.
(we have a pattern many places in the code where we operate on the head state)

So I suppose when we add block to our forkchoice, we need to give stateRoot along with blockRoot and each node should track stateRoot as well?

Yeah, I had thought we were already doing this, and it was just a matter of exposing it, guess not.
We would need to do as you say, add it to the fork choice "node" and add it to addBlock


Add automated frontend tests for group management

Adds tests to replace the need for manual E2E tests for group management.

I had missed the already existing test for password reset. Will update the spreadsheet accordingly


Update API client to v6.1.0

This client version has some loosened dependency versions, which should make resolution of dependencies for PUI easier

Codecov Report

Merging #673 (fce5ddf) into main (bfdc7f8) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #673   +/-   ##
=======================================
  Coverage   88.46%   88.46%
=======================================
  Files          20       20
  Lines         884      884
  Branches       50       50
=======================================
  Hits          782      782
  Misses         85       85
  Partials       17       17

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Question regarding BIcon size property

The bootstrap-vue BIcon component does not have a size property.
As stated in the documentation,

"Icons have a default width and height of 1em, which means they will scale with the size of the current font size"
"You can also use custom CSS to set the icon size, either via direct style attribute, or via custom classes"
"You can also use the prop font-scale to scale the icon's current font size by the specified factor"

The current implementation has the size property which sets the font-size. Should we leave it as a shortcut to use instead of custom css or remove it to be compatible with the bootstrap-vue implementation?
I don't want to break anyone's work.

Hello! Honestly, I don't remember who made our b-icon component, but I think we have to follow the bootstrap-vue implementation. So go ahead!
Did you include this chan get in your last PR (#154)? If not, It's a good opportunity to make that change.
Let me know what you think

The size property is still include.
But it works, so it's not removed.