Laravel: Class FPDM not found

I installed the package with this: composer require tmw/fpdm
This is the line that triggers the error: $pdf = new \FPDM($file);
The documentation doesn't say I need to do anything to my composer.json autoload section but I tried a few different things there with no luck.

This was an issue with my docker container not building because my PC was out of space, so the class actually didn't exist in the container even though it was installed and I could see it in my vendor folder because it was installed on my PC


Fixed documentation TOC

Navigating through the documentation I noticed that anchor links that referred to titles with the & character didn't work. I have already solved them simply deleting this character from anchor links.
Sorry for the late notice, I am generating many pull request for such a dumb thing!

Can you rebase your branch?

No problem! #94


[Auto-generated] Update dependencies

Update dependencies
Automatically created PR from ci/dependabot-updates.
The PR is based on the 'CI - Update dependencies PR' workflow in SINTEF/ci-cd.
To do

[ ] Check that the diff is sensible, and that tests and builds pass with the new dependency versions.
[ ] Make sure that the PR is squash merged, with a sensible commit message.

Codecov Report

Merging #531 (e0d2d75) into master (2f4be06) will not change coverage.
The diff coverage is n/a.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@           Coverage Diff           @@
##           master     #531   +/-   ##
=======================================
  Coverage   65.58%   65.58%
=======================================
  Files          16       16
  Lines        3089     3089
=======================================
  Hits         2026     2026
  Misses       1063     1063

Impacted Files
Coverage Δ

ontopy/graph.py
61.63% <ø> (ø)

ontopy/ontology.py
70.27% <ø> (ø)

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


CommaDelimitedList returns E2015 Default should be allowed by AllowedPattern

CloudFormation Lint Version
0.72.2
What operating system are you using?
Mac
Describe the bug
When running AllowedPattern with CommaDelimitedList, when the Default is set to a comma-delimited-value, the Default isn't evaluated per comma, but as a whole - so fails.
Expected behavior
The Default should be split by comma, and then evaluted against the AllowedPattern.
Reproduction template
AWSTemplateFormatVersion: "2010-09-09"
Parameters:
 AWSOrganizationId:
    Description: "Comma-separated IDs of AWS Organizations where this account and the target pipeline account are members."
    Type: "CommaDelimitedList"
    Default: "o-sdfs234sf,o-fdsd243s"
    AllowedPattern: "^[a-z0-9-]+$"

This was fixed in version 0.77 🎉


Roll Flutter Engine from 3162aaad0086 to 10e50bd42c42 (1 revision)

https://github.com/flutter/engine/compare/3162aaad0086...10e50bd42c42
2024-10-27<EMAIL_ADDRESS>Roll Fuchsia Linux SDK from 5osQdhk4W6CcWgjIg... to VJIEKDIuzhhloCBro... (flutter/engine#56154)
Also rolling transitive DEPS:
fuchsia/sdk/core/linux-amd64 from 5osQdhk4W6Cc to VJIEKDIuzhhl
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC codefu<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


support trailing comments on 'include' lines

I discovered, after much head scratching and playing with paths and filenames, that in Bronzebeard the include directive is processed before lexical analysis and thus before comment stripping. If you accidentally add an in-line comment to the include, you get the confusing error message 'include must specify a file', even if the file exists. None of the code examples have this situation, which is probably why it was never spotted.
This PR addresses the problem by removing any characters after '#', and any remaining whitespace, from the include line before trying to load the file. Manually tested with and without comments.
See issue #25

Sorry for the delay @efficacy, I just noticed this PR. I'll address it here soon.

Thanks for paving the way here! I fixed this a bit differently but we achieved the same result. I pre-stripped any comments from include lines and also allowed the path to be quoted.
47a5fceec66d5ee75ee6c212639b9b9cb864dc28

Looks good. Thanks.


[drogon] Update to 1.8.4

-- Building x64-windows-dbg
CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:134 (message):
    Command failed: D:/downloads/tools/cmake-3.25.1-windows/cmake-3.25.1-windows-i386/bin/cmake.exe --build . --config Debug --target install -- -v -j33
    Working Directory: D:/buildtrees/drogon/x64-windows-dbg
    See logs for more information:
      D:\buildtrees\drogon\install-x64-windows-dbg-out.log

Thanks for your PR. CI test failed, please get failure logs here.

-- Building x64-windows-dbg
CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:134 (message):
    Command failed: D:/downloads/tools/cmake-3.25.1-windows/cmake-3.25.1-windows-i386/bin/cmake.exe --build . --config Debug --target install -- -v -j33
    Working Directory: D:/buildtrees/drogon/x64-windows-dbg
    See logs for more information:
      D:\buildtrees\drogon\install-x64-windows-dbg-out.log

Thanks for your PR. CI test failed, please get failure logs here.

Thanks so much for your feedback, I think this is caused by the version of trantor, we can try again after merging the trantor's PR.

/azp run

All features are tested successfully in the following triplet:
x86-windows
x64-windows
x64-windows-static


upgrade to ember-cli 0.2.2

upgrade to ember-cli 0.2.2 as per https://github.com/ember-cli/ember-cli/releases.
the lates ember-data package.json has correct formart so console no more warnings now.

thank you once again!


Response code are missing

Version of flutter_inapp_purchase
0.9.2
Platforms you faced the error (IOS or Android or both?)
Android
Expected behavior
We should be able to receive the response code when a product is bought/failed.
Actual behavior
Right now, the only way we have is to catch the error. If user hasn't bought it, we only have a catch error block, we don't know the reason what actually happened. Like if a user already bought the item, the response code is 7 but all we see is a catch block getting executed.
Tested environment (Emulator? Real Device?)
Both
Steps to reproduce the behavior
I'm using example code provided by you.

Click on products to fetch all the products.
Click on Buy item button to buy a product.
Cancel by pressing remaining area on the screen or by pressing back button.
Following code is executed.

Future<Null> _buyProduct(IAPItem item) async {
  try {
    PurchasedItem purchased = await FlutterInappPurchase.buyProduct(item.productId);
    print("${purchased}");
  } catch (error) {
    print("Error in buying product, e = ${error}"); // this gets executed but we don't really know the reason behind this error, here we should be able to get response code
  }
}

Reference
We should be able to get responses provided here.

I can not get this log print("${purchased}"); after payment is success, What is the issue?
Any suggestion, please?


Invoke-ArcGISConfiguration fails during installation from remote hosts

Community Note

Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request

Module Version

3.3.0

Affected Resource(s)

ArcGIS Pro

Configuration Files

{
    "AllNodes": [
        {
            "NodeName": "server.domain.de",
            "Role": [
                "Pro"
            ]
        }
    ],
    "ConfigData": {
        "ProVersion": "2.9",
        "Pro": {
            "AuthorizationType": "NAMED_USER",
            "BlockAddIns": "0",
            "LockAuthSettings": false,
            "AllUsers": "1",
            "EnableEUEI": true,
            "CheckForUpdatesAtStartup": true,
            "Installer": {
                "Path": "C:\\data\\test\\installation\\ArcGISPro_29_179927.exe",
                "InstallDir": "C:\\bin\\ArcGIS\\Pro"
            }
        }
    }
}

Expected Behavior
Invoke-ArcGISConfiguration allows to install ArcGIS Pro from a remote Host.

Actual Behavior
The Command Invoke-ArcGISConfiguration -ConfigurationParametersFile ./Desktop-Float.json -Mode InstallLicenseConfigure -EnableMSILogging fails, if executed from a remote machine. Error Message translated from German is:
PS C:\data\dsc\ArcGISPro> Invoke-ArcGISConfiguration -ConfigurationParametersFile ./Pro-Named.json -Mode InstallLicenseConfigure -EnableMSILogging -DebugSwitch
Dot Sourcing the Configuration:- ArcGISInstall
Write-NodeMOFFile : Invalid MOF-Definition for Node "server.domain.de": Ecxeption during call of "ValidateInstanceText" with1 Argument:  "undefined property "EnableMSILogging".
 In line: 21, col: 2
 buffer:
 = "ArcGISInstall";
};^
insta
"
In C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules\PSDesiredStateConfiguration\PSDesiredStateConfiguration.psm1:2369 col:21
+ ...             Write-NodeMOFFile $Name $mofNode $Script:NodeInstanceAlia ...
+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [Write-Error], InvalidOperationException
    + FullyQualifiedErrorId : InvalidMOFDefinition,Write-NodeMOFFile
compilation error while processing Configuration "ArcGISInstall".
In C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules\PSDesiredStateConfiguration\PSDesiredStateConfiguration.psm1:3917 col:5
+     throw $ErrorRecord
+     ~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (ArcGISInstall:String) [], InvalidOperationException
    + FullyQualifiedErrorId : FailToProcessConfiguration

With ArcGIS Desktop I tested, that the installation works, if I am on the target machine. Invocation from a remote host yielded in the same error.

Steps to Reproduce

copy Installation media to the target system
install ArcGIS DSC module via powershell gallery on the target host as well on the source host
execute the command Invoke-ArcGISConfiguration -ConfigurationParametersFile ./Pro-Named.json -Mode InstallLicenseConfigure -EnableMSILogging -DebugSwitch on the source host.

Important Factoids

References

Hi @alexanderwalkowski,
Based on the error "undefined property "EnableMSILogging", I suspect there could be older/previous versions of the ArcGIS Module on the source host, and/or target host.
Could you ensure all previous versions of the ArcGIS Module are removed, and only v3.3.0 remains? Then close the PowerShell Window, launch a fresh PowerShell Window and re-run.
Thanks,
Cameron K.

Hi @cameronkroeker,
Thank you for the quick response! Your are right, I had several older versions of the ArcGIS DSC module on my source machine, after uninstalling them (Uninstall-Module -Name ArcGIS -AllVersions) and installing the latest version, the remote execution works. At least it starts and fails with an error that the installation exe is not found or inaccessible.
Kind regards,
Alexander Walkowski

After fixing a typo the installation process starts and extracts the files. But after that, it fails with the message, that Setup.exe was not found.
01.12.2021 12:32:14: [DSC0004W]: LCM:  [ Start  Set      ]
01.12.2021 12:32:29: [DSC0004W]: LCM:  [ Start  Resource ]  [[ArcGIS_Install]ProInstall]
01.12.2021 12:32:29: [DSC0004W]: LCM:  [ Start  Test     ]  [[ArcGIS_Install]ProInstall]
01.12.2021 12:32:40: [DSC0004W]:                            [[ArcGIS_Install]ProInstall] Installed Version
01.12.2021 12:32:40: [DSC0004W]: LCM:  [ End    Test     ]  [[ArcGIS_Install]ProInstall]  in 9.5590 seconds.
01.12.2021 12:32:40: [DSC0004W]: LCM:  [ Start  Set      ]  [[ArcGIS_Install]ProInstall]
01.12.2021 12:32:40: [DSC0004W]:                            [[ArcGIS_Install]ProInstall] Self Extracting Installer
01.12.2021 12:32:40: [DSC0004W]:                            [[ArcGIS_Install]ProInstall] Extracting C:\data\test\installation\ArcGISPro_29_179927.exe to C:\windows\TEMP\AD53732E-507C-4A7F-B451-BE7EA01D0832
01.12.2021 12:34:45: [DSC0004W]:                            [[ArcGIS_Install]ProInstall] Done Extracting. Waiting 15 seconds to allow the extractor to close files
01.12.2021 12:35:00: [DSC0004W]:                            [[ArcGIS_Install]ProInstall] Setup.exe not found in extracted contents
01.12.2021 12:35:00: [DSC0004W]:                            [[ArcGIS_Install]ProInstall] Executable .exe not found in extracted contents to install. Looking for .msi
01.12.2021 12:35:00: [DSC0004W]:                            [[ArcGIS_Install]ProInstall] Logs for Pro will be written to C:\windows\TEMP\Pro_install.log
01.12.2021 12:35:00: [DSC0004W]:                            [[ArcGIS_Install]ProInstall] Executing msiexec
01.12.2021 12:35:05: [DSC0004W]: LCM:  [ End    Set      ]  [[ArcGIS_Install]ProInstall]  in 143.2350 seconds.

In the mentioned temp directory is only a ArcGISPro.msi, but no .exe.

After fixing a typo the installation process starts and extracts the files. But after that, it fails with the message, that Setup.exe was not found.
01.12.2021 12:32:14: [DSC0004W]: LCM:  [ Start  Set      ]
01.12.2021 12:32:29: [DSC0004W]: LCM:  [ Start  Resource ]  [[ArcGIS_Install]ProInstall]
01.12.2021 12:32:29: [DSC0004W]: LCM:  [ Start  Test     ]  [[ArcGIS_Install]ProInstall]
01.12.2021 12:32:40: [DSC0004W]:                            [[ArcGIS_Install]ProInstall] Installed Version
01.12.2021 12:32:40: [DSC0004W]: LCM:  [ End    Test     ]  [[ArcGIS_Install]ProInstall]  in 9.5590 seconds.
01.12.2021 12:32:40: [DSC0004W]: LCM:  [ Start  Set      ]  [[ArcGIS_Install]ProInstall]
01.12.2021 12:32:40: [DSC0004W]:                            [[ArcGIS_Install]ProInstall] Self Extracting Installer
01.12.2021 12:32:40: [DSC0004W]:                            [[ArcGIS_Install]ProInstall] Extracting C:\data\test\installation\ArcGISPro_29_179927.exe to C:\windows\TEMP\AD53732E-507C-4A7F-B451-BE7EA01D0832
01.12.2021 12:34:45: [DSC0004W]:                            [[ArcGIS_Install]ProInstall] Done Extracting. Waiting 15 seconds to allow the extractor to close files
01.12.2021 12:35:00: [DSC0004W]:                            [[ArcGIS_Install]ProInstall] Setup.exe not found in extracted contents
01.12.2021 12:35:00: [DSC0004W]:                            [[ArcGIS_Install]ProInstall] Executable .exe not found in extracted contents to install. Looking for .msi
01.12.2021 12:35:00: [DSC0004W]:                            [[ArcGIS_Install]ProInstall] Logs for Pro will be written to C:\windows\TEMP\Pro_install.log
01.12.2021 12:35:00: [DSC0004W]:                            [[ArcGIS_Install]ProInstall] Executing msiexec
01.12.2021 12:35:05: [DSC0004W]: LCM:  [ End    Set      ]  [[ArcGIS_Install]ProInstall]  in 143.2350 seconds.

In the mentioned temp directory is only a ArcGISPro.msi, but no .exe.

Hi @alexanderwalkowski, glad to hear removing the previous modules resolved the original issue. As for the second issue regarding the error of setup.exe not found this is expected and normal since ArcGIS Pro uses an msi. Here it states it cannot find an exe and its looking for .msi:
Executable .exe not found in extracted contents to install. Looking for .msi

Then next message states its creating an msi log file of the installation, so if the installation fails check this log along with Windows Event Viewer application logs:
Logs for Pro will be written to C:\windows\TEMP\Pro_install.log

And then it reports its executing the msi:
Executing msiexec

143 seconds is little over 2 minutes which is definitely too fast and didnt install properly. Since its running the install silently it will also fail silently. I recommend checking the msi installation log (C:\windows\TEMP\Pro_install.log) along with Windows Event Viewer application logs, there should be more clues in there as to why the install has failed.
I also recommend ensuring Microsoft .Net 4.8 is installed on the target node, as this is required for ArcGIS Pro. Perhaps this could be why the pro installation is failing.
https://github.com/Esri/arcgis-powershell-dsc/wiki/V3.-Deploy-an-ArcGIS-Pro-Named-User#prepare-your-deployment
https://pro.arcgis.com/en/pro-app/latest/get-started/arcgis-pro-system-requirements.htm#ESRI_SECTION1_B0E8A42B0E51439784E727AD94534B85
Thanks,
Cameron K.

Hi @cameronkroeker,
Thank you very much for your help! Indeed the .NET Framework 4.8 was missing. I assumed, that this would get installed by the arcgis-powershell-dsc framework as well. But after installing the .NET framework 4.8, the installation of ArcGIS Pro worked fine.
Thanks a lot and kind regards,
Alexander

Hi, would it be possible to add this information about conflicting module versions to the wiki? I have spent many hours today trying to troubleshoot this issue when doing an upgrade - during which there will almost always be a previous version installed from the last install.


Browse resources

Listing resources in a given project. Paginated list of resources with their correct label. Providing a detailed view for resources, similar to what Nexus Explorer offered (key-values for properties, image support, entity linking support (in-project), a way to see the raw JSON payload. Offering a simple graph visualisation of the incoming / outgoing links centered on 1 resource).
To investigate for Graph Viz: https://github.com/scienceai/jsonld-vis (given small code base, it would be worth it to port it to the latest d3.js release)

Viz part pushed back to later


qshowdiff: fix build

Motivation for this change
Fix build. Related to #23253
Things done

[X] Tested using sandboxing
(nix.useSandbox on NixOS,
or option build-use-sandbox in nix.conf
on non-NixOS)
Built on platform(s)

[X] NixOS
[ ] macOS
[ ] Linux

[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[X] Tested execution of all binary files (usually in ./result/bin/)
[X] Fits CONTRIBUTING.md.

Pushed to master (2b38cbb3299ea3cb9a6c315c4445e256e4dc68f4) and release-17.03 (e5e3cec6a2848b2dac557264d91f1eff56199543). Thanks!


Extend index.rst page

Add more extensive example
Add more explanation to it.
Add reviewed code example to README.rst as well.

Nice, thanks Stefan! I will merge it once the tests pass.


⚠ Fortnite has degraded performance

In 21fa626, Fortnite (https://fortnite.com) experienced degraded performance:

HTTP code: 200
Response time: 1402 ms

Resolved: Fortnite performance has improved in 02f89a8.


Unable to use step templates in Multi stage Deployment

I'm trying to use a step template with a multi stage deployment as announced at build and it will not queue. It fails to queue with the following error:

An error occurred while loading the YAML build pipeline. Unable to cast object of type 'Microsoft.TeamFoundation.DistributedTask.Pipelines.TaskTemplateStep' to type 'Microsoft.TeamFoundation.DistributedTask.Pipelines.TaskStep''

How should I use a step template with deployments? I don't want to have to copy and paste my steps for each environment that should be exactly the same.
jobs:
  - deployment: BLAH
    pool:
      name: Pool
    environment: 'Dev'
    strategy:
      runOnce:
        deploy:
          steps:
          - template: /pipeline-templates/environment-deployment.yaml

https://devblogs.microsoft.com/devops/whats-new-with-azure-pipelines/

This feature will be rolled out for all accounts over the next few days. To enable it, go to the preview features page and turn on the toggle for “Multi-stage pipelines”.

Have you received the update yet in your Azure DevOps instance and followed those steps?

Yes, the feature was enabled and multi stage pipelines with individual steps work fine. If I try to use a template, it does not work.

@kmkumaran fyi
@jabbera it's actively being worked on
a workaround is to use a job template

@jabbera - As @ericsciple mentioned, this is work in progress. Till then you can use stage or job template. Please refer the sample.  + @RoopeshNair

@jabbera  - for now you can use job/stage templates with - deployment. We are working on supporting step templates within the deployment job. You can check out job/stage templates samples here

I'm trying to use a step template with a multi stage deployment as announced at build and it will not queue. It fails to queue with the following error:

An error occurred while loading the YAML build pipeline. Unable to cast object of type 'Microsoft.TeamFoundation.DistributedTask.Pipelines.TaskTemplateStep' to type 'Microsoft.TeamFoundation.DistributedTask.Pipelines.TaskStep''

How should I use a step template with deployments? I don't want to have to copy and paste my steps for each environment that should be exactly the same.
jobs:
  - deployment: BLAH
    pool:
      name: Pool
    environment: 'Dev'
    strategy:
      runOnce:
        deploy:
          steps:
          - template: /pipeline-templates/environment-deployment.yaml

I am still unable to use step templates in deployment jobs
The referred template in the step has following structure:
`parameters:
- name: A
displayName: A
type: string
default: "A"
steps:

script:
template: ...`

I get error from pipeline mentioning :    Unexpected value 'steps'


Is there a way to apply css to each row on hover or mouseenter?

Is there a way to style the Row element?

Yes - you can use css selectors (you can inspect elements to find out what their selectors are with your browser)

this doesn't work for me on chrome. can't style rows. css applies to only cells. what i need is changing bg-color of row on hover. but i can't change the bg-color even without hover.

@ttiras What's the CSS you're trying to use for the row?
Generally you'd go: .sticky-table-row:hover .sticky-table-cell { background-color: black }
Hover styles on display: table-row are inconsistent in browsers


Use changefeed when available for Blob triggers

The current strategy for blob storage triggers is ScanBlobScanLogHybridPollingStrategy, which involves using storage logs as a de facto changefeed.
Using the the actual blob changefeed when available (especially with a cursor) would be much simpler and more performant.

//cc: @seanmcc-msft, @amnguye


Trouble running the detection

I'm having trouble running the tool on Windows. I've downloaded and extracted the distribution Tarball and changed to the contained directory. When trying to detect dependencies of a Maven project I get:
C:\Users\me\Downloads\component-detection>dotnet run --project .\Microsoft.ComponentDetection scan --SourceDirectory C:\Users\me\Development\Maven
C:\Users\me\Downloads\component-detection\Microsoft.ComponentDetection(1,1): error MSB4025: The project file could not be loaded. Data at the root level is invalid. Line 1, position 1.

The build failed. Fix the build errors and run again.

What am I doing wrong in the call? Is "the project file" really the C:\Users\me\Development\Maven\pom.xml as I would expect?

This is definitely an area where we can improve the first run experience, and I hope to merge #37 soon.
The --project flag for dotnet run expects a .csproj file i.e. source code. The published bits are already compiled. The command you're looking for is dotnet ./Microsoft.ComponentDetection.dll
dotnet .\Microsoft.ComponentDetection.dll help
Microsoft.ComponentDetection 1.0.8+build.22.70c149cd3c2c4f41e14d05d25517f1251b7ece27
Copyright © Microsoft Corporation. All rights reserved.

  scan              Scans components

  list-detectors    Lists available detectors

  help              Display more information on a specific command.

  version           Display version information.

Execution finished, status: 0.
Process terminating.

Thanks, I'm able to run the tool now, but the Maven project in C:\Users\me\Development\Maven is not recognized. Do I first need to apply some plugin in the project's pom.xml?

It's not required. Can you share your pom.xml so I can help debug this more?

Sure, I was using https://github.com/oss-review-toolkit/ort/blob/master/analyzer/src/funTest/assets/projects/synthetic/maven/lib/pom.xml for testing.

I am able to get an output when scanning that directory. Do you have the mvn CLI installed? We use it to generate a list of dependencies
https://github.com/microsoft/component-detection/blob/2956bdb4cd22eb58292801afcae0ea10d269f619/src/Microsoft.ComponentDetection.Detectors/maven/MvnCliComponentDetector.cs#L35-L39
Here's the output from my scan:
maven-log.txt
ScanManifest_20220201085710.json.txt


Pinch to zoom

Hi
Is there any way to enable pinch to zoom on mobile devices? In my application, my users sometimes want to zoom into an image in the itemslide carousel. I notice that this is not possible. I've tested on Android and iPhone.
Take for example https://itemslide.github.io/ If you try to zoom in, it will not work. Any idea's?

Any update on this?

You can't zoom in the carousel because it causes problems with the swiping, but you can remove this meta line and enable zooming in any other area in the page:
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0" />

Okay, thanks!
Op za 4 jun. 2016 14:12 schreef Nir Lichtman<EMAIL_ADDRESS>
You can't zoom in the carousel because it causes problems with the
swiping, but you can remove this meta line and enable zooming in any other
area in the page:

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/itemslide/itemslide.github.io/issues/61#issuecomment-223752358,
or mute the thread
https://github.com/notifications/unsubscribe/ADaySvZJxolPg-cNl2y9gEd3saO2lxd_ks5qIWuUgaJpZM4InSEk
.


Rename join-pairs to merge-pairs

Suggestion: Rename the q2-vsearch join-pairs action to merge_pairs, and update the associated descriptions to state something like: "Merge paired-end sequence reads..."). Merging reads is not the same as joining reads.
Reason: Calling this QIIME 2 action join-pairs may be confusing for savvy vsearch users, as there is in fact a --fastq_join command within vsearch. This command will stitch each read together end-to-end with a padding string, usually Ns. As we're actually calling the vsearch --fastq_mergepairs, we should update the name of the action.

Shall we also rename the semantic type JoinedSequencesWithQuality?
Vsearch uses 'joined' to mean 'concatenated', while our semantic types means 'overlapped/merged'. We have an opportunity here to reduce ambiguity and use descriptive words, but that change may breaks things.
Do we want to support 'concatenated' reads as a new semantic type?

Seeking recommendations for names for the new semantic type:

ConcatenatedSequencesWithQuality
DiscontiguousSequencesWithQuality
GappySequencesWithQuality

I would support changing the action name, but do not think that it would be a good idea to change the name name of the Semantic Type, as it would cause breaking changes to various repos and could lead to more confusion.
While I agree that consistency with vsearch would be nice, the semantic type is not explicitly tied to the vsearch action, and the terminology is not really standardized across different tools (just as merge and concatenate have ambiguous meanings, so are equally bad or worse to use here).

I am leaning towards @nbokulich's suggestions. That is, rename the action as I suggested.
For the Types, we can simply note in the documentation that JoinedSequencesWithQuality is a catch-all for the Merged, Concatenated, Discontiguous, and Gappy types of data. If that ever comes up...

OK! So we keepJoinedSequencesWithQuality for the overlapped Illumina reads we have now.
Do we we want to introduce a new type for Illumina reads that have been combined without overlap (with optional Ns padding the middle)?
Or do we want to use JoinedSequencesWithQuality for all of these, including the output of this?
vsearch --fastq_join --join_padgapq NNN

Do we we want to introduce a new type for Illumina reads that have been combined without overlap (with optional Ns padding the middle)?
Or do we want to use JoinedSequencesWithQuality for all of these, including the output of this?
vsearch --fastq_join --join_padgapq NNN

I guess it depends on what this all relates to... Are there plans to generate all of these outputs (i.e. the padding example) in upcoming QIIME 2 tools that we should be keeping track of? If so, then it might be worth further discussion. Otherwise, I'd suggest keeping with JoinedSequencesWithQuality as the default catch-all in the short term. 🤷♂

EDIT: While this type is defined here, it's used in many different repos. This may be hard to change. Also, there is precedent for calling Illumina paired-end overlapping 'joining' in Qiime1 and ea-utils.

I named the script join_paired_ends.py, based on the tool fastq-join. I've regreted that ever since I learned there was a difference between merging and joining. 🤦♂

Otherwise, I'd suggest keeping with JoinedSequencesWithQuality as the default catch-all in the short term. 🤷♂

I like it! We can add more types when we have more functions.
If that's the plan, then this PR is ready for review.


provide detailed description of ldap in swagger

As the swagger documentation does not contain a description of the parameters and results for ldap methods,
I add the details.For example:
// GetLdapUsers
// @Title GetLdapser
// @Tag Account API
// @Description get ldap users
// Param	id	string	true	"id"
// @Success 200 {object} LdapResp The Response object
// @router /get-ldap-users [get]
func (c *ApiController) GetLdapUsers() {
         ......
}

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

looks like related to https://github.com/casdoor/casdoor/issues/2055


Identify the commands corresponding to figures in the paper

Identify a rough correspondence between each figure plotted for the paper (see plot script linked below) - or elsewhere - and the equivalent Icenet command (/console script), if one exists.

Nice one @tom-andersson. So basically we still go with initialisation time time, days ahead we're forecasting as an integer in field leadtime and the relevant forecast date is stored under forecast_date. There is an issue #13 that described that it's non-trivial to change leadtime to an actual datetime, as it would result in a constraint of keeping only one forecast per file.
>>> ds
<xarray.Dataset>
Dimensions:                 (time: 1, yc: 432, xc: 432, leadtime: 93)
Coordinates:
  * time                    (time) datetime64[ns] 2023-01-01
  * leadtime                (leadtime) int64 1 2 3 4 5 6 7 ... 88 89 90 91 92 93
    forecast_date           (time, leadtime) datetime64[ns] ...

Leading to:
>>> ds.sel(leadtime=14).forecast_date
<xarray.DataArray 'forecast_date' (time: 1)>
array(['2023-01-15T00:00:00.000000000'], dtype='datetime64[ns]')
Coordinates:
  * time           (time) datetime64[ns] 2023-01-01
    leadtime       int64 14
    forecast_date  (time) datetime64[ns] 2023-01-15

As with the other issue, will #112 basically finish up this development for 0.2.2?

@JimCircadian yes 👍


Fix etlas run --trace

This was broken by the changes to the run script: https://github.com/typelead/etlas/pull/22
The current implementation of etlas run --trace is not so great, so we should probably think of a better way to be able to extend the class path.
This can be achieved by:

Storing the generated classpath in a local CLASSPATH variable in the launcher script, and adding an extensible EXTRA_CLASSPATH env var where you can extend the classpath by passing in a value.
Re-implementing etlas run --trace and etlas run --debug by passing in environment variables and running the script.

@jneira

@jneira I've implemented this for the bash script - can you do the same for windows? You might need to do a simple test to see if CLASSPATH works in addition to the launcher jar on Windows.

Here's the diff for the change: https://github.com/typelead/etlas/compare/76bf802775ee33361caddc7197fae6a6b323c93d...09e4288721a1e800f3415bd456379121305ee712#diff-db6404a6a4967cb0d406362495c8a893


Silently ignoring rollback timeout swallows transaction error

Knex version: 0.14.3
Bug
See old pull request where I believe this was added: https://github.com/tgriesser/knex/pull/1296
The issue is that if a rollback times out, the original transaction error will be swallowed. I believe this is the code:
// src/transaction.js
rollback(conn, error) {
    return this.query(conn, 'ROLLBACK;', 2, error)
      .timeout(5000)
      .catch(Promise.TimeoutError, () => {
        this._resolver();
      });
  }

As you can see the original transaction error is forwarded to query, but since the rollback times out the original error is not thrown. There is no harm in swallowing the error from the rollback itself, but that's not what is happening here.

I believe this is not really related to #1296 since the issue you describe must have existed long since before that PR. Before that PR it would just hang indefinitely, also without throwing error, I'm pretty sure.
I do understand how this can be an issue, tho. Perhaps the correct solution is to reject with the original error this._rejecter(error) instead of calling this._resolver()

It's almost the same, but actually worse because in this case we were lead to believe that the transaction was successful. Better to hang indefinitely than report success in the case of failure.
The proposed solution is probably good enough in this case, but there are still more issues with the code. For example, if the rollback throws another type of error, we get that error out instead of the original transaction error. I could maybe have a look at it if it's interesting, otherwise your solution is probably good enough for most.

@wubzz I see you made PR with a fix. Thanks! And thanks for all the great work with knex. It's a wonderful library.


what is the strongest Layer7?

i don't usually do layer7 attacks so i was just wondering what the strongest was

and whats a good amount of threads for layer4 and whats a good amount of threads for layer7?

d am

90% of methods l7 is patched

and whats a good amount of threads for layer4 and whats a good amount of threads for layer7?

100 seems to be default for most ddos scripts. So I use 100. Also the best layer7 attack depends on many different things. If u are attacking a cloudflare server using a cloudflare bypass would be the best, but if you are attacking a VSheild server, use sky or pxsky.


cannot build & push additional image tags

It looks like other flavors, e.g. ghcr.io/rocker-org/devcontainer/geospatial:4 don't yet exist.  I gave a stab at trying to build these but am just hitting an unexpected error:
SRC_NAME=r-ver IMAGE_NAME=geospatial VARIANT=4.2 DEVCON_BUILD_OPTION=--push make devcontainer
jq: error (at build/args/r-ver.json:48): Cannot iterate over null (null)
jq: error (at build/args/r-ver.json:48): Cannot iterate over null (null)
mkdir -p work/geospatial/4.2
cat src/r-ver/.devcontainer.json | jq '.build.args.VARIANT |= "4.2" | .build.args.BASE_IMAGE |= "null"' >work/geospatial/4.2/.devcontainer.json
mkdir -p work/geospatial/4.2
cp src/r-ver/Dockerfile work/geospatial/4.2/Dockerfile
mkdir -p work/geospatial/4.2/assets/rstudio-prefs.json
cp src/r-ver/assets/rstudio-prefs.json work/geospatial/4.2/assets/rstudio-prefs.json
jq: error (at build/args/r-ver.json:48): Cannot iterate over null (null)
devcontainer build \
--workspace-folder work/geospatial/4.2 \
--platform  \
 \
 \
--push
internal/util.js:279
    throw new ERR_INVALID_ARG_TYPE('original', 'Function', original);
    ^

TypeError [ERR_INVALID_ARG_TYPE]: The "original" argument must be of type function. Received undefined
    at promisify (internal/util.js:279:11)
    at Object.<anonymous> (/usr/local/lib/node_modules/@devcontainers/cli/dist/spec-utils/pfs.js:47:40)
    at Module._compile (internal/modules/cjs/loader.js:999:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
    at Module.load (internal/modules/cjs/loader.js:863:32)
    at Function.Module._load (internal/modules/cjs/loader.js:708:14)
    at Module.require (internal/modules/cjs/loader.js:887:19)
    at require (internal/modules/cjs/helpers.js:74:18)
    at Object.<anonymous> (/usr/local/lib/node_modules/@devcontainers/cli/dist/spec-common/commonUtils.js:33:15)
    at Module._compile (internal/modules/cjs/loader.js:999:30) {
  code: 'ERR_INVALID_ARG_TYPE'
}
make: *** [Makefile:26: devcontainer] Error 1

Any ideas?
Do you plan on being able to automate the builds of these images like you've done on the rocker-versioned2 stack?

Sorry I have not been able to document the directory structure.
The variables are controlled by the following json file, so you cannot select a base image that is not listed here.
You must first add them manually.
https://github.com/rocker-org/devcontainer-images/blob/e1775a0031cb5ad6d2cb32b9eeaefa00e0988825/build/args/r-ver.json#L1-L48
BTW, wondering which base image is desired.
In microsoft/vscode-dev-containers#1327, rocker/binder was made selectable as a base image because of the desire to use Jupyter.

Do you plan on being able to automate the builds of these images like you've done on the rocker-versioned2 stack?

It is definitely possible, but for now I think a manual update may be sufficient since the file is simple and only holds tags for each minor version and updates occur only once a year.

Thanks! this all sounds good.
Happy to stick with manual builds.
binder does seem like a sensible one to add (in our case it picks up the rest of the stack so provides a 'batteries included option', particularly having the geospatial libs installed by default is nice).  Maybe we just want to add binder and a note in the docs pointing out how this works (so others don't assume as I did that it will recognize an arbitrary r-ver stack image).


NIG_Loss smaller than zero!

NIG_Loss smaller than zero! NIG_loss becomes negative during training, I don't know why, thank you!
Epoch: 0, iter: 360, abs_loss: 0.075639, nll_loss: -0.842837, reg_loss:0.364714 ,acc: 0.952216, lr_pre: 0.000030, lr_last: 0.000300
Epoch: 0, iter: 361, abs_loss: 0.075609, nll_loss: -0.843703, reg_loss:0.364581 ,acc: 0.952219, lr_pre: 0.000030, lr_last: 0.000300
Epoch: 0, iter: 362, abs_loss: 0.075563, nll_loss: -0.844643, reg_loss:0.364431 ,acc: 0.952307, lr_pre: 0.000030, lr_last: 0.000300
Epoch: 0, iter: 363, abs_loss: 0.075479, nll_loss: -0.846680, reg_loss:0.364073 ,acc: 0.952395, lr_pre: 0.000030, lr_last: 0.000300
Epoch: 0, iter: 364, abs_loss: 0.075361, nll_loss: -0.849301, reg_loss:0.363639 ,acc: 0.952526, lr_pre: 0.000030, lr_last: 0.000300
Epoch: 0, iter: 365, abs_loss: 0.075248, nll_loss: -0.851855, reg_loss:0.363197 ,acc: 0.952655, lr_pre: 0.000030, lr_last: 0.000300
Epoch: 0, iter: 366, abs_loss: 0.075118, nll_loss: -0.854777, reg_loss:0.362667 ,acc: 0.952784, lr_pre: 0.000030, lr_last: 0.000300

This is expected as NLL is negative log likelihood. If your log likelihood is positive then the NLL will be negative. This loss can be any real number (either positive or negative).

First of all, thank you very much for your masterpiece. Recently, I have been studying in face anti-spoofing detection. The model has a relatively good effect intra-dataset, but the generalization performance is weak. I want to use evidence_learning to improve the generalization performance of the model,  feature map supervision used on face anti-spoofing task. I see that your work uses evidence_learning for depth estimation; May I ask if the loss function of this work can be used on face anti-spoofing  task. Thx very much!


[bug] Time machine doesn't work in preview

Preview time-machine doesn’t apply the time range; Edit mode ok
see recording
https://user-images.githubusercontent.com/10264198/257298489-7e2023ea-93bc-4793-b23d-fb2014174a7f.mov
### Tasks
- [ ] User is able to select relative time ranges, and have the new time range reflected correctly in the dashboard
- [ ] User is able to select absolute time ranges, and have the new time range reflected correctly in the dashboard

Confirmed this issue has been resolved


[Not an issue with your organizer] but request for PD2 game-data version

Hi Youdz,
I was wondering if you would be interested in having a 2nd version of your d2-stash-organizer with game-data txt files from ProjectDiablo2 (PD2)
In their recent season, the txt files are available from their patch_d2.mpq
I tried a bone-headed approach of just hosting the d2-stash-organizer\src\web directory with PD2 txts added here
https://github.com/pairofdocs/d2-stash-organizer/tree/gh-pages
https://pairofdocs.github.io/d2-stash-organizer/
but I don't have the json data updated. and the organizer didn't load the game data
I can provide the necessary txt files and string files if you're interested
Thank you for the organizer!
(the current organizer doesn't recognize some items that pd2 added, so it failed with a shared stash)

edit: a dungeon scarab https://github.com/pairofdocs/d2-stash-organizer/blob/gh-pages/game-data/txt/Misc.txt#L162

Update:
After running npm run game-strings and npm run game-data
I included the .txt string files along with the generated jsons in the main branch
GH pages is now serving /docs from the main branch https://pairofdocs.github.io/d2-stash-organizer/  (build with npm run build from following the new readme 👍 )
I'm able to see some items from a shared stash file!
_LOD_SharedStashSave.zip
But when uploading the char .d2x file  I wasnt seeing items

I'm sorry, I can barely find time to add the features I'd like on this tool for the base game, and supporting PD2 would just be too much. You're welcome to fork and set up a PD2 version of this, like you seem to be doing.
It looks like the README turned out to be helpful, I'm glad you're unblocked.
The most important warning I can give you is that Diablo 2 is full of bugs and quirks (enhanced damage computation is hardcoded in game, min damage and max damage are super complicated because of primary vs secondary damage, mods grouping has 2 configurable cases and 10 hardcoded ones, etc), so my code has plenty of special cases to cover those. If PD2 fixed some of these quirks or introduced new ones, you'll have to play whack-a-bug for a while.

Gotcha.
I'll pull from your repo to get code and UI updates.
Looking forward to organizing loot!

Gotcha.
I'll pull from your repo to get code and UI updates.
Looking forward to organizing loot!


Node.js 7.x support and WebStorm 2016.3.3

When I use child-process-debug's fork with node.js 7.5.0 - one of my child processes tries to start in infinity cycle.
When I use node.js 6.9.5 - there is no infinity cycles.
But I am not sure whether this is child-process-debug issue or WebStorm issue.
There is such a topic about similar problem in WebStorm:
https://youtrack.jetbrains.com/issue/WEB-24629

It seems the issue has nothing to do with child-process-debug. Closed.


Metastrategy L-02

Issue description:
The BaseCurveStrategy has two mechanisms to refer to the 3CRV token: the generic
mapping it inherits from InitializableAbstractStrategy and its own local variable. We
believe the local variable was introduced as a simplification, because all three assets
correspond to the same platform token, but it is used inconsistently. In particular:

The withdraw function equivocates between the mapping and the local variable in the
event emission and balance check.
The checkBalance function uses the mapping to retrieve the platform token balance
but then assumes the asset is worth one third of the value. This only makes sense if
there are three assets mapping to the same platform token.
There are code comments that explicitly account for the possibility that not all assets are
mapped correctly.

Consider using the local variable throughout the contract and disabling the ability to set the
mapping individually.

I am not sure about the considering disabling the ability to set the mapping individually . That would mean overriding the ability of _setPTokenAddress to set the mapping.


Feature/add range types

as suggested in #200, we can also add the range types to the allowed ES Types.

I also added the search_as_you_type from #200 into the test file. Hope that´s okay

This is goog, thanks


How to configure env variable for delete file?? i got error missing env file to delete file

Are you trying to call the function on the frontend? The UTAPI functions only work on backend, as they require environment variables (which do not exist on the client).


Chromebook - black screen with only mouse cursor showing when launching ubuntu

When launching ubuntu I get a black screen and nothing else happens. Help please.
chronos@localhost / $ sudo startunity
Entering /mnt/stateful_partition/crouton/chroots/trusty...

_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root

X.Org X Server 1.15.1
Release Date: 2014-04-13
X Protocol Version 11, Revision 0
Build Operating System: Linux 4.4.0-97-generic x86_64 Ubuntu
Current Operating System: Linux localhost 3.14.0 #1 SMP PREEMPT Tue Nov 7 03:27:09 PST 2017 x86_64
Kernel command line: cros_secure console= loglevel=7 init=/sbin/init cros_secure oops=panic panic=-1 root=/dev/dm-0 rootwait ro dm_verity.error_behavior=3 dm_verity.max_bios=-1 dm_verity.dev_wait=1 dm="1 vroot none ro 1,0 3584000 verity payload=PARTUUID=8f7f09fd-3fa9-c04b-8582-dd9473131ef9/PARTNROFF=1 hashtree=PARTUUID=8f7f09fd-3fa9-c04b-8582-dd9473131ef9/PARTNROFF=1 hashstart=3584000 alg=sha1 root_hexdigest=8ee125e1ad6990685678c87e3d115879675b76d9 salt=8f3445403bb16efc755979d0ee0f4c1133bf124b16ff7af09d6e3890c24ac050" noinitrd vt.global_cursor_default=0 kern_guid=8f7f09fd-3fa9-c04b-8582-dd9473131ef9 add_efi_memmap boot=local noresume noswap i915.modeset=1 tpm_tis.force=1 tpm_tis.interrupts=0 nmi_watchdog=panic,lapic i915.enable_psr=1
Build Date: 13 October 2017  01:59:06PM
xorg-server 2:1.15.1-0ubuntu2.11 (For technical support please see http://www.ubuntu.com/support)
Current version of pixman: 0.30.2
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(++) Log file: "/tmp/Xorg.crouton.2.log", Time: Mon Nov 13 09:39:31 2017
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
Initializing built-in extension Generic Event Extension
Initializing built-in extension SHAPE
Initializing built-in extension MIT-SHM
Initializing built-in extension XInputExtension
Initializing built-in extension XTEST
Initializing built-in extension BIG-REQUESTS
Initializing built-in extension SYNC
Initializing built-in extension XKEYBOARD
Initializing built-in extension XC-MISC
Initializing built-in extension SECURITY
Initializing built-in extension XINERAMA
Initializing built-in extension XFIXES
Initializing built-in extension RENDER
Initializing built-in extension RANDR
Initializing built-in extension COMPOSITE
Initializing built-in extension DAMAGE
Initializing built-in extension MIT-SCREEN-SAVER
Initializing built-in extension DOUBLE-BUFFER
Initializing built-in extension RECORD
Initializing built-in extension DPMS
Initializing built-in extension Present
Initializing built-in extension DRI3
Initializing built-in extension X-Resource
Initializing built-in extension XVideo
Initializing built-in extension XVideo-MotionCompensation
Initializing built-in extension SELinux
Initializing built-in extension XFree86-VidModeExtension
Initializing built-in extension XFree86-DGA
Initializing built-in extension XFree86-DRI
Initializing built-in extension DRI2
Loading extension GLX
Error org.freedesktop.DBus.Error.UnknownMethod: Method "ReleaseDisplayOwnership" with signature "" on interface "org.chromium.LibCrosServiceInterface" doesn't exist

xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted)
Error executing command as another user: Not authorized

This incident has been reported.
crouton: version 1-20171109145451~master:35a16889
release: trusty
architecture: amd64
xmethod: xorg
targets: xorg,xiwi,unity,extension
host: version 10106.0.0 (Official Build) dev-channel samus
kernel: Linux localhost 3.14.0 #1 SMP PREEMPT Tue Nov 7 03:27:09 PST 2017 x86_64 x86_64 x86_64 GNU/Linux
freon: yes
Another instance of croutonclip running, waiting...
Another instance of croutontriggerd running, waiting...
(II) AIGLX: Suspending AIGLX clients for VT switch
Error org.freedesktop.DBus.Error.UnknownMethod: Method "TakeDisplayOwnership" with signature "" on interface "org.chromium.LibCrosServiceInterface" doesn't exist

See if the comment on #3510 helps.

Thanks!
I tried it but still experience a black screen.
On Tue, Nov 14, 2017 at 6:29 AM Icecream95<EMAIL_ADDRESS>wrote:

See if the comment on #3510
https://github.com/dnschneid/crouton/issues/3510 helps.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/dnschneid/crouton/issues/3512#issuecomment-344150795,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AMLov9SgRTW2Sk7JpKN7AWE519BmrvmVks5s2SVDgaJpZM4Qba-7
.


Bugfix: Edge case: (i) C-CDA should not include CDA, (ii) check/fix for other similar cases?

Summary
How to account for overlap? For example, CDA is different from C-CDA, but C-CDA counts probably include all instances of CDA.
Tasks

[x] 1. C-CDA should not include CDA: The results of df_raw (zulip_raw_results.csv) for CDA is too high, I think. It likely contains all instances of C-CDA. There are two approaches: (1) we could leave df_raw the way it is, and only update the counts. I suppose it would be simple enough to recalculate the count for CDA by subtracting the C-CDA count. (2) we could actually text-mine the messages in df_raw['content']. For all the C-CDA rows, we'd look at the text in that content field, and if there is the plain word "CDA", but no instances of "C-CDA" in content, then we actually do not want that row to appear in the dataframe, so we should remove all such rows from df_raw. If we do that, then the report1_counts that are generated will have correct counts.
[ ] 2. Check/fix for other similar cases?: @rohaher I don't think it's critical you do this now, but if you have and want to, you can start on this. After you've finished with (1), you can write more generalized logic. How I'm thinking it would work is that you want to find all the instances in which the text of one keyword is fully contained within another keyword, similar to CDA being fully contained within C-CDA. You would basically iterate over all of the category_keywords, and then for each of these (a) keywords, you again iterate over the entire list of (b) keywords again, and check if (b) is contained within (a). Here's an article showing several methods on how to do that. After that is done, I haven't thought too much about the next part. But you should be able to repurpose your logic from (1).

I think this is complete now. If we want to add more generalization, we can in the future. Perhaps the CDA/C-CDA is the only such case.


Josh Mancuso - DS3 Unit 3 Sprint 2 - SQL and Databases

Code Review Template
Base goals

[ ]  Clear and descriptive commit messages
[X]  Code is written by the student
[X]  Code is organized and easy to read
[X]  Code demonstrates understanding of underlying data/statistics concepts
[X ]  MVP Complete

Stretch goals

[ ]  Exceeds accuracy and efficiency expectations of the assignment
[ ]  At least 1 stretch completed

Notes
Monday - Could have refactored these queries into a function and ran the function for each query.


feat(perception_utils): add a function that gets the highest confide…

Signed-off-by: yutaka<EMAIL_ADDRESS>Description
Add a function that extracts a predicted path that has the highest confidence from predicted paths
Related links

Tests performed

Notes for reviewers

Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.

[x] I've confirmed the contribution guidelines.
[x] The PR follows the pull request guidelines.

In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.

[ ] The PR follows the pull request guidelines.
[ ] The PR has been properly tested.
[ ] The PR has been reviewed by the code owners.

Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.

[ ] There are no open discussions or they are tracked via tickets.
[ ] The PR is ready for merge.

After all checkboxes are checked, anyone who has write access can merge the PR.

I talked with @purewater0901 and decided to close this PR


Autocomplete changes its mind after 0.3s

Reproduce: Type "g", "gr", or "gra" in the surface= field
Video: https://github.com/openstreetmap/iD/assets/5626710/3c398fcb-a0c6-4c1b-8e3f-e35b5c4c9899
User story:
Earlier, I typed "gr" and saw it already completed to grass, so I tabbed out of the field, only for it to last-second change to ground!
Now at the current road, I was aware of the problem so I typed "gra", see it complete to grass, and tab out of the field :)  ...... wait .... gravel?! That's not what I selected!
Someone on Telegram suggested arrow keys: I'm using my left hand to type (qwerty) and right for the mouse, so arrow keys are far out of reach. I like the autocomplete a lot but please don't show it before it has made up its mind about what value it'll use! :D
iD version: Released version at openstreetmap.org/edit
Browser: Firefox 116.0.3 on Linux

I was working on this issue and now on giving input it is woking well. This is related video to it.
https://github.com/openstreetmap/iD/assets/121725696/26741dc0-4a0a-4a78-9b14-db3e3523b319

Thank you @tyrasd!


Use combined manager refresh support from core

Depends on:

[x] https://github.com/ManageIQ/manageiq/pull/21099

Backported to morphy in commit<PHONE_NUMBER>8e6c5635057173a1410a909866ac53.
commit<PHONE_NUMBER>8e6c5635057173a1410a909866ac53
Author: Jason Frey<EMAIL_ADDRESS>Date:   Wed Mar 17 14:54:46 2021 -0400

    Merge pull request #12 from agrare/use_core_combined_refresh

    Use combined manager refresh support from core

    (cherry picked from commit 7c0cb9aa9c54fd6ccca8c5e012b872c6ce3c5d0d)


ProTECT requires bd2k-python-lib==1.14a1 but s3am requires bd2k-python-lib==1.13.dev.16

ProTECT requires both s3am and bd2k-python-lib. s3am==latest requires bd2k-python-lib==1.13.dev.16 but ProTECT requires bd2k-python-lib==1.14a1 which includes bd2k.util.exceptions.require.
$ ProTECT --generate_config
Traceback (most recent call last):
  File "/Users/natan/Projects/protect/venv/bin/ProTECT", line 11, in <module>
    load_entry_point('protect', 'console_scripts', 'ProTECT')()
  File "/Users/natan/Projects/protect/venv/lib/python2.7/site-packages/pkg_resources/__init__.py", line 561, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/Users/natan/Projects/protect/venv/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2627, in load_entry_point
    return ep.load()
  File "/Users/natan/Projects/protect/venv/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2287, in load
    return self.resolve()
  File "/Users/natan/Projects/protect/venv/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2293, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/Users/natan/Projects/protect/src/protect/pipeline/ProTECT.py", line 33, in <module>
    from protect.alignment.dna import align_dna
  File "/Users/natan/Projects/protect/src/protect/alignment/dna.py", line 19, in <module>
    from toil.job import PromisedRequirement
  File "/Users/natan/Projects/protect/venv/lib/python2.7/site-packages/toil/job.py", line 39, in <module>
    from toil.resource import ModuleDescriptor
  File "/Users/natan/Projects/protect/venv/lib/python2.7/site-packages/toil/resource.py", line 34, in <module>
    from bd2k.util.exceptions import require
ImportError: cannot import name require

s3am will work with the newer version of bd2k-python-lib, so it's acceptable to remove the version of bd2k-python-lib installed as s3am's dependency and install bd2k-python-lib==1.14a1 in its place.

Can i close this? This is a Toil issue.


IPv6 support

dbab previously failed to overwrite IPv6 addresses because dnsmasq only replaced IPv4 addresses with the specified <IP_ADDRESS>:
before:
    % host 101order.com
    101order.com has address <IP_ADDRESS>
    101order.com has IPv6 address 2606:4700:3035::ac43:82ac
    101order.com has IPv6 address 2606:4700:3032::6815:377
    101order.com mail is handled by 10 mail.rwgusa.net.

after:
    % host 101order.com
    101order.com has address <IP_ADDRESS>
    101order.com has IPv6 address ::1
    101order.com mail is handled by 10 mail.rwgusa.net.

Tested on Debian host:

testing required installing libio-socket-inet6-perl
dash 0.5.11+git20210903+057cd650a4ed-9
dnsmasq 2.88-1
perl 5.36.0-6

Wow!!
I noticed the problems given by IPv6 recently as well, but I had no knowledge/time of fixing it so I had to disable IPv6 on my system recently. Thanks a lot for such high quality fix Tim!
The changes look great but please give me some time, as I want to verify it myself before taking the PR, by installing it into a brand new Debian stable released just days ago.

Thank you for creating this project!

@suntong I noticed that you created+merged a parallel branch. Did you find something in testing that is problematic?

Oh, it's a way for me to test myself before merging it directly to master. I believe there would be no problem, just I'm still in the process of creating a clean hosting environment to test it. Stay tuned...

https://github.com/suntong/dbab/pull/11 should do the trick...

% host 101order.com
101order.com has address <IP_ADDRESS>
101order.com has IPv6 address ::1

Hmm... I have a noob question and I wasn't able to find it from the internet. So here is my situation:
$ host 101order.com
101order.com has address <IP_ADDRESS>
101order.com has IPv6 address ::1
101order.com mail is handled by 10 mail.rwgusa.net.

Suppose my GW is <IP_ADDRESS> and I have 3 local machines, from <IP_ADDRESS> to <IP_ADDRESS>, and <IP_ADDRESS> is my DNS server.
Would above DNS resolution work for all of my local machines, originated from <IP_ADDRESS> to <IP_ADDRESS>?
Suppose my DNS server has the IP addresses of the following:

$ ip a s eth0
3: eth0@if5: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1440 qdisc noqueue state UP group default
    link/ether f6:ca:9e:f2:b8:62 brd ff:ff:ff:ff:ff:ff link-netnsid 0
    inet <IP_ADDRESS>/30 brd <IP_ADDRESS> scope global eth0
       valid_lft forever preferred_lft forever
    inet <IP_ADDRESS>/30 scope global eth0
       valid_lft forever preferred_lft forever
    inet6 fe80::f4ca:9eff:fef2:b862/64 scope link
       valid_lft forever preferred_lft forever

If I want to spell out the IPv6 of <IP_ADDRESS> in /etc/dbab/dbab.addr on the second line, what should I put there please?
Also, would you show the output from your side of the following command please?
curl -vs --head https://s0.2mdn.net/
Sorry again for such noob questions, and thanks for your help.

If I want to spell out the IPv6 of <IP_ADDRESS> in /etc/dbab/dbab.addr on the second line, what should I put there please?

I did a sudo ip a add ::5/64 dev eth0 after asking the above question and my new status is:
$ ip a s eth0
3: eth0@if5: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1440 qdisc noqueue state UP group default
    link/ether f6:ca:9e:f2:b8:62 brd ff:ff:ff:ff:ff:ff link-netnsid 0
    inet <IP_ADDRESS>/30 brd <IP_ADDRESS> scope global eth0
       valid_lft forever preferred_lft forever
    inet <IP_ADDRESS>/30 scope global eth0
       valid_lft forever preferred_lft forever
    inet6 ::5/64 scope global
       valid_lft forever preferred_lft forever
    inet6 fe80::f4ca:9eff:fef2:b862/64 scope link
       valid_lft forever preferred_lft forever

IPv6 is subnetted similar to IPv4 but there are different ranges for different things.
::1 is defined as ::1/128 so there are no free bits like you might expect from <IP_ADDRESS>/8
fe80::/10 is link-local only. Many systems require extra help to communicate anything above routing via link-local addresses and it is generally discouraged. DNS over link-local may not work (read: probably won’t for most scenarios you will try)
It looks like your router doesn’t have a proper IPv6 connection so the best you can do is something that is site-local or even something obscure like 6to4.
Basically: you need a “real” address to communicate with. I suppose the range you have added (::/64) might work if you configure everything on your LAN for it. Definitely non-standard though :)

My local setup: I'm not worried about getting a pixel image back so I actually keep the resolution to loopback interfaces. My browser just sees "connection denied" since I don't run anything locally on port 80/443. Probably sending back nxdomain from dnsmasq would be a better use-case for me but the current setup works well enough.

Thanks for the detailed explanation.

My browser just sees "connection denied" since I don't run anything locally on port 80/443.

OK. Hmm... I tried to replace the ::1 with my real IPv6 address, which is pingable from my local machines, but the pixel server seems to be kept crashing. I'll document how I test next, and hopefully you can find where the problem is...

I'll document how I test next, and hopefully you can find where the problem is...

Done --
https://github.com/suntong/dbab-packer/wiki/dbab-within-Alpine-Linux-container#test-it-using-gitpod

The problem is that you are using link local addresses:
Immediate connect fail for fe80::d872:d4ff:fe37:2c7f: Invalid argument
Invalid Argument being the key.
Link local addresses are not meant for communication beyond low-level routing. Think of them more like a mac address.
You really need an actual IPv6 config for this to work properly. I don't recommend running production this way but you can choose a deprecated address scheme (site-local) just for your local testing:
DBAB-Server:
# ip -6 addr add fec0::5/64 dev eth0
# ip -6 addr show scope site
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 state UP qlen 1000
    inet6 fec0::5/64 scope site
       valid_lft forever preferred_lft forever
# (echo "<IP_ADDRESS>"; echo "fec0::5") > /etc/dbab/dbab.addr
# systemctl restart dbab
# dbab-get-list && systemctl restart dnsmasq

DBAB-Client: configure to use fec0::6/64 and then you should be able to communicate with fec0::5. Validate with ping/nc/curl:
# ip -6 addr add fec0::6/64 dev end0
# ip -6 addr show scope site
2: end0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 state UP qlen 1000
    inet6 fec0::6/64 scope site
       valid_lft forever preferred_lft forever
# ping6 -c1 fec0::5
PING fec0::5(fec0::5) 56 data bytes
64 bytes from fec0::5: icmp_seq=1 ttl=64 time=0.965 ms

--- fec0::5 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.965/0.965/0.965/0.000 ms
#
# nc -6 -vz fec0::5 80
Connection to fec0::5 80 port [tcp/http] succeeded!
#
# curl -v --head http://s0.2mdn.net
*   Trying [fec0::5]:80...
* Connected to s0.2mdn.net (fec0::5) port 80 (#0)
> HEAD / HTTP/1.1
> Host: s0.2mdn.net
> User-Agent: curl/7.88.1
> Accept: */*
>
* HTTP 1.0, assume close after body
< HTTP/1.0 200 OK
HTTP/1.0 200 OK
< Server: dbab/v1.5
Server: dbab/v1.5
< Connection: close
Connection: close
< Cache-Control: public, max-age=31536000
Cache-Control: public, max-age=31536000
< Content-type: image/gif
Content-type: image/gif
< Content-length: 43
Content-length: 43

<
* Excess found: excess = 43 url = / (zero-length body)
* Closing connection 0

Thanks a lot. All set now!!


Support for context url groups

Bots become more awesome when they can react to some context, for example at a store support bot:
Store Bot
|-- Talk with sales
|    |-- Buy a product
|    |-- Contract a service
|    |-- Cancel a service
|-- Talk with tech support
|    |-- Problem with a product
|    |-- Problem with a service

@humrochagf s/url/pattern/?

Discussion about context on #76


Add pagination to list notes, accounts, and nullifiers

The current version of the endpoints to list notes, accounts, and nullifiers does not have pagination. The best practice is to return a continuation token.

An alternative is to remove these endpoints altogether. They were meant solely for testing, but I'm not sure we are using them.
cc @Mirko-von-Leipzig.

If they're not in use then I'm inclined to delete them :). Adding pagination via a continuation token would also be rather simple to implement though.
I assume the wallet/client use the rpc server list, and don't directly access the "internal" store api @igamigo?

I assume the wallet/client use the rpc server list, and don't directly access the "internal" store api @igamigo?

Correct. These endpoints have been useful in the past for debugging but I don't think they've been used as of recently so I agree it would be good to delete them.


Fix finding Resource Dir

Description
std::find operates based on the operator== of the type being compared. For const char*, the operator== compares the memory addresses (the pointer values), not the contents of the strings.
Hence although we should fetch resource dir from the kernel.json file, we end up entering the block checking for resource dir and trying getting it through CppInterOp. This should not be the case.
Type of change
Please tick all options which are relevant.

[x] Bug fix
[ ] New feature
[ ] Added/removed dependencies
[ ] Required documentation updates

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

Project coverage is 80.80%. Comparing base (a0f92be) to head (13f33c5).

Additional details and impacted files

@@            Coverage Diff             @@
##             main     #171      +/-   ##
==========================================
+ Coverage   80.76%   80.80%   +0.03%
==========================================
  Files          19       19
  Lines         972      974       +2
  Branches       93       93
==========================================
+ Hits          785      787       +2
  Misses        187      187

Files with missing lines
Coverage Δ

src/xinterpreter.cpp
91.39% <100.00%> (+0.09%)
:arrow_up:

Files with missing lines
Coverage Δ

src/xinterpreter.cpp
91.39% <100.00%> (+0.09%)
:arrow_up:


Configure MetroAnimatedTabControl not to cache tabs

In my project I'm using the MetroAnimatedTabControl to contain all my tabs in my main window. Due to this the app is a bit slow to launch as every tab gets loaded on startup. I think it'd be great if you could configure how they get loaded. For example:

Load the tab only when the user first switches over to it. Then keep it in memory.
Load the tab when the user switches over it and then deload it when the user switches to another tab.

@RayCarrot Can you specify with which version of MahApps this happens? A short sample app would be also helpful.

I'm not sure what you want an example of? This is just the current behavior of the animated tab control to always keep all tabs in memory.
The version I'm on is the latest one at NuGet that's not a pre-release, so 1.6.5.

@RayCarrot I got the same behavior with a normal TabControl inside a normal Window without MahApps.Metro.

@RayCarrot Here is my test sample
<Window x:Class="WpfApp7.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        mc:Ignorable="d"
        Title="MainWindow" Height="450" Width="800" WindowStartupLocation="CenterScreen">

    <Grid HorizontalAlignment="Center" VerticalAlignment="Center">
        <TabControl Style="{x:Null}">

            <TabItem Style="{x:Null}" Header="UserControl 1">
                <UserControl Loaded="UserContro1Loaded" />
            </TabItem>

            <TabItem Style="{x:Null}" Header="UserControl 2">
                <UserControl Loaded="UserContro2Loaded" />
            </TabItem>

            <TabItem Style="{x:Null}" Header="UserControl 3">
                <UserControl Loaded="UserContro3Loaded" />
            </TabItem>

        </TabControl>
    </Grid>

</Window>

using System.Windows;

namespace WpfApp7
{
    /// <summary>
    /// Interaction logic for MainWindow.xaml
    /// </summary>
    public partial class MainWindow : Window
    {
        public MainWindow()
        {
            InitializeComponent();
        }

        private void UserContro1Loaded(object sender, RoutedEventArgs e)
        {
            MessageBox.Show("UserControl 1 Loaded");
        }

        private void UserContro2Loaded(object sender, RoutedEventArgs e)
        {
            MessageBox.Show("UserControl 2 Loaded");
        }

        private void UserContro3Loaded(object sender, RoutedEventArgs e)
        {
            MessageBox.Show("UserControl 3 Loaded");
        }
    }
}

I apologize, I must have remembered wrong how the WPF Tab Control works. I did some tests on my own and it does indeed load them all in at once. For some reason I remembered it only loading them in when you switched to the tab and thought the behavior had been changed with the MetroAnimatedTabControl.
One thing I realized is that the Tab Control you inherit from seems to have some special feature of keeping the tab content in the visual tree: https://github.com/ControlzEx/ControlzEx#TabControlEx
However it seems that this still loads them all at once, just prevents them from reusing the same panel.
Sorry for taking your time with this and thanks for the answer!


smaller asciinema video for mobile

It would be nice if the video was visible in mobile screens. Recording a smaller terminal would suffice.

👍


Don't show favorite tags in the tags list

They should only appear one place in the sidebar.

See PR #246.

Fixed in 8e10cc2164f7fee9c03e06d9c2e4a57a69e0fb30.


Update build matrix for newer versions of existing rubies; add 2.4.0

Update rubies in build matrix. Given cross-build complexity, will need to add / vet rubies for Rails 5 support in a different PR.

Seeing failures with 2.4 across all Rails 4 versions. Disabling for now and will explore further in another branch.


Fixed D3D11 3D textures only able to write to depth=0

Fixes #351.

I went ahead and merged this after applying some changes that I mentioned above. Thanks for the contribution!


Some LLVM Compile Time Improvements

Note: This change requires Rust >= 1.20
This PR makes some strides for improving compile times for LLVM. There are two main aspects:

Disable the module passes; it seems the LTO passes cover most of these, and there was no performance regression observed by only using them (we may revert this if we see anything that contradicts this).

Restructure the SIR to enable optimizations at the SIR level. This does the following:

Change Statement to StatementKind and factor out the output Symbol. This allows recognizing unique "instructions" by just matching on the StatementKind.

We may eventually also want to make something like a StatementValue, which is an enum with Symbol and LiteralKind, which would allow inlining literals into LLVM expressions instead of alloca'ing them and load/storing them. All StatementKinds would then take StatementValue as input, and a Statement would output a Symbol. This is not yet implemented.
The main SIR level optimization here is creating the StatementTracker, which (conservatively) prevents emitting duplicate statements. It is conservative at the moment because it only works at the basic block level for simplicity, even though many expressions may be deduplicated across basic blocks within a function.
@jjthomas would be good for you to take a look at the SIR changes in particular.

Looks good to me, I like the explicit adding of valid statements into the tracker.

@jjthomas can you take a look again, this also implements the constant folding thing we talked about. Unfortunately it doesn't seem to help compile times too much yet but it's probably a good first step toward being able to disable some of the optimizations LLVM does by doing them on the SIR.


Access child's state without query

Is there any way to access child's state without query?
So, instead of
a <- query (TickSlot "A") (request GetTick)
b <- query (TickSlot "B") (request GetTick)

It could be
TickState a <- getState (TickSlot "A")
TickState b <- getState (TickSlot "B")

No, and even if there was the result would still have to be a Maybe, as there is no guarantee that a child component is present for any given slot address.
You could write your own function to do this, it's not forbidden, but we don't provide one by default as it bypasses the idea of components being encapsulated units.

Oh, actually, sorry, you can't write a function to do this easily - it would involve reimplementing parentComponent, as that transforms HalogenF in such a way that Get gives you the parent component's inner state, not its InstalledState value.

but we don't provide one by default as it bypasses the idea of components being encapsulated units.

But, you already use component state's type
eval :: EvalParent Query State TickState Query TickQuery g TickSlot

How is it encapsulated unit?
This function just return instance of TickState

Yeah, that mistake has already been pointed out, it should be possible to remove the child state from the type synonym in theory.

Also, you can just create Query and return full state.
data TickQuery a
  = Tick a
  | GetState (TickState  -> a)
 eval (GetState continue) = do
    state <- get
    pure (continue state)

The only problem is more code.

Yep, that's a solution. In those cases the child component is choosing to break the idea of having a self contained state, rather than it being a globally imposed rule from above, so that's fine.
A big part of the rationale for the current Halogen design is that a state object for each component is not enough to capture the state of any possible component: "3rd party" components (non-PureScript, non-Halogen JS components) can be wrapped in a Halogen component and then provide access to the native component API to get information about the state, as it is impractical (or impossible) for Halogen to maintain a complete and up-to-date state value for these kind of components.

I completely understand the idea. But for a small project is could be overkill. Instead of just return full state you need to create millions of queries and evals.

Closing this as the direction things have gone now it's "even more impossible" to access child state directly, since state is existential.


RFC: Endpoint Persistent Unlogged Files Storage

Summary
A design for a storage system that allows storage of files required to make
Neon's Endpoints have a better experience at or after a reboot.
Motivation
Several systems inside PostgreSQL (and Neon) need some persistent storage for
optimal workings across reboots and restarts, but still work without.
Examples are the cumulative statistics file in pg_stat/global.stat,
pg_stat_statements' pg_stat/pg_stat_statements.stat, and pg_prewarm's
autoprewarm.blocks.  We need a storage system that can store and manage
these files for each Endpoint.
GH rendered file
Checklist before requesting a review

[ ] I have performed a self-review of my code.
[ ] If it is a core feature, I have added thorough tests.
[ ] Do we need to implement analytics? if so did you add the relevant metrics to the dashboard?
[ ] If this PR requires public announcement, mark it with /release-notes label and add several sentences in this section.

Checklist before merging

[ ] Do not forget to reformat commit message to not include the above checklist

My understanding is EPUFS could be implemented as a combination of nginx-s3-gateway + ngx_http_auth_jwt without writing custom code. Is that understanding is correct?

This storage system does not need branching, file versioning, or other such features.
Data loss in this service, while annoying and bad for UX, won't lose any customer's data.

It means that proposed mechanism can not be used for persisting LR snapshots, slot states, replorigins, because

There are versioned
They can not be lost (yes, it is not user's data, but it seems to be unacceptable to loose replica if we for some reasons information about LR slot is lost).

So it means that we will still have to use AUX mechanism for LR, while inventing something new for pg_stat&Co.

Endpoint-related data files are managed by a newly designed service (which optionally is integrated in an existing service like Pageserver or Control Plane), which stores data directly into S3, and on the deletion of the Endpoint this ephemeral data is dropped, too.

Frankly speaking I do not understand role foo S3 here. S3 is perfect choice for storing arbitrary large volumes of data with streaming (tape-like) access. In all examples of use case described in RFC (pg_stat/global.stat, pg_stat_statements' pg_stat/pg_stat_statements.stat, and pg_prewarm's autoprewarm.blocks) data is relatively small (few MB is the worst case). Why if EPUFS is implemented as part of PS, it can not just save this data in local file system? It can be lost in case of PS crash? But it also can be lost (with smaller probability) if EPUFS asynchronously write it to S3 and is crashed before this operation is completed.

Sequence diagram

Proposed interaction between compute and PS means that we have to change any component working with this data (pg_stats, pg_prewarm,...) in two places:

When data is stored
When data is loaded.
Right now (with AUX) approach only save path has to be adjusted.
I wonder why we can not include this files in basebackup? Yes, certainly it assumes that EPUFS is part of PS, but I do not see any sense in deploying EPUFS as separate service out part of control plane.

Finally:
I still do not see good explanation why do we can not use AUX for this purposes and why investing new bicycle is better.
Yes, there are well known arguments discussed many times:

This data is not versioned and is more or less temporary.
We do not want waste space in WAL and PS KV storage for it.
AUX can not be used at replica.

I have serious concerns against 1 and 2. This data is expected to be small and rarely accessed. It is not performance critical,  although it will be pity if loading this data will increase compute start time.
We in any case write to the WAL she temporary data (as running xacts). So I do not think that we see any increase of WAL/PS storage size because of AUX files.

is more serious.  It may be not so important save prewarm information at replica, comparing with master (because of it's workload is either more OLAP oriented, either similar with primary). In case of OLAP, we do not need prewarm, because prefetch will efficiently doest it for us.
In any case, I think it will be better to implement everything we want to persist using AUX and look for sometime for any problems, some new use cases,... Ince we better understand requirements, we can better design EPUFS

Also I do not understand the idea of combining EPUFS with S3. From my point of view S3  (or whatever else remote FS) can be converted as alternative to EPUFS as separate service. If it is acceptable to loose this data, then why do we need to write it to S3? Actually, if we want to persist this data only temporary for the period of node restart and loose it in case of node crash, than EPUFS can be completely transient and to not write this data to any persistent media at all.
And last thing: I still have a feeling that problems we are trying to address with EPUFS are tightly related with problem of temp files, which seems to be much more fundamental and critical. As far as I understand idea of any distributes files systems (EBS, S3FS, ...) was rejects because mounting separate partition for each tenant is too expensive. I do not have much experience in this area to propose some concrete solution.  But still want to kill as much birth with one stone as possible.  EPUFS and conjunction with AUX can not somehow help us here.

Looks like we have not considered yet another possible alternative (to AUX) for storing local files: just create table for it in neon schema, i.e. create table pg_local_data(file_name text primary key, content bytea). Instead of all this special hacks with AUX we can just store files in this table. Certainly WAL and storage amplification will be the same (or even larger than with AUX approach). But once again - do not consider the to be critical. The main advantage of this approach is simplicity - no changes PS side or creating yet another service are needed. The main disadvantage is the same as for AUX - it can nt be used at replica.

This storage system does not need branching, file versioning, or other such features.
Data loss in this service, while annoying and bad for UX, won't lose any customer's data.

It means that proposed mechanism can not be used for persisting LR snapshots, slot states, replorigins, because

There are versioned
They can not be lost (yes, it is not user's data, but it seems to be unacceptable to loose replica if we for some reasons information about LR slot is lost).

So it means that we will still have to use AUX mechanism for LR, while inventing something new for pg_stat&Co.

It's a true observation that the ephemeral data is not critical, and no user data loss occurs if it's lost. However, AFAICS nothing in the proposal really depends on that, it's just an observation of the problem statement. In fact, the data stored would be highly durable, since it's stored on S3. So if we want to use this for important data, we could.
Yeah, this is not appropriate for LR snapshots or replication origins. They need to be versioned. That's OK. We will indeed continue to use the aux file mechanism for that.
Replications slots in general is a different story though. I've been saying for some time that replication slots should be a per-branch property, rather than per-endpoint. And they probably should not be versioned. When you create a replication slot, it's a promise that the system will retain the WAL needed by the slot. And when you advance the LSN of the slot, it's a permission for the system to truncate the old WAL. It is weird for that metadata about what WAL needs to be retained to be WAL-logged and versioned itself.
Furthermore, in Postgres you can create replication slots on a standby too. So a standby can have a different set of replication slots than the primary. In most cases, you don't want that though. Usually you want the primary and standby to have the same replication slots, and you want to keep them in sync, so that your replica can connect to either one, and it works sanely on a failover for example. Because of that, PostgreSQL 17 introduced a feature for syncing replication slots between primary and standby.
All of that sounds like EPUFS would be good place to store replication slots. The EPUFS would become the source of truth for what replication slots exist and their current LSNs. When you create a slot on the primary, or on any of the replicas, it gets also synced to the EPUFS. When you advance a slot through any endpoint, it gets updated in the EPUFS and all other endpoints.
For physical replication slots, you hardly need a running Postgres instance at all. You could create and drop slots, and do the streaming, directly from the safekeepers.
There's obviously much more work needed to make all that work, but the point is that the EPUFS seems like a good place for storing replication slots.


Production websites using Next.js

Hi all, I'm compiling a list of production applications built in Next.js so we can feature them in the 2.0 announcement. Please do share yours :smile:
Related to #727
List:

zeit.co
npm
scaleapi
tutorbro
project r
platzi music
skys limo
rainbow.now.sh
upsum news
bigfive.world
open-source.now.sh
ritoplz
goot.now.sh
opencollective
avocode

https://nteract.io :soon: https://github.com/nteract/nteract.io/pull/7

https://scaleapi.com

https://tutorbro.com

https://project-r.construction/ (Warning German ahead)
Source: https://github.com/orbiting/construction

This count as a production app https://platzi-music.now.sh/

Just deployed a clients website which uses next for rendering it's frontend and adonis.js as it's backend.
Will putting up a repot with an adonis.js + next.js boilerplate that came from this project up soon. :)
https://skyslimo.com

https://rainbow.now.sh

Waiting for launch go. When I am given the word, I will add here. =)

https://open-source.now.sh/

https://ritoplz.com

https://goot.now.sh/

opencollective.com:
https://github.com/OpenCollective/frontend/tree/master/src/pages
cc @xdamman

https://linklet.ml/

https://nucleode.com

killerandasweetthang.com

https://ffwdmusic.org

http://www.ecurring.com

@FrancosLab Is the Adonis backend starting the Next.js server programmatically? Or is the client running separately from the backend?
I tried the first approach but couldn't get the Next App started with Adonis backend:
// adonis-server/app/Http/routes.js
const Route = use('Route')

const next = require('next')

const dev = process.env.NODE_ENV !== 'production'
const app = next({ dev })
const handle = app.getRequestHandler()

Route.any('*', function * (request, response) {
  yield app.prepare().then(() => {
    return handle(request, response)
  })
})

I'm not even sure if routes.js is the right file to set this up. Any input is appreciated.
PS: I'm just starting with both frameworks.

https://www.rsquare.co.kr

https://angelolsen.com

https://bolket.com

https://avocode.com

https://nteract.io now uses next (deployed yesterday!)

https://www.insiderx.com
I have been working on this for the last three months. This is a site to save uninsured and high-deductible plan patients within the US money on brand prescriptions. We used Next so we could product a fast and responsive site both on first visit and while navigating.

I'm closing this. Will create a wiki article soon 👍🏻

@timneutkens https://www.schlouk-map.com. Interesting in the fact that it provides a customized experience for each user (different mobile, tablet, desktop) and has all the "modern" practice like deep links, open-graph and so on.

can anyone share some repo's / source? Would be nice. All the examples are nice and they work well but they are also very simple.  We used to run an extra proxy server with it, though it appears to be no more.

@anomaly44 If you want you can check Ritoplz repository, make sure you check staging branch tho.
Some of the stuffs I used that I face some issues and resolved:

Testing react components with Jest and enzyme
i18next to translate
Environment vars
Custom server to be able to use url-prettifier
And a bunch of other stuffs... I think it might help you since it's a full application there.

Ps: Don't take my project as a rule for building your projects tho.

Using Next v3 static export feature I have been able to build my company's website hosted on Github Pages (Github Pages + Travis CI + Next.js are the ingredients of success): https://github.com/mirabit-ua/mirabit-ua.github.io/

This it's not a website, but an Electron app using Next.js v3 to export the rendered code
https://github.com/PlatziDev/pulse

Rx Visualizer is built with next.js

@bukinoshita awesome example! I love how you integrated redux, and use authentication for SSR Why not take your project as a rule for building projects?

Thanks @fabioespinosa! Because we all have different ways of building things, some things we like and some things we don't like. We tweak with our own preferences and how we feel with each tool. That's why I said that. 😅

https://owls.co ;)

@briva Nice!!

http://www.wanoyume.com  and the repo is: https://github.com/wanoyume/webiste-jp

Apparently Deliveroo is using next.js. It would probably be the best showcase. Check the link in which a Deliveroo Engineer talks about using next.js.
https://www.youtube.com/watch?v=h6rETZH6Ym0

@carlos-peru They're not in production just yet 😄

@timneutkens the video is from React London 2017 back in April and currently https://deliveroo.co.uk/ uses React. The video explains that they used next.js to migrate to React. I would think that their work with next.js is in production because of that but I'm not certain. Therefore, I carefully used the word "apparently" 😉

Haha no worries 👌 I wasn't trying to make a point ❤ The current deliveroo.co.uk is rails + react instead of Next.js. I've talked to Jasdeep before on slack 👍  Feel free to join btw 😄: https://zeit.chat

https://sergio.now.sh/ (code) <- exported site using Next.js v3 and a service worker with a networkFirst cache and using Preact to reduce the production bundle size.

https://www.wethefuture.org

https://fabriks.net

https://mofo.net.au/

https://www.traceme.com

Very cool guys 👍 💯

Can you create a showcase page?

Seems like a great idea @austinamorusotraceme 👍 Will talk to evilrabbit about it 👍

Full ecommerce built with Next.js and Now.
https://www.institchu.com

@chhuang just an FYI, if you use an adblocker when viewing your site you get a breaking error analytics is not defined which prevents the entire site from loading!

@mashaal what blocker are you using, I have ABP and it works fine for me?

ublock origin 1.14.8

@chhuang when loading: https://www.institchu.com/design/shirt, how come it takes so long? E.g. what's it doing behind the scenes? I noticed some other pages loaded pretty quickly.
Overall, it's an awesome implementation and very well polished!
Also, I should mention that the entire site fails to load with uBlock origin like @mashaal (which is probably a p0 blocker, IMO).

Thanks guys, really appreciate the feedback. I've just fixed the Adblocker problem, one of the static javascript is named tracking.js and it's blocked by default.
@pruhstal I'm assuming it's because it's loading the fabric images, although it shouldn't be because it's lazy loading the images and all the images should be cached on the server and also in the browser once you've finished loading them.

https://m.staples.com is using next.js.

SaaS website using Next v4
https://www.yeep.io/

Back on May 8th we actually launched https://insiderx.com, a pharmacy savings card.  I made the launch announcement above a long time ago. I have something new to announce, but first a update of where we are at -
Since our launch we have had zero outages on our website. We have added Contentful as a backend CMS thanks to the amazing implementation of getInitialProps. Using the example around global variables, we built configuration allowing us to externalize the bulk of our config. Later we added Algolia search for type ahead and automatically generated pages for drug information.
In the last months since launching, we increased our page count from 7 to over 14,000. Soon this will double again as we localize the entire site into one additional language. Our next.js integration with express has given us the flexibility to control parametrized routing, setup 301 redirects as needed, and support our localization efforts.
Because everything that makes our site unique is externalized in Contenful, Algolia, or custom Express configurations files, we were able to do something amazing -
Today I am announcing the launch of https://justrx.com. In less than 30 days we were able to take our tech stack and convert it to something that lets us build additional sites with completely different routes, content, components, themes, and content. JustRx.com is a slightly different Pharmacy Savings Card that has a more narrow network (less locations).
This is not a fork of InsideRx.com. When we deploy code to one site, we deploy it to all domains. This allows us to continue to enhance our site over time and continue to build using the best practices.
The success of launching this solution so fast is heavily based on our technology stack, and what Next.js affords us. You can see the performance. Currently we are still using 2.2.x version of Next.js. We will be upgrading to Next 4 in a little while. Our initial tests have shown us grow from 1.3 renders a second to 5.6 renders. We expect the performance numbers below to increase with the switch to Next 4, which also upgrades our web pack setup.

@khrome83 💯 ❤

Check out an online image compressor built with next.js (4.1+), node.js for backend and some open source compiled libraries.  Here's the link: https://imgsquash.com

Please check out my photography website which was done with next.js and wordpress API. Here's the link: http://99foto.pl

Additionally:
eltonjohn.com
jobs.netflix.com

The new ticketmaster.com site is being built on next.js
ticketmaster.com/new

@timneutkens https://www.common.com/ is using Next.js' static export, hosted on S3 behind a Cloudfront CDN, and using Contentful as a CMS.

Book sport activity getaways
vacucu

https://www.magicleap.com Seems to be using it

Check out: https://hreftools.com - Free online web tools built with next.js and node.js

We're working on https://wecured.com using Next.js and Now.

Made a teacher rating site for my university, its been quite a revolution, been featured in local press lately and now over 15K teacher reviews.
www.losestudiantes.co

Chợ Tốt - Agent Directory: https://nha.chotot.com/danhba
Chợ Tốt - Public Profile: https://www.chotot.com/user/59dafc026c92f5b3347ca15b4eb87d83/dang-ban

You can now share them here: https://spectrum.chat/next-js?thread=e425a8b6-c9cb-4cd1-90bb-740fb3bd7541


Question about Multi-Core CPU optimize

According to https://wiki.ripple.com/Validator, the validator of ripple lab is setup at least in AWS m1.large.
Most of the AWS machine is based on multi-core cpu such as Intel Xeon E5-2430.
When there are huge real transactions in short time, the CPU load of validator  will be too high.
In Ubuntu-64, I find that there are only two or three task for rippled.
My question is that is there any special code for optimizing the performance on multi-core cpu?
Does the rippled task support the parallel tool such as GNU Parallel?

"When there are huge real transactions in short time, the CPU load of validator will be too high."
Do you have any indication for this or are you guessing? I don't really see any CPU spikes on my validator, but it is bandwith choked, so it might have more work with keeping up than calculating new state.
According to the "server_info" call, my server currently runs 6 threads (on 4 cores + 4 HT-cores) and I'm not sure how running several rippled validators in parallel should help here...

Hi Markus,
According to the "server_info" call, my server currently runs only 3 threads.
"load" : {
"job_types" : [
{
"in_progress" : 1,
"job_type" : "clientCommand",
"peak_time" : 3,
"per_second" : 3
},
{
"job_type" : "writeObjects",
"peak_time" : 1
},
{
"job_type" : "peerCommand",
"per_second" : 5
},
{
"job_type" : "WriteNode",
"per_second" : 1
}
],
"threads" : 3
},
And with linux ps command, there are two task for rippled. Actually, the linux command only run in single CPU core. When validator need to verify sign of transactions, I think it's better to use mutli-core to improve the performance.
I don't know how much transactions per second rippled server can support now. If the load increase tenfold, the CPU performance maybe become bottleneck?

@dreamlich there are two tasks because rippled forks a copy of itself to function as a watchdog, so that the process that is running the server code can be restarted if it terminates. The ps command does not display threads by default (try: ps -auxH | grep rippled to see threads)
If the server is reporting three threads in server_info, then your server is, actually, running with three threads. The server uses as many threads as are appropriate and automatically tunes this value based on the resources available on your computer.
The server is smart about when and how it performs signature validation and naively adding more threads won't help performance. And rest assured that we are keeping an eye at the performance of the server and will not hesitate to make changes to clear out any bottlenecks.

@nbougalis  Thanks for your quick reply.
Could you please kindly show me the  files or function about smart adding threads for performance?

@dreamlich the most important piece is the Workers object, which is behind the RippleD "job queue": by default it creates as many threads as there processors on the system. See https://github.com/ripple/rippled/blob/develop/src/beast/beast/module/core/thread/Workers.h#L51-L61.
Additionally, other operations or objects create their own threads in which lengthy or parrelelizable tasks will execute. Examples of such objects are the ledger cleaner, the SHAMap store, the websocket server and the resoruce manager.