Datasette-Lite failing with multipart import error

Datasette-Lite has started failing with the error:
Error

Traceback (most recent call last):
  File "/lib/python312.zip/_pyodide/_base.py", line 596, in eval_code_async
    await CodeRunner(
  File "/lib/python312.zip/_pyodide/_base.py", line 412, in run_async
    await coroutine
  File "<exec>", line 116, in <module>
  File "/lib/python3.12/site-packages/datasette/app.py", line 3, in <module>
    import asgi_csrf
  File "/lib/python3.12/site-packages/asgi_csrf.py", line 5, in <module>
    from multipart import FormParser
ModuleNotFoundError: No module named 'multipart'

It seems that the latest version of python-multipart has renamed the import, so I'm wondering if that's the problem?

I've gotten my own Datasette-Lite repo to work for now by adding await micropip.install("python-multipart==0.0.12") into webworker.js. But I don't know why this works if the 0.0.13 version has been yanked.

OK, that fixed it - thanks everyone.


Just a minor typo

Hi @charliethinker, I'm your friendly neighborhood .NET Foundation Pull Request Bot (You can call me DNFBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
The agreement was validated by .NET Foundation and real humans are currently evaluating your PR.
TTYL, DNFBOT;

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

aspnetcore/fundamentals/middleware.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

@charliethinker  good one.


Fix Label Overrides

Not able to update the following with the spread operator label override:
FUND_COMPANY
FIELD.REQUEST_TOKEN,
{ ...FIELD.REQUEST_TOKEN, label: 'ERC-20 Tokens' },
BECOME_PARTNER
FIELD.TRIBUTE,
{ ...FIELD.TRIBUTE, label: 'Tribute Token Address' },
{ ...FIELD.TRIBUTE, label: 'Tribute Token Amount' },
It appears these labels are hard coded in the package

Tribute field has 2 field labels so we have to hard code it in this instance.
This one feels super nick picky, but I'll add the word Tribute to each label.

Fund Company

Become Partner


MVP

This indicates the minimum viable product we need to build

MVP
Front End
Main Page

[ ] Navigation bar
[ ] Sign up and login
[ ] Searching bar for area
[ ] a block for top restaurant result

Search Result Page

[ ] Navigation bar
[ ] Result List
[ ] Map Result

Back End


Get-Help does not resolve aliases to scripts if they are not in the path

The original bug is filed here, PowerShell v5.1
I can reproduce it with the latest powershell-6.0.0-alpha.14-win7-x86.
Here is the description of the issue and steps to reproduce.
Create a directory C:\TEMP\HelpAlias (we assume it is not in the path yet).
Create a script Test-Me.ps1 in it:
    <#
    .Synopsis
        Test help

    .Description
        Test help
    #>

Open a PowerShell console and invoke the following commands:
    0> Set-Alias zz C:\TEMP\HelpAlias\Test-Me.ps1
    0> Get-Help zz

        Name          : zz
        Category      : Alias
        Synopsis      : Test-Me.ps1
        Component     :
        Role          :
        Functionality :

    0> $env:path = $env:path + ';C:\TEMP\HelpAlias'
    0> Get-Help zz

        NAME
            C:\TEMP\HelpAlias\Test-Me.ps1

        SYNOPSIS
            Test help

        SYNTAX
            C:\TEMP\HelpAlias\Test-Me.ps1 [<CommonParameters>]

        DESCRIPTION
            Test help

Expected behavior
Get-Help works for properly defined aliases to scripts regardless of
their location, i.e. included in the path or not. In other words, the
result is the same as if Get-Help is invoked with the script path
defined by the alias.
Actual behavior
We can see that the alias zz is not resolved by Get-Help when the script is
not the path. Then it is resolved fine after adding the directory to the path
and Get-Help zz gets the expected help.

This is still an issue on 7.4-preview4.

Bump (hopefully). This is a pain in known scenarios. Sometimes scripts distributed with a module should be just scripts and not script modules (modules have unwanted features, sometimes). The natural workaround (working, solving known issues) is scripts aliases. But help is not working...

The issue still exists in 7.4.4


Add spacing around questions

The questions run into each other and are difficult to separate visually.
Also, the vote button is floating in the middle of the question.
Before

After

bump. I'm having a hard time determining when one question ends and the next one begins. Are there some changes you would like to see?


about the opensoc-streaming project  which version of kafka storm and other should be installed  accurately

i want to build the environment of the opensoc, so i want to know which version of the kafka storm hadoop hbase and other software should be installed . because , when i installed the newest version of above of it , they could not work in right way, and much issues have been occured . Some one could give me a help ?
thanks a lot

Please refer to below list:
What do I need to run OpenSOC
2 Network Capture Cards (Recommend Napatech NT20E2-CAP)
Apache Flume 1.4.0 +
Apache Kafka 0.8.1+
Apache Storm 0.9 +
Apache Hadoop 2.x (any distribution)
Apache Hive 12 + (13 recommended)
Apache Hbase 0.94+
Elastic Search 1.1 +
MySQL 5.6+

@jiekechoo  thanks. i have finished it and could run the topology, but it has an another question about how to use the pcapservice so that it can be seen on the dashboard of the ES , i try to run the PcapService Jar and start the http service of 8081 port and uri is /pcapGetter, but it not work , could you help me


How to change image save location while image is captured using camera.

I want to save in /storage/emulated/0/MY_FOLDER but .imageDirectory("MY_FOLDER") saves image in /storage/emulated/0/Pictures/MY_FOLDER
Also image is captured with improper rotation (ExifInterface)

imageDirectory will only change the folder name, not the full path.
To change save location, please use setImageFullDirectory


no punctuation marks？

I tried the ASR model and got word-level timestamps, which worked very well. However, I noticed that there were no punctuation marks in the output, only words. How can I enable them?

... the only way as of now is to run the code we provided at: https://github.com/revdotcom/reverb-self-hosted.
🤣 Ah, there's the catch! You got me!


[FEATURE] Center the links

Description
I think we should center the social link and icon it will look much better
Screenshots

Additional information
No response

In terms of accessibility it’s better to have them left aligned as it makes it easier to read for people with visual impairments or dyslexia

Description
I think we should center the social link and icon it will look much better
Screenshots

Additional information
No response

I think this way it will look better, yeah.

Should I close the issue if the matter is decided..?

Should I close the issue if the matter is decided..?

Keep it open even if its decided coz someone will commit/make a PR and when merged this will auto get closed.

In terms of accessibility it’s better to have them left aligned as it makes it easier to read for people with visual impairments or dyslexia

Should I close the issue if the matter is decided..?

Closing this due to comment of emma https://github.com/EddieHubCommunity/LinkFree/issues/1122#issuecomment-1037358252


Docker build fails

#12 3.670 Unexpected failure: The target process received a termination signal 4.
#12 3.670 Operation aborted.
#12 ERROR: process "/bin/sh -c iris start IRIS && \tiris session IRIS < iris.script &&     iris stop IRIS quietly" did not complete successfully: exit
code: 1
[iris builder 7/7] RUN --mount=type=bind,src=.,dst=.     iris start IRIS &&  iris session IRIS < iris.script &&     iris stop IRIS quietly:
0.561 Global buffer setting requires attention.  Auto-selected 25% of total memory.
0.561 Allocated 1720MB shared memory
0.561 953MB global buffers, 300MB routine buffers
3.657 This copy of InterSystems IRIS has been licensed for use exclusively by:
3.657 InterSystems IRIS Community
3.657 Copyright (c) 1986-2024 by InterSystems Corporation
3.657 Any other use is a violation of your license agreement
3.670 Starting IRIS
3.670 Unexpected failure: The target process received a termination signal 4.
3.670 Operation aborted.
failed to solve: process "/bin/sh -c iris start IRIS && \tiris session IRIS < iris.script &&     iris stop IRIS quietly" did not complete successfully
: exit code: 1

Issue is resolved


[BUG] System.IO.IOException: El archivo o directorio está dañado o es ilegible. : '\?\C:\Users\ChronicTheCat\AppData\Local\Bloxstrap\Roblox\Player.old\content\textures\ui\Controls\PlayStationController'

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?
launcher couldn't boot up roblox, i don't know how but it has to be about the Playstation buttonsd not loading or the textures for the buttons not being found
Bloxstrap Log
2024-11-01T17:53:57Z [App::OnStartup] Starting Bloxstrap v2.8.1
2024-11-01T17:53:57Z [App::OnStartup] Compiled Tuesday, 29 October 2024 at 5:35:23 PM from commit 2be2f4d0d275e60eabf2f63ecbbe4e38b2aa0773 (tag/v2.8.1)
2024-11-01T17:53:57Z [App::OnStartup] Loaded from %UserProfile%\AppData\Local\Temp\Bloxstrap\Updates\Bloxstrap-v2.8.1.exe
2024-11-01T17:53:57Z [App::OnStartup] Temp path is %UserProfile%\AppData\Local\Temp\Bloxstrap
2024-11-01T17:53:57Z [App::OnStartup] WindowsStartMenu path is %UserProfile%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs
2024-11-01T17:53:57Z [LaunchSettings] Identifier 'upgrade' is active
2024-11-01T17:53:57Z [LaunchSettings] Identifier 'player' is active
2024-11-01T17:53:57Z [Logger::Initialize] Initializing at %UserProfile%\AppData\Local\Bloxstrap\Logs\Bloxstrap_20241101T175357Z.log
2024-11-01T17:53:57Z [Logger::Initialize] Finished initializing!
2024-11-01T17:53:57Z [JsonManager<Settings>::Load] Loading from %UserProfile%\AppData\Local\Bloxstrap\Settings.json...
2024-11-01T17:53:57Z [JsonManager<Settings>::Load] Loaded successfully!
2024-11-01T17:53:57Z [JsonManager<State>::Load] Loading from %UserProfile%\AppData\Local\Bloxstrap\State.json...
2024-11-01T17:53:57Z [JsonManager<State>::Load] Loaded successfully!
2024-11-01T17:53:57Z [FastFlagManager::Load] Loading from %UserProfile%\AppData\Local\Bloxstrap\Modifications\ClientSettings\ClientAppSettings.json...
2024-11-01T17:53:57Z [FastFlagManager::Load] Loaded successfully!
2024-11-01T17:53:57Z [Installer::HandleUpgrade] Doing upgrade
2024-11-01T17:53:57Z [RegistryKeyEx::SetValueSafe] Writing '2.8.1' to HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Uninstall\Bloxstrap\DisplayVersion
2024-11-01T17:53:57Z [RegistryKeyEx::SetValueSafe] Writing 'Bloxstrap' to HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Uninstall\Bloxstrap\Publisher
2024-11-01T17:53:57Z [RegistryKeyEx::SetValueSafe] Writing 'https://github.com/bloxstraplabs/bloxstrap/wiki' to HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Uninstall\Bloxstrap\HelpLink
2024-11-01T17:53:57Z [RegistryKeyEx::SetValueSafe] Writing 'https://github.com/bloxstraplabs/bloxstrap/issues/new' to HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Uninstall\Bloxstrap\URLInfoAbout
2024-11-01T17:53:57Z [RegistryKeyEx::SetValueSafe] Writing 'https://bloxstraplabs.com' to HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Uninstall\Bloxstrap\URLUpdateInfo
2024-11-01T17:53:57Z [FastFlagManager::SetValue] Deletion of 'FIntNewInGameMenuPercentRollout3' is pending
2024-11-01T17:53:57Z [FastFlagManager::SetValue] Deletion of 'FFlagEnableInGameMenuControls' is pending
2024-11-01T17:53:57Z [FastFlagManager::SetValue] Deletion of 'FFlagEnableInGameMenuModernization' is pending
2024-11-01T17:53:57Z [FastFlagManager::SetValue] Deletion of 'FFlagEnableInGameMenuChrome' is pending
2024-11-01T17:53:57Z [FastFlagManager::SetValue] Deletion of 'FFlagEnableMenuControlsABTest' is pending
2024-11-01T17:53:57Z [FastFlagManager::SetValue] Deletion of 'FFlagEnableV3MenuABTest3' is pending
2024-11-01T17:53:57Z [FastFlagManager::SetValue] Deletion of 'FFlagEnableInGameMenuChromeABTest3' is pending
2024-11-01T17:53:57Z [FastFlagManager::SetValue] Deletion of 'FFlagEnableInGameMenuChromeABTest4' is pending
2024-11-01T17:53:57Z [JsonManager<Settings>::Save] Saving to %UserProfile%\AppData\Local\Bloxstrap\Settings.json...
2024-11-01T17:53:57Z [JsonManager<Settings>::Save] Save complete!
2024-11-01T17:53:57Z [FastFlagManager::Save] Saving to %UserProfile%\AppData\Local\Bloxstrap\Modifications\ClientSettings\ClientAppSettings.json...
2024-11-01T17:53:57Z [FastFlagManager::Save] Save complete!
2024-11-01T17:53:57Z [HttpClientLoggingHandler::ProcessRequest] GET https://bloxstraplabs.com/metrics/post?key=installAction&value=upgrade
2024-11-01T17:53:58Z [LaunchHandler::LaunchRoblox] Initializing bootstrapper
2024-11-01T17:53:58Z [LaunchHandler::LaunchRoblox] Initializing bootstrapper dialog
2024-11-01T17:53:58Z [Bootstrapper::Run] Running bootstrapper
2024-11-01T17:53:58Z [Bootstrapper::SetStatus] Connecting to Roblox...
2024-11-01T17:53:58Z [Deployment::TestConnection<https://setup.rbxcdn.com>] Connecting...
2024-11-01T17:53:58Z [HttpClientLoggingHandler::ProcessRequest] GET https://setup.rbxcdn.com/versionStudio
2024-11-01T17:53:58Z [Deployment::InitializeConnectivity] Testing connectivity...
2024-11-01T17:53:58Z [HttpClientLoggingHandler::ProcessResponse] 200 OK https://setup.rbxcdn.com/versionStudio
2024-11-01T17:53:58Z [Deployment::InitializeConnectivity] Got https://setup.rbxcdn.com as the optimal base URL
2024-11-01T17:53:58Z [Bootstrapper::Run] Connectivity check finished
2024-11-01T17:53:58Z [Bootstrapper::GetLatestVersionInfo] Got channel as production
2024-11-01T17:53:58Z [HttpClientLoggingHandler::ProcessRequest] GET https://bloxstraplabs.com/metrics/post?key=robloxChannel&value=zflag
2024-11-01T17:53:58Z [Deployment::GetInfo] Getting deploy info for channel zflag
2024-11-01T17:53:58Z [HttpClientLoggingHandler::ProcessRequest] GET https://clientsettingscdn.roblox.com/v2/client-version/WindowsPlayer/channel/zflag
2024-11-01T17:53:59Z [HttpClientLoggingHandler::ProcessResponse] 200 OK https://clientsettingscdn.roblox.com/v2/client-version/WindowsPlayer/channel/zflag
2024-11-01T17:53:59Z [Deployment::GetInfo] Getting deploy info for channel production
2024-11-01T17:53:59Z [HttpClientLoggingHandler::ProcessRequest] GET https://clientsettingscdn.roblox.com/v2/client-version/WindowsPlayer
2024-11-01T17:53:59Z [HttpClientLoggingHandler::ProcessResponse] 200 OK https://clientsettingscdn.roblox.com/v2/client-version/WindowsPlayer
2024-11-01T17:53:59Z [RegistryKeyEx::SetValueSafe] Writing 'zflag' to HKEY_CURRENT_USER\SOFTWARE\ROBLOX Corporation\Environments\RobloxPlayer\Channel\www.roblox.com
2024-11-01T17:53:59Z [ApplicationSettings::Fetch.PCClientBootstrapper.zflag] Fetching fast flags
2024-11-01T17:53:59Z [HttpClientLoggingHandler::ProcessRequest] GET https://clientsettingscdn.roblox.com/v2/settings/application/PCClientBootstrapper/bucket/zflag
2024-11-01T17:53:59Z [HttpClientLoggingHandler::ProcessResponse] 200 OK https://clientsettingscdn.roblox.com/v2/settings/application/PCClientBootstrapper/bucket/zflag
2024-11-01T17:53:59Z [HttpClientLoggingHandler::ProcessRequest] GET https://setup.rbxcdn.com/channel/common/version-b7eebc919e96477a-rbxPkgManifest.txt
2024-11-01T17:53:59Z [HttpClientLoggingHandler::ProcessResponse] 200 OK https://setup.rbxcdn.com/channel/common/version-b7eebc919e96477a-rbxPkgManifest.txt
2024-11-01T17:53:59Z [Bootstrapper::SetStatus] Upgrading {product}...
2024-11-01T17:54:00Z [HttpClientLoggingHandler::ProcessResponse] 200 OK https://bloxstraplabs.com/metrics/post?key=installAction&value=upgrade
2024-11-01T17:54:00Z [HttpClientLoggingHandler::ProcessResponse] 200 OK https://bloxstraplabs.com/metrics/post?key=robloxChannel&value=zflag
2024-11-01T17:54:02Z [LaunchHandler::LaunchRoblox] Bootstrapper task has finished
2024-11-01T17:54:02Z [LaunchHandler::LaunchRoblox] An exception occurred when running the bootstrapper
2024-11-01T17:54:02Z [App::FinalizeExceptionHandling] (0x80070570) System.IO.IOException: El archivo o directorio está dañado o es ilegible. : '\\?\%UserProfile%\AppData\Local\Bloxstrap\Roblox\Player.old\content\textures\ui\Controls\PlayStationController'
   at System.IO.FileSystem.RemoveDirectoryRecursive(String fullPath, WIN32_FIND_DATA& findData, Boolean topLevel)
   at System.IO.FileSystem.RemoveDirectory(String fullPath, Boolean recursive)
   at Bloxstrap.Bootstrapper.UpgradeRoblox()
   at Bloxstrap.Bootstrapper.Run()
   at Bloxstrap.Bootstrapper.Run()
2024-11-01T17:54:02Z [HttpClientLoggingHandler::ProcessRequest] POST https://bloxstraplabs.com/metrics/post-exception
2024-11-01T17:54:02Z [HttpClientLoggingHandler::ProcessResponse] 200 OK https://bloxstraplabs.com/metrics/post-exception

I'm assuming this has been fixed with v2.8.2. If not, please open a new issue.


Swift PM error

The current version of xcodeproj doesn't seem to work as a dependency in other Swift PM projects. The current package is only compatible with Xcode 9, but using the swift CI tools from Xcode 9 and referencing xcodeproj as a dependency leads to the error
The product dependency 'xcodepro' was not found

I haven't been able to work out the problem. The branch https://github.com/carambalabs/xcodeproj/tree/feature/single_target tries to solve it by exposing only a single target, but that didn't seem to help.

Here's an example Package manifest
// swift-tools-version:4.0

import PackageDescription

let package = Package(
    name: "xcodepro_tester",
    dependencies: [
        .package(url: "https://github.com/carambalabs/xcodeproj.git", .exact("0.0.6")),
    ],
    targets: [
        .target(name: "xcodepro_tester", dependencies: ["xcodeproj"]),
    ],
    swiftLanguageVersions: [3]
)

Note that pulling in xcodeproj before the package changed to Swift 4 worked correctly

This still happens with Xcode 9 beta 4. No idea what the problem is. Any thoughts @pepibumur?

I tried the same the other day @yonaskolb and I got a similar issue, I'll try to figure out where the issue might be.

@pepibumur is it ok with you if we roll back the package to Swift 3 anyway, until Swift 4 comes out?

Hi, I think that I found a solution, adding this line products: [ .library(name: "xcodeproj", targets: ["xcodeproj"]) ], to Package.swift after name: "xcodeproj", will fix this issue. I tested it, and now I can use xcodeproj as a dependency in my package.

Thanks @Saik0s. @yonaskolb solved it by downgrading the version of the definition that we were using (we went from 4 to 3). We'll try out again once Swift 4 comes out officially.


Segfault using my training data

Tesseract works fine with the original eng.traineddata but when i use my own it segfaults when running the standard:
tesseract test.jpg test.txt

I have attached my training data if it helps:
ali_traineddata_files.zip
Here is the output from llvmdb:
Tesseract Open Source OCR Engine v3.04.01 with Leptonica
Warning in pixReadMemJpeg: work-around: writing to a temp file
Process 57115 stopped
* thread #1: tid = 0x2101d5, 0x00000001000e94a9 libtesseract.3.dylib`tesseract::Classify::ComputeCharNormArrays(FEATURE_STRUCT*, INT_TEMPLATES_STRUCT*, unsigned char*, unsigned char*) + 161, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x8)
    frame #0: 0x00000001000e94a9 libtesseract.3.dylib`tesseract::Classify::ComputeCharNormArrays(FEATURE_STRUCT*, INT_TEMPLATES_STRUCT*, unsigned char*, unsigned char*) + 161
libtesseract.3.dylib`tesseract::Classify::ComputeCharNormArrays:
->  0x1000e94a9 <+161>: movl   0x8(%r9), %r10d
    0x1000e94ad <+165>: testl  %r10d, %r10d
    0x1000e94b0 <+168>: jle    0x1000e94eb               ; <+227>
    0x1000e94b2 <+170>: movb   (%r15,%r14), %cl

Many thanks :)

Please read this:
https://github.com/tesseract-ocr/tesseract/wiki/TrainingTesseract#generate-the-unicharset-file

... and this:
https://github.com/tesseract-ocr/tesseract/wiki/TrainingTesseract#questions-about-the-training-process

Thanks for your replies but after reading those and trying from scratch again, it still throws this segfault, is their another way i can debug it?

Your unicharset file looks wrong.
Either you didn't run set_unicharset_properties or you did run it, but in a wrong way.
A debugger won't help you here.
https://github.com/tesseract-ocr/tesseract/wiki/TrainingTesseract#set_unicharset_properties

@zdenop, please close this issue.


[FLINK-10074] Allowable number of checkpoint failures

What is the purpose of the change
This pull request allows number of checkpoint failures
Brief change log

Add a new API CheckpointConfig#setTolerableCheckpointFailuresNumber
Add a new API CheckpointConfig#getTolerableCheckpointFailuresNumber
Changed FailingCheckpointExceptionHandler#tryHandleCheckpointException

Verifying this change
This change added tests and can be verified as follows:

CheckpointExceptionHandlerTest#testRethrowingHandlerWithTolerableNumberTriggered
CheckpointExceptionHandlerTest#testRethrowingHandlerWithTolerableNumberNotTriggered

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

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

Documentation

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

cc @tillrohrmann

Thanks for opening this PR @yanghua. I'll try to give it a review in the next days.

@tillrohrmann When you have free time, please review this PR. thanks.

@azagrebin thanks for your suggestion, I have refactored this PR, please review again~

@azagrebin thanks for your suggestion, refactored this PR.

Hi @tillrohrmann , Currently it is applied to the sub task instance (TM) instead of the checkpoint coordinator (JM) as a complement to the setFailOnCheckpointingErrors method, since setFailOnCheckpointingErrors only provides the user with yes or no choices.
But it sounds reasonable to apply the count on the Job globally.

@tweise Any comments or opinions? The current count implementation is for a single sub task instance, not the job level. Maybe @tillrohrmann  's idea is more reasonable?

Thanks for opening this PR @yanghua , as a user, I like the idea fail in JM other than TM

I understand why you implemented it the way you did. I think the setFailOnCheckpointingErrors should actually also be handled by the CheckpointCoordinator/JM and not on the Task level (but this is a different story). This looks a little bit like a shortcut we made back in the days.

@tillrohrmann I originally wanted to do it in the checkpoint coordinator when I first implemented it, but when I touched setFailOnCheckpointingErrors, I was guided and turned to the TM. I have also thought about this issue recently and it seems that it is more reasonable to implement on the checkpoint coordinator. Well, I will implement it again based on the checkpoint coordinator.
To @klion26 thanks for your opinion, will change the implementation.

@yanghua @tillrohrmann I think a user would normally expect this count to apply globally, but please also consider the case of an intermittent failure (like S3 rate limit or storage backend unavailable for other reason). In a large job that would cause potentially many subtasks to fail in parallel. While this could be addressed by setting a corresponding very high threshold, it would in turn mean a problem that is isolated to a single task would not hit the threshold until much much later, leaving the job in flipflop status instead of failing.

A failure of a global checkpoint should only increment the failure count by one independent of the number of failed subtasks. Thus, I would hope that one does not need to set a different threshold for the two different cases you described @tweise. However, it is correct that the price the user pays is that a consistent problem will only be detected after a longer delay.

hi @tillrohrmann I have refactored this PR and counted the failure number in the CheckpointCoordinator. I think I should push the implementation to let you estimate. I have tested the counter's run path, but I don't know if it is the right way of failing the ExecutionGraph . And maybe the test case I added have too much assert, I will reduce it.

hi @tillrohrmann what do you think about the latest implementation?

Thanks for the update, @yanghua. Looking at the checkpoint coordinator more deeply, I think we firstly have to work a bit more on design for this kind of change. We have to take into account at least the following points (roughly):

Introduce the separate component/class responsible for failure management, counting e.g. CheckpointFailureManager or something

Job manager should

construct CheckpointFailureManager
configure with the max failure count and a proper action how to fail.
pass it to CheckpointCoordinator

CheckpointCoordinator

should give callbacks to CheckpointFailureManager about failures and successes of checkpoints
needs some refactoring to distinguish better failures of PendingCheckpoint. Now it is abortXXX() methods which do not provide enough information to count it as a failure for CheckpointFailureManager or not (like we have for triggerSavepoint in CheckpointDeclineReason). At the end there should be clear place in the CheckpointCoordinator where to give callbacks to CheckpointFailureManager, e.g.:

CheckpointDeclineReason.EXCEPTION result of triggerSavepoint
some cases of PendingCheckpoint.abortDeclined(), abortError(), maybe abortExpired()

Consider having only DecliningCheckpointExceptionHandler on TaskExecutor side and letting now to handle all failure cases only in CheckpointCoordinator

There might be more points. I suggest we step back and continue discussion in the jira issue. Once we have clear design, a PR can be opened again.

@azagrebin thanks for your suggestion, I agree and reconsider more details.
Considering that @tillrohrmann  has said that the current checkpoint exception handler should also be implemented in CheckpointCoordinator.

I understand why you implemented it the way you did. I think the setFailOnCheckpointingErrors should actually also be handled by the CheckpointCoordinator/JM and not on the Task level (but this is a different story). This looks a little bit like a shortcut we made back in the days.

Do we need to take this refactoring into account? Because this PR is actually a supplement to the checkpoint exception handler.

Do we need to take this refactoring into account? Because this PR is actually a supplement to the checkpoint exception handler.

Yes, I think we can have the same semantics as in the previous only-TM implementation (setFailOnCheckpointingErrors means tolerableFailures == 0) but now everything should happen in CheckpointCoordinator. That is why I also mentioned this point:

Consider having only DecliningCheckpointExceptionHandler on TaskExecutor side and letting now to handle all failure cases only in CheckpointCoordinator

Hi @yanghua,
In general, executionGraph.failGlobal looks good to me to fail, but I think the CheckpointFailureManager should be constructed with a callback which will fail job. It means that JobMaster or ExecutionGraphBuilder should decide how to fail. We also have to make that checkpointing in Task Executor does not fail the job anymore, only the CheckpointFailureManager as a central point of failure.
Another point is that inserting failure callback into different places in CheckpointCoordinator close to cause looks rather invasive. Ideally, there should be 2 places where CheckpointFailureManager should get callback:

in triggerCheckpoint(long timestamp, boolean isPeriodic) checking CheckpointTriggerResult (sync part)
similar to PendingCheckpointStats getting callback in PendingCheckpoint.reportFailedCheckpoint (async part) but with clear defined cause like CheckpointDeclineReason for sync part.

PendingCheckpoint does not have such clearly defined failure handling as triggerCheckpoint and might need some refactoring to distinguish failure cases.
I suggest we firstly describe the full approach in Jira issue where we also include a list of all possible failures which CheckpointFailureManager needs to react upon and how we define them in code. It can be also a link to some design doc.

Hi @yanghua,
can this PR be closed for now and we come back to it when we have design in the Jira issue?
We might also want to do some refactoring of failure handling in checkpoint coordinator to prepare it for integrating the error counter from this PR.

Hi @azagrebin  I am currently busy with several other PRs and hope it will be merged into Flink 1.7.0. When those PRs are fixed, I will come back and reorganize it. I think some logic of this PR is available, but the counting logic may need to be refactored. Can we put it aside for some time?

I created FLINK-10724 to refactor failure handling in checkpoint coordinator where I believe we should firstly prepare it for better integration with the error counter we have in this PR. Once we resolve FLINK-10724, we can reopen this PR or open another one and rebase the error counter on the result of FLINK-10724 which should be simpler then.

@azagrebin OK, agree.


This does not compile. TapToPlace contains several errors

"private virtual void" for several methods is not valid -> "protected virtual void". And the IInputClickHandler.OnInputClicked is implemented as protected, but should be public, or the class does not implement the interface.

Hi @LocalJoost, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. Real humans will now evaluate your PR.

TTYL, MSBOT;

My apologies.  Thanks for the hotfix @LocalJoost

You are welcome :)

@NeerajW This one is critical.

Yeah just tried this. Thanks @LocalJoost !

You are welcome @NeerajW


fix(RichTextEditor): use FieldLabel

[FX-NNNN]
Description
Currently we don't use FieldLabel to render label, we just render it as plain text and it has different styling.
How to test

check RichTextEditor story inside picasso-forms. The label should have the same styling as other inputs

Screenshots

Before.
After.

Development checks

[x] Add changeset according to guidelines (if needed)
[x] Read CONTRIBUTING.md and Component API principles
Annotate all props in component with documentation
Create examples for component
[x] Ensure that deployed demo has expected results and good examples
Ensure the changed/created components have not caused accessibility issues. How to use accessibility plugin in storybook.
[x] Self reviewed
Covered with tests

Breaking change

codemod is created and showcased in the changeset
[ ] test alpha package of Picasso in StaffPortal

PR commands

List of available commands:

@toptal-bot run all - Run whole pipeline
@toptal-bot run build - Check build
@toptal-bot run deploy:documentation - Deploy documentation
@toptal-bot run package:alpha-release - Release alpha version

PR Review Guidelines

When to approve? ✅
You are OK with merging this PR and

You have no extra requests.
You have optional requests.

Add nit: to your comment. (ex. nit: I'd rename this variable from makeCircle to getCircle)

When to request changes? ❌
You are not OK with merging this PR because

Something is broken after the changes.
Acceptance criteria is not reached.
Code is dirty.

When to comment (neither ✅ nor ❌)
You want your comments to be addressed before merging this PR in cases like:

There are leftovers like unnecessary logs, comments, etc.
You have an opinionated comment regarding the code that requires a discussion.
You have questions.

How to handle the comments?

An owner of a comment is the only one who can resolve it.
An owner of a comment must resolve it when it's addressed.
A PR owner must reply with ✅ when a comment is addressed.

@toptal-bot run package:alpha-release

I've manually checked and it looks good. Only thing I found is that when clicking on label of rich text with error state, it doesn't show red outline as others, but blue:

great catch, thanks, we were fixing it for other inputs last week, I guess we forgot about RichTextEditor 👍 I will fix it, thanks.


File path issue

Please build file path using os.path.join at unsloth/save.py 97 line. thanks.

Thanks! Did it! Will add the commit in!


Button.js adds disabled class which Bootlint criticizes, rightly so?

I originally reported this as a Bootlint issue at https://github.com/twbs/bootlint/issues/379 but now I am not sure whether Bootlint isn't actually correct and button.js of Bootstrap (v3) is doing something useless here.
What happens is that Button.js is adding the disabled class to a button in it's loading state (using .button('loading')) while the disabled attribute would suffice. The code where it happens is at button.js, line 44 and it triggers the warning W016 in Bootlint ("Using the .disabled class on a <button> or <input> only changes the appearance of the element. It doesn't prevent the user from interacting with the element (for example, clicking on it or focusing it). If you want to truly disable the element, use the disabled attribute instead."). The Bootlint code for this warning can be found at bootlint.js, line 578 (note how line 579 just checks for whether the disabled class is set for the input/button, it does not care about the disabled attribute, also the warning says "…instead").
So who is right, Bootstrap or Bootlint?

Adding the .disabled class in addition to the disabled attribute is indeed useless for non-<a> buttons.
While it is pointless, I don't believe it has any negative side-effects.
We probably can't fix this in v3 due to backward compatibility concerns. (If someone on Core Team disagrees, feel free to reopen this.)
v4 doesn't suffer from this bug since the relevant feature of the buttons.js plugin has been removed from it: https://github.com/twbs/bootstrap/blob/v4-dev/docs/migration.md#buttons


camunda-modeler: 5.22.0 -> 5.23.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/project/camunda-modeler/versions.
meta.description for camunda-modeler is: An integrated modeling solution for BPMN, DMN and Forms based on bpmn.io
meta.homepage for camunda-modeler is: https://github.com/camunda/camunda-modeler
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 5.23.0 with grep in /nix/store/yrnbdyirq5j0rr5991008w5n3aj4m1i7-camunda-modeler-5.23.0
found 5.23.0 in filename of file in /nix/store/yrnbdyirq5j0rr5991008w5n3aj4m1i7-camunda-modeler-5.23.0

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

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath

camunda-modeler

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/yrnbdyirq5j0rr5991008w5n3aj4m1i7-camunda-modeler-5.23.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

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

Or:
nix build github:r-ryantm/nixpkgs/8e6222a5e156adf3aabb7d046d25168be7bbfeae#camunda-modeler

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/yrnbdyirq5j0rr5991008w5n3aj4m1i7-camunda-modeler-5.23.0
ls -la /nix/store/yrnbdyirq5j0rr5991008w5n3aj4m1i7-camunda-modeler-5.23.0/bin

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

1 package built:

camunda-modeler

Maintainer pings
cc @n0emis @vidister @johannwagner @yu-re-ka for testing.

Result of nixpkgs-review pr 311508 run on x86_64-linux 1

1 package built:

camunda-modeler


[Sprint: 44] XD-2730: Allow deployment properties as a file reference

Otherwise LGTM except a bunch of files need copyright updates.

Both suggestions are interesting BUT

we'd lose TAB completion for Files if we were to accept any resource (a String)
not sure classpath: makes much sense in this case (would mean the CP of the shell, which the user is not supposed to edit. And if he were, this is pretty equivalent to file:). So the question is: is there really any value for non-File protocol here?

I think we could work something out at shell level to keep TAB completion and conversion for a Foo[].
To recap,

needs Shell support, which I think we should add
may not be a good idea after all?

What do you think?

WRT copyright, what do you mean? Missing copyrights or need year update?
If the latter, shouldn't we do a full pass now and on Jan 1st?

No problem; they were just ideas; I am ok with deferring 1 and dropping 2.
Regarding copyright, no, it's not a blanket update; we update the copyright if a file is changed in a calendar year; 2014 becomes 2014-2015; 2013-2014 becomes 2013-2015.
I generally don't bother if it's an automated updated (e.g. a class moves and causes a bunch of import changes) but any changes of substance in a class should be updated.

Rebased, updated copyrights.

Created https://jira.spring.io/browse/SHL-173 to track requirement for 1.
I updated the copyright headers, so should be ready to merge if no further comment

Squashed; merged as 550197a6b2488f6cab9cd1cf007779cbe858c3e0

It looks like we need to have this merged into 1.1.x as well. Re-opening.

Also, this change needs to be applied as well: c97ddba591a373c168e63a345b1c5897caa966ad

This is a new feature, I don't see why it should go into the maintenance branch.

I see the JIRA https://jira.spring.io/browse/XD-2730 fix version says 1.1.x

@ericbottard I agree, I think it should be 1.2 then.

I'll stick to what the JIRA God said, but seems odd to me

Closing this as this is in fact was intended for 1.2


Subscripts not working correctly?

rational        [0-9]*([⅒⅑⅛⅐⅙⅕¼⅓½⅖⅔⅜⅗¾⅘⅝⅚⅞]|([⁰¹²³⁴⁵⁶⁷⁸⁹]+/[₀₁₂₃₄₅₆₇₈₉]+))
This tokenizes ³³/₄₅₆
to ³³/₄
[EDIT] Works when I replace / with [/] so likely nothing to do with unicode but with / operator?

The / operator in Lex and Flex and RE/flex is called "trailing context" and is essentially a lookahead. A pattern matches if the lookahead matches also, but the lookahead is removed from the match.


The new monospaced font

Is the new monospace font discussed in the blog hosted here? My impression from the blog was that this content was all hosted in this repo, but I might be wrong.

All I can say is:
Watch this space. :)

From: Mustafa M<EMAIL_ADDRESS>Sent: Tuesday, May 7, 2019 6:40:20 PM
To: microsoft/Terminal
Cc: Subscribed
Subject: [microsoft/Terminal] The new monospaced font (#548)
Is the new monospace font discussed in the blog hosted here? My impression from the blog was that this content was all hosted in this repo, but I might be wrong.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTerminal%2Fissues%2F548&data=01|01|duhowett%40microsoft.com|5360bd328ed34d76d12108d6d35621d7|72f988bf86f141af91ab2d7cd011db47|1&sdata=gOrK7TtMKSFVQc4PlRliUo7TjR0u%2FLYGUJbbY3GXrOE%3D&reserved=0, or mute the threadhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FADNHLGQXWCTNY4ZQBXCK7R3PUIVQJANCNFSM4HLNVSZA&data=01|01|duhowett%40microsoft.com|5360bd328ed34d76d12108d6d35621d7|72f988bf86f141af91ab2d7cd011db47|1&sdata=jpYskUnCx%2F%2FDoHZX43vlojF4aRQgPdJvntMuysEu5a4%3D&reserved=0.

I hope there's an exact-half-em-wide variant for coupling with East Asian scripts.

It would be fun to watch the development of this font in the open on GitHub. I would be interested in testing early versions if the repo is made public.

Did you guys got the name for this font from The Flash - Season 5 villain name cicada 🤣 (just kidding).

@eliheuer I guess the font is open source, as they have mentioned in the Microsoft build videos https://youtu.be/veqs2WVou9M.

I imagine it will be open source from the start, but not currently included in the repo.
Font design is a complicated thing, and there is/was a topography team in the Windows XP-Vista time frame.
It may be worked on by an outside foundry, and so not able to be released openly in the same way that the Ubuntu fonts are, or even IBM:s font

The font will be open sourced within its own repository once we have a more finalized v1 with an approved name 😊

Awesome, a separate repository will make the font easier to contribute issues to and fork. Will it use the OFL?

It going to be default font for visual studio? Or it's designed for terminal purpose?

any news here after the initial release a few days ago?

If you are subscribed to this thread, you will receive updates without even having to ask!

hahah ok I will be more patient 😄

I'm curious, will this font have powerline symbols? they're useful for things like oh-my-posh

Looking for this as well~

We are waiting 👍

Cascadia Code is here! https://github.com/microsoft/cascadia-code
If you'd like to read about it, here's the blog post: https://devblogs.microsoft.com/commandline/cascadia-code/
😊😊😊


is repo being maintained ?

I've been following a couple of Issues and Pull requests that interest me. And its been a while since I see any activity in the repo, from @toji despite the tags. I for example, have a 2 week old PR with no comment from any users / admins.
I'm making myself available to help in any way possible. either to test stuff, or to help setting up priorities, but we're getting to a point where a lot of things are pilling up.
I'm already "living" from a fork from this repo with some change to fix a couple of issues, but I don't think this is the right approach.
Again, happy to help where I can.

It might be a good idea to create and maintain your own fork, since @toji seems to be quite busy most of the time. Also, this repository has a huge backlog of issues which were never closed, even though they should be.
@toji What do you think?

I really think that's not the best way... People don't need to be looking for a branch from this repo and see which one is better maintained. I understand the work load might be a lot, but its up to @toji and @sinisterchipmunk to either allow collaborators who can spend more time here and close issues, review PRs merge changes, or just make a yearly review or something 😃

Yeah I know, I remember being on a chat with you on another issue 😛 There's definitely people into gl-matrix 😛

Now I've noticed that someone added a PR that does the same as an old PR I've submitted.
Which is exactly the point of this issue. We need some love on this repo...


parameter priorities for TeX commands (e.g., \sqrt\frac{}{})

As discussed on the mailing list it would be good if MathJax could correctly handle TeX commands taking a double-argument command as argument, such as in \sqrt\frac{3}{4}. This is because users will expect things to that they are used to as being acceptable in TeX.
As a quick fix it might be possible to special-case those few multi-argument commands such as \frac.
-nageh

Hello,
If the macro is redefined: $\let\myfrac=\frac   \sqrt\myfrac12$ works in LaTeX (see TeXLive.net), but throws error “Missing argument for \myfrac” in MathJax.

@hbghlyj, yes, the special-case handling for \sqrt\frac is based on the specific name \frac.  The situation you are referring to is basically a quirk of LaTeX, not a true intended feature.  There is a lengthy discussion of this on the user's forum from way back in v1.0 that describes the situation in more detail.  It is unlikely that anything will be done about emulating this edge case.


Dashboard addon deployment should have resource limits

Is this an ISSUE or FEATURE REQUEST? (choose one): ISSUE

What version of acs-engine?: n/a

Orchestrator and version (e.g. Kubernetes, DC/OS, Swarm) Kubernetes
The dashboard deployment we're shipping with masters on new cluster does not have any defined resource limits.

Determine an appropriate default setting for CPU/memory requests and CPU/memory limits
Expose these values as a configuration vector for user tuning

Fixed in #1765


wsl.exe commandline option is translated!

Environment
Windows build number: Microsoft Windows [Version 10.0.21277.1000]
Your Distribution version:
Whether the issue is on WSL 2 and/or WSL 1:

Steps to reproduce
wsl --help
Expected behavior
所有命令行选项都应该以最初在渶格蘭哋岖蓅哘の呅牸呈现！
If you don't know what the above sentence means, try google translate. And if it doesn't help,  then you got what I mean!
Actual behavior

options like --设置-默认-版本 is not valid!

same problem occurs with the portugues-br (pt-br) language
Environment
Windows build number: 10.0.21337.1000
WSL: 5.4.72-microsoft-standard-WSL2

Steps to reproduce
wsl --help

Print

Fixed in 21370

I get into this problem as well after upgrade to wsl 1.0 .
details of wsl --version:
WSL version： <IP_ADDRESS>
core version： <IP_ADDRESS>
WSLg version： 1.0.47
MSRDC version： 1.2.3575
Direct3D version： 1.606.4
DXCore version： 10.0.25131.1002-220531-1700.rs-onecore-base2-hyp
Windows version： 10.0.22000.1281

reopen this issue.

Duplicate of #8857

#6328 is ahead of this #8857, and therefore this issue is not a duplicate of #8857, and it implies that the earlier issue(the #6328) cannot be justified in not reopening the issue because it is not a duplicated one, and therefore please correct the statement here (duplicate of #....).

Duplicate of #8857

#6328 is ahead of this #8857, and therefore this issue is not a duplicate of #8857, and it implies that the earlier issue(the #6328) cannot be justified in not reopening the issue because it is not a duplicated one, and therefore please correct the statement here (duplicate of #....).


Update Omega submodule

This merge also adds environment variables for the compiler and MPI library to the load script.  The former is useful for building Omega.  (I believe Omega currently always uses the default MPI library for a given compiler as specified in the E3SM machine file.)

Checklist

[x] Testing comment in the PR documents testing used to verify the changes

Testing
The updated Omega submodule and the POLARIS_COMPILER and POLARIS_MPI environment variables have been used in testing 0.3.0-alpha.1 in https://github.com/E3SM-Project/polaris/pull/177


Enhancements for the surface model

Surface model now includes types from components/Parameters, components/RequestBodies and components/Responses sections from the OpenAPI spec
Surface model now includes types that use the reference object ($ref) inside of OpenAPI spec for parameters, request bodies, responses

A few more little nits for you, Lorenz! Thanks for your patience and willingness to work with me here :)

No worries about the nits Noah! It is only good for me :) Thanks for taking the time and reviewing the code. One question: Why do we prefer pointers over normal variables?

Noah, whenever you think this is ready, let's squash-and-merge these changes in one commit.

Why do we prefer pointers over normal variables?

In this case, it was a style thing for me. We are only manipulating the data and then supplying it to a function that takes a pointer. A more specific reason might be that Field methods take a pointer receiver.
Generally, there is some guidance on when to pass values and what the receiver type should be.


Rancher agent containers need to be hidden in UI when creating hosts running docker 1.8 on server that has been upgraded

While upgrading server to latest version (with fix), these random containers should not be seen from UI/API.
Docker version - 1.8
Rancher version - 0.32.0

In order to test, you'll need to spin up a new setup to see that they don't show up. We don't have a cleanup for the containers once they are in Rancher.

This is an issue with 1.8.  In 1.7 and earlier these containers were ignored but 1.8 introduced a breaking change.  We have a patch for it in this weeks build.

Verified the fix. Random containers are hidden now.
Rancher 	v0.35.0-rc4
Cattle 	v0.86.0
User Interface 	v0.45.0
Rancher Compose 	beta/latest


Update virtual-machines-windows-sql-server-iaas-faq.md

@AbdullahMSFT : Thanks for your contribution! The author, @v-shysun, has been notified to review your proposed change.

Updated edition /version changes. Modified IaaS extension on named instance


Composer Update Not Seeing Memcache PHP Extension

I am going through the installation set up, and when I get to the $ composer update .. I get this error:
$ composer update leaseweb/memcache-bundle

Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - leaseweb/memcache-bundle v1.2.4 requires ext-memcached >=1.0 -> the requested PHP extension memcached is missing from your system.
    - leaseweb/memcache-bundle v1.2.3 requires ext-memcached >=1.0 -> the requested PHP extension memcached is missing from your system.
    - leaseweb/memcache-bundle v1.2.2 requires ext-memcached >=1.0 -> the requested PHP extension memcached is missing from your system.
    - leaseweb/memcache-bundle v1.2.1 requires ext-memcached >=1.0 -> the requested PHP extension memcached is missing from your system.
    - leaseweb/memcache-bundle v1.2.0 requires ext-memcached >=1.0 -> the requested PHP extension memcached is missing from your system.
    - leaseweb/memcache-bundle v1.1.3 requires ext-memcached >=1.0 -> the requested PHP extension memcached is missing from your system.
    - leaseweb/memcache-bundle v1.1.2 requires ext-memcached >=1.0 -> the requested PHP extension memcached is missing from your system.
    - leaseweb/memcache-bundle v1.1.1 requires ext-memcached >=1.0 -> the requested PHP extension memcached is missing from your system.
    - leaseweb/memcache-bundle v1.1.0 requires ext-memcached >=1.0 -> the requested PHP extension memcached is missing from your system.
    - leaseweb/memcache-bundle v1.0.0 requires ext-memcached >=1.0 -> the requested PHP extension memcached is missing from your system.
    - Installation request for leaseweb/memcache-bundle * -> satisfiable by leaseweb/memcache-bundle[v1.0.0, v1.1.0, v1.1.1, v1.1.2, v1.1.3, v1.2.0, v1.2.1, v1.2.2, v1.2.3, v1.2.4].

However I have confirmed through multiple ways that Memcache is set up (both server and client), see this as proof:
$ php -i | grep memcache
memcache
memcache support => enabled
memcache.allow_failover => 1 => 1
memcache.chunk_size => 8192 => 8192
memcache.default_port => 11211 => 11211
memcache.default_timeout_ms => 1000 => 1000
memcache.hash_function => crc32 => crc32
memcache.hash_strategy => standard => standard
memcache.max_failover_attempts => 20 => 20

I've tried several different mechanisms, articles, blogs, but nothing seems to work?  Any help would be greatly appreciated.
Thanks,
Josh

Same issue using MAMP:
To enable extensions, verify that they are enabled in those .ini files:
- /Applications/MAMP/bin/php/php5.6.10/conf/php.ini
$ brew install memcached
Warning: memcached-1.4.24 already installed


pypi package?

Hi, would you consider distributing as a pypi package so that we can install via pip install pyorbbecsdk with precompiled binaries?

+1

+1

https://pypi.org/project/pyorbbecsdk/1.3.2/


Fixing linting issues for generated containers

Fixing linting issues for generated containers
Problem
Generated Containers with reducers, sagas and/or tests, produce linting issues:

Reducers' and Sagas' keys need to be manually imported to types\index.d.ts.
Generated tests/.index uses the extension .ts instead of .tsx
Jsx-wrap-multiline rule produce false positives in tests/.index.tsx

Changes

Add special comments in app/types/index.d.ts for the plop #modify action to find.
Add two actions in internals/generators/container/index.js to automate adding new reducers key to RootState.
Remove previous warning comments from the existing files and templates.
Change the  internals/generators/container/index.js to create tests/index.test.tsx instead of tests/index.test.ts.
Change internals/generators/container/test.tsx.hbs to use 'utils/history' instead of browserHistory.
Disable Jsx-wrap-multiline in tslint.json and remove redundant comments everywhere else.

Result and limitations
Currently, generating either Components or Container using any set of options will pass tslint.
I can't say the same about Languages, and I still couldn't fix all issues with generate-templates-for-linting.js yet.
If you would like to help with that please let me know, I am willing to put the work but I am very inexperienced with the current setup and some guidance might speed things up.
Thanks for your patience.

I just pushed some changes to dev that fixes some stuff.  I am not able to get travis-ci running because I moved this repository recently and name changes kinda messed things up.
Can you pull from dev again and see if any conflicts. And run npm run test and node ./internals/scripts/generate-templates-for-linting to see everything works fine.
Then I can merge. Now it says lot of commits since your version of dev is far behind the master. (I merged master into dev after this PR)

I will do that tonight! thanks!

@Can-Sahin It passed, the generate script doesn't clean the types/index.d.ts, so I just configured Travis to stash the changes before testing, as this code is not used by users, this should be enough I guess.
TODO
Add a remove script that will clean containers and their side effects in types.
let me know if that is acceptable before I implement it.

That cannot be a TODO. There are cleanup functions just for that ;) You can add another backup like language generator do and use restoreModifiedFile to restore the original index.d.ts file back. Just have a look at how language generator does that in that script.

I meant that if a user created a container, then decided to remove it, the keys in types/index.d.ts will still need to be removed, and more importantly, the import of ContainerState will fail.
User can remove them manually but that will risk missing with the special comment:
// [IMPORT NEW CONTAINERSTATE ABOVE] < Needed for generating containers seamlessly
So I was thinking of a special script to avoid manually touching types/index.d.ts.. but I am not sure it is worth it especially that it will deviate from the experience of the original boilerplate.

git command in travis.yml is not a good idea. It probably won't work. You aren't in your local environment there. Its in a build server and it is surely bad to run git commands on a build server.
Users can fix their own removed containers for sure. Test code should delete its own as well.

It does work at least on my Travis builds:
https://travis-ci.org/Nazeh/react-boilerplate-typescript/builds/652647946?utm_source=github_status&utm_medium=notification
If it is still unacceptable, I will try to work on it tomorrow.

I would fix it definitely. Better not to leave loose ends. I can do it as well later. Using already implemented functions would be enough like I said above. Same logic is already handled in language generator tests.

I am not sure if the existing function is useful, but I am almost done. I will push my commit in minutes.

Done


Documentation on node.js functions

From @cesarvarela on January 14, 2017 3:12
Can't find where is the convention for how node.js based functions should be defined. Does the main entry point must be called index.js? does it have to be specified in the package.json's main entry? Is it possible to rename it or place it in another folder?
Copied from original issue: projectkudu/AzureFunctionsPortal#868

From @cesarvarela on January 14, 2017 3:13
Especificilly I'm interested in bots as a service functions.

@mamaso Can you answer this one?

@cesarvarela You can define the main entry point via a scriptFile property in function.json:
{ scriptFile: 'src/test.js', bindings: ... }
I like the idea to use the main entry point from package.json, that's less functions-specific magic.

Thanks! Is that documented somewhere? I guess the scripts entries are ignored too right (postInstall, preinstall, etc..)?
Regarding the functions-specific-magic, yes please! I think any node developer would expect that node.js functions somehow adhere to the package.json conventions.

At the moment, we don't run npm install on deployments of / changes to function code.  If you run npm install from dev console (function app settings -> dev console -> cd 'functionname' -> npm install) you should see that your preinstall / postinstall scripts execute

I would expect npm install to be ran too. Specifically because we use TypeScript and use post install to transpile.
Any suggestion on how can we manage that? (other than just pushing the transpiled js)

Yep I agree, supporting npm install automatically for functions is on the backlog.
You could add a custom deployment script to the root of your function app which runs npm install for each of your functions

Looks like the scriptFile setting is being ignored, you can try it by just moving the index.js file of the basic bot template to a folder and updating the function.json accordingly.
messages: Unable to determine the primary function script. Try renaming your entry point script to 'run' (or 'index' in the case of Node), or alternatively you can specify the name of the entry point script explicitly by adding a 'scriptFile' property to your function metadata.

How timely :)
PR #1132 is just out (wrapping up a couple of remaining items) dealing with that exact issue. The problem is with script files outside of the function folder. Different file names work as expected.

If there are still doc issues, we should open in azure/azure-functions.

Closing this out, the only actionable piece here is adding package.json main to serve as a scriptFile default, but I think that would be better addressed in #73 if we implement it


The "StrongNamer.AddStrongName" task failed unexpectedly.

Hi,
I'm new to Visual Studio and got the following compilation error when building the solution from the source.
Could you please advise on what need to be done here?
Thanks a lot,
Aries
Severity	Code	Description	Project	File	Line	Suppression State
Error		The "StrongNamer.AddStrongName" task failed unexpectedly.
Mono.Cecil.AssemblyResolutionException: Failed to resolve assembly: 'DokanNet, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=cef3dedf553bda55'
at Mono.Cecil.BaseAssemblyResolver.Resolve(AssemblyNameReference name, ReaderParameters parameters)
at Mono.Cecil.BaseAssemblyResolver.Resolve(AssemblyNameReference name)
at Mono.Cecil.DefaultAssemblyResolver.Resolve(AssemblyNameReference name)
at Mono.Cecil.MetadataResolver.Resolve(TypeReference type)
at Mono.Cecil.ModuleDefinition.Resolve(TypeReference type)
at Mono.Cecil.TypeReference.Resolve()
at Mono.Cecil.Mixin.CheckedResolve(TypeReference self)
at Mono.Cecil.MetadataBuilder.GetConstantType(TypeReference constant_type, Object constant)
at Mono.Cecil.MetadataBuilder.AddConstant(IConstantProvider owner, TypeReference type)
at Mono.Cecil.MetadataBuilder.AddField(FieldDefinition field)
at Mono.Cecil.MetadataBuilder.AddFields(TypeDefinition type)
at Mono.Cecil.MetadataBuilder.AddType(TypeDefinition type)
at Mono.Cecil.MetadataBuilder.AddTypeDefs()
at Mono.Cecil.MetadataBuilder.BuildTypes()
at Mono.Cecil.MetadataBuilder.BuildModule()
at Mono.Cecil.MetadataBuilder.BuildMetadata()
at Mono.Cecil.ModuleWriter.<>c.b__1_0(MetadataBuilder builder, MetadataReader _)
at Mono.Cecil.ModuleDefinition.Read[TItem,TRet](TItem item, Func3 read)    at Mono.Cecil.ModuleWriter.BuildMetadata(ModuleDefinition module, MetadataBuilder metadata)    at Mono.Cecil.ModuleWriter.WriteModuleTo(ModuleDefinition module, Disposable1 stream, WriterParameters parameters)
at Mono.Cecil.ModuleDefinition.Write(String fileName, WriterParameters parameters)
at Mono.Cecil.AssemblyDefinition.Write(String fileName, WriterParameters parameters)
at StrongNamer.AddStrongName.ProcessAssembly(ITaskItem assemblyItem, StrongNameKeyPair key)
at StrongNamer.AddStrongName.Execute()
at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
at Microsoft.Build.BackEnd.TaskBuilder.d__26.MoveNext()	Cloud.DokanNet.Gui

You need to replace strong naming in projects properties with your own.

Hi,
Thanks a lot. After some digging with the strong naming concepts and properties, It is working now.
Aries

By the way, are you using it for ACD? If yes, how did you whitelist you app keys?

I'm currently using it for OneDrive, not Amazon Cloud Drive.


C# Signal attribute

This is about #15004.
Introduces a [Signal] attribute available for delegates. Use it like signal in GDScript.

That's fantastic, thanks!

Added missing new line in bd38347.

Could you squash the commits together?

@akien-mga done 😄

I Cant open projects after this commit
Errors in console as follow
Console errors:
ERROR: update_godot_api_cache: Mono Cache: Member GDMonoUtils::mono_cache.class_SignalAttribute is null
At: modules/mono/mono_gd/gd_mono_utils.cpp:205.
Mono: INITIALIZED
ERROR: has_attribute: Parameter ' p_attr_class ' is null.
At: modules/mono/mono_gd/gd_mono_class.cpp:95.
ERROR: has_attribute: Parameter ' p_attr_class ' is null.
At: modules/mono/mono_gd/gd_mono_method.cpp:158.

@maikramer You will have to remove the .mono folder in your project and the mono/solutions folder in user:// (%appdata/Godot% or ~/.local/share/godot).
This will be fixed in the future. I will have to add some versioning other than the Godot API hash to these assemblies, and make Godot unload outdated assemblies gracefully instead of exiting.

Needed to delete .mono from project to stop crashing, just leaving here because i took some time to find this solution.

Hmm, weird that you didn't need to delete the other folder as well. You may experience it again next time you build.

Yes, having lots of problems now, deleted mono/solutions and the game started, but i lost all my [Export] variables. At least i'm with time here.

That's probably #15371


msi: guard duplicated instance (not adding a new option)

Abstraction

Partially (msi) solves #611
Inspired by #622

This is another version that does not add a new option and considers some options to skip checking duplicate launches.

Both #622 and this can be a solution to #611

Let's consider how to solve it based on the information so far.

Spec change
Before:
We can launch Fluentd by fluentd.bat even though fluentdwinsvc is running.
Launching multiple Fluentd with the same config may cause inconsistency of the buffers or the pos files.
After:
We can't launch Fluentd by fluent.bat with the default config path if fluentdwinsvc is running.
If one of the following options is specified, we can execute fluentd.bat as before.

--config (-c)
--dry-run
--reg-winsvc
--reg-winsvc-fluentdopt

Output
When the fluentdwinsvc is running, the behavior of fluentd.bat is as follows:
> fluentd
Error: Can't start duplicate Fluentd instance with the default config.

To start Fluentd, please do one of the following:
  (Caution: Please be careful not to start multiple instances with the same config.)
  - Stop the Fluentd Windows service 'fluentdwinsvc'.
  - Specify the config path explicitly by '-c' ('--config').

> fluentd -v
Error: Can't start duplicate Fluentd instance with the default config.

To take the version, please use '--version', not '-v' ('--verbose').

To start Fluentd, please do one of the following:
  (Caution: Please be careful not to start multiple instances with the same config.)
  - Stop the Fluentd Windows service 'fluentdwinsvc'.
  - Specify the config path explicitly by '-c' ('--config')

The msi installer is broken. I'm checking the cause.

Why is fluentdwinsvc service running during the installation??
The installer may not be behaving correctly in the first place.
However, #622 does not have this problem. I wander what the difference is.
msi.log
...
Action start 15:02:23: WriteEnvironmentStrings.
WriteEnvironmentStrings: Name: Updating environment strings, Value: , Action
Action ended 15:02:23: WriteEnvironmentStrings. Return value 1.
Action 15:02:23: StartServices. Starting services
Action start 15:02:23: StartServices.
Action ended 15:02:23: StartServices. Return value 1.
Action 15:02:23: RegisterUser. Registering user
Action start 15:02:23: RegisterUser.
Action ended 15:02:23: RegisterUser. Return value 1.
Action 15:02:23: RegisterProduct. Registering product
Action start 15:02:23: RegisterProduct.
RegisterProduct: Registering product
Action ended 15:02:23: RegisterProduct. Return value 1.
Action 15:02:23: PublishFeatures. Publishing Product Features
Action start 15:02:23: PublishFeatures.
PublishFeatures: Feature: Publishing Product Features
Action ended 15:02:23: PublishFeatures. Return value 1.
Action 15:02:23: PublishProduct. Publishing product information
Action start 15:02:23: PublishProduct.
PublishProduct:
Action ended 15:02:23: PublishProduct. Return value 1.
Action 15:02:23: SetCreateCompatTdAgentBat.
Action start 15:02:23: SetCreateCompatTdAgentBat.
Action ended 15:02:23: SetCreateCompatTdAgentBat. Return value 1.
Action 15:02:23: CreateCompatTdAgentBat.
Action start 15:02:23: CreateCompatTdAgentBat.
CreateCompatTdAgentBat:
Action ended 15:02:23: CreateCompatTdAgentBat. Return value 1.
Action 15:02:23: SetCreateCompatTdAgentGemBat.
Action start 15:02:23: SetCreateCompatTdAgentGemBat.
Action ended 15:02:23: SetCreateCompatTdAgentGemBat. Return value 1.
Action 15:02:23: CreateCompatTdAgentGemBat.
Action start 15:02:23: CreateCompatTdAgentGemBat.
CreateCompatTdAgentGemBat:
Action ended 15:02:23: CreateCompatTdAgentGemBat. Return value 1.
Action 15:02:23: InstallFinalize.
Action start 15:02:23: InstallFinalize.
Action 15:02:23: ProcessComponents. Updating component registration
Action 15:02:27: CreateFolders. Creating folders
CreateFolders: Folder: C:\opt\fluent\
Action 15:02:27: InstallFiles. Copying new files
Action 15:02:44: InstallFluentdWinSvc.
WixQuietExec64:  Error: Can't start duplicate Fluentd instance with the default config.
WixQuietExec64:
WixQuietExec64:  To start Fluentd, please do one of the following:
WixQuietExec64:    (Caution: Please be careful not to start multiple instances with the same config.)
WixQuietExec64:    - Stop the Fluentd Windows service 'fluentdwinsvc'.
WixQuietExec64:    - Specify the config path explicitly by '-c' ('--config').
WixQuietExec64:  Error 0x80070002: Command line returned an error.
WixQuietExec64:  Error 0x80070002: QuietExec64 Failed
WixQuietExec64:  Error 0x80070002: Failed in ExecCommon method
CustomAction InstallFluentdWinSvc returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
Action ended 15:02:44: InstallFinalize. Return value 3.
Action 15:02:44: Rollback. Rolling back action:
Rollback: InstallFluentdWinSvc
...

The msi installer is broken. I'm checking the cause.

This problem is resolved.
However, some test problems remains. I'm fixing them.

This approach may be better than #622.

Rebased to #647 as #647 got some changes.

This approach may be better than #622.

Thanks for considering.
If we need a force execution option or a strict check whether the config path is the same in the future, let's revive #647!

As #647 was merged into master, let's rebase with it.

As #647 was merged into master, let's rebase with it.

Done!

Let's merge when all ci has passed.

Thanks for your review!

Can we put this in v5.0.4?

Can we put this in v5.0.4?

This should be released in v5.0.4 IMHO.

Refactored the variable name NEED_DUPLICATE_LAUNCH_CHECK -> PREVENT_DUPLICATE_LAUNCH


Adding wikiLink to plant entry and compound entry.

Dear Sir
Is there any convenient and easy way to add wiki link to plant entry and compound entry? I am going through each entry one by one and it is too much time consuming.
Wikipedia link specific to plant species is not available for all entries. In case if available there is no relevant content into it. For those entries, wiki link of plant genus is available and seems informative.
For the search result of Piper cernum -
wikipedia page is https://sv.wikipedia.org/wiki/Piper_cernuum - it is not relevant.
In that case I am putting wiki link of plant genus - https://en.wikipedia.org/wiki/Piper_(plant).
This link contains details of all plant species of Piper genus.
I have to inspect each entry one by one and select for the relevant link.
Needs suggestions.

On Mon, Jun 3, 2019 at 10:07 AM Ambarish Kumar<EMAIL_ADDRESS>wrote:

Dear Sir
Is there any convenient and easy way to add wiki link to plant entry and
compound entry? I am going through each entry one by one and it is too much
time consuming.

I have software which does a generic query on both Wikipedia and Wikidata.

Wikipedia link specific to plant species is not available for all entries.
In case if available there is no relevant content into it. For those
entries, wiki link of plant genus is available and seems informative.
For the search result of Piper cernum -
wikipedia page is https://sv.wikipedia.org/wiki/Piper_cernuum - it is not
relevant.

It IS relevant, but it's in Swedish. Readers can translate with Google
Translate.

In that case I am putting wiki link of plant genus -
https://en.wikipedia.org/wiki/Piper_(plant).
This link contains details of all plant species of Piper genus.

That's possible
I need to  talk with Gita this week .

I have to inspect each entry one by one and select for the relevant link.
Needs suggestions.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/gilienv/EssOilDB/issues/36?email_source=notifications&email_token=AAFTCSY5JERJRP2FXA3V74TPYTNNXA5CNFSM4HSGBLL2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4GXHMFXQ,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAFTCS7F3SBAVLZZGUU7HUTPYTNNXANCNFSM4HSGBLLQ
.

--
Peter Murray-Rust
Reader Emeritus in Molecular Informatics
Unilever Centre, Dept. Of Chemistry
University of Cambridge
CB2 1EW, UK
+44-1223-763069

Sir
Which AMI tool would be useful to get wikiLink of the plant species entries?
I think ami-dictionary using search terms can yield wikiLink as well as wikidata entries.

Please do not use imprecise terms like "WikiLink" - it is meaningless.
Describe in clear terms exactly what you wish to do.
Tools relating to dictionaries are in AmiDictionary.
On Mon, Jun 10, 2019 at 3:51 PM Ambarish Kumar<EMAIL_ADDRESS>wrote:

Sir
Which AMI tool would be useful to get wikiLink of the plant species
entries?
I think ami-dictionary using search terms can yield wikiLink as well as
wikidata entries.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/gilienv/EssOilDB/issues/36?email_source=notifications&email_token=AAFTCS2EWAMPWYE2N7HZ22LPZZTAXA5CNFSM4HSGBLL2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXKDFPA#issuecomment-500445884,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAFTCS7KXIZ3N3QZV6ENA2DPZZTAXANCNFSM4HSGBLLQ
.

--
Peter Murray-Rust
Founder ContentMine.org
and
Reader Emeritus in Molecular Informatics
Dept. Of Chemistry, University of Cambridge, CB2 1EW, UK

Sir
AmiDictionary is useful in getting wikipedia links and wikidata links.
Dictionary files created based on search terms contain wikipedia and wikidata links.
CompoundFactTable has column for wikipedia link of chemical compounds.
Creating dictionary file for all chemical compound entries as search term will be a helpful way in getting wikipedia links for them.
Please suggest.
I

Please use the existing code to create dictionaries.
If you have problems after you have done this then describe the problems in
careful detail.
I will only answer specific questions.
On Thu, Jun 13, 2019 at 10:23 AM Ambarish Kumar<EMAIL_ADDRESS>wrote:

Sir
AmiDictionary is useful in getting wikipedia links and wikidata links.
Dictionary files created based on search terms contain wikipedia and
wikidata links.
CompoundFactTable has column for wikipedia link of chemical compounds.
Creating dictionary file for all chemical compound entries as search term
will be a helpful way in getting wikipedia links for them.
Please suggest.
I
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/gilienv/EssOilDB/issues/36?email_source=notifications&email_token=AAFTCS4KSYTETRNCMDBCK33P2IG2LA5CNFSM4HSGBLL2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXTCZGA#issuecomment-501623960,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAFTCSZWE6CMKAOUK3DDCV3P2IG2LANCNFSM4HSGBLLQ
.

--
Peter Murray-Rust
Founder ContentMine.org
and
Reader Emeritus in Molecular Informatics
Dept. Of Chemistry, University of Cambridge, CB2 1EW, UK

Existing code for dictionary creation are working fine. It generated available wikipedia or wikidata link for plant species (used as search term).
Now going to get the same for chemical compounds (7000 entries).


Remove application base url concept. Fixes #2054.

This PR removes the concept of an app-wide "base path". I did leave the Router's base path stuff intact so that one could manually set a base path on the Router object... seemed like the logical thing to do,  but I do encourage feedback and careful review on this PR before merge.
Thanks!
/cc @akrabat @silentworks

Coverage decreased (-0.04%) to 97.195% when pulling adfbd6923c1a7640399d810393bab0c81a69d1b0 on codeguy:feature-remove-baseurl into e8b734321526dd306ca5e877a67ca5928413eec8 on slimphp:4.x.

@akrabat I also left the Uri::getBaseUrl() method since that was a separate, unrelated helper method. I assume you'll deal with that when you tackle the PSR-7 class extraction stuff.


2251-67

Docs are missing clarity. I builded everything and almost ready to flash my payload, but I don't get one thing: what is a "custom firmware" wiki talks about?
I have an original FW (downloaded elsewhere, same version, as my drive has now) and a burner for my 2251-67 (2267). I've generated a hello world payload. Next step? ...
I guess I need to rename my FW file, put it somewhere and run the buit.bat - seems it compiles stuff, checks my FW, patches it and then I can inject my payload?

Hopefully there will be support for 2207 in the future :/ I can't for the love of god work out how I'd need to change the firmware...

I've been scavenging all the web and local stores for 2251-03 and nothing found so far.
Is there any other IC compatible ?


feat: added toggle button for light & dark theme

Using shared service and angular material I have added a custom theme but as the font colors are always high contrast due to a bug in Angular it is not looking too good. (https://github.com/angular/components/issues/26153)😥
If I had more time I could have looked more into a proper solution. 😉
And having zero angular knowledge yesterday and being able to contribute and learn in one day is not a bad experience.😁

Thanks for your contribution! Instanciating a full material theme this way would means almost doubling the CSS bundle size though.
IMO this should something built in a separate stylesheet, and lazy loaded by switch the CSS stylesheet entirely to avoid doubling the bundle size here.
@anfibiacreativa WDTY?

Hi @master-coder-ayush any updates for this PR?

Sorry about the late response. I cannot work on this PR anymore. Not in this month. Again sorry about the late response.

Closed due to inactivity.


[zero-copy] Repeated::at_most, separated_by, padded_by

I made PaddedBy an explicit type instead of building off of ThenIgnore and IgnoreThen like the normal version to avoid unnecessarily cloning the padding parser.

Thanks, this is great!


Property obligation in generated documentation

For each property, there should be explicitly stated whether it is mandatory or not. A property is mandatory when its minimal cardinality is > 0. For example, see https://ofn.gov.cz/rozhraní-katalogů-otevřených-dat/2021-01-11/#položky-datová-sada-název

Implemented


As an end-user, I want a way to quickly install ddev via a script

What happened (or feature request):
Feature request.
What you expected to happen:
At the present moment, end-users need to download all necessary dependencies for ddev (i.e. Docker and Go), clone the ddev repository, compile the binary, and set the environment path. While this should not be difficult for a user that is familiar with the command line, it would be preferable to have a script or mechanism to get someone up and operational faster.
Anything else do we need to know:
The faster we can get someone up and operational, the better. As theorized here (https://betta.io/blog/2017/02/23/understanding-developers/), "Explorers" typically have "low motivation" and "low persistence" when evaluating new alternatives. Therefore, first impressions do matter in capturing the largest possible percentage of this
Done Criteria

Bash script that works on both macOS (latest) and Ubuntu Linux (16.04, 14.04)
Requirements check

Should fail the installation if a supported version of docker is not installed, and provide a link to the docker installation page if it isn't.
Should report if other common tools such as a mysql client are not installed. This should not fail the installation.

Download the correct binary based on the architecture (darwin/linux) and put in in the users $PATH (suggest /usr/bin since /usr/local/bin is not in OSX path by default)
Write a quickstart guide which walks a user through installation and starting their first site.
The install script should be in the ddev git repo, and have a shortlink which points to the latest tags installation instructions

I have an initial install script for consideration. Did as gist for now, if we're good with approach I can start tracking a PR: https://gist.github.com/tannerjfco/f4a3c06c249753f8940f3da84108c2da

Resolved with #182

Just an FYI, experimental homebrew installation is now available.

Install with brew tap drud/ddev && brew install ddev
Updates are automatic when homebrew-ddev changes and user does an upgrade: brew upgrade ddev
Maintenance is in homebrew-ddev and that has to be updated for a new release.


use lambda instead of a hash map to find spent outputs

Avoid allocation of a HashMap that is just one possible implementation of finding TxOut for an OutPoint. Do not require retrieval of the entire transaction, just the output that is spent.

concept ACK

BTW you can borrow rather than cloning.

 See comment https://github.com/rust-bitcoin/rust-bitcoin/pull/319#discussion_r316344696


Add ThirdCurrency support

Please add variable to see in the scoreboard:
https://www.spigotmc.org/resources/thirdcurrency-bsp-adds-support-for-more-currencies.26273/

It should already be covered by Vault.

hmm what is the variable to put in my config ? to show thirdcurrency? sorry for my ignorance

%money%

i'm wrong with the request, sorry.!
I take it to congratulate you for the good plugin


updating auth

parsing the info & adding images/explanations

@buchananwp Great job. Many thanks for the details and additions. This is great! 👍
Could you please comment on the issues above?

@marvinbuss please review


Init method is not called at controller action helpers being loading via PluginClassLoader

/** @var $front \Zend\Controller\Front */
$front = $this->getResource('FrontController');
/** @var $helperBroker \Zend\Controller\Action\HelperBroker*/
$helperBroker = $front->getHelperBroker();
/** @var $classLoader \Zend\Loader\PluginClassLoader */
$classLoader = $helperBroker->getClassLoader();

In controller action
$test = $this->broker('test');
$test->test();

If
$helperBroker->register('test', new \Site\Test);

\Site\Test::init method is called, but if
$classLoader->registerPlugin('test', '\Site\Test');

not called

We needed the functionality in ZF1 due to a heavy constructor in the abstract helper. I don't think we need this anymore; this functionality should be moved to helper constructors instead. If you feel differently, please discuss this on the list and/or in IRC, and re-open the request if we can come to consensus that it's needed.

Okey, but setActionController is not called too

Okey, but setActionController not called too

Sorry, I was misinterpreting the context.
I'm re-opening, and I'll apply against current master. However, please be aware that this functionality has moved into a new module, ZendFramework1Mvc, and may not work quite as expected.

Patch applied against the ZendFramework1Mvc module, and is on current master -- thanks!


DAWN-620 ⁃ "on block" action for system contract

At the close of every block the system contract should receive an action which contains header information of the block.  The purpose of this action is to trigger any per-block processing in the system contract.
This action should be implicit and not directly mentioned in the block structure (however, it can and should appear in the block trac)
This action should contribute to the action merkle for the block.

What branch has this code?

It's in system-contract-voting-2.


Discussion: Should false be ... true?

@moorereason is this how "the others" are treating boolean in their defaults?
The test is deliberately failing.

You bring up a good point about handling booleans in default.  I almost decided to just return the given value if it was a bool because it just doesn't make a lot of sense to use default with a bool.  For example,
{{ .Params.mybool | default true }} returns true every time.  Seems pointless.

I can't think of a good use case of using booleans with default.
Regarding other implementations:

Django: Same as Hugo; returns the default value if given is false.  However, Django also has a default_if_none filter that returns the default only if the given value is None (undefined in Python).
Jinja2 is the opposite of Django.  It tests for undefined values by default but can test for boolean if you tell it to.

I'm not familiar with the "default" implementation. I think in this case that the default should only happen if the prior value is Nil, not set, or otherwise generates an Error (as in type mismatch) as both "true" and "false" are valid values.

I would propose that we accept all bool types as valid values and never use the default value.

I've submitted PR #1983 that should fix this issue.  Please review.

Fixed in #1983

FWIW, default implementation is same as Hugo (i.e., defer to default only when first value is undefined, false, or length === 0/nil)  in Swig(JS), which makes me think we can assume it is the same in Twig (php, Drupal, Craft CMS).
Sent from my iPhone

On Mar 16, 2016, at 2:07 PM, Bjørn Erik Pedersen<EMAIL_ADDRESS>wrote:
Closed #1953.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub


Update locales-minimal-en_us-db to 1.3.0

Updates io.github.cquiroz:locales-minimal-en_us-db from 1.2.1 to 1.3.0.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Files still referring to the old version number
The following files still refer to the old version number (1.2.1).
You might want to review and update them manually.
ember-server/js/yarn.lock
project/plugins.sbt
website/src/hugo/content/changelog.md

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "io.github.cquiroz", artifactId = "locales-minimal-en_us-db" } ]

labels: library-update, early-semver-minor, semver-spec-minor, old-version-remains, commit-count:1

https://github.com/http4s/http4s/pull/5854


[CARBONDATA-3791] Index server doc changes

Why is this PR needed?
Changing index server docs as per the code.
What changes were proposed in this PR?
Changing index server docs as per the code.
Does this PR introduce any user interface change?

No

Is any new testcase added?

No

Build Success with Spark 2.3.4, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.3/2923/

Build Success with Spark 2.4.5, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbon_PR_Builder_2.4.5/1206/

Build Success with Spark 2.4.5, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbon_PR_Builder_2.4.5/1242/

Build Success with Spark 2.3.4, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.3/2960/

Please rebase

rebase completed

Build Success with Spark 2.3.4, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.3/2968/

Build Success with Spark 2.4.5, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbon_PR_Builder_2.4.5/1250/

LGTM


collab2challenge doc fix

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot


add kusto track2 config

the python sdk looks generated successfully.
@changlong-liu can you help double confirm it the update works well?
@ArcturusZhang only readme python track 2 section is updated, but sdk go breaking change detected, can you help take a look we i can ignore this?

the python sdk looks generated successfully.
@changlong-liu can you help double confirm it the update works well?
@ArcturusZhang only readme python track 2 section is updated, but sdk go breaking change detected, can you help take a look we i can ignore this?

There is no swagger change, please ignore

LGTM

@00Kai0
BTW for the java sdk failure, it looks like there is a wrong tag here https://github.com/00Kai0/azure-rest-api-specs/blob/kaihuis-track2-kusto/specification/azure-kusto/resource-manager/readme.java.md#java-multi-api

@weidongxu-microsoft help take look at the java readme tag issue? If required, it's much better to fix the issue

/azp run

@msyyc @jsntcy Pls help review this to help unblock the merging. thanks!


added peerDependencies

I think correct for added peerDependencies

This is now in #17. I've added you to the contributors list also. Thanks!


dns-vip-prepender: Prevent race with crio

Cri-O and other service start after network-online.target.
dns-vip-prepender was being triggered by the NetworkManger dispatcher in
the "up" state, which happens right at network-online.target.
This means that if some service that ran after network-online target
needs CoreDNS mDNS resolution it may not get it depends on what happened
earlier. In order to address that, we move the dispatcher script to
"pre-up" which is strictly before NM desclares network-online.target as
achieved.

Build FAILURE, see build http://<IP_ADDRESS>:8080/job/dev-tools/382/

lgtm. This should also ensure that NM won't race with crio when it takes down the interface to apply changes.


Use with CSP headers without 'unsafe-eval'

Is your feature request related to a problem? Please describe.
Not to be able to use CSP headers without 'unsafe-eval'  gives  a poor rating and is considered unsafe
Describe the solution you'd like
Make available a minimal runtime eta.min.js like eta-runtime.min.js which only contain what is necessary to run compiled templates
Describe alternatives you've considered
Can not see any alternatives..  I have recompiled the sources eliminating most unnecessary modules / code (need Eta.configure object ) and run with compiled templates on my sites and works great.  Using on eCommerce sites and   'unsafe-eval' not an option.
This is for me a working solution and possibly for others as well, an option to compile a runtime script would be great..
I am very happy that I found this template engine in any case..
Additional context
Add any other context or screenshots about the feature request here.
Thanks :)

@lookingdown Could you clarify your feature request? I'm just a bit confused here, but that's probably just me. Templates are compiled into functions, and so they don't need Eta at all to run them, so I'm confused what you are asking for here. Do you want to have a scaled down version of Eta to compile the templates?

Thanks for reply..
I guess I am doing something wrong..
This is the function I get
function cat(it,E) {
var tR=''
it.data.forEach(function(cat) {
tR+=''
tR+=E.e(cat.name)
tR+=' ('
tR+=E.e(cat.count)
tR+=')'
})
return tR
}

I get function from here Eta.compile(template, Eta.config).toString()
Without  minimal ETA script and Eta.configure()
and Calling like this cat(products, Eta.config)
The outputted function need Eta object to run ..?
So maybe I have a question instead.. How to I output the code for the function without need to include Eta object in call.. If I got i wrong..
Thanks..

Run in firefox addon
ERROR Error: Uncaught (in promise): EvalError: call to Function() blocked by CSP
Line is var promiseImpl = new Function('return this')().Promise;
https://github.com/eta-dev/eta/blob/master/src/polyfills.ts#L7

@lookingdown Apologize for replying so late, but I believe that this problem may be occurring from your usage of escaping. Try setting the config to not automatically escape inputted variables and escape it yourself, and so then the E object won't be required to escape that.


python311Packages.eth-hash: fix build

Description of changes

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[x] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[x] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 213680 run on x86_64-linux 1

2 packages marked as broken and skipped:

paperless
paperless-ng

15 packages failed to build:

python310Packages.cairo-lang
python310Packages.eth-account
python310Packages.eth-keyfile
python310Packages.eth-keys
python310Packages.web3
python311Packages.buildbot
python311Packages.buildbot-full
python311Packages.buildbot-ui
python311Packages.cairo-lang
python311Packages.eth-account
python311Packages.eth-keyfile
python311Packages.eth-keys
python311Packages.magic-wormhole
python311Packages.magic-wormhole-mailbox-server
python311Packages.web3

39 packages built:

baserow
buildbot (python310Packages.buildbot)
buildbot-full (python310Packages.buildbot-full)
buildbot-ui (python310Packages.buildbot-ui)
buildbot-worker (python310Packages.buildbot-worker)
gnome-keysign
magic-wormhole (python310Packages.magic-wormhole)
paperless-ngx
python310Packages.autobahn
python310Packages.channels
python310Packages.channels-redis
python310Packages.daphne
python310Packages.eth-abi
python310Packages.eth-hash
python310Packages.eth-rlp
python310Packages.eth-utils
python310Packages.hexbytes
python310Packages.labgrid
python310Packages.magic-wormhole-mailbox-server
python310Packages.magic-wormhole-transit-relay
python310Packages.py-ecc
python310Packages.py-eth-sig-utils
python310Packages.rlp
python311Packages.autobahn
python311Packages.buildbot-worker
python311Packages.channels
python311Packages.channels-redis
python311Packages.daphne
python311Packages.eth-abi
python311Packages.eth-hash
python311Packages.eth-rlp
python311Packages.eth-utils
python311Packages.hexbytes
python311Packages.labgrid
python311Packages.magic-wormhole-transit-relay
python311Packages.py-ecc
python311Packages.py-eth-sig-utils
python311Packages.rlp
tahoe-lafs

Didn't check all build faiulres. One that is particularly obvious:

Thanks, I'll take a look at them after this PR.


Ollama Support

Hello everyone,
First of all, great work. The project grew very fast and it's a must-have in my tools!
Any plans to integrate with Ollama (that offers an API endpoint already)?
Ollama: https://ollama.ai/
Ollama API: https://github.com/jmorganca/ollama/blob/main/docs/api.md

@peperunas thanks, would be happy to do it. I don't own a Mac at the moment, and my Linux machine needs some reimagining.
Any way I can get access to a remote ollama instance for development?
Which functionality is needed? (As I can't see how it works). Usually every model provider has: 1. List models, 2. Chat generate (non streaming), 3. Chat generate (streaming)

is streaming supported?
do we need to support the other APIs (pull, push, create, show, etc..)

Hello @enricoros, this project 1 implements a rudimentary WebUI for Ollama, maybe it can be helpful?
I can say that, after trying that project that:

Listing models is supported
Streaming is supported
I don't know if chat generate (non streaming) is supported

Also, small addendum, I'd more than happy to financially sponsor for the implementation of the feature!

Update on this - there has been progress, but the ollama API is less than ideal to work with. At the moment we can pull new models, list models, but not create streaming completions yet. This is because ollama has a different streaming convention than the usual SSE that everyone else is doing, and as such will require a rewrite of the streaming pipeline :(

Ollama is fully supported.
List Models

Admin (Pull) Models

Streaming text generation

This was PAINFUL - the Ollama project deviates in Stream encoding, Event encoding, URLs, Headers, POST Body's from OpenAI and likes.

Hello @enricoros, this in fantastic. I tested it and it works well!
Thank you very much, outstanding work! Is there a way I can donate to the project? Maybe apply for the Github sponsorship program?

Thanks for testing and using it. I love how fast it works. The "pull" function is a bit slow to me, but administration is probably better done on cmdline for ollama.
No need for donations, but tell all your friends and colleagues to use it :) spread the word.

Oh well, I have already been a PR for quite a while!