Unable to deply Nuxt 3 site with Universal Rendering

Describe the bug
Following this guide to deploy a Nuxt 3 site to a SWA, however trying to use Azure DevOps pipelines rather than Github Actions.
Guide:
https://learn.microsoft.com/en-us/azure/static-web-apps/deploy-nuxtjs
Repo code:
https://github.com/staticwebdev/nuxt-3-starter
Pipeline:
name: Azure Static Web Apps CI/CD

pr:
  branches:
    include:
      - master
trigger:
  branches:
    include:
      - master

jobs:
- job: build_and_deploy_job
  displayName: Build and Deploy Job
  condition: or(eq(variables['Build.Reason'], 'Manual'),or(eq(variables['Build.Reason'], 'PullRequest'),eq(variables['Build.Reason'], 'IndividualCI')))
  pool:
    vmImage: ubuntu-latest
  variables:
  - group: Azure-Static-Web-Apps-thankful-moss-0b71eae03-variable-group
  steps:
  - checkout: self
    submodules: true
  - task: AzureStaticWebApp@0
    inputs:
      azure_static_web_apps_api_token: $(AZURE_STATIC_WEB_APPS_API_TOKEN_THANKFUL_MOSS_0B71EAE03)
###### Repository/Build Configurations - These values can be configured to match your app requirements. ######
# For more information regarding Static Web App workflow configurations, please visit: https://aka.ms/swaworkflowconfig
      app_location: "/" # App source code path
      api_location: ".output/server" # Api source code path - optional
      output_location: ".output/public" # Built app content directory - optional
###### End of Repository/Build Configurations ######

After configuring the pipeline and running it I get the error:
Failed to find a default file in the app artifacts folder (.output/public). Valid default files: index.html,Index.html.
If your application contains purely static content, please verify that the variable 'app_location' in your deployment configuration file points to the root of your application.
If your application requires build steps, please validate that a default file exists in the build output directory.

Should be reproducible following the exact steps of the article, just pointing to Azure DevOps rather than Github.
Is there a setting that needs to be changed for this to work on a ADO build? Surely it should work the same on either platform?
Let me know if there's a better place to log this issue - I wasn't quite sure where it could go.

I'm experimenting the same issue here. With approximately the same configuration:
name: Azure Static Web Apps CI/CD

pr:
  branches:
    include:
      - master
trigger:
  branches:
    include:
      - master

jobs:
  - job: build_and_deploy_job
    displayName: Build and Deploy Job
    condition: or(eq(variables['Build.Reason'], 'Manual'),or(eq(variables['Build.Reason'], 'PullRequest'),eq(variables['Build.Reason'], 'IndividualCI')))
    pool:
      vmImage: ubuntu-latest
    variables:
      - group: Azure-Static-Web-Apps-icy-pond-0910a4803-variable-group
    steps:
      - checkout: self
        submodules: true
      - task: AzureStaticWebApp@0
        inputs:
          azure_static_web_apps_api_token: $(AZURE_STATIC_WEB_APPS_API_TOKEN_ICY_POND_0910A4803)
          ###### Repository/Build Configurations - These values can be configured to match your app requirements. ######
          # For more information regarding Static Web App workflow configurations, please visit: https://aka.ms/swaworkflowconfig
          app_location: './' # App source code path
          api_location: './.output/server' # Api source code path - optional
          output_location: './.output/public' # Built app content directory - optional
###### End of Repository/Build Configurations ######

I'm having exactly the same error message.
If I disable the SSR on the whole nuxtjs app, then it generates an index.html to the output/public path and it works without the server side API working. But that's not what I've managed.
I've tried on a Github repository and it works perfectly. So it seems to come from the Azure Static App deployment task.

I had the same issue. After digging in the nitro documentation https://nitro.unjs.io/deploy/providers/azure I saw that there is a specific deployment-setting for deploying to azure so after i changed my nuxt.config.(js|ts)
export default defineNuxtConfig({
  nitro: {
    preset: "azure"
  },...

the deployment worked!
Hope this helps.

Hey folks, tried to repro and I'm not encountering the errors you mention (see my sample repo, created from the starter that was indicated as failing): https://github.com/thomasgauvin/test-nuxt-3/actions/runs/5593653197/jobs/10227551221 Perhaps there's been a fix on the Nitro side of things that was causing this issue?
@InverterOfControl provides the correct workaround. Nitro uses presets in order to determine how to compile the Nuxt app for the deployment platform. We've worked with the Nitro team in order to ensure zero-config deployments with Static Web Apps, such that Nitro detects when Oryx is building the app for Static Web Apps, and that builds correctly for Static Web Apps. The manual configuration mentioned by @InverterOfControl will always work, and can be used to specify in case of another issue like this

Thank you @InverterOfControl
It works for me !

I'm going to be renaming this issue, as it applies specifically to Azure DevOps, so we can better track it

I am trying to deploy an already built Nuxt 3 app with the following structure:
- staticwebapp.config.json
- .output
  - public
  - server
  - nitro.json

... and the following configuration:
steps:
- task: AzureStaticWebApp@0
  displayName: 'Static Web App: ...'
  inputs:
    workingDirectory: '$(System.DefaultWorkingDirectory)\deployment'
    app_location: /
    output_location: .output/public
    api_location: .output/server
    azure_static_web_apps_api_token: '$(AZURE_STATIC_WEB_APPS_API_TOKEN)'

What am I missing (structure and/or configuration wise) to make this work? Currently I am receiving the following output:
2024-03-05T15:18:50.0430590Z Verbose logging enabled
2024-03-05T15:18:50.0877240Z Try to validate location at: '/working_dir'.
2024-03-05T15:18:50.0890626Z Build timeout not specified, defaulting to 15 minutes
2024-03-05T15:18:50.0891672Z App Directory Location: '/' was found.
2024-03-05T15:18:50.0892501Z Try to validate location at: '/working_dir/swa***db***connections'.
2024-03-05T15:18:50.0899711Z Looking for event info
2024-03-05T15:18:50.0910244Z Could not get event info. Proceeding
2024-03-05T15:18:50.5557834Z Skipping step to build /working_dir with Oryx
2024-03-05T15:18:50.5573940Z Found staticwebapp.config.json file: 'staticwebapp.config.json'
2024-03-05T15:18:50.5583800Z Didn't find Oryx manifest file under location: /9899dff2***df6f***4d68***93ad***0091e9bd66af***swa***oryx/app***manifest/oryx***manifest.toml
2024-03-05T15:18:50.5659154Z ##[error]Failed to find a default file in the app artifacts folder (/). Valid default files: index.html,Index.html.
2024-03-05T15:18:50.5660430Z ##[error]If your application contains purely static content, please verify that the variable 'app_location' in your deployment configuration file points to the root of your application.
2024-03-05T15:18:50.5663108Z ##[error]If your application requires build steps, please validate that a default file exists in the build output directory.
2024-03-05T15:18:50.5709009Z ##[error]

same here! still an issue at 4/2024.
This fixed it, indeed:
export default defineNuxtConfig({
nitro: {
preset: "azure",
},
});
Thank you @InverterOfControl

In this way I managed to deploy a nuxt SPA in azure app service
In azure

Create app service with linux O.S and node js runtime

Configure environment variables

Configure start command: npm run start

In your nuxt application

Create branch and add start script
Create the env-production branch and add the following modification to the package.json file

Commmit changes and push the env-production branch to your repository

In azure

Configure CI/CD with github

Change build provider, select App Service Build Service

Authorize azure access to your github account and select the repository and branch that will be used for CI/CD

Summary config CI/CD

After saving the changes wait for App Service Build Service to build the application (in my case it usually waits between 5 to 20 min), if everything goes well you should be able to see your application


EL-870 Finalise Household flow

Jira ticket
Updated the flow to match the miro board
https://miro.com/app/board/uXjVPBBAi10=/?moveToWidget=3458764552902974344&cot=14

Guidance to review
The steps/sections that we use could do with a refactor as the new household flow groups things in a different way. I propose to create a ticket for refactoring the sections when we remove the household_flow feature flag.
Checklist
Before you ask people to review this PR:

Tests and rubocop should be passing
Branch is generally up to date with main Github - definitely no conflicts
No unnecessary whitespace changes. These make diffs harder to read and conflicts more likely.
PR description says what changed and why, with a link to the JIRA story.
Diff has been checked for unexpected changes being included.
Commit messages say why the change was made.

I'm going to pair-review this with @MazOneTwoOne tomorrow.


add login check decorator

Description
Please provide a summary of the pull request and the issue it fixes. Please add necessary details, context, dependencies, explanation of when review is needed (see next section), etc.
how to test:

after seeing the homepage without logging in, try to access the .../contribute/create url
the expected behavior is to take back to login page, instead of showing the submit page
once we login in, then we should be able to see the submit page well

Fixes #(add issue number here and remove parentheses)
Review Time Estimate
Please give your idea of how soon this pull request needs to be reviewed by selecting one of the options below. This can be based on the criticality of the issue at hand and/or other relevant factors.

[ ] Immediately
[ ] Within a week
[x] When possible

Type of changes
Please select a relevant option:

[ ] Bug fix (non-breaking change which fixes an issue).
[x] New feature (non-breaking change which adds functionality).
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected).
[ ] Other (any another change that does not fall in one of the above categories.)

Checklist:
Please select all applicable options:

[ ] I have signed the Rokwire Contributor License Agreement (CLA). (Any contributor who is not an employee of the University of Illinois whose official duties include contributing to the Rokwire software, or who is not paid by the Rokwire project, needs to sign the CLA before their contribution can be accepted.)
[ ] I have updated the CHANGELOG.
[ ] I have read the Contributor Guidelines.
[ ] I have performed a self-review of my own code.
[ ] I have commented my code, particularly in hard-to-understand areas.
[ ] My change requires updating the documentation.
[ ] I have made necessary changes to the documentation.
[ ] I have added tests related to my changes.
[ ] My changes generate no new warnings.
[ ] New and existing unit tests pass locally with my changes.
[ ] Any dependent changes have been merged and published in downstream modules.

How do I check the change or your code in the browser? Could you provide brief explanation of what to see outside the code, such as browser or something else?

my bad i forgot to provide some instruction about this.

after seeing the homepage without logging in, try to access the submit page url (.../contribute/create)
the expected behavior is to take back to login page, instead of showing the submit page
once we login in, then we should be able to see the submit page well.

This is what happened when I accessed localhost:5050/contribute/create without logging in

When I went to the same page with logged in, it redirected to http://localhost:5050/profile page

When I went to the same page with logged in, it redirected to http://localhost:5050/profile page

@wenjzhu, please create a follow-up issue to fix this. /profile page URL does not seem to have the /contribute URL prefix. Thanks.

@wenjzhu, are there other pages to which we can add the @login_required decorator? I thought these need to be added to have already logged in:
/logout
/profile
I wasn't sure about the ones below. What do you think?
/results
/submitted

This is what happened when I accessed localhost:5050/contribute/create without logging in

thanks, i think this is due to my typo in checking condition...and just fixed this

I still see the same error. However, If I go to localhost:5050 then it redirects to github login

Could you pull again? I tested on my local and it has no key error after I changed the auth validation...

@wenjzhu, it looks like redirect after login is not working correctly. Please look into this. Thanks.

I removed the login decorator for the profile page which seems ok to me.
But still not sure the cause of the error Yongwook mentioned above since it seems not to appear in my local...maybe it is related to cookie/session? let me know if you guys see the same error again.

This is what happened when I accessed localhost:5050/contribute/create without logging in

thanks, i think this is due to my typo in checking condition...and just fixed this

I still see the same error. However, If I go to localhost:5050 then it redirects to github login

Could you pull again? I tested on my local and it has no key error after I changed the auth validation...

@ywkim312, when going to http://localhost:5050/contribute/create from an incognito window, it's redirecting me to the GitHub login page. As suggested by @wenjzhu, could you please pull the latest and try again? Thanks.

@wenjzhu, please resolve the merge conflict. Thanks.


District in SMS

For madagascar SMS we want to have only CSB and District, but no region.
I.e replace region with district.

This is done.  One can now format sms, text and html alert messages differently for each country using the configs.  The specific change has been made for madagascar.  It will be included in the next deployment.


Incorrect voting power percentage

Maybe related to #1 , if a proposal is in voting period, the percentageVoted is incorrect.

Fixed in 56d4aefc330e49fb55ed146bc2e491ce545e6330


Enabled uvloop tests for "run-tests" job in CI

Pull Request check-list
Please make sure to review and check all of these items:

[ ] Do tests and lints pass with this change?
[ ] Do the CI tests pass with this change (enable it first in your forked repo and wait for the github action build to finish)?
[ ] Is the new or changed code fully tested?
[ ] Is a documentation update included (if this change modifies existing APIs, or introduces new ones)?
[ ] Is there an example added to the examples folder (if applicable)?

NOTE: these things are not required to open a PR and can be done
afterwards / while the PR is open.
Description of change
Please provide a description of the change here.

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

Project coverage is 61.64%. Comparing base (e4cb9e2) to head (2e1e232).

:exclamation:  There is a different number of reports uploaded between BASE (e4cb9e2) and HEAD (2e1e232). Click for more details.
HEAD has 56 uploads less than BASE

Flag
BASE (e4cb9e2)
HEAD (2e1e232)

60
4

Additional details and impacted files
@@             Coverage Diff             @@
##             main      #53       +/-   ##
===========================================
- Coverage   75.01%   61.64%   -13.38%
===========================================
  Files         132      132
  Lines       34368    34368
===========================================
- Hits        25781    21185     -4596
- Misses       8587    13183     +4596

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


[Feature] Donation via bank transfer page - elements to be removed

The bank name and BIC code is derived from IBAN so no need for Bank name to be copied

Another useless element -

Since it will not open a pop-up and explain into more detail the purpose of the code, it should not be here.

closed by @Margi13  with https://github.com/podkrepi-bg/frontend/pull/926


Add creator address in contract

Usage
Find your Petra address you want to use on the UI, set initial_creator_address in publish.js with it.
This approach avoids user having to call a separate function to set creator after publishing module because we set it in init_module().
Changes

Remove compile script because we don't need it, both test and publish will compile automatically.
Set initial_creatpr_address in test and publish scripts.

Let's keep the compile script

restored

There some code we can clean up following this change, for example https://github.com/aptos-labs/create-aptos-dapp/blob/main/templates/digital-asset-template/frontend/pages/CreateCollection.tsx#L198-L212
Also, why not set the creator_address on .env and get it from there when we want to publish the module?


Connecting to Firestore emulator

I have downloaded a docker image with the Firestore emulator in it and I'm trying to connect to it from .NET.
I have set environment variables I believe the Firestore library looks for but it still tried to connect to the Firestore inside GCP.
Could you point me in the right direction please?

Did you set the code to explicitly look for the environment variables, as described at https://googleapis.dev/dotnet/Google.Cloud.Firestore/latest/index.html#connecting-to-the-emulator ? If not, that's probably it.

Thanks
On Thu, 25 Feb 2021 at 16:48, Jon Skeet<EMAIL_ADDRESS>wrote:

Did you set the code to explicitly look for the environment variables, as
described at
https://googleapis.dev/dotnet/Google.Cloud.Firestore/latest/index.html#connecting-to-the-emulator
? If not, that's probably it.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/googleapis/google-cloud-dotnet/issues/5979#issuecomment-786043287,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAZVJXGVXZCYVSFD6MOTFDTAZ5NTANCNFSM4YG2TLGA
.


Tigera operator (post-migration) fails to work if some pods have ips not in cluster pod CIDR

First, let me clarify that I'm aware that my cluster is misconfigured =] Unfortunately it seems there is no way to fix that without completely rebuilding the cluster, which I don't have time to do right now.
I did not realize that calico's IPPool resources still needed to be within the cluster pod CIDR, so I'm using pools that are outside of it -- e.g. <IP_ADDRESS>/20 when my cluster CIDR is <IP_ADDRESS>/16. I didn't realize it mattered, and since I'm using ToR bgp peering 99% of everything still works fine. However, after migrating to the tigera operator (during which I attempted to change my cluster CIDR and discovered that it's either not possible or at least more difficult than expected) the operator won't update anything because it's constantly in an "error" state:
Could not resolve CalicoNetwork IPPool and kubeadm configuration: IPPool <IP_ADDRESS>/20 is not within the platform's configured pod network CIDR(s) [<IP_ADDRESS>/16 2607:fa18:1000:21::10:0/108]
I'm using VPNs and linking multiple clusters together, so unfortunately moving my IPPools isn't an option.
Expected Behavior
A warning should be thrown, but there should be a way to tell it "yeah, I know this is wrong, but that's how everything is set up so please ignore it"
I absolutely 100% agree that there should be warnings to tell uneducated folks like me that they are Doing Something Stupid, but since it can actually work it should let you do it if you really want.
Current Behavior
The Tigera operator is completely nonfunctional due to the error state.
Steps to Reproduce (for bugs)

Have a cluster with IPPools that are not in the cluster pod CIDR
Upgrade to the calico operator, doing whatever you have to to get it to install =]

Context
I think I've clarified this above, but it seems like it should be an easy fix.
Your Environment
Kubeadm bare metal cluster, 7 servers; opnsense ToR routers with bgp peering. Dual IPv4/IPv6 stack.

As a work around for you right now you should be able to set the CIDRs in the Installation resource to match the kubeadm configuration. This will be fine because the operator currently does not reconcile the IPPools defined in the Installation resource with the existing IPPools, so since the default IPPools are already created, it will not try to change/add/update the existing IPPools.
You should make sure the IPPools you define in the Installation resource do match the existing IPPools fields encapsulation and natOutgoing fields.

This will be more important long term as well. Kubernetes is adding the ability to have multiple cluster CIDRs in the near future, so we'll need to keep our logic insync with that.
Might be worth converting this to a warning sooner rather than later, and stop blocking the operator from doing its work. I don't think we have a great mechanism to implement that right now, but it would be useful.

I'm not sure where we could put a warning that the user would see. Is this a use case for adding another "tigerastatus" column/field that would report this issue but nothing would be blocked on it?
I feel like this wouldn't be noticed then unless there was some other issue, but maybe that would be good enough to give the user a pointer to what might be wrong in the case of something else being broken.

What issues does it actually cause?
Being the ignorant sap that I was I set up my cluster in such a way that I
can't resolve this problem without rebuilding the full cluster, so I've
been operating for some time with my ippools all outside the cluster pod
CIDR -- I would probably have seen a warning in a tigerastatus update if it
were there, but otherwise you're right I wouldn't have seen anything,
partly because so far it's all working reasonably fine. I do sometimes have
an odd issue, which might or might not be related to this.
Anyway, not saying that it isn't a problem, but it's clearly not a "end of
all things" type issue so it does not seem like it should prevent upgrade
or install.
On Wed, Dec 15, 2021 at 11:50 AM Erik Stidham @.***>
wrote:

I'm not sure where we could put a warning that the user would see. Is this
a use case for adding another "tigerastatus" column/field that would report
this issue but nothing would be blocked on it?
I feel like this wouldn't be noticed then unless there was some other
issue, but maybe that would be good enough to give the user a pointer to
what might be wrong in the case of something else being broken.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/tigera/operator/issues/1512#issuecomment-995084131,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AABWYTT6YCMQZY2RKTMV66LURDPQXANCNFSM5DZ5IJDQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

What issues does it actually cause?

The issues that would happen is that traffic may get NAT'ed when it shouldn't be which would cause problems with policy not applying correctly (block traffic that should be allowed but since it is coming from an unexpected IP it is blocked).


fix issue EOFException when I use RLock with SerializationCodec #254

there is of fix of issue #254

Thank you!


r.hasOwnProperty is not a function

Issue Id: c6fb6956-d489-b312-274b-cb99c1937800Versions - 1.5.2-  07d663dc1bd848161edf4cd4ce30cce410d3d877Stack TypeError: r.hasOwnProperty is not a function/vs/base/common/diff/diff.ts#L260:18 (hasOwnProperty)/vs/base/common/diff/diff.ts#L242:7 (ComputeUniqueIdentifiers)/vs/editor/common/diff/diffComputer.ts#L21:16/vs/editor/common/diff/diffComputer.ts#L303:19 (computeDiff)/vs/editor/common/services/editorSimpleWorker.ts#L221:34 (computeDiff)/vs/base/common/worker/simpleWorker.ts#L302:51 (apply)/vs/base/common/worker/simpleWorker.ts#L284:69 (_handleMessage)/vs/base/common/worker/simpleWorker.ts#L130:29 (handleMessage)/vs/base/common/worker/simpleWorker.ts#L98:7 (_handleMessage)/vs/base/common/worker/simpleWorker.ts#L289:17 (handleMessage)/vs/base/worker/vs/base/worker/workerMain.ts#L25:42 (onmessage)

Impossible as far as I'm concerned (living in a normal world where {}.hasOwnProperty is defined.
private ComputeUniqueIdentifiers(): void {
		let originalSequenceLength = this.OriginalSequence.getLength();
		let modifiedSequenceLength = this.ModifiedSequence.getLength();
		this.m_originalIds = new Array<number>(originalSequenceLength);
		this.m_modifiedIds = new Array<number>(modifiedSequenceLength);

		// Create a new hash table for unique elements from the original
		// sequence.
		let hashTable:{[key:string]:number;} = {};
		let currentUniqueId = 1;
		let i: number;

		// Fill up the hash table for unique elements
		for (i = 0; i < originalSequenceLength; i++) {
			let originalElementHash = this.OriginalSequence.getElementHash(i);
			if (!hashTable.hasOwnProperty(originalElementHash)) {
				// No entry in the hashtable so this is a new unique element.
				// Assign the element a new unique identifier and add it to the
				// hash table
				this.m_originalIds[i] = currentUniqueId++;
				hashTable[originalElementHash] = this.m_originalIds[i];
			} else {
				this.m_originalIds[i] = hashTable[originalElementHash];
			}
		}

		// Now match up modified elements
		for (i = 0; i < modifiedSequenceLength; i++) {
			let modifiedElementHash = this.ModifiedSequence.getElementHash(i);
			if (!hashTable.hasOwnProperty(modifiedElementHash)) {
				this.m_modifiedIds[i] = currentUniqueId++;
				hashTable[modifiedElementHash] = this.m_modifiedIds[i];
			} else {
				this.m_modifiedIds[i] = hashTable[modifiedElementHash];
			}
		}
	}

@bpasero Are these stack traces finally reliable?

@alexandrudima as far as I know @ramya-rao-a owns the error telemetry service and should be the one to talk to

@alexandrudima We have been having stack traces working for quite some time now. AFIK the last issue with stack traces was that there was no demififed stack. Are you referring to any other issue?

Sorry about it, I take it back. I thought it is impossible for this exception to occur in the above code (so I thought the stack trace must be wrong), but it can occur if hasOwnProperty is a key in hashTable.

To reproduce:

have a diff where you compare two files
in one file have a line containing only hasOwnProperty
Observe: the diff is not computed:

@alexandrudima nice catch


Fixes for Europeana filter + implemented staging dir for AIPs

Where should the reviewer @DANS-KNAW/easy start?
How should this be manually tested?
Related pull requests on github

repo
PR
note

easy-
PR#
..

closed, taken over by #32


localisation added in size column

localized strings as mentioned by @llaske in #94

Thanks. Nice.


Build failure: libliftoff  Project version: 0.5.0-dev

Steps To Reproduce
Steps to reproduce the behavior:

Trying to use flake.nix to build nixos with hyprland wm for my raberrypi4
nixos-rebuild switch --show-trace

Build log
building the system configuration...
error: builder for '/nix/store/dc175rzn9zfb4zyzy2jhp02qd6sfhzki-libliftoff-0.5.0-dev.drv' failed with exit code 1;
last 10 log lines:
> [8/38] Compiling C object example/simple.p/common.c.o
> FAILED: example/simple.p/common.c.o
> gcc -Iexample/simple.p -Iexample -I../example -I../include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -Werror -std=c11 -Wundef -Wmissing-prototypes -Walloca -Wdeclaration-after-statement -Wfloat-conversion -Wsign-conversion -Wno-missing-braces -Wno-unused-parameter -isystem/nix/store/fk97vrlkp8d1a0xmxwggp4wyraadpp4d-libdrm-2.4.114-dev/include/libdrm -MD -MQ example/simple.p/common.c.o -MF example/simple.p/common.c.o.d -o example/simple.p/common.c.o -c ../example/common.c
> ../example/common.c: In function 'pick_crtc':
> ../example/common.c:54:29: error: conversion to 'uint32_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Werror=sign-conversion]
>    54 |     if (enc->possible_crtcs & (1 << j)) {
>       |                             ^
> cc1: all warnings being treated as errors
> [9/38] Compiling C object example/simple.p/simple.c.o
> ninja: build stopped: subcommand failed.
For full logs, run 'nix log /nix/store/dc175rzn9zfb4zyzy2jhp02qd6sfhzki-libliftoff-0.5.0-dev.drv'.
error: 1 dependencies of derivation '/nix/store/qyz46ddxz1y24lf8lzq51ab3nima2fmb-wlroots-hyprland-hidpi-2023-03-02_5ae17de.drv' failed to build
error: 1 dependencies of derivation '/nix/store/fn9bh09lmvpgabwa0rl52vhn4i4spg28-hyprland-0.22.0+date=2023-03-04_5184b54.drv' failed to build
error: 1 dependencies of derivation '/nix/store/sx4bpmhrn8xw4w87356v87a8ynzvklw5-desktops.drv' failed to build
error: 1 dependencies of derivation '/nix/store/7f71zp0xh5d86flkvdq1swb1d81iyq90-hyprland-0.22.0+date=2023-03-04_5184b54_fish-completions.drv' failed to build
error: 1 dependencies of derivation '/nix/store/bjh7lgykb9rslhphjawx03mdjhczaq95-hyprland-share-picker-0.pre+date=2023-02-11_2fa7e34.drv' failed to build
error: 1 dependencies of derivation '/nix/store/45y87rym0147azvh96zvcsld47hsvbjw-man-paths.drv' failed to build
error: 1 dependencies of derivation '/nix/store/1nh4d3z6447pjb7ilxxj3jgagb03hq53-system-path.drv' failed to build
error: 1 dependencies of derivation '/nix/store/7lkd5cva2xpaii0ddancmwg1mv52vii1-nixos-system-Nixos-23.05.20230301.a08d697.drv' failed to build
log here if short otherwise a link to a gist

nix log /nix/store/dc175rzn9zfb4zyzy2jhp02qd6sfhzki-libliftoff-0.5.0-dev.dr
v
@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking sources
unpacking source archive /nix/store/3n1w0rc8ybp1h83khh2n2b3hbym01dvx-source
source root is source
@nix { "action": "setPhase", "phase": "patchPhase" }
patching sources
@nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" }
updateAutotoolsGnuConfigScriptsPhase
@nix { "action": "setPhase", "phase": "configurePhase" }
configuring
meson flags: --buildtype=plain         --libdir=/nix/store/lqlckzkvxsvqwjn9c03wjfj7barnnmrn-liblift>
The Meson build system
Version: 1.0.0
Source dir: /build/source
Build dir: /build/source/build
Build type: native build
Project name: libliftoff
Project version: 0.5.0-dev
C compiler for the host machine: gcc (gcc 9.5.0 "gcc (GCC) 9.5.0")
C linker for the host machine: gcc ld.bfd 2.40
Host machine cpu family: aarch64
Host machine cpu: aarch64
Compiler for C supports arguments -Wundef: YES
Compiler for C supports arguments -Wmissing-prototypes: YES
Compiler for C supports arguments -Walloca: YES
Compiler for C supports arguments -Wdeclaration-after-statement: YES
Compiler for C supports arguments -Wfloat-conversion: YES
Compiler for C supports arguments -Wsign-conversion: YES
Compiler for C supports arguments -Wno-missing-braces: YES
Compiler for C supports arguments -Wno-unused-parameter: YES
Found pkg-config: /nix/store/q196iiqlclci29zy8jkpiphmk3l8xwiq-pkg-config-wrapper-0.29.2/bin/pkg-con>
Run-time dependency libdrm found: YES 2.4.114
Build targets in project: 13
libliftoff 0.5.0-dev
User defined options
auto_features: enabled
bindir       : /nix/store/lqlckzkvxsvqwjn9c03wjfj7barnnmrn-libliftoff-0.5.0-dev/bin
buildtype    : plain
includedir   : /nix/store/lqlckzkvxsvqwjn9c03wjfj7barnnmrn-libliftoff-0.5.0-dev/include
Additional context
New to Nixos eco-system, still learning to use flake.nix properly. maybe I missed sth in my  .nix
Any guidance to install hyprland with flake.nix properly will help.

@Costabo1 are you able to share configuration in order to reproduce ?
libliftoff from nixpkgs is still at 0.3.0
the 0.5.0 version comes from https://github.com/hyprwm/Hyprland/blob/main/flake.nix#L52
so, while version is not official, its possible that its some interaction between nixos module from flake ( I assume flake builds ) and something from nixpkgs

Thanks for the reply, here is my config files
https://github.com/Costabo1/Nixos/blob/main/flake_bkup.nix
https://github.com/Costabo1/Nixos/blob/main/configuration.nix
hopefully, have some guidance how to  properly utilize flake to install hyprland on a pi4 .

@Costabo1 thank you for providing configuration.
With this I was able to reproduce the issue.
There are actually 2 issues libliftoff and wlroots don't build on aarch64-linux due to C compiler warnings being treated as errors
specifically       "-W-error=sign-conversion" for libliftoff and       "-W-error=maybe-uninitialized" for wlroots
simplest way to reproduce the error is to run on you raberrypi4
nix build github:hyprwm/Hyprland

You can/should report this to Hyprland as they seem to support aarch64-linux and you can also report this upstream to libliftoff and wlroots, eg for libliftoff similar issue were fixed very recently in https://gitlab.freedesktop.org/emersion/libliftoff/-/commit/25dd6d662e6ee2ef756d3e6d6cf836dad9bdad85
meanwhile as a work around I was able to build Hyperland or aarch64-linux but disabling compile warnings
by adding
    env.NIX_CFLAGS_COMPILE = toString [
      "-Wno-error=sign-conversion"
    ];

to libliftoff derivation
and
    env.NIX_CFLAGS_COMPILE = toString [

      "-Wno-error=maybe-uninitialized"
    ];

to wlroots
hopefully this helps,
as for this issue, its not related to nixpkgs

Thanks for the guidance, still confuse how to disable the compile warnings properly. Should  I add those lines in my  configuration.nix when building libliftoff and wlroots packages or I  need to include them in the output of my flake.nix?

@Costabo1 i couldnt find a simple way of overrigin derivation from the flake so just forked it
you can see code here, sorry due to auto formatting, the diff is huge
https://github.com/kirillrdy/Hyprland/tree/aarch64
but you should be able to use it in your configuration just by changing url in you flake inputs
hyprland = {
        url = "github:hyprwm/Hyprland";

        inputs.nixpkgs.follows = "nixpkgs";
      };

to
hyprland = {
        url = "github:kirillrdy/Hyprland/aarch64";

        inputs.nixpkgs.follows = "nixpkgs";
      };

you can for that repo so you have your own copy, until you get a better solution from upstream

@kirillrdy
Thank you for the effort, I try your git repo and able to build  the nixos+ hyprland. However, when I try starting the Hyprland it failed to start because of this error.
[libseat] [libseat/backend/seatd.c:64] Could not connect to socket /run/seatd.sock: No such file or directory
I have only able to find this error  occurred in sway.
https://www.reddit.com/r/voidlinux/comments/mor7n5/getting_libseat_errors_when_starting_sway/
I try to create an env file  under  user/.config/hypr with the variable=hyprland, still unable to start up.  Any luck you are familiar with this error ?

going to close as upstream considered it resolved https://github.com/hyprwm/Hyprland/issues/1733
let us know if its still an issue

@kirillrdy
Still having trouble to start up the Hyprland on my pi4. I tried install seatd package and run sudo seatd in the tty terminal. After that I got another error, seem missing some sort of drivers for my set up?
Here is my log
https://github.com/Costabo1/Nixos/blob/main/aarch64_error_log
and when I try start sway, I got these errors:
costabo1@Nixos ~ $ sway Thu Mar 9 20:04:48 2023
00:00:10.024 [wlr] [backend/backend.c:217] Found 0 GPUs, cannot create backend
00:00:10.025 [wlr] [backend/backend.c:390] Failed to open any DRM device
00:00:10.039 [sway/server.c:73] Unable to create backend

@kirillrdy Still having trouble to start up the Hyprland on my pi4. I tried install seatd package and run sudo seatd in the tty terminal. After that I got another error, seem missing some sort of drivers for my set up?
Here is my log
https://github.com/Costabo1/Nixos/blob/main/aarch64_error_log
and when I try start sway, I got these errors:
costabo1@Nixos ~ $ sway Thu Mar 9 20:04:48 2023 00:00:10.024 [wlr] [backend/backend.c:217] Found 0 GPUs, cannot create backend 00:00:10.025 [wlr] [backend/backend.c:390] Failed to open any DRM device 00:00:10.039 [sway/server.c:73] Unable to create backend

I had a look at wlroots source code, and yes looks it cant find any drm devices
you can check devices
ls -lah /dev/dri/by-path/*

[root@Nixos:~]# ls -lah /dev/dri/by-path/*
ls: /dev/dri/by-path/*: No such file or directory
this is my output. Any ideas how to install a wlroots version works on pi4 hardwares?

[root@Nixos:~]# ls -lah /dev/dri/by-path/* ls: /dev/dri/by-path/*: No such file or directory
this is my output. Any ideas how to install a wlroots version works on pi4 hardwares?

I think this means its not the issue with wlroots, but indeed something wrong with drivers or udev Have you tried non nixos distro ?
I dont have experience with raspberrypi, but if you have a working versions with non nixos, then we can try to figure out the difference


HTTP 422

http status code 422, is not treated as error in send_http_request

Sorry, could you give me more details? When and how did you trigger this problem.

yes, sorry.
The application does not treat any http status code, the 'httpc:request' function resolve any status code with atom 'ok', and status code could be fixed in send_http_request.

No, the httpc:request would return a status code if request error, the status code returned depends on the http server, so I want to know which edition of emqx did you use, because we have replaced mochiweb with cowboy in emqx3.0.

My http server returns a 400 status code and Bad Request as the response payload for the client_subscribe hook. The broker however allows the subscription.
$ ./bin/emqx_ctl status
Node<EMAIL_ADDRESS>is started
emqx 3.0 is running

Is it possible to cancel subscription like the lua hook does?

Sorry, it is impossible. The web hook is different from the lua-hook. Lua hook supports you to use lua to write emqx hook plugin, but web hook is a finished plugin. It sends http request when the mqtt events such as connect and subscribe and so on triggered.


HDFS-17083. Support getErasureCodeCodecs API in WebHDFS

JIRA: HDFS-17083. Support getECPolices API in WebHDFS

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 51s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  1s

codespell was not available.

+0 :ok:
detsecrets
0m  1s

detect-secrets was not available.

+0 :ok:
markdownlint
0m  1s

markdownlint was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s

The patch appears to include 1 new or modified test files.

_ trunk Compile Tests _

+0 :ok:
mvndep
16m 40s

Maven dependency ordering for branch

+1 :green_heart:
mvninstall
31m 27s

trunk passed

+1 :green_heart:
compile
5m 42s

trunk passed with JDK Ubuntu-11.0.19+7-post-Ubuntu-0ubuntu120.04.1

+1 :green_heart:
compile
5m 28s

trunk passed with JDK Private Build-1.8.0_362-8u372-ga~us1-0ubuntu1~20.04-b09

+1 :green_heart:
checkstyle
1m 28s

trunk passed

+1 :green_heart:
mvnsite
2m 32s

trunk passed

+1 :green_heart:
javadoc
2m  3s

trunk passed with JDK Ubuntu-11.0.19+7-post-Ubuntu-0ubuntu120.04.1

+1 :green_heart:
javadoc
2m 32s

trunk passed with JDK Private Build-1.8.0_362-8u372-ga~us1-0ubuntu1~20.04-b09

+1 :green_heart:
spotbugs
5m 55s

trunk passed

+1 :green_heart:
shadedclient
35m 19s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 33s

Maven dependency ordering for patch

+1 :green_heart:
mvninstall
2m  5s

the patch passed

+1 :green_heart:
compile
5m 29s

the patch passed with JDK Ubuntu-11.0.19+7-post-Ubuntu-0ubuntu120.04.1

+1 :green_heart:
javac
5m 29s

the patch passed

+1 :green_heart:
compile
5m 15s

the patch passed with JDK Private Build-1.8.0_362-8u372-ga~us1-0ubuntu1~20.04-b09

+1 :green_heart:
javac
5m 15s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
checkstyle
1m 15s

the patch passed

+1 :green_heart:
mvnsite
2m 12s

the patch passed

+1 :green_heart:
javadoc
1m 37s

the patch passed with JDK Ubuntu-11.0.19+7-post-Ubuntu-0ubuntu120.04.1

+1 :green_heart:
javadoc
2m  7s

the patch passed with JDK Private Build-1.8.0_362-8u372-ga~us1-0ubuntu1~20.04-b09

+1 :green_heart:
spotbugs
5m 47s

the patch passed

+1 :green_heart:
shadedclient
35m 36s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

+1 :green_heart:
unit
2m 30s

hadoop-hdfs-client in the patch passed.

+1 :green_heart:
unit
244m  8s

hadoop-hdfs in the patch passed.

+1 :green_heart:
asflicense
0m 57s

The patch does not generate ASF License warnings.

420m 34s

Subsystem
Report/Notes

Docker
ClientAPI=1.43 ServerAPI=1.43 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5836/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/5836

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell detsecrets markdownlint

uname
Linux 28fa8c1086f9 4.15.0-212-generic #223-Ubuntu SMP Tue May 23 13:09:22 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / 5df3b1c8110bc7a5de355fbf9aef6911429bc422

Default Java
Private Build-1.8.0_362-8u372-ga~us1-0ubuntu1~20.04-b09

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.19+7-post-Ubuntu-0ubuntu120.04.1 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_362-8u372-ga~us1-0ubuntu1~20.04-b09

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5836/1/testReport/

Max. process+thread count
2856 (vs. ulimit of 5500)

modules
C: hadoop-hdfs-project/hadoop-hdfs-client hadoop-hdfs-project/hadoop-hdfs U: hadoop-hdfs-project

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5836/1/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.

LGTM.

@ayushtkn @slfan1989 Thank you for your assistance in reviewing the code!


zephyr: Change DT_FLASH_AREA_ macros to FLASH_AREA_

mirror off https://github.com/zephyrproject-rtos/mcuboot/pull/17
Need to upgrade assemble.py and devicetree mock.

Why is this a draft PR?

@d3zd3z This can be merged if you think it is desired for the release.

Can be merged.


Just add some text labelling for drawings

@Easy-Cloud-in thank you for opening the issue! What exactly do you mean by text labelling?

If a draw a design in the atrament i want to label it.  Let me be more specific, If we draw a cutting pattern, we like to name all the sides with a name and sizes for it.  so it will be use full for us.

Thank you for clarifying. Atrament operates on the <canvas> element you provide to it, so you can paint anything you want on the canvas, in addition to the Atrament drawing. To paint text, you can use the fillText method of the canvas rendering context. See here for a guide on how to do that. If you want to automatically add labels to individual strokes produced by Atrament, you can determine the location of each stroke using the strokerecorded event.
Hope that helps! I'm going to close the issue now, feel free to reopen it if you discover any issues.


split do_extarctor_overlap to correctly handle overllappine entities

Proposed changes:

split determine_token_labels in two functions, determin_token_labels and determine_true_token_labels. This should handle correctly overlapping entities, and throw an exception only if overlapping entities are found and a extractor that does not support them is used.

Status (please check what you already did):

[x] made PR ready for code review
[x] added some tests for the functionality
[ ] updated the documentation
[x] updated the changelog

@EPedrotti can we close this in favor of #1760 ?


Autoscaling_enabled not picked up from worker_groups variable

I have issues
When specifying autoscaling_enabled = "true" as part of the worker_groups, the tag in the ASG is not overwritten.
I'm submitting a...

[√ ] bug report
[ ] feature request
[ ] support request
[ ] kudos, thank you, warm fuzzy

What is the current behavior?
With the following worker_groups setup, passed to the EKS module:
  worker_groups = [{
    instance_type        = "t2.medium"
    ami_id               = "ami-098fb7e9b507904e7"
    asg_desired_capacity = "${var.asg_min_size}"
    asg_max_size         = "${var.asg_max_size}"
    asg_min_size         = "${var.asg_min_size}"
    autoscaling_enabled  = "true"
  }]

The ec2 instances are still created with the tag k8s.io/cluster-autoscaler/disabled = true
What's the expected behavior?
Specifying the autoscaling_enabled flag in the worker_groups should set tag the ASG with k8s.io/cluster-autoscaler/enabled = true
Issue
The code in workers.tf line 81 only checks the defaults, and does not check if the autoscaling_enabled is set in the worker_groups variable.
 "key" = "k8s.io/cluster-autoscaler/${lookup(
          var.worker_groups[count.index],
          "autoscaling_enabled",
          local.workers_group_defaults["autoscaling_enabled"],
        ) ? "enabled" : "disabled"}"

Environment details

Affected module version: 2.2.1
OS: MacOs
Terraform version: 0.11.14

The source code for version 2.2.1 is different to the current contents of master. The line you should be looking at is here: workers.tf
This dates to when the module compared boolean inputs against 1 or 0.
You're passing in a string which will always fail to match. Try the boolean value true or the int 1.

You are tight, completely missed the fact that it was a string and not a bool. Thanks for catching that. Ill close the issue.


Merge the ui and server into a single function

Though I don't usually like having a single massive function, in the context of shiny apps it seems to make a bit more sense.
Further, once we merge everything together into a single function then we can treat the app like any other function, and move it into the R folder, give it a Roxygen2 skeleton, etc.

This issue is related to  #7

Done in PR #39 #38 #37 #35 Everything seems to work as well as it did before hand. Documentation is still needed.

Impressive!

@wetlandscapes and @ktoddbrown can we close this or are we still working on documentation?


Improve documentation of qfiletempf dataframe

The required columns are not listed in the documentation for qfiletempf.
For example in, dh17, and I think most functions, requires a wy_val column which is not specified in the documentation.

This a symptom of the code making assumptions about the data being passed that aren't validated. I find that it is much easier and less bug prone to explicitly pass vectors rather than a single data.frame to code that makes assumptions about the data. The dh* and dl* functions really only require the discharge time series, including the date and they could look like:
dh2 <- function(discharge, date, pref = "mean"){...}
# OR
dh2 <- function(ts, pref = "mean"){...}
# where ts is something like a zoo object:
ts <- zoo(discharge, order.by = date)

In this way, the requirements are explicit and no one needs to rename a data.frame just to call your code.


Add MultiDataSet.save() methods

DataSet has save(OutputStream) and save(File) but MultiDataSet does not have any analogous saving methods.
https://github.com/deeplearning4j/nd4j/blob/8c46a0b1b4bef1f32742cd3265461b54e0396fdb/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/dataset/DataSet.java#L374
https://github.com/deeplearning4j/nd4j/blob/cf9fe733ace449bc797fb6b25879d8e5aa1683f1/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/dataset/api/MultiDataSet.java

https://github.com/deeplearning4j/nd4j/pull/1093


[feature request] Server-side pagination

For very large tables it would be fantastic to tie each page into an API call to just fetch the rows for this page. I guess this would also require a hook for an API call that returns the total number of rows.

This is now possible with a custom data manager (see https://kayak.gitbooks.io/react-tisch/content/docs/guides/custom_data_manager.html).


Can't build

Component
Forge
Have you ensured that all of these are up to date?

[X] Foundry
[X] Foundryup

What version of Foundry are you on?
forge 0.2.0 (0e33b3e 2023-07-26T00:25:53.387063000Z)
What command(s) is the bug in?
zkforge zkb
Operating System
macOS (Apple Silicon)
Describe the bug
please check it.

close it.


Add new pipeline for updating documentation docker image

We want to have a script that updates the dolittle/documentation docker image whenever it gets called.
Linked to https://github.com/dolittle/Documentation/pull/53

Obsolete


Renew iccluster051 before 2024-05-24

Renewal is allowed starting ~2 weeks before cutoff.

Go to IC Cluster Portal (requires EPFL network or VPN).
Login (top-right)
Click Reservations > View My Reservations
Find the latest iccluster051 reservation (near the top) and extend it by 45 days

Extended until 2024-07-08


docs: add email templates to docker-compose, and remove obsolete example

the custom-email-templates is obsolete as it is now possible to deploy templates with the Nhost GH
integration

Codecov Report

Merging #883 (3a14b90) into main (9871bd4) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #883   +/-   ##
=======================================
  Coverage   93.44%   93.44%
=======================================
  Files          42       42
  Lines        6437     6437
  Branches      377      377
=======================================
  Hits         6015     6015
  Misses        422      422

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


[tool_crash] FormatException

Command
flutter create koura_digit

Steps to Reproduce

...
...
...

Logs
FormatException
#0      _ChunkedJsonParser.fail (dart:convert-patch/convert_patch.dart:1404:5)
#1      _ChunkedJsonParser.parseNumber (dart:convert-patch/convert_patch.dart:1271:9)
#2      _ChunkedJsonParser.parse (dart:convert-patch/convert_patch.dart:936:22)
#3      _parseJson (dart:convert-patch/convert_patch.dart:40:10)
#4      JsonDecoder.convert (dart:convert/json.dart:506:36)
#5      JsonCodec.decode (dart:convert/json.dart:157:41)
#6      CreateBase._computeTemplateManifest (package:flutter_tools/src/commands/create_base.dart:512:47)
#7      CreateBase._templateManifest (package:flutter_tools/src/commands/create_base.dart:499:30)
#8      CreateBase.renderTemplate (package:flutter_tools/src/commands/create_base.dart:395:25)
#9      CreateBase.generateApp (package:flutter_tools/src/commands/create_base.dart:408:29)
#10     CreateCommand.runCommand (package:flutter_tools/src/commands/create.dart:265:37)
<asynchronous suspension>
#11     FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1043:27)
<asynchronous suspension>
#12     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
<asynchronous suspension>
#13     CommandRunner.runCommand (package:args/command_runner.dart:196:13)
<asynchronous suspension>
#14     FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:284:9)
<asynchronous suspension>
#15     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
<asynchronous suspension>
#16     FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:232:5)
<asynchronous suspension>
#17     run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:62:9)

[✓] Flutter (Channel stable, 2.2.1, on Microsoft Windows [version 10.0.19042.985], locale fr-ML)
    • Flutter version 2.2.1 at C:\app\flutter
    • Framework revision 02c026b03c (12 days ago), 2021-05-27 12:24:44 -0700
    • Engine revision 0fdb562ac8
    • Dart version 2.13.1

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at C:\Users\User\AppData\Local\Android\sdk
    • Platform android-30, build-tools 30.0.3
    • Java binary at: C:\Program Files (x86)\Common Files\Oracle\Java\javapath\java.exe
    • Java version Java(TM) SE Runtime Environment (build 1.8.0_291-b10)
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • Chrome at C:\Users\User\AppData\Local\Google\Chrome\Application\chrome.exe

[!] Android Studio (not installed)
    • Android Studio not found; download from https://developer.android.com/studio/index.html
      (or visit https://flutter.dev/docs/get-started/install/windows#android-setup for detailed instructions).

[✓] VS Code (version 1.56.2)
    • VS Code at C:\Users\User\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.23.0

[✓] Connected device (2 available)
    • Chrome (web) • chrome • web-javascript • Google Chrome 91.0.4472.77
    • Edge (web)   • edge   • web-javascript • Microsoft Edge 91.0.864.41

! Doctor found issues in 1 category.

Flutter Application Metadata
No pubspec in working directory.

@boureimatapily
Does it generate any error log, named flutter_01.log ? If so, can you provide it here ?
Also, can you run flutter create --verbose koura_digit and provide the entire log in formatted text ?
Thanks.

Without additional information, we are unfortunately not sure how to resolve this issue.
We are therefore reluctantly going to close this bug for now.
Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.
Could everyone who still has this problem please file a new issue with the exact description of what happens, logs, and the output of flutter doctor -v.
All system setups can be slightly different, so it's always better to open new issues and reference related issues.


"Curve-step" frame interpolating in AnimationPlayer not working in Polygon2D vertex colors

Godot version:
Godot 2.1.4
OS/device including version:
Win7
Issue description:
Is posible to smooth animate a Polygon2D UV and polygon vertex but animate vertex colors doesn´t smooth interpolate, only "discrete" animation allowed. If this is useful: is posible to smooth animate color property of entire polygon, but not in the vertex.
I will reference to original commit: #4765
Steps to reproduce:
Create a Polygon 2D, attach animation player, make polygon, add vertex color and try to smooth interpolate some colors.
Minimal reproduction project:

I don´t have a project now with this issue... I will try to make one and upload.

The 2.1 branch is no longer actively worked on by engine developers, unless critical fixes are needed for current games in production. As such we are now closing non-critical bug reports affecting only the 2.1 branch.
Please comment if this was incorrectly triaged and is still relevant in 3.x versions.

It applies to master at 18/09/2018. This was not implemented.

Gif is bad because colors, but i think that the main idea is understandable.

Could you upload that test project?

PolygonVertexColorAnimation.zip

This PR https://github.com/godotengine/godot/pull/25934 should fix this issue.

Great, i can not compile this weekend, but looks great. If someone can test with the project in this thread this can be closed. Equally can be closed and if there is other bug with the commit other issue can be opened.

Fixed by #25934.


Custom error pages and original request URL

Do you want to request a feature or report a bug?
Feature
What did you expect to see?
I have a frontend written with Next.js, which contains quite a lot of images and also renders some react stuff on the server. Requests to images can make the Node.js process slower, so I'm thinking of serving them via an nginx container, which is configured to respond to only a folder with images (traefik's pathPrefix).
Requests to the folder with images can be combined with a 404 message rendered by Next.js, thanks to the custom error pages feature. There is one scenario I cannot get working though:
When nginx returns 404, traefik knocks the Node.js container, but does not pass the original request URL anywhere in the headers. Without this, it is impossible to implement a redirect to a correct image:
user
↓ /images/products/PRODUCT_ID-wrong-slug.jpg
traefik
↓
nginx
↓ 404
traefik
↓ /images/products/PRODUCT_ID-wrong-slug.jpg
nodejs
↓ redirect to /images/products/PRODUCT_ID-correct-slug.jpg
traefik
↓
user

It'd be great if in addition to {status}, it was possible to use {path} or {url} in traefik.frontend.errors.XYZ.query. My nginx container would be configured like this
traefik.frontend.errors.all.backend=nextjs
traefik.frontend.errors.all.status=400-599
traefik.frontend.errors.all.query={path}

or
traefik.frontend.errors.all.query=/custom-error?url={url}

(the latter is useful if a website is multilingual and is available at several domain names)
WDYT?

I'm not quite familiar enough with golang to run this locally and test a change.
Essentially, the following pseudo code would need to be implemented in the errorpages code.  It'd be great in v1.8 ;)
if len(h.backendQuery) > 0 {
query = "/" + strings.TrimPrefix(h.backendQuery, "/")
query = strings.Replace(query, "{status}", strconv.Itoa(recorder.GetCode()), -1)
query = strings.Replace(query, "{path}", recorder.GetUrl() // the trailing end of the path without the domain.
}

i think we need a global error page.
Since i have many context rules, i don't like to set this configuration for each rule.


Poll Event instead of Input from Window

Closes https://github.com/PistonDevelopers/piston/issues/1324

Merging.


feat(colors): remove primary color variable

Description
Remove all "Primary Color" variables and Dialtone references (DT-607).

The arguments against [Primary Color variable] inclusion is that all the theming proposals we've seen so far have restricted theming only to certain areas within DP such as the top bar and left sidebar. This would allow the team to have tighter control (and predictability) for core feature areas (calling, messaging, profile, integrations) without needing to worry about poor theming choices.

This is a precursor to New Theming Variables (https://github.com/dialpad/dialtone/issues/637 and DT-603).
Pull Request Checklist

[x] Ask the contributors if a similar effort is already in process or has been solved.
[x] Review the contribution guidelines.
[x] Use staging as your pull request's base branch. (All PRs using production as its base branch will be declined).
[x] Ensure all gulp scripts successfully compile.
[x] Update, remove, or extend all affected documentation.
[x] Ensure no private Dialpad links or info are in the code or pull request description (Dialtone is a public repo!).

Obligatory GIF (super important!)

Still outstanding:

[ ] Remove documentation references to Theming, e.g. Spot Illustrations.
[ ] Gulp File: i.e. buildSpotIllustrationSVGs()

Merged to version7 branch for Beta 3 tag publication. Not merging to v6's staging.


Update Redfish schemas to 2016.3

jenkins: depends on https://github.com/RackHD/RackHD/pull/610

BUILD on-http #3183 : UNSTABLE

** BUILD build-config-setup  #1364: SUCCESS
** BUILD unit-tests  #11456: SUCCESS
** BUILD SmokeTest-FIT  #255: UNSTABLE

** BUILD CIT  #1110: UNSTABLE
** BUILD FIT  #969: SUCCESS

BUILD CIT  #1110  Error Logs  ▼Test Name: test_create_event_subscription
Error Details: (500)
Reason: Internal Server Error
HTTP response headers: HTTPHeaderDict({'Content-Length': '744', 'X-Powered-By': 'Express', 'Connection': 'keep-alive', 'ETag': 'W/"2e8-WuAnByWbEcZN+Fr8zzcnHA"', 'Date': 'Fri, 03 Feb 2017 12:45:28 GMT', 'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json; charset=utf-8'})
HTTP response body: {"error":{"code":"Base.1.0.GeneralError","message":"A general error has occurred. See ExtendedInfo for more information.","@Message.ExtendedInfo":[{"@odata.type":"#Message.1.0.0.Message","MessageId":"Base.1.0.Messages.InternalError","Description":"Indicates that the request failed for an unknown internal error but that the service is still operational.","Message":"The request failed due to an internal service error.  The service is still operational.","Resolution":"Resubmit the request.  If the problem persists, consider resetting the service.","Severity":"Critical"},{"MessageId":"RackHD.1.0.DetailedErrorMessage","Message":"ValidationError: Missing required property: Id","Description":"Contains the detailed error message contents"}]}}
Stack Trace: Traceback (most recent call last):
File "/usr/lib/python2.7/unittest/case.py", line 331, in run
testMethod()
File "/usr/lib/python2.7/unittest/case.py", line 1043, in runTest
self._testFunc()
File "/home/jenkins/workspace/on-http/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/proboscis/case.py", line 296, in testng_method_mistake_capture_func
compatability.capture_type_error(s_func)
File "/home/jenkins/workspace/on-http/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/proboscis/compatability/exceptions_2_6.py", line 27, in capture_type_error
func()
File "/home/jenkins/workspace/on-http/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/proboscis/case.py", line 350, in func
func(test_case.state.get_state())
File "/home/jenkins/workspace/on-http/RackHD/test/tests/api/redfish_1_0/event_service_tests.py", line 64, in test_create_event_subscription
redfish().create_subscription(payload)
File "/home/jenkins/workspace/on-http/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/on_http_redfish_1_0/apis/redfishv_api.py", line 1349, in create_subscription
callback=params.get('callback'))
File "/home/jenkins/workspace/on-http/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/on_http_redfish_1_0/api_client.py", line 322, in call_api
response_type, auth_settings, callback)
File "/home/jenkins/workspace/on-http/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/on_http_redfish_1_0/api_client.py", line 149, in __call_api
post_params=post_params, body=body)
File "/home/jenkins/workspace/on-http/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/on_http_redfish_1_0/api_client.py", line 358, in request
body=body)
File "/home/jenkins/workspace/on-http/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/on_http_redfish_1_0/rest.py", line 208, in POST
body=body)
File "/home/jenkins/workspace/on-http/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/on_http_redfish_1_0/rest.py", line 177, in request
raise ApiException(http_resp=r)
ApiException: (500)
Reason: Internal Server Error
HTTP response headers: HTTPHeaderDict({'Content-Length': '744', 'X-Powered-By': 'Express', 'Connection': 'keep-alive', 'ETag': 'W/"2e8-WuAnByWbEcZN+Fr8zzcnHA"', 'Date': 'Fri, 03 Feb 2017 12:45:28 GMT', 'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json; charset=utf-8'})
HTTP response body: {"error":{"code":"Base.1.0.GeneralError","message":"A general error has occurred. See ExtendedInfo for more information.","@Message.ExtendedInfo":[{"@odata.type":"#Message.1.0.0.Message","MessageId":"Base.1.0.Messages.InternalError","Description":"Indicates that the request failed for an unknown internal error but that the service is still operational.","Message":"The request failed due to an internal service error.  The service is still operational.","Resolution":"Resubmit the request.  If the problem persists, consider resetting the service.","Severity":"Critical"},{"MessageId":"RackHD.1.0.DetailedErrorMessage","Message":"ValidationError: Missing required property: Id","Description":"Contains the detailed error message contents"}]}}

BUILD SmokeTest-FIT  #255  Error Logs  ▼Test Name: test_create_event_subscription
Error Details: (500)
Reason: Internal Server Error
HTTP response headers: HTTPHeaderDict({'Content-Length': '744', 'X-Powered-By': 'Express', 'Connection': 'keep-alive', 'ETag': 'W/"2e8-WuAnByWbEcZN+Fr8zzcnHA"', 'Date': 'Fri, 03 Feb 2017 12:45:28 GMT', 'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json; charset=utf-8'})
HTTP response body: {"error":{"code":"Base.1.0.GeneralError","message":"A general error has occurred. See ExtendedInfo for more information.","@Message.ExtendedInfo":[{"@odata.type":"#Message.1.0.0.Message","MessageId":"Base.1.0.Messages.InternalError","Description":"Indicates that the request failed for an unknown internal error but that the service is still operational.","Message":"The request failed due to an internal service error.  The service is still operational.","Resolution":"Resubmit the request.  If the problem persists, consider resetting the service.","Severity":"Critical"},{"MessageId":"RackHD.1.0.DetailedErrorMessage","Message":"ValidationError: Missing required property: Id","Description":"Contains the detailed error message contents"}]}}
Stack Trace: Traceback (most recent call last):
File "/usr/lib/python2.7/unittest/case.py", line 331, in run
testMethod()
File "/usr/lib/python2.7/unittest/case.py", line 1043, in runTest
self._testFunc()
File "/home/jenkins/workspace/on-http/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/proboscis/case.py", line 296, in testng_method_mistake_capture_func
compatability.capture_type_error(s_func)
File "/home/jenkins/workspace/on-http/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/proboscis/compatability/exceptions_2_6.py", line 27, in capture_type_error
func()
File "/home/jenkins/workspace/on-http/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/proboscis/case.py", line 350, in func
func(test_case.state.get_state())
File "/home/jenkins/workspace/on-http/RackHD/test/tests/api/redfish_1_0/event_service_tests.py", line 64, in test_create_event_subscription
redfish().create_subscription(payload)
File "/home/jenkins/workspace/on-http/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/on_http_redfish_1_0/apis/redfishv_api.py", line 1349, in create_subscription
callback=params.get('callback'))
File "/home/jenkins/workspace/on-http/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/on_http_redfish_1_0/api_client.py", line 322, in call_api
response_type, auth_settings, callback)
File "/home/jenkins/workspace/on-http/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/on_http_redfish_1_0/api_client.py", line 149, in __call_api
post_params=post_params, body=body)
File "/home/jenkins/workspace/on-http/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/on_http_redfish_1_0/api_client.py", line 358, in request
body=body)
File "/home/jenkins/workspace/on-http/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/on_http_redfish_1_0/rest.py", line 208, in POST
body=body)
File "/home/jenkins/workspace/on-http/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/on_http_redfish_1_0/rest.py", line 177, in request
raise ApiException(http_resp=r)
ApiException: (500)
Reason: Internal Server Error
HTTP response headers: HTTPHeaderDict({'Content-Length': '744', 'X-Powered-By': 'Express', 'Connection': 'keep-alive', 'ETag': 'W/"2e8-WuAnByWbEcZN+Fr8zzcnHA"', 'Date': 'Fri, 03 Feb 2017 12:45:28 GMT', 'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json; charset=utf-8'})
HTTP response body: {"error":{"code":"Base.1.0.GeneralError","message":"A general error has occurred. See ExtendedInfo for more information.","@Message.ExtendedInfo":[{"@odata.type":"#Message.1.0.0.Message","MessageId":"Base.1.0.Messages.InternalError","Description":"Indicates that the request failed for an unknown internal error but that the service is still operational.","Message":"The request failed due to an internal service error.  The service is still operational.","Resolution":"Resubmit the request.  If the problem persists, consider resetting the service.","Severity":"Critical"},{"MessageId":"RackHD.1.0.DetailedErrorMessage","Message":"ValidationError: Missing required property: Id","Description":"Contains the detailed error message contents"}]}}

@dalebremner Is the CIT failure noted above fixed with the following:
https://github.com/RackHD/RackHD/pull/610

jenkins: test this please

BUILD on-multi #52 : ABORTED

@dalebremner Just confirming...
The changes in static/DSP8010_1.0.0 were taken wholesale from spmf, correct?
I'm focusing my review on the following:
/data/views/redfish-1.0/redfish.1.0.0.computersystem.1.0.0.json
a/data/views/redfish-1.0/redfish.1.0.0.jsonschemafile.1.0.0.json
a/data/views/redfish-1.0/redfish.1.0.0.processor.1.0.0.json
a/data/views/redfish-1.0/redfish.1.0.0.role.1.0.0.json
a/data/views/redfish-1.0/redfish.1.0.0.thermal.1.0.0.json
a/lib/api/redfish-1.0/account-service.js
a/lib/api/redfish-1.0/chassis.js
a/lib/api/redfish-1.0/event-service.js
a/lib/api/redfish-1.0/managers.js
a/lib/api/redfish-1.0/registry.js
a/lib/api/redfish-1.0/roles.js
a/lib/api/redfish-1.0/schemas.js
a/lib/api/redfish-1.0/service-root.js
a/lib/api/redfish-1.0/session-service.js
a/lib/api/redfish-1.0/systems.js
a/lib/api/redfish-1.0/task-service.js
a/lib/services/redfish-validator-service.js
a/spec/lib/api/redfish-1.0/event-service-spec.js
a/spec/lib/api/redfish-1.0/schemas-spec.js
a/spec/lib/services/schema-api-service-spec.js

jenkins: test this please

@jimturnquist Correct. The /static changes are unmodified schemas from DMTF

BUILD on-multi #53 : ABORTED

Jenkins: test this please

BUILD on-multi #54 : ABORTED

test this please

BUILD on-http #3202 : ABORTED

** BUILD build-config-setup  #1437: SUCCESS
** BUILD unit-tests  #11503: ABORTED

BUILD on-multi #55 : ABORTED

** BUILD build-config-setup  #1436: SUCCESS
** BUILD on-http  #3202: ABORTED

** BUILD build-config-setup  #1437: SUCCESS
** BUILD unit-tests  #11503: ABORTED

** BUILD SmokeTest-FIT  #30: FAILURE

test this please

BUILD on-multi #56 : FAILURE

** BUILD build-config-setup  #1438: SUCCESS
** BUILD on-http  #3203: SUCCESS

** BUILD build-config-setup  #1439: SUCCESS
** BUILD unit-tests  #11504: SUCCESS

** BUILD SmokeTest-FIT  #31: FAILURE

test this please

BUILD on-multi #57 : FAILURE

** BUILD build-config-setup  #1444: SUCCESS
** BUILD on-http  #3206: SUCCESS

** BUILD build-config-setup  #1445: SUCCESS
** BUILD unit-tests  #11509: SUCCESS

** BUILD SmokeTest-FIT  #46: FAILURE

test this please

test this please

BUILD on-multi #58 : FAILURE

** BUILD build-config-setup  #1447: SUCCESS
** BUILD on-http  #3208: SUCCESS

** BUILD build-config-setup  #1448: SUCCESS
** BUILD unit-tests  #11511: SUCCESS

** BUILD SmokeTest-FIT  #49: FAILURE

test this please

BUILD on-multi #59 : FAILURE

** BUILD build-config-setup  #1449: SUCCESS
** BUILD on-http  #3209: SUCCESS

** BUILD build-config-setup  #1450: SUCCESS
** BUILD unit-tests  #11512: SUCCESS

** BUILD SmokeTest-FIT  #50: FAILURE

test this please


top_p = 1 causes deterministic outputs

Setting top_p = 1 causes outputs to be identical even with a random seed. This was discovered by https://github.com/oobabooga/text-generation-webui/issues/6431#issuecomment-2409089861. See the full issue at https://github.com/oobabooga/text-generation-webui/issues/6431.
Reproduction
from llama_cpp import Llama

# Load the model
model = Llama(
    model_path="models/Meta-Llama-3-8B-Instruct-Q4_K_S-HF/Meta-Llama-3-8B-Instruct-Q4_K_S.gguf",
    n_gpu_layers=128,
)

# Define the prompt
prompt = "Once upon a time"

for i in range(5):
    # Generate text with temperature = 1
    completion = model.create_completion(prompt=prompt, max_tokens=50, temperature=1.0, top_p=1.0, seed=-1)

    # Print the generated text
    print(completion['choices'][0]['text'])

The 5 outputs will be identical.
Verified with llama-cpp-python==0.3.1.

For now, setting topP to 0.99 serves as a casual workaround.

The 5 outputs will be identical.

In your example you use seed=-1. Could you confirm, that when not using top_p=1.0 the 5 outputs will be different, but every time it will be the same 5 outputs? I opened an issue here, which was not present in llama-cpp-python==0.2.9


Enable DNS for pods from files

@satnam6502

I applied this patch and now I see elasticsearch can be reached from the Fluentd -> Elasticsearch container that is launched via a manifest file. From the Fluentd -> Elasticsearch container:
$ curl elasticsearch.default:9200/_search?pretty
{
  "took" : 2,
  "timed_out" : false,
  "_shards" : {
    "total" : 0,
    "successful" : 0,
    "failed" : 0
  },
  "hits" : {
    "total" : 0,
    "max_score" : 0.0,
    "hits" : [ ]
  }
}

Still waiting to see if any data makes its way from the Fluentd collector to Elasticsearch.

Ah, we're in business! Logs are being ingested into Elasticsearch.
$ curl elasticsearch.default:9200/_search?size=10
{"took":1,"timed_out":false,"_shards":{"total":0,"successful":0,"failed":0},"hits":{"total":0,"max_score":0.0,"hits
":[]}}root@fluentdesmanife2u464h05heqcpotoddodpnehjaqsde:/# curl elasticsearch.default:9200/_search?size=10
{"took":1,"timed_out":false,"_shards":{"total":0,"successful":0,"failed":0},"hits":{"total":0,"max_score":0.0,"hits
":[]}}root@fluentdesmanife2u464h05heqcpotoddodpnehjaqsde:/# curl elasticsearch.default:9200/_search?size=10
{"took":98,"timed_out":false,"_shards":{"total":5,"successful":5,"failed":0},"hits":{"total":41394,"max_score":1.0,
"hits":[{"_index":"logstash-2015.01.06","_type":"fluentd","_id":"AUq_2ox5t-RMM9w8rS3O","_score":1.0,"_source":{"mes
sage":"I0106 15:10:53.898987    4933 server.go:324] GET /healthz: (11.044us) 200","tag":"kubelet","@timestamp":"201
5-01-06T15:10:53+00:00"}},{"_index":"logstash-2015.01.06","_type":"fluentd","_id":"AUq_2ox5t-RMM9w8rS3T","_score":1
.0,"_source":{"message":"I0106 15:10:54.221524    4933 event.go:92] Event(api.ObjectReference{Kind:\"BoundPod\", Na
mespace:\"default\", Name:\"kibana-pod\", UID:\"ed6e2512-95b5-11e4-8bc0-42010af0d11e\", APIVersion:\"v1beta1\", Res
ourceVersion:\"\", FieldPath:\"spec.containers{kibana-image}\"}): status: 'running', reason: '

Thanks for the testing.  I want to beef up the test around this before commit.  Soon.

OK, tests are beefed up.  If this goes green, I think it's ready to go.

LGTM as far as I can tell. Would you like to squash the four commits into one?

Ah, a go fmt required on validation_test.go

I'd rather not squash - they are distinct changes.    I rejiggered it and repushed just now.


Revert review queue count change and remove duplicate Graph(i)QL link

While it's reasonable for us to remove the GraphQL link, now that GraphiQL is working again, the links are not duplicates.
In general, please only do one thing per PR, unless they are directly connected. While we sometimes make PRs which do multiple things, it's usually better to have a PR be tightly focused and do only one thing, when that's possible.


Don't attempt to sync files larger than 2MiB or non UTF-8 files

Signed-off-by: Sebastian Malton<EMAIL_ADDRESS>fixes #3959

Also @jim-docker I looked into what happens now if I try and sync a non UTF-8 file (such as a PNG). The conversion to UTF-8 to "never throw" because of this line in the node docs

If encoding is 'utf8' and a byte sequence in the input is not valid UTF-8, then each invalid byte is replaced with the replacement character U+FFFD.

so it fails at the yaml parsing step instead, which is not as good of an error message.


Use adaptor pattern for stack and queue

DoublyCircularList is better suited for the container of Queue, it provides constant time insertion and removal on both ends of the list.


make new flame graph

Done, graph is here: https://cdn.discordapp.com/attachments/746551007567413258/800657384434696192/profile.svg
And added to #371

Done, graph is here: https://cdn.discordapp.com/attachments/746551007567413258/800657384434696192/profile.svg
And added to #371


[SCHEMA] add task definition to schema

closes #1186

Just a few thoughts regarding the phrasing.

Thanks. :rocket:


eclipseclp executable path

What I tried:
File -> Preferences -> Settings
  "prolog.dialect": "ecl",
  "prolog.executablePath": "C:\\Program Files\\ECLiPSe 7.0\\lib\\x86_64_nt\\eclipse.exe"

and
  "prolog.dialect": "ecl",
  "prolog.executablePath": "C:\\\"Program Files\"\\\"ECLiPSe 7.0\"\\lib\\x86_64_nt\\eclipse.exe"

The occuring error is a popup in the lower right corner of the editor window which says:
"command 'prolog.load.document' not found"
I'm using Windows 10 x64.
Thanks!
Originally posted by @butcher211 in https://github.com/arthwang/vsc-prolog/issues/1#issuecomment-441014918

Duplicate of #6
Don't contain spaces in path, that seems a bug of vscode.

Sorry. There are some bugs in VSC-Prolog regarding to windows path access in ecl. Why error occurs in use_module('c:\path\to\module')  or use_module("c:\path\to\module") now in  ecl 7?

Found a workaround: cd("c:\go\to\dir"),use_module(the_module).
Update to test if it works for you.

Hello,
I was testing the updated version on thursday and it worked. There was another issue where I would like to open a new issue coming thursday.
Thanks!

Sorry. There are some bugs in VSC-Prolog regarding to windows path access in ecl. Why error occurs in use_module('c:\path\to\module') or use_module("c:\path\to\module") now in ecl 7?

Are there any news on this matter ? As I m facing a quite similar issue. When loading a document the path is wrong.


Foreman / Thor Conflict

I've been trying to implement the react_on_rails gem using the tutorial found here: https://youtu.be/_bjScw60FBk
Difference being I'm using ruby 2.3.3, node 7.2.0, and ran the setup with redux (rails generate react_on_rails:install --redux)
However now when I try to run foreman using foreman run -f Procfile.dev I get the following error:
/Users/ryanking/.rvm/gems/ruby-2.3.3/gems/thor-0.19.3/lib/thor/base.rb:534:in `thor_reserved_word?': "run" is a Thor reserved word and cannot be defined as command (RuntimeError)
    from /Users/ryanking/.rvm/gems/ruby-2.3.3/gems/thor-0.19.3/lib/thor/base.rb:597:in `method_added'
    from /Users/ryanking/.rvm/gems/ruby-2.3.3/gems/foreman-0.82.0/lib/foreman/cli.rb:80:in `<class:CLI>'
    from /Users/ryanking/.rvm/gems/ruby-2.3.3/gems/foreman-0.82.0/lib/foreman/cli.rb:11:in `<top (required)>'
    from /Users/ryanking/.rvm/gems/ruby-2.3.3/gems/foreman-0.82.0/bin/foreman:5:in `require'
    from /Users/ryanking/.rvm/gems/ruby-2.3.3/gems/foreman-0.82.0/bin/foreman:5:in `<top (required)>'
    from /Users/ryanking/.rvm/gems/ruby-2.3.3/bin/foreman:22:in `load'
    from /Users/ryanking/.rvm/gems/ruby-2.3.3/bin/foreman:22:in `<main>'
    from /Users/ryanking/.rvm/gems/ruby-2.3.3/bin/ruby_executable_hooks:15:in `eval'
    from /Users/ryanking/.rvm/gems/ruby-2.3.3/bin/ruby_executable_hooks:15:in `<main>'

Any idea why this is happening & how I could fix it?

foreman start -f Procfile.dev

turns out it's a bug https://github.com/ddollar/foreman/issues/653

+1 got the same error, using gem 'thor', '0.19.1' in Gemfile and it's working ...


Flutter engine presubmit Linux linux_web_engine fails with code = InvalidArgument desc = build.summary_markdown: too big to accept (6555 > 4000 bytes)

PR:
https://github.com/flutter/engine/pull/53574
Build:
https://ci.chromium.org/ui/p/flutter/builders/try/Linux linux_web_engine/24770/infra
Failing backend task:
https://chromium-swarm.appspot.com/task?id=6af4ed1fa3106110&o=true&w=true
Error:
[E2024-07-22T14:42:15.462956-07:00 14289 0 annotate.go:273] original error: rpc error: code = InvalidArgument desc = build.summary_markdown: too big to accept (6555 > 4000 bytes)

I previously encountered this during a stable release: https://github.com/flutter/flutter/issues/151247
I will apply the workaround there on the main branch...

Put out https://flutter-review.googlesource.com/c/recipes/+/58620

closed with https://flutter-review.googlesource.com/c/recipes/+/58620


[BULK UPDATE] DocuTune - Rebranding links

Global effort for the Microsoft Learn platform rebrand
The Microsoft team is applying changes to content for the Microsoft Learn platform rebrand. Changes include modifications to current Microsoft Learn and Microsoft Docs terminology as well as associated domain name and content URL path changes.
Please review this draft PR and provide any necessary comments as soon as possible. Because these fixes are tightly scoped, we have approval to automatically merge these changes to the default branch for publication.
This PR was generated via DocuTune. It includes only targeted fixes and minor formatting adjustments.
CorrelationId: d8c4c3ac-d49a-4c95-9ddc-9822ca297907
InitiativeId: docutune-rebranding-2022-09
PointOfContact: Alex Buck

#docutune-draft

Docs Build status updates of commit dbf535a:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

dynamics-gp/installation/installation-checklist.md
:white_check_mark:Succeeded
View

dynamics-gp/installation/microsoft-sql-server-configuration.md
:white_check_mark:Succeeded
View

dynamics-gp/upgrade/introduction.md
:white_check_mark:Succeeded
View

template.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

#docutune-ready


Game for android load all default theme textures

Operating system or device, Godot version, GPU Model and driver (if graphics related):
Godot 3.0 build 6dc1025e6313d711939269e1578fff5ffc0cd30a
Issue description:
Game for android load all standard theme textures (around 140) even if they are not used

Link to minimal example project:
Empty project with one Label

This might bw hard to change. There is only a theme recource which can be loaded by a control. And generating the theme puts everything... (the whole theme) also the textures are not stored in individual files but are part of the godot binary.
This maybe could be volved by giving the theme stylebox only a reference to the texture file. Than the texture could be loaded on first access.
Or each theme has optional texture objects for each texture used. They only load when accessed for the first time, and than buffer te texture. Letting the theme handle it would have the advantage that multiple styleboxes using the same texture still would only load it once.

I think the correct way to solve this (if theme resources are an issue) is to create an empty theme and simply add styling for a button.

@djrm  thank you, it works


Plan construction failed even with 7.16 resolver

torstein@torstein-pc:~/progs/Par152> bash /tmp/haskell-vim-now.sh
ENV: [HVN_INSTALL_BASIC=]
--> Existing Haskell-Vim-Now installation detected at /home/torstein/.config/haskell-vim-now.
--- Syncing Haskell-Vim-Now with upstream...
Already up-to-date.
--- No new packages needed for install...
--- Checking ctags' exuberance...
--- Setting git to use fully-pathed vim for messages...
--- Testing for broken Ruby interface in vim...
--- Test passed. Ruby interface is OK.
--- Backing up current vim config using timestamp 20170326_184006...
	/home/torstein/.config/haskell-vim-now/backup/.vim.20170326_184006
	/home/torstein/.config/haskell-vim-now/backup/.vimrc.20170326_184006
--- Creating vim config symlinks
	~/.vimrc -> /home/torstein/.config/haskell-vim-now/.vimrc
	~/.vim   -> /home/torstein/.config/haskell-vim-now/.vim
--- Installing plugins using vim-plug...
--- Setting up GHC if needed...
	Stack bin path: /home/torstein/.local/bin
	Stack global path: /home/torstein/.stack
	Stack global config location: /home/torstein/.stack/global-project/stack.yaml
	Stack resolver: lts-7.16
	/home/torstein/.config/haskell-vim-now/.stack-bin -> /home/torstein/.local/bin
--- Installing helper binaries...
Plan construction failed.
*** Binary installation failed with error 1.
*** Aborting...

I have tried using Stack resolvers lts-7.16, lts-7.19 and the newest (lts-8.something) on two systems, openSuse TumbleWeed x64 and Fedora 25 x64, they both fail the same way. Tested both Stack 1.3.2 and 1.4.0.

Same here with lts-8.6 on Arch Linux.

Tim, you might try lts-7.19 since anything above 8 is known to cause
problems
2017-03-27 14:05 GMT+02:00 Tim Ruffing<EMAIL_ADDRESS>
Same here with lts-8.6 on Arch Linux.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/begriffs/haskell-vim-now/issues/239#issuecomment-289433618,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGd9xDK24RrFR-oUAv-76Uug_rxyla_Yks5rp6XvgaJpZM4MpdQM
.

I see but
stack --resolver lts-7.20 install ghc-mod hlint hasktags hscope pointfree pointful hoogle apply-refact machines-directory-<IP_ADDRESS> machines-io-<IP_ADDRESS> codex-<IP_ADDRESS>

Error: While constructing the build plan, the following exceptions were encountered:

In the dependencies for pointfree-<IP_ADDRESS>:
    haskell-src-exts-1.17.1 must match >=1.18 && <1.20 (latest applicable is 1.19.1)

Plan construction failed.

See my comment in #238 where I tried stack init --solver.

I believe this is no longer an issue with the way the installer works. Closing this issue, but will reopen if you find there is still a problem.


Whether shardingsphere can support sybase database?

Question
Whether shardingsphere can support sybase database?

No, if anybody want do it, could open a new issue and try to do


Fix AttributeError for wav2vec test

resolve runtime error for PYTEST- wav2vec test_model_for_pretraining

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.


Node2D/Control variables now update with canvas changes

@robertdhernandez Would you mind squashing the two commits together (feel free to drop by on IRC and ask for help)

@bojidar-bg Done

Thanks for catching that. I've changed that now.


About pretrain model

Thanks for swin code ,it's more easier for me to read and run,but it's result always not good.
I'm using official offered pre-train model ‘upernet_swin_tiny_patch4_window7_512x512.pth’ & ‘swin_tiny_patch4_window7_224.pth’，but it seems not work well？
it shows these:

Thanks

Hi, swin_tiny_patch4_window7_224.pth is the model pre-trained on ImageNet, while upernet_swin_tiny_patch4_window7_512x512.pth is the one fine-tuned on ADE.
If you would like to use ‘swin_tiny_patch4_window7_224.pth’ as initialization, you should use
--options model.pretrained=/path/to/swin_tiny_patch4_window7_224.pth

If you would like to use upernet_swin_tiny_patch4_window7_512x512.pth, you can use
--load-from /path/to/upernet_swin_tiny_patch4_window7_512x512.pth

Hi, swin_tiny_patch4_window7_224.pth is the model pre-trained on ImageNet, while upernet_swin_tiny_patch4_window7_512x512.pth is the one fine-tuned on ADE.
If you would like to use ‘swin_tiny_patch4_window7_224.pth’ as initialization, you should use
--options model.pretrained=/path/to/swin_tiny_patch4_window7_224.pth

If you would like to use upernet_swin_tiny_patch4_window7_512x512.pth, you can use
--load-from /path/to/upernet_swin_tiny_patch4_window7_512x512.pth

Thanks for your replay~perhaps I have know their differences from your answer

Glad to hear that.


[Feature Request] Omit metadata

It'd be nice to have metadata default to 0 if it's omitted from a game object and * if omitted from a check.
For example:
"heldItem": "minecraft:iron_sword" would check for an iron sword with any damage (essentially minecraft:iron_sword:*).
"dropItem": "minecraft:iron_sword" would drop an iron sword with 0 damage (essentially minecraft:iron_sword:0).

Complete as of 1.6.1!


Activity Indicator

Do you think that an optional UIActivityIndicator during the loading can be a right solution for the loading process?
If yes, i can create a pull request that implement this feature.
Thanks
-Paolo-

Hi, @Codeido
Thanks for contacting. It's a great idea. However, I believe this feature is already contained in Kingfisher.
You could set kf_showIndicatorWhenLoading for your ImageView (both UIImageView and NSImageView) to enable the indicator during loading image from web. I should add it readme file to make it clear. (And if you'd like, you could create a p-r for the readme file to add this).
Of course, any contribution on improving it is warmly welcomed. :)

Thanks @onevcat. You're right.


BIGTOP-4173 : DDL file to create all related tables (MySQL)

Looks like ci is failed, could you help fix it?

Looks like ci is failed, could you help fix it?
@kevinw66

CI Test builds without SkipTests and uses postgres as a meta db.
looks like not using ddl file instead depending on JPA ddl auto generation.
There will be 2 possible resolutions

fix the ci and test file to use mysql and the ddl file.
leave ddl-generation 'create-or-extend-tables'.

what do you think? which one seems better?

How about we add skip tests on ci.yml? we can add a separate job to run ut after we have some ut cases

BTW, I think we need to add a sql to insert default admin user here, INSERT INTO user (id, username, password, nickname, status, create_time, update_time)VALUES (1, 'admin', '21232f297a57a5a743894a0e4a801fc3', 'Administrator', true, now(), now());

@kevinw66
Thank you for sharing your idea.
I agree with your idea adding SkipTests and unit tests later. but for now, it will be really helpful that CI include build and test.(even just executing server) so I prefer leaving ddl-generation 'create-or-extend-tables' for now.
inserting default admin user will be good for testing, I will add another insert query.

I agree with your idea adding SkipTests and unit tests later. but for now, it will be really helpful that CI include build and test.(even just executing server) so I prefer leaving ddl-generation 'create-or-extend-tables' for now.

Sounds good!


Footer section social media icon and contact by email or suggestion by email

The footer section of the project needs improvement by adding the following elements:
Social Icons: Add icons linking to popular social media platforms (e.g., Facebook, Twitter, Instagram, LinkedIn) in the footer for better user engagement and to increase social media visibility.
Suggestion/Comment Section via Email: Include a form or link where users can submit suggestions or comments directly through email. This will enhance user feedback and allow users to provide their input easily.
Tasks:
Add social media icons and ensure they are functional.
Design and implement a form or link for email suggestions or comments.
Ensure the footer is responsive and fits well with the overall design of the website.

#241 #162

Could you assign this issue to me?

Assigned!


Map listener is feeded with wrong zoom data

Start map. Wait for it to settle. Then do a double tap so it get zoomed. The listener
map.addMapListener(object : MapAdapter() {
    override fun onZoom(event: ZoomEvent?): Boolean {
        Log.d(TAG, "${event?.zoomLevel}")
        return super.onZoom(event)
    }
})

is feeded with data:
16.755379648677206
15.75822925733695
15.766745568982458
15.779851408473348
15.799033881894445
15.8234179334558
15.850871206990576
15.884508730641699
15.922373713723516
15.961486967078542
16.006287069789266
16.15244835781226
16.255379648677206
16.3086850957788
16.36138329075942
16.409888179770803
16.459704251757955
16.54927233027587
16.590722413531637
16.628350229731893
16.65988812016616
16.688914986125326
16.713000269404745
16.744670124522543
16.75285515355239
16.755379648677206

As you can see very 1st item give to listener is the same as last! In other words the 1st item is wrong.

It happens also when I call:
map().controller.zoomIn()


Scratch Kart Demo

[ ] Sounds

http://scratch.mit.edu/projects/908591/

I can't get this project to load: http://phosphorus.github.io/#908591
I'm seeing

player.js:241 Error: XHR Error
at XMLHttpRequest.xhr.onerror (phosphorus.js:225)

...which I saw in a whole bunch of other issues, but assumed it was some sort of user internet error. (In actual fact, switching networks doesn't seem to help.)

I think Scratch finally fixed the thing where you can load other people's unshared projects.

@nathan Certainly not for all projects; for example https://scratch.mit.edu/projects/102361258/ still loads in phosphorus http://phosphorus.github.io/#102361258

Hmm, OK, weird. I just assumed that was because it was my project :P


fixed area codes for Big Sochi and Primorsky Krai

There seems to be a couple of typos in section for 6-digit numbers for Russia
http://infocod.ru/publ/kody_rossii/401_494/7_423/207-1-0-449
http://infocod.ru/publ/kody_rossii/811_879/7_862/205-1-0-519

Thanks for noticing!
One thing I am wondering about: With this PR, NDCs like 862x are only formatted split(2, 2, 2) if x is 2. Otherwise it's split(2, 5). Does that sound right to you?

No answer, but still merging.

Released in 2.14.6.


Support for managing KubeVirt and connecting to VMs?

What would you like to be added:
Support for managing KubeVirt VMs, and connecting via serial/VNC to them
Why is this needed:
There doesn't appear to be any good GUI-based options to connect to and manage KubeVirt VMs:
https://kubevirt.io/2019/KubeVirt_UI_options.html
(Outside of the OpenShift specific ones).
It would be really awesome if Lens could support this!
Environment you are Lens application on:

Kubernetes distribution: Any
Desktop OS: Any

Yeah, it might be killer feature


arm Docker image

I would like to run your tiddlywiki-docker image on my Raspberry PI using Docker. Could you please add arm support for your Docker image?

I built a arm docker image from the docker file of this repo. My github actions to build the docker image is here https://github.com/contrun/infra/blob/master/.github/workflows/docker-tiddlywiki.yml. Please checkout https://hub.docker.com/r/contrun/tiddlywiki/ to see if this works.


Add node v8.3.0

NodeJS v8.3.0 was released recently

I have the same issue.

Done! Please use pkg version 4.2.3 and pass -t node8.3.0 to pkg command.


Shekhinah/zero copy map slice

I've fixed the MapSlice implementation.

Looks good. It's unfortunate that all of those extra bounds are required just to ensure that variance is correct, but ah well.

Closing this since you've open a full PR on @zesterer's repo directly


Dependency update

Update dependencies and shade cassandra-all usage to ease migration from Astyanax to DataStax Java Driver for Apache Cassandra. This PR does not signal any change in Astyanax deprecation.
Astyanax is deprecated but still used by many projects. By now Astyanax's very old dependencies often increase the effort required to migrate to the DataStax driver. The transition can be especially difficult for projects that need both Astyanax and DataStax drivers to coexist for some time, e.g. an app that wants to migrate its own Astyanax dependency to DataStax driver but still has other transitive dependencies to Astyanax outside its direct control.
Summary of changes and impact to Astyanax users:

Shaded cassandra-all to avoid dependency incompatibilities with newer versions of cassandra-unit/CassandraDaemon/EmbeddedCassandra for unit/integration testing. Relocates astyanax-cassandra's "org.apache.cassandra" dependencies to "com.netflix.astyanax.org.apache.cassandra."
Updated gradle wrapper to 4.1
Updated all explicit dependencies to newer compatible versions.
Unit-tested with Guava versions 19-25.
Eliminated/refactored some dependency declarations to reflect true dependencies and minimize transitive dependencies forced on Astyanax users.
Moved dependencies not actually used by src/main to "testCompile" to keep them out of transitive dependencies.
Updated readme to more explicitly suggest Astyanax users migrate to DataStax driver.
Note that with astyanax-shaded-cassandra-all, currently IntelliJ incorrectly renders "com.netflix.astyanax.org.apache.cassandra." as unfound. Astyanax still builds perfectly fine via Gradle. This is a known IntelliJ bug which affects only the Astyanax modules themselves; users of Astyanax artifacts will not see any issue.
Added missing license headers.

re: the suggestion for more unit tests for all the datatype changes, the vast majority of those changes are very simple (reference shaded package of a class from cassandra-all) and they're pretty deep in astyanax-core so that they already git hit pretty well by existing unit tests from astyanax-test. I'll see if I can find some code coverage metric to verify that we covered each datatype at least once.


Doc : Replace true by false in documentation string for QuantumCircuit.assign_parameters

[x] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.

Fixes #6536
Hi @jlapeyre, how does this look?
Let me know if this needs any changes.
Thanks

 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.