ENOENT: no such file or directory, scandir '....\monorepo\pages'

Hi my nextjs root is inside a monorepo as ./apps/web/ but I get this error on start:
ENOENT: no such file or directory, scandir 'monorepo\pages'
Is it possible to scan until you hit the first i18n.json or something along those lines, then you know the root where ./pages directory is to be expected
Thanks! Great project

@binary64 Would it be possible for you to do a reproducible example? 🙏  This would be a great help to us. 😊
The examples we have are already under monorepo and we haven't encountered this problem

Here's how to replicate:
npx create-nx-workspace@next

choose Next.js & CSS
npm i next-translate

next.config.js:
const withNx = require('@nrwl/next/plugins/with-nx');
const nextTranslate = require('next-translate')

module.exports = withNx({
  ...nextTranslate({
    locales: ["en", "fr"],
  }),
});

/i18n.json:
{
  "locales": ["en", "fr"],
  "defaultLocale": "en",
  "pages": {
    "*": ["common"],
    "/": ["home"]
  }
}

result:
ENOENT: no such file or directory, scandir 'C:\p\_temp\testt\pages'

Similar issue,
I am working in a Next app deployed with a custom server. It is configured as a monorepo using lerna. Next app is located in apps/frontend and a  custom server is in apps/backend.
In order to run the Next App from the custom server I had to configure the dir where the Next (app/frontend) app is located.
const Env = require('@app/env');

const port = parseInt(process.env.PORT, 10) || 8000;
const dev = Env.NODE_ENV !== 'production';
const app = Next({
    dev,
    dir: Path.resolve(process.env.NEXT_APP_PATH || '.') # dir where app (frontend) is located
});

However there is not such a thing to configure with next-translate.
As a workarround I have modified src\plugin\index.tsx in order to add that option.

so, my next.config.js now looks like this:
const nextTranslate = require('next-translate');

module.exports = nextTranslate({}, { appPath: process.env.NEXT_APP_PATH });

It is not an elegant solution, but maybe it helps.

Replacing process.cwd() to __dirname  it should work: https://stackoverflow.com/a/9874415/4467741

process.cwd() returns the current working directory,
i.e. the directory from which you invoked the node command.
__dirname returns the directory name of the directory containing the JavaScript source code file

@binary64 Now this can be defined as follows:
const withNx = require('@nrwl/next/plugins/with-nx');
const nextTranslate = require('next-translate')

module.exports = withNx(nextTranslate({ dir: __dirname }));

Or simple using process.env.NEXT_APP_PATH env variable.
Changes: https://github.com/vinissimus/next-translate/pull/407/files#diff-21682b68ed82193995e01bd3585b2a596634ce8bb436f9cc0c3c9a39af8e2f40R7
Prerelease: 1.0.1-canary.2
However, I have now come across another issue along withNx webpack loader...

Babel should have to be executed after the next-translate webpack loader, but it's executed it before for some reason I don't know... Maybe it's me who doesn't have any experience with NX and maybe I left something behind 😕

@binary64 can you confirm that 1.0.1-canary.3 prerelease is working for you? Thank you 🙏

Hi! Thanks for the update,
Unfortunately I get a similar error:
yarn run v1.22.10
$ nx serve

> nx run web:serve
ENOENT: no such file or directory, scandir 'C:\p\proj\monorepo\pages'
error Command failed with exit code 1.

It should be looking in C:\p\proj\monorepo\apps\web\src\pages

Ops! And are you setting NEXT_TRANSLATE_PATH=./apps/web? Or how?

With NEXT_TRANSLATE_PATH=./apps/web yarn run nx serve I get:
> nx run web:serve
info  - automatically enabled Fast Refresh for 1 custom loader
Warning: Built-in CSS support is being disabled due to custom CSS configuration being detected.
See here for more info: https://err.sh/next.js/built-in-css-disabled

info  - Using external babel configuration from C:\p\pab\monorepo\apps\web\.babelrc.js
error - ./pages/_app.tsx:137:8
Syntax error: Unterminated string constant

  135 |     if (typeof self !== 'undefined' &&
  136 |         // AMP / No-JS mode does not inject these helpers:
> 137 |         '$RefreshHelpers
      |         ^
  138 | // @ts-ignore
  139 |     export default __appWithI18n(__Page_Next_Translate__, {
  140 | // @ts-ignore

Ah ok @binary64, it looks the same issue that I reported on this comment https://github.com/vinissimus/next-translate/issues/395#issuecomment-745467162. I'm not sure why this happens... Babel should have to be executed after the next-translate webpack loader, but it's executed it before for some reason I don't know... I'm going to investigate. Thank you.

Ah ok @binary64, it looks the same issue that I reported on this comment https://github.com/vinissimus/next-translate/issues/395#issuecomment-745467162. I'm not sure why this happens... Babel should have to be executed after the next-translate webpack loader, but it's executed it before for some reason I don't know... I'm going to investigate. Thank you.

Hi, we're also getting the same error. I believe there's a bug in the templateWithHoc method because the code parsed into the method is valid but the output is not.
Before:
    // Legacy CSS implementations will `eval` browser code in a Node.js context
    // to extract CSS. For backwards compatibility, we need to check we're in a
    // browser context before continuing.
    if (typeof self !== 'undefined' &&
        // AMP / No-JS mode does not inject these helpers:
        '$RefreshHelpers$' in self) {

After:
    // Legacy CSS implementations will `eval` browser code in a Node.js context
    // to extract CSS. For backwards compatibility, we need to check we're in a
    // browser context before continuing.
    if (typeof self !== 'undefined' &&
        // AMP / No-JS mode does not inject these helpers:
        '$RefreshHelpers
// @ts-ignore
    export default __appWithI18n(__Page_Next_Translate__, {

Hope it helps. 🙏

Hi, we're also getting the same error. I believe there's a bug in the templateWithHoc method because the code parsed into the method is valid but the output is not.
Before:
    // Legacy CSS implementations will `eval` browser code in a Node.js context
    // to extract CSS. For backwards compatibility, we need to check we're in a
    // browser context before continuing.
    if (typeof self !== 'undefined' &&
        // AMP / No-JS mode does not inject these helpers:
        '$RefreshHelpers$' in self) {

After:
    // Legacy CSS implementations will `eval` browser code in a Node.js context
    // to extract CSS. For backwards compatibility, we need to check we're in a
    // browser context before continuing.
    if (typeof self !== 'undefined' &&
        // AMP / No-JS mode does not inject these helpers:
        '$RefreshHelpers
// @ts-ignore
    export default __appWithI18n(__Page_Next_Translate__, {

Hope it helps. 🙏

we move it to 1.0.3 to avoid blocking 1.0.2

we move it to 1.0.3 to avoid blocking 1.0.2

Hi guys, I have the same error but I'm not sure is caused by the same issues. I don't include pages/ directory at all in my app!
I tried to reproduce the example posted here: https://github.com/vinissimus/next-translate/issues/395#issuecomment-742586737 and I don't have problem building or running npm start
My main question is:
A Nextjs app should be deploy on production with or without /page directory?
For me make sense that is without since that is not compiled code. But maybe I'm missing something??

Hi guys, I have the same error but I'm not sure is caused by the same issues. I don't include pages/ directory at all in my app!
I tried to reproduce the example posted here: https://github.com/vinissimus/next-translate/issues/395#issuecomment-742586737 and I don't have problem building or running npm start
My main question is:
A Nextjs app should be deploy on production with or without /page directory?
For me make sense that is without since that is not compiled code. But maybe I'm missing something??

@aralroca I tried out my solution with 1.0.3-canary and it didn't change much.
My file tree:
i18n.js
.next
node_modules
package.json
public

My steps:
npm run build
npm start
Here i get the error:
Error: ENOENT: no such file or directory, scandir '/home/gio/repos/test_v4/elliotforwater_v4/ewf_prod/pages'
I still wonder if I should have pages/ in my file tree in production.

Hi,
We write on documentation in point 12 about mono-repo (https://github.com/vinissimus/next-translate#12-how-to-use-next-translate-in-a-mono-repo) but this solution doesn't work with nx.dev
I seeting up NEXT_TRANSLATE_PATH but it's doesn't work. I still have error
ENOENT: no such file or directory, scandir '/temp/NX/project/pages'

Hi @gsambrotta, @krystianjj
As of 1.0.3, usage with NX brings this error:

You will not be able to use it, unfortunately :(
Once PR #527 got merged, next-translate will become NX-compatible.
To setup next-translate with NX, you have to:
(a) Either pass env variable NEXT_TRANSLATE_PATH every time you run nx commands:
 npx cross-env NEXT_TRANSLATE_PATH=apps/myAppName nx serve myAppName

(b) or create  .local.env file in the workspace root folder and define the var there:
// .local.env

NEXT_TRANSLATE_PATH=apps/myAppName

With (b) all nx command will automatically read env form .local.env. Running nx serve myAppName will just work.

I pre-released the fix that @shelooks16 did under 1.0.4-canary.2. If you confirm that it works well, then I'm going to release it!

Hi @shelooks16, @aralroca
I just tested<EMAIL_ADDRESS>with NX and I confirm, now everything working great :)
Thank you 👍

@aralroca Hello again!
After spending sometime ensuring new changes work OK under different conditions, PR #527 opened a new issue.
Since now all singular quotes are replaced in the entire modifiedCode, there is a chance to end up with nested "" pair inside another "" pair.
For example, usage with styled JSX fails the build:

Instead of replacing all single qoutes, only special cases of the .replace() method to be considered:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/replace#specifying_a_string_as_a_parameter
Original issue was caused by '$RefreshHelpers$', and I believe this is the only thing that must be replaced.
I will submit a new PR with updated Regex.

@shelooks16 can I close this issue? It is finally resolved?

@aralroca yeah, of course. Thanks.
From 1.0.5-canary.1 all goes smooth, not issues so far.

@aralroca Maybe i am doing something wrong but... I am getting same error
I have repo with single next js project, build structure:
.next
node_modules
public
i18n.json
next.config.js
package.json

npm start throws
npm : Error: ENOENT: no such file or directory, scandir 'REDACTED_PATH\pages'
At line:1 char:1
+ npm start
+ ~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (Error: ENOENT: ...\REDACTED_PATH\pages':String) [], RemoteException
    + FullyQualifiedErrorId : NativeCommandError

    at Object.readdirSync (node:fs:1381:3)
    at nextTranslate (REDACTED_PATH\node_modules\next-translate\lib\cjs\plugin\index.js:51:10)
    at REDACTED_PATH\node_modules\next-compose-plugins\lib\compose.js:100:23
    at Array.forEach (<anonymous>)
    at composePlugins (REDACTED_PATH\node_modules\next-compose-plugins\lib\compose.js:77:11)
    at REDACTED_PATH\node_modules\next-compose-plugins\lib\index.js:22:38
    at normalizeConfig (REDACTED_PATH\node_modules\next\dist\next-server\server\config-shared.js:1:1696)
    at loadConfig (REDACTED_PATH\node_modules\next\dist\next-server\server\config.js:8:136)
    at async NextServer.loadConfig (REDACTED_PATH\node_modules\next\dist\server\next.js:1:3155)
    at async NextServer.prepare (REDACTED_PATH\node_modules\next\dist\server\next.js:1:2679) {
  errno: -4058,
  syscall: 'scandir',
  code: 'ENOENT',
  path: 'REDACTED_PATH\\pages'
}

But if i add empty pages folder:
.next
node_modules
pages/{empty}
public
i18n.json
next.config.js
package.json

All is working fine: translations are working, application is not throwing any errors

The working configuration is:

Copy full pages folder to docker image
Use<EMAIL_ADDRESS>
None of other combinations is not working =(

Hi @sergeyshaykhullin,
You have different problem...
Nextjs must have pages directory because nextjs have build in router.
Check if you copy pages to correct main directory of project.

@krystianjj
Hmm, in production i have a .next folder with compiled pages
I never copied source pages and next is running ok

@sergeyshaykhullin if you use this Dockerfile configuration -> https://nextjs.org/docs/deployment you must add lines to copy i18n.js configuration to buid image if you have next-translate config in separare file.
COPY --from=builder /app/i18n.js ./

@krystianjj If you don't copy i18n.json you will get another error
This is my Dockerfile
FROM node:16-alpine as build
WORKDIR /app
COPY . .

I only change line COPY --from=build /app/src/pages src/pages to COPY --from=build /app/pages ./pages

Yes, this configuration is working
But you should not to copy your source pages

@sergeyshaykhullin in my project when I comment line with nextTranslate() in next.config.js your Dockerfile working with comment copy pages directory.

If i disable next-translate plugin next will start without errors and serve/render pages as normal

@krystianjj Yes, if you disable next-translate you can omit copying source pages and next will use .next/server/pages
But... It seems not that i want)
If you uncomment your nextTranslate() and do not copy original pages to src/pages or pages you will get an error

I run into the same issue. The docker file as described here:
https://nextjs.org/docs/deployment
...cannot work because next-translate seems to want the source pages to be included inside the docker image unlike the example from the link above.

Ok I reopen it!

@mvierssen You can copy pages from .next folder as a temporary workaround, to not to copy source
I am using 1.0.1 version, it works fine with copied pages
1.0.7 is failing

This works for me
COPY --from=builder /app/.next/server/pages ./pages

basically you need copy pages from .next/server/pages to workdir. Idk why is needed.

1.05 - the workaround with copied pages doesn't work (prod), dev environment works fine
1.01 - the workaround with copied pages works, but I get the error related to $RefreshHelpers$' string 😂  when I run nx start myapp
any suggestions?

Hi @karolbilicki

1.01 - the workaround with copied pages works, but I get the error related to $RefreshHelpers$' string when I run nx start myapp (dev envrionment without building)

this is fixed in 1.0.4 and 1.0.5. Below these versions you won't be able to pair NX and next-translate :(

1.05 - the workaround with copied pages doesn't work (prod), dev environment works fine

are you using docker? I have been using the workaround with docker up until now and haven't experienced any problems.

I am going to use 1.01 in order to use the workaround with coping pages directory for prod.
For development I will upgrade the version to 1.07 but only locally.

Any more workarounds?..

help me error
./pages/blog/[detail].tsx
Module parse failed: Duplicate export '__N_SSP' (11:11)
File was processed with these loaders:

../../node_modules/next/dist/build/babel/loader/index.js
../../node_modules/next-translate/lib/cjs/plugin/loader.js
../../node_modules/next/dist/build/babel/loader/index.js
You may need an additional loader to handle the result of these loaders.
| import { useRouter } from 'next/router';
| export var __N_SSP = true;

export var __N_SSP = true;
| export function DetailBlogPage() {
|   var route = useRouter();

It should be fixed in 1.1.0-canary.3 version. I close the issue but it would be nice to know your feedback that now it works without problems. If not, I will reopen the issue.

@aralroca thanks. butt is it will work fine

@aralroca please help me

@quyphan97 try to use function expression for the component and function declaration for getServerSideProps:
const MyPage = () => { ... }

export async function getServerSideProps() { ... }

@shelooks16 Thanks. I will report back to you once the results are available

@quyphan97 @amosbastian I've made a fix in the 1.1.0-canary.4, I hope that with this version it will work.

@aralroca @shelooks16 Thank you, I have fixed the above error. Thanks a lot

Did anyone manage to deploy to production using NX-monorepo or any monorepo?
My guess is that .env.local is somehow not taken into account or not pointing to the same path when building for prod with npm run start. Everything works just fine in dev (when using npx nx run myapp:serve). But on prod, I use npm run start (> nx start) it fails.

Same issue here @danyhiol. Please let me know if you have resolved this


Add symlink to /home/indy/.indy_client for backwards compatibility

This should resolve an issue happening when migrating an indy-based agent to an askar-only image: the home directories will change, however the database will contain references to previously created artifacts (specifically tails files in the case that triggered this fix) that will not be resolvable anymore.
Creating a symlink for /home/indy/.indy-client/ pointing to /home/aries/.indy_client should resolve issues with path resolution without needing to update path references stored in the database.
We could potentially create a symlink between /home/indy and /home/aries, but I don't like the idea of symlinking home directories.

I've built https://github.com/hyperledger/aries-cloudagent-python/pkgs/container/aries-cloudagent-python/121652867?tag=py3.9-0.10.0-dev0 off this commit for testing.

@swcurran, @dbluhm, We'll need this to be included in 0.10.0, but we need to ensure the permissions on the folders work before merging this PR.

This doesn't feel like the right solution to me; this will mean that data will continue to be stored in the /home/indy directory, right? At what point do we actually make the switch to not having references back to indy-isms? What would be different about the solution at that point and now?

Data will (can/should) actually be stored in /home/aries, but allow it to be accessed via /home/indy for backward compatibility for agents that have been migrated from indy to askar storage and to the askar only images.

The scenario we ran into was I migrated an agent from an indy-sdk based image to the askar only image.  In doing so the PVC containing the tails files was mounted to /home/aries/.indy_client/tails rather than /home/indy/.indy_client/tails.  The agent's secure storage still contained references to /home/indy/.indy_client/tails and therefore the agent could not find the files it was looking for.

These sorts of issues have been brought about due to the fact we've been using /home directories for application data rather than using application folders for data and config.  Something we should consider changing in the future.

Ah I see. I had the source and target of the symlink swapped around. Thanks for explaining. This seems like a "necessary evil" unless we wanted to do an upgrade script that rewrites locations.

As an aside about those tails locations, with the AnonCreds Rust changes, I believe this will no longer be an issue because the only time an actual tails file will need to exist will be when uploading it to the tails server. So a path won't be stored in the DB anymore.

Please hold merging this PR until we've completed testing.
Preliminary results:

I've deployed an instance of the dev image and had a look at the symlink and folder permissions. On the surface everything looks good.  I've asked the team to rerun the tests to confirm the issue they encountered has been fixed.

Please let me know if after we test/merge this we need to do an RC2, or if it is safe enough to go to the final 0.10.0.

Please let me know if after we test/merge this we need to do an RC2, or if it is safe enough to go to the final 0.10.0.

I feel like this is innocuous enough to go straight into an official release, plus we're testing it on a custom image @WadeBarnes built before we merge it.

With the #2409 fallout, I think we will need an RC2 anyway, unfortunately.

With the #2409 fallout, I think we will need an RC2 anyway, unfortunately.

Agreed


Add dashboard logger

Description
Add dashboard logger
Changes

Add a way to check/download dashboard logs

Related Issues

https://github.com/threefoldtech/tfgrid-sdk-ts/issues/1468

Checklist

[ ] Tests included
[ ] Build pass
[ ] Documentation
[ ] Code format and docstrings
[ ] Screenshots/Video attached (needed for UI changes)

The support chat icon is hiding both icons of the logs section.

In some pages expanding the logs will completely hide the footer while in other pages it just hides a part of it. imo the behavior should be consistent for all pages either hide the footer or show it fully not a part of it.
Screencast.from.05-02-<IP_ADDRESS>.webm

This is a very surprising behavior and unexpected one. basically both of these component (footer/bottom bar) are vuetify component, so how they interact different in different pages?
For me solution might to change bottom bar component to regular div and add our own position styles ... will update it and check results

Some errors show up in the console but they don't show up in the logs.
Screencast.from.05-02-<IP_ADDRESS>.webm

This is not log or error from app ... it's error in browser to indicate that request failed can't be removed

dashboard not working with the following errors in the console.

GET http://localhost:5173/node_modules/.vite/deps/logger-interceptor.js?v=145f6e23 net::ERR_ABORTED 504 (Outdated Optimize Dep)

GET http://localhost:5173/node_modules/.vite/deps/vue3-virtual-scroller.js?v=dd69fa6b net::ERR_ABORTED 504 (Outdated Optimize Dep)

That's because vue app not started yet so code is not yet executed

Is this gap between the warning and the error normal?

I think we need to format logs like this:

We are not formatting the logs we just store them and show to user and allow clear/download

I believe the placement of the logger seems off. As a user, I expect the footer to remain consistent, so its relocation feels awkward. Additionally, the adjustment of the chat icon's position doesn't align with typical UX practices.

Removed space from logger's actions

why all this space above first log ?

can't see all dialog from navbar .

can't see all dialog from navbar .

@AlaaElattar fixed


missing entityID in metadata yields "unknown error"

2016-04-27 08:22:32,604 [5611] [ERROR] Unknown error
Traceback (most recent call last):
  File "/usr/local/lib/python3.4/dist-packages/satosa/base.py", line 274, in run
    resp = self._run_bound_endpoint(context, spec)
  File "/usr/local/lib/python3.4/dist-packages/satosa/base.py", line 202, in _run_bound_endpoint
    return spec[0](context, *spec[1:])
  File "/usr/local/lib/python3.4/dist-packages/satosa/frontends/saml2.py", line 70, in handle_authn_request
    return self._handle_authn_request(context, binding_in, self.idp)
  File "/usr/local/lib/python3.4/dist-packages/satosa/frontends/saml2.py", line 225, in _handle_authn_request
    context.state)
  File "/usr/local/lib/python3.4/dist-packages/satosa/frontends/saml2.py", line 171, in extract_request
    entity_id=_authn_req.issuer.text, request=_authn_req)
  File "/usr/local/lib/python3.4/dist-packages/saml2/entity.py", line 283, in pick_binding
    srvs = sfunc(entity_id, binding, descr_type)
  File "/usr/local/lib/python3.4/dist-packages/saml2/mdstore.py", line 1063, in assertion_consumer_service
    "assertion_consumer_service", binding)
  File "/usr/local/lib/python3.4/dist-packages/saml2/mdstore.py", line 952, in service
    raise UnknownSystemEntity(entity_id)
saml2.s_utils.UnknownSystemEntity: https://dev.play.sunet.se

This could definitely be improved upon :-)

It sure could, thanks for reporting it!
Would it suffice to handle the UnknownSystemEntity and produce a better log message?
I can't think of any way of gracefully handling it, since it will be hard to find the corresponding metadata (which is missing the entityID).

Skickat från min iPhone

27 apr. 2016 kl. 12:27 skrev Rebecka Gulliksson<EMAIL_ADDRESS>It sure could, thanks for reporting it!
Would it suffice to handle the UnknownSystemEntity and produce a better log message?

Yeah i think so

I can't think of any way of gracefully handling it, since it will be hard to find the corresponding metadata (which is missing the entityID).
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub


Should we enable the Style/FrozenStringLiteralComment?

Should we enable the Style/FrozenStringLiteralComment
Style/FrozenStringLiteralComment:
  Enabled: false

Once we enabled that rule (by removing the block ⬆), we need to run rubocop -a to add the # frozen_string_literal: true to each Ruby files.

Solved in https://github.com/nimblehq/rails-templates/pull/198


docs: Update README to reflect unmaintained status

This picks up https://github.com/apache/pulsar-helm-chart/pull/367.
See the discussion on the list at https://lists.apache.org/thread/zrqs973cbvm7szs8kktgbgfohs8gdrzp.
Specially, I wrote:

I totally appreciate anyone who is willing to maintain the pulsar-helm-chart, but let's do not block the description updates by such an argument. Instead, update the description, and change it back when the development and maintenance really happen. It also reflects the low traffic during the past few years.

Merging on lazy consensus for weeks.


Update Instagram.php

the curlOpts is very useful if you want to use ipv6 instead of ipv4, and use custom ips, from your own server
On some requests it changes the csrftoken from x-csrftoken to X-CSRFToken
I noticed that sometimes the set-cookie field of lowercase becomes big, so I created a check to avoid it running out of cookie
several changes of structure to make work difficult, but we are here 24 hours working to fuck this damn social network

  $ip         = "2a02:c207:2016:5862::" . rand( 500, 9999 ); // my block and random entry between 500, and 9999 Instagram::curlOpts( [ 				CURLOPT_INTERFACE => $ip, 				CURLOPT_IPRESOLVE => CURL_IPRESOLVE_V6 			] );
Every server vps or dedicated when we buy it comes a subnet ipv6, with it and possible to generate dozens of ipv6
so at each request I put an ipv6 from my block randomly, so it's fast and I have no problems with checkpoint and etc.

$ip = "xa02:c207:2x16:1262::" . rand( 500, 9999 ); // my block and random entry between 500, and 9999 Instagram::curlOpts( [ CURLOPT_INTERFACE => $ip, CURLOPT_IPRESOLVE => CURL_IPRESOLVE_V6 ] );
Every server vps or dedicated when we buy it comes a subnet ipv6, with it and possible to generate dozens of ipv6
so at each request I put an ipv6 from my block randomly, so it's fast and I have no problems with checkpoint, rate limit, etc.

@tallesairan thank you for contribution

Hi @tallesairan ,
I've tried adding this first but didn't work and still getting rate limits errors. What am I doing wrong please?
<?php
require __DIR__ . '/vendor/autoload.php';
$ip = "2a03:b0c0:1:e0::41d:d00" . rand(1,9);
\InstagramScraper\Instagram::curlOpts([
        CURLOPT_INTERFACE => $ip,
        CURLOPT_IPRESOLVE => CURL_IPRESOLVE_V6
]);

echo "{$ip}\n\n";

$instagram = \InstagramScraper\Instagram::withCredentials('username', 'password', 'cache'$
$instagram->login();
sleep(2); // Delay to mimic user

// For getting information about account you don't need to auth:
$account = $instagram->getAccount('username');


Create a Basic Flow with a SOAP Endpoint

Tutorial: https://developers.sap.com/tutorials/cp-integration-create-basic-flow.html
Step 8 - point 3, after hit Send
Get error: (Status 500)
An internal error occurred. For error details check MPL ID AGAfCQCu0-UWKaKmB2J0nlDgoOWo in message monitoring or use the URL..
Please advice.
(Changing PW gives Status 401 UnA..... - thus it not that part;-) )

Hello,
We are updating this whole series in the context of the new RISE offering from SAP. Please stay tuned for further updates on this and try again in a couple of weeks.
Apologies for the inconvenience.
Best Regards,
Gautham

@gauthamkrishna-sap
Thanks, look very much forward to that.
BTW - I got https://developers.sap.com/mission.cp-starter-integration-cpi.html to work "all the way" ;-)

Yes, that is our new tutorial for Integration Suite :) Happy to hear that you could complete it fully.
We will update this mission also in the context of Integration Suite to ensure that you can complete this on trial landscape.
Best Regards, Gautham

Thank you for your feedback. The issue seems to be resolved, so I am closing the issue.
If you still have questions, feel free to reopen the issue.


Could not load file or assembly 'HandyControl, Culture=neutral'

Describe the bug
hi, i've done the installation steps as it's told in main page(readme) but after that i cannot add the controls into my wpf application. And Visual Studio throws and error which is;
Error: XDG0010 Could not load file or assembly 'HandyControl, Culture=neutral' or one of its dependencies. The system cannot find the file specified.
Steps to reproduce the bug

Install-Package HandyControl
I'm stuck here: Add code in App.xaml as follows:

Expected behavior
No response
Screenshots

NuGet package version
HandyControl 3.4.0
IDE
Visual Studio 2022
Framework type
.Net Framework 4.7.2
Windows version
No response
Additional context
Edition	Windows 10 Pro
Version	22H2
Installed on	2/16/2021
OS build	19045.3086
Experience	Windows Feature Experience Pack 1000.19041.1000.0

use v3.3.0

I also encountered this problem, even when using v3.3.0, it still doesn't work.

In Visual Studio 2022, Try the steps:
1, Firstly, unload the project that uses HandyControl.
2, And then carry out "Reload Project with Dependencies" in the context menu of the project.
3, And finally rebuild the entire solution.


BatchImportError: Number of assets to upload is not equal to number of assets uploaded in Kili.

Uploading a single, 5 channel Geotiff via the API I receive an error:
BatchImportError: Number of assets to upload is not equal to number of assets uploaded in Kili.

Seems incorrect as there is only 1 image:
project_id = project["id"]
json_metadata_array = [{"processingParameters": {"epsg": 32636}}]
multi_layer_content_array = [
    [
        {
            "path": "/teamspace/studios/this_studio/my.tif",
            "name": "Layer 1",
            "isBaseLayer": False,
        },
    ],
]
json_content_array = [
    [
        {
            "name": "osm",
            "tileLayerUrl": "https://b.tile.openstreetmap.org/{z}/{x}/{y}.png",
            "epsg": "EPSG32636",
            "bounds": [
                [497245.0, 7653060.0],  # left, bottom
                [509012.0, 7663596.0],  # right, top
            ],
            "useClassicCoordinates": False,
            "minZoom": 10,
            "maxZoom": 18,
            "isBaseLayer": True,
        }
    ]
]

kili.append_many_to_dataset(
    project_id=project_id,
    multi_layer_content_array=multi_layer_content_array,
    json_metadata_array=json_metadata_array,
    json_content_array=json_content_array,
)

The image is pretty large, 1.24GB. Perhaps the upload timesout and this error is raised

I uploaded only a single channel from the tif without issues, so the error must be due to size


Ocr-Complete project crashes on text detection if minSdkVersion is below 21

Hi,
I just downloaded and ran ocr-complete project in my device which is android 4.4( below api level 21) and it crashed due to an issue which is because on detection of text, according to code text will be converted to speech but tts(texttospeech) doesn't work below api level 21. So instead of directly converting text to speech, we can avoid the crash if we can check the sdk version of the device in which app is being run.
So according to this file :-
https://github.com/googlesamples/android-vision/blob/master/visionSamples/ocr-codelab/ocr-reader-complete/app/src/main/java/com/google/android/gms/samples/vision/ocrreader/OcrCaptureActivity.java
On line number 351 , in onTap function, we have :-
 tts.speak(text.getValue(), TextToSpeech.QUEUE_ADD, null, "DEFAULT");
we can change it to
if(Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP)
                    tts.speak(text.getValue(), TextToSpeech.QUEUE_ADD, null, "DEFAULT");
else
                Toast.makeText(this,text.getValue(),Toast.LENGTH_SHORT).show();

By this we can show the detected text on user tap by toast message on devices below android 5.0 and for android devices having android lollipop and above, the detected text can be converted to speech.
Please let me know your views on this suggestion.
Thanks.

@theoreticalb  please check this fix.

the text recognizer is not available in api 17. Is this related to google play services version or another fix available for this


Kafka configuration changes

Hi,
Is there a way to customize the Kafka configuration? I tried logging into the all (3) containers and updating /data/conf/server.properties but that file is reset to its original content after the container is restarted when I run the restart-service command. (and I do not understand why/how, but that's not the question).
And the FireCamp documentation does not seem to mention how to change the configuration.
Kind regards,
Rik

The current behavior is by design. FireCamp tries to expose the minimal number of configs. We would like to collect the requirements first before adding more configs or adding the general mechanism to allow updating custom configs. What kind of configurations do you plan to change?
The config files inside container is immutable. FireCamp loads the configs that are input at the service creation time, and overwrites the /data/conf/server.properties file before container starts. When container starts, entrypoint.sh will load the configs in /data/conf/server.properties and update kafka configs accordingly.

A simple common mechanism is to allow tuning the non-sensitive configs via the environment variables. This is not complex to support. If you could provide more details, we could consider to support it.

I would like to set auto.create.topics.enable=false would you consider supporting this?

This is a good config to support. Will add it.

With respect to above, configuration changes. If I want edit, server.properties of kafka to change below listeners to any other IP/DNS
listeners=PLAINTEXT://mykafka-0.abc-firecamp.com:9092
advertised.listeners=PLAINTEXT://mykafka-0.abc-firecamp.com:9092
Once, we change this if i restart the kafka and zookeeper service it again goes to default config. How to override this config? Or how to pass this parameters as environment variable to override the values?

Changing the listeners address is not supported. The kafka container binds with the DNS name. This is how failover works. When the kafka container moves to another node, DNS will be automatically updated.


Distributed hybrid and wireguard-native : wrong interface internal IP ?

I understood from documentation that using --flannel-backend=wireguard-native should create a mesh VPN network between nodes and use that network for internal communication
I expected that internal_ip in kubectl get nodes -o wide should show wireguard IP
wg show on every node seems to confirm that master can communicate with workers, and workers can ping master, using VPN mesh network
What I did not understand :

I don't know If worker nodes should be able to ping each other using VPN mesh network
I don't know If i can create a distributed hybrid if k3s-master and k3s-node1 do not have a different public IP address

Steps To Reproduce:

Installed K3s server using configurations above
Installed K3s workers using configurations above
Deploy an hello-world to confirm that I can reach pod on debian-test using service or ingress

Expected behavior:

Result of kubectl get nodes -o wide on master

NAME          STATUS   ROLES                  AGE   VERSION        INTERNAL-IP     EXTERNAL-IP     OS-IMAGE                         KERNEL-VERSION    CONTAINER-RUNTIME
k3s-master    Ready    control-plane,master   36d   v1.26.3+k3s1   <IP_ADDRESS>   XX.XX.XX.XX    Debian GNU/Linux 11 (bullseye)   5.10.0-21-amd64   containerd://1.6.19-k3s1
debian-test   Ready    <none>                 47h   v1.26.3+k3s1   <IP_ADDRESS>   YY.YY.YY.YY   Debian GNU/Linux 11 (bullseye)   5.10.0-21-amd64   containerd://1.6.19-k3s1
k3s-node1     Ready    <none>                 36d   v1.26.3+k3s1   <IP_ADDRESS>   <none>          Debian GNU/Linux 11 (bullseye)   5.10.0-21-amd64   containerd://1.6.19-k3s1

Actual behavior:

Result of kubectl get nodes -o wide on master

NAME          STATUS   ROLES                  AGE   VERSION        INTERNAL-IP     EXTERNAL-IP     OS-IMAGE                         KERNEL-VERSION    CONTAINER-RUNTIME
k3s-master    Ready    control-plane,master   36d   v1.26.3+k3s1   <IP_ADDRESS>   XX.XX.XX.XX    Debian GNU/Linux 11 (bullseye)   5.10.0-21-amd64   containerd://1.6.19-k3s1
debian-test   Ready    <none>                 47h   v1.26.3+k3s1   <IP_ADDRESS>   YY.YY.YY.YY   Debian GNU/Linux 11 (bullseye)   5.10.0-21-amd64   containerd://1.6.19-k3s1
k3s-node1     Ready    <none>                 36d   v1.26.3+k3s1   <IP_ADDRESS>   <none>          Debian GNU/Linux 11 (bullseye)   5.10.0-21-amd64   containerd://1.6.19-k3s1

Additional context / logs:

I am probably misunderstanding something network related, but can't figure out what

Thanks a lot !

Complementary information :

I think my setup has a problem when I deployed kube-prometheus, and one part of the stack is the automatic deployment of /node-exporter.
kube-prometheus seem to try to deploy and access node-exporter pods on the following IP addresses :

Endpoint | State | Labels | Last Scrape | Scrape Duration | Error
-- | -- | -- | -- | -- | --
https://<IP_ADDRESS>:9100/metrics | UP | container="kube-rbac-proxy"endpoint="https"instance="k3s-master"job="node-exporter"namespace="monitoring"pod="node-exporter-gk64g"service="node-exporter" | 14.433s ago | 17.187ms |
https://<IP_ADDRESS>:9100/metrics | DOWN | container="kube-rbac-proxy"endpoint="https"instance="debian-test"job="node-exporter"namespace="monitoring"pod="node-exporter-vp6ch"service="node-exporter" | 8.346s ago | 3.59s | Get "https://<IP_ADDRESS>:9100/metrics": dial tcp <IP_ADDRESS>:9100: connect: no route to host
https://<IP_ADDRESS>:9100/metrics | UP | container="kube-rbac-proxy"endpoint="https"instance="k3s-node1"job="node-exporter"namespace="monitoring"pod="node-exporter-jjn9f"service="node-exporter" | 10.753s ago | 17.459ms |

I don't know if a correctly setted up cluster should advertise the correct IP for debian-test node (external IP).
Or If it is totally expected behaviour, and that I need to configure my prometheus-stack to use an external IP when trying to connect to debian-test:9100/metrics.

Thanks a lot

The wireguard flannel backend only handles cluster networking - traffic between pods and services on different nodes. It does not solve the problem of how to allow pods to access nodes across isolated networks. Things like prometheus or metrics-server that attempt to scrape nodes directly will not work, as traffic leaving the cluster to a node IP is not handled by the CNI.
I would take a look at https://github.com/k3s-io/k3s/issues/7353 - it addresses many of the challenges you're running into.

It looks good at first glance. You didn't mention any problems with pod-to-pod or pod-to-service connectivity so I'm assuming the wireguard-native flannel backend is working properly otherwise?

Yes, that seem to work without any problem as I can access an hello-world service that brings me to a pod on my remote node (debian-test) as well as a pod on my master node (k3s-master).
Thank you very much for your valuable information and quick reply !

I can confirm that your config is totally correct. Your node IP keeps being the private IP. If you execute ip r you will see that for non-local traffic, traffic is routed via the wireguard interface (in my case <IP_ADDRESS>/16 dev flannel-wg scope link).
As @brandond mentioned, pod-->remote-host communication does not work as expected because it follows a different path. This PR will include an alternative to solve it https://github.com/k3s-io/k3s/issues/7353

Thanks a lot.
For other people having the same problem, what I needed to specify on master-node and worker-node was the --node-ip parameter.
Forcing the Wireguard VPN IP on each node solved my problems.

Wonderful to hear we were able to help! Closing for now since there's not a clear bug/request here.


Lack of understanding of MAF to VCF conversion

It is a bit difficult to use MAFToGVCFPlugin to convert MAF files to VCF. Is there any other way to convert MAF to VCF? I lack a certain understanding of docker!

thanks for your questions. Convert MAF file to VCF file with tassel  is the best way.
The plugin can run directly from tassel-5-standalone as follow. this is an example to maize :
/home/xuql/tassel-5-standalone/run_pipeline.pl -Xmx100G -debug -MAFToGVCFPlugin -referenceFasta /home/xuql/copyNAM/B73/Zm-B73-REFERENCE-NAM-5.0.fa -mafFile /home/xuql/copyNAM/B97/B97.maf -sampleName B97_anchorwave -gvcfOutput /home/xuql/copyNAM/B97/B97ToB73.gvcf -fillGaps false > /home/xuql/copyNAM/B97/B97_outputMafToGVCF.txt


Stopped playback should not restart when network is reachable again

Currently, a stopped (not reset) controller restarts playback after network loss. This should not be the case.

A fix proposal is available for review on the feature/playback-restart-fix branch.


Having just one mark throws off zoom

Having just one custom overlay always causes super zoomed in because .fitBounds is being called.
Possible solutions:

Try to read set zoom of agm
Dont call fitBounds() when only one overlay (sounds promising, may need to comunicate lat lng to map for focus only)

Experience this issue.  Possible examples for how to implement either of these solutions?

It’s going to take me releasing a fix today. That’s all.

Fixed!
Please install version 1.0.4 and test
And report back if you would please of what you see


Unable to provide nested dictionary as input for pipeline steps.

Input names and output names have a different meaning when creating different pipeline step. For python pipeline step and transform pipeline step we need to specify data in a columnar format while for running network graphs they are treated as record rows and batches. For columnar data, as for the current state, we need to provide nested dictionary for inputs. For example,
{
  'default': {
     'x': np.ones(2,2),
     'y': np.ones(2,2)
  }
}

For doing this we have to extend our konduit python module client and BatchInputParser to be able to differentiate between batches and nested columnar data.

So I've thought about this a bit. The intended "use case" is columnar data. The original logic here was a "part" = "name" 1 to 1. What we could do instead is ensure this gets directed to columns instead.
The backend currently only has json support for columnar data:
https://github.com/KonduitAI/konduit-serving/blob/b881d38c8fe04812748185b5f195d4a60c47a9bb/konduit-serving-core/src/main/java/ai/konduit/serving/configprovider/PipelineRouteDefiner.java#L212
So we'd either need to convert it to json internally or make multi part work with columns. I'm not sure of a case where we would need to do that...internally we could use arrow and then upload an arrow blob instead. Arrow supports tensors. In that case, the fix could be on the client side to detect the type,detect its columnar and do a redirect to a file upload. I feel like a redirect to using arrow internally would be best.


MM-12260: don't close edit post modal on escape if emoji picker is open

Summary
Unlike the autocomplete overlays, the emoji picker's bootstrap component doesn't support /not/ handling the escape key -- it's hard coded. So if the emoji picker is open when an escape key is detected in the edit post modal, just dismiss the picker without closing the modal.
Ticket Link
https://mattermost.atlassian.net/browse/MM-12260
Checklist

[x] Ran make check-style to check for style errors (required for all pull requests)
[x] Ran make test to ensure unit and component tests passed
[x] Added or updated unit tests (required for all new features)

cherry pick 1885ae15f9ec67e7a6f121793c829316aba7ffe3 to release 5.4


[e2e]: maven workflow_dispatch main default slsa3

Repo: https://github.com/slsa-framework/example-package/tree/main
Run: https://github.com/slsa-framework/example-package/actions/runs/10335394492
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.maven.workflow_dispatch.main.default.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.maven.workflow_dispatch.main.default.slsa3.yml
Trigger: schedule
Branch: main
Date: Sun Aug 11 00:08:00 UTC 2024

Repo: https://github.com/slsa-framework/example-package/tree/main
Run: https://github.com/slsa-framework/example-package/actions/runs/10343765971
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.maven.workflow_dispatch.main.default.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.maven.workflow_dispatch.main.default.slsa3.yml
Trigger: workflow_dispatch
Branch: main
Date: Mon Aug 12 00:10:45 UTC 2024
Tests are passing now. Closing this issue.


Use greater of viewInsets, padding for Scaffold bottom padding

Scaffold bottom padding now applies the maximum of window
viewInsets.bottom (typically used for iOS safe areas) and padding.bottom
(typically used for keyboard height).

LG


JSON-LD resource containing named graphs

When I post a JSON-LD resource containing named graphs, I get very different (and sometimes surprising) across different POD implementations. Note that I think the standard is currently silent on what should be the "correct" behaviour. Note also that this use-case is important if we want to use Verifiable Credentials (or Linked Data proofs) on Solid.
The example JSON-LD is available at

https://p20n.inrupt.net/dagstuhl.jsonld (NSS, if am not mistaken)
https://solid.champin.net/pa/dagstuhl.jsonld (CSS)

When you simply curl these  URLs, you get
{
   "@context": { "ex": "http://example.org/ns/" },
  "@id": "ex:test",
   "@type": "ex:Graph",
   "@graph": {
     "@id": "ex:naughty",
      "@type": "ex:Trial"
   }
}

which expand the following dataset (in n-quads):
<http://example.org/ns/test> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://example.org/ns/Graph>.
<http://example.org/ns/naughty> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://example.org/ns/Trial> <http://example.org/ns/test>.

Now, curl -Haccept:text/turtle https://p20n.inrupt.net/dagstuhl.jsonld returns
@prefix n: <http://example.org/ns/>.
n:naughty a n:Trial.
n:test a n:Graph.

(note that the named graph has been collapsed into the default graph)
while curl -Haccept:text/turtle https://solid.champin.net/pa/dagstuhl.jsonld retuns
<http://example.org/ns/test> {
<http://example.org/ns/naughty> a <http://example.org/ns/Trial>
}
<http://example.org/ns/test> a <http://example.org/ns/Graph>.

which is not valid Turtle (despite a content-type: text/turtle in the response).
Note that it is valid TriG, which could be ok-ish if the content-type header was correct.
Conclusion: there should be a test for that in the test suite :smile:

Note that the Turtle/Trig issue of CSS is a known issue: https://github.com/CommunitySolidServer/CommunitySolidServer/issues/1327

Thanks for reporting! I created an NSS issue about the collapsing of the named graph ^
You're right, we should add this as a test (the ones in https://github.com/solid-contrib/solid-crud-tests/blob/main/test/surface/conneg.test.ts are clearly not sufficient) and also test what Solid-Nextcloud and TrinPod do with this.

I just checked the spec; it indeeds requires storage servers to store RDF documents, and

An RDF document is a document that encodes an RDF graph or RDF dataset

So although we usually only store triples inside RDF documents (i.e. the document encodes a graph), a Solid pod server should also support storing an RDF Dataset as a non-container resource.

See https://solidproject.org/TR/protocol#resource-representations
and https://www.w3.org/TR/rdf11-concepts/#managing-graphs
and https://solidproject.org/TR/protocol#resource-representations

See also https://github.com/solid/specification/issues/291


In v0.7, dependency Libdl is missing

With "import Sundials", the following warning appears in Julia v0.7rc3:
┌ Warning: Package Sundials does not have Libdl in its dependencies:
│ - If you have Sundials checked out for development and have
│   added Libdl as a dependency but haven't updated your primary
│   environment's manifest file, try `Pkg.resolve()`.
│ - Otherwise you may need to report an issue with Sundials
└ Loading Libdl into Sundials from project dependency, future warnings for Sundials are suppressed.

This seems to indicate that Libdl has to be added to the dependencies of Sundials (or there is an issue in ModiaMath).

It's in the standard library so it shouldn't be REQUIREd. Did ]resolve not fix it?

I tried this, but nothing was changed. Made a complete restart (on Windows 7):

Deleted .julia (so all installed packages removed)
Installed Julia 0.7
] add Sundials   # Message: + #  Message:   [c3572dad] + Sundials v2.3.1
using Sundials  gives the following output

julia> using Sundials
[ Info: Precompiling Sundials [c3572dad-4567-51f8-b174-8c6c989267f4]
WARNING: Method definition iterate(Any) in module Base at essentials.jl:853 overwritten in module DiffEqBase at [...]\integrator_interface.jl:220.
WARNING: Method definition iterate(Any, Any) in module Base at essentials.jl:847 overwritten in module DiffEqBase at [...]\integrator_interface.jl:220.
WARNING: Method definition iterate(Any) in module Base at essentials.jl:853 overwritten in module DiffEqBase at [...]\integrator_interface.jl:220.
WARNING: Method definition iterate(Any, Any) in module Base at essentials.jl:847 overwritten in module DiffEqBase at [...]\integrator_interface.jl:220.
+ Warning: Package Sundials does not have Libdl in its dependencies:
¦ - If you have Sundials checked out for development and have
¦   added Libdl as a dependency but haven't updated your primary
¦   environment's manifest file, try `Pkg.resolve()`.
¦ - Otherwise you may need to report an issue with Sundials
+ Loading Libdl into Sundials from project dependency, future warnings for Sundials are suppressed.

So all this is unrelated to ModiaMath, and seems to be either an issue in Julia (with regards to the Windows version), or an issue in Sundials (but I understand that Libdl should not be reported by Sundials).

I made
] add https://github.com/ModiaSim/ModiaMath.jl

This gives an error in  CodecZlib ("can not create symboli link").
Giving the command "] build CodecZlib" seems to fix this issue.
Giving the command "import ModiaMath". gives now the warning:
┌ Warning: Package CodecZlib does not have Libdl in its dependencies:
│ - If you have CodecZlib checked out for development and have
│   added Libdl as a dependency but haven't updated your primary
│   environment's manifest file, try `Pkg.resolve()`.
│ - Otherwise you may need to report an issue with CodecZlib
└ Loading Libdl into CodecZlib from project dependency, future warnings for CodecZlib are suppressed.

So, this seems to be not an issue of Sundials, but a general issue of Julia.

Can you delete the binary deps and make sure it rebuilds? All of the tests are passing so it shouldn't be an issue here.

I just checked and the issue does not longer occur. Closing this ticket.


CI: Update actions' versions to use Node.js 20

Node.js 16 actions are deprecated. Update the actions to use Node.js 20.

Looks good. The CI build is failing but for a separate issue: screenshots width and height too large (expected: at most 1600 x 900 px).


feat(http-client-csharp): adopt tcgc getAllModels()

upgrade TCGC to 0.41.8
replace old emitter codes which deal with primitive compiler-provided types with new codes which handles TCGC SDK types
update test cases
fix some issues round during migration

This is a backport of https://github.com/Azure/autorest.csharp/pull/4185

API change check
API changes are not detected in this pull request.


Update: Identity mapping: Works with OpenNARS v3.0.1_dev2 branch and …

…soon with a release version v3.0.1.

This can be merged after v3.0.1 is in the master branch of opennars/opennars which will be on the day of the release of v3.0.1 or slightly before, so before December 23 according to my current plan. There were some issues in the precondition memorization that hampered this case to work in v3.0.0 already: this case demands excessive variable matching and correct timing estimations to work properly. In this experiment the system has to identify a common shared property as the key "feature" to base its own decision upon: instead of just choosing the side that is more similar to the example in the middle, it learns to choose the side that shares a characteristic property with the middle. Most mammals can do that without issues.


Integration Test - Release - 2018/05/29 08:49:27

Auto create for integration test. AnotherAuthorUpdatedArticleFlow

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


Create and build starter v-rep plugin

From @ahundt on February 19, 2015 23:44
This plugin will expand to incorporate the other issues. It will just be demo code that compiles and runs in this repository, it doesn't need to actually do anything.

[x] create the plugin in the source tree
[ ] figure out how to verify that it is detected and run correctly

Copied from original issue: ahundt/robone#50

Commits d9a2a91 and 859a6bf are related to this issue


simp tries to discharge proof obligations that have metavariables in the type

This issue is a port of https://github.com/leanprover-community/mathport/issues/70 that does not depend on Mathbin. The simp tactic tries to discharge proof obligations that have metavariables in the type, which seems problematic in general. Here is an example:
universe u
variable {α : Sort u} {p : α → Prop}

@[simp]
theorem Subtype.coe_mk  (x : α) (h : p x) : (Subtype.mk x h).val = x :=
  rfl

set_option trace.Meta.Tactic.simp.discharge true
example : True := by simp

The simp tactic still proves the goal quickly but the trace shows a lot of wasted work:
[Meta.Tactic.simp.discharge] >> discharge?: ?p True
[Meta.Tactic.simp.discharge] >> discharge?: ?p True
[Meta.Tactic.simp.discharge] >> discharge?: ?p True
[Meta.Tactic.simp.discharge] maximum discharge depth has been reached
[Meta.Tactic.simp.discharge] Subtype.coe_mk, failed to discharge hypotheses
  ?p True
[Meta.Tactic.simp.discharge] >> discharge?: ?p True
[Meta.Tactic.simp.discharge] maximum discharge depth has been reached
[Meta.Tactic.simp.discharge] Subtype.coe_mk, failed to discharge hypotheses
  ?p True
[Meta.Tactic.simp.discharge] >> discharge?: ?p True
[Meta.Tactic.simp.discharge] maximum discharge depth has been reached
[Meta.Tactic.simp.discharge] Subtype.coe_mk, failed to discharge hypotheses
  ?p True
[Meta.Tactic.simp.discharge] Subtype.coe_mk, failed to discharge hypotheses
  ?p True
[Meta.Tactic.simp.discharge] >> discharge?: ?p True
[Meta.Tactic.simp.discharge] >> discharge?: ?p True
[Meta.Tactic.simp.discharge] maximum discharge depth has been reached
[Meta.Tactic.simp.discharge] Subtype.coe_mk, failed to discharge hypotheses
  ?p True
[Meta.Tactic.simp.discharge] >> discharge?: ?p True
[Meta.Tactic.simp.discharge] maximum discharge depth has been reached
[Meta.Tactic.simp.discharge] Subtype.coe_mk, failed to discharge hypotheses
  ?p True
[Meta.Tactic.simp.discharge] Subtype.coe_mk, failed to discharge hypotheses
  ?p True
[Meta.Tactic.simp.discharge] Subtype.coe_mk, failed to discharge hypotheses
  ?p True

Here is the relevant line: https://github.com/leanprover/lean4/blob/master/src/Lean/Meta/Tactic/Simp/Rewrite.lean#L20

Eventually, we will have linters for reporting bad simp lemmas like the one above. That being said, I don't see an issue here.

following example will fail (nightly-2022-01-27)
example {a: Nat} (h: a = a): 0 ≤ 0 := by simp_all

with message:
invalid `simp` theorem, equation is equivalent to
  a = a

@fpfu Thanks for catching this. I will fix it today. The validation should not be applied to local hypotheses.


Suggestion : move CurrentListingFocused from UILobbyListing to UIGameServers

Haven't had time to look at much but I noticed something about the way server listings are selected that could potentially cause problems later.

Finally this solves the problem for the join button in the server list's button bar

Thank you
The following commit has applied these changes --> b8530df059f228a2e0b3e8dd53e02040b01a7f28


Add report subcommand to bash completion.

This adds the cargo report subcommand to the bash completion.

r? @alexcrichton
(rust-highfive has picked a reviewer for you, use r? to override)

@bors: r+

:pushpin: Commit 56e5b398c6680486dc785b437e3f30f9a2328850 has been approved by alexcrichton

:hourglass: Testing commit 56e5b398c6680486dc785b437e3f30f9a2328850 with merge c2950c83efe89dcc0f86eed11c906f62009203f1...

:sunny: Test successful - checks-actions
Approved by: alexcrichton
Pushing c2950c83efe89dcc0f86eed11c906f62009203f1 to master...


DONT MERGE! CRL-1747 updating all aws searches to use src_user

Updated all detections and baseline searches to use a common field: src_user
Updated investigation search and deleted a duplicate

Hey we should close PR's that are not meant to be merged @patel-bhavin


Notification Reminder not working ?

Android: 12
App: 1.9.1
From user me (yes thats the nickname) on Discord;
I'm on an Android 12, and version 1.9.1 of Mensinator installed, and I do not get the reminders anymore. In the previous version I had the reminders working great, but after the update, I do not get them. I waited a couple of months to see if it had something to do with my automatic restart of the phone during the weekend, but this time the reminder should have happened on a weekday. I have battery usage as unrestricted, so it should work. I do not know if something changed between the version, so I just wanted to let you know.

Tested with Pixel 8 (Android 15 Emulated on PC) and it worked.
I will test on my S10E (Android 12) when going to testing for current version.

Works on S10E (Android 12) and tested with other versions too where it works. Local issue for user, permission perhaps?


When bp dies with kill -9, it leaves a PID file behind

This is a known issue.  I knew it was going to do that when I wrote it!
Fixing this isn't trivial.  I did not want to catch SIGKILL because if we do that, and something is wrong in the cleanup, you end up with a process you can't kill.
The "best" way would be to run bp as a daemon subprocess and have the controlling master process actually handle deleting the PID - but my attempts to write a Python daemon for another project I'm on found a huge amount of information indicating that the standard library for this, python-daemon, has a lot of issues.
Another way would be to update the PID file periodically, and then ignore "stale" PID files.  That's probably what we should do.

Windows doesn't have PID files. So this is a non-starter as far as I am
concerned.
I feel like this guy every time I have to say such things...
[image: image.png]
But we gotta keep things cross-platform. All this process signal stuff
never really sat well with me because of it. But sadly I've found no
Windows equivalent.
On Fri, Jun 8, 2018 at 5:48 AM Tom Swirly<EMAIL_ADDRESS>wrote:

This is a known issue. I knew it was going to do that when I wrote it!
Fixing this isn't trivial. I did not want to catch SIGKILL because if we
do that, and something is wrong in the cleanup, you end up with a process
you can't kill.
The "best" way would be to run bp as a daemon subprocess and have the
controlling master process actually handle deleting the PID - but my
attempts to write a Python daemon for another project I'm on found a huge
amount of information indicating that the standard library for this,
python-daemon, has a lot of issues.
Another way would be to update the PID file periodically, and then ignore
"stale" PID files. That's probably what we should do.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/ManiacalLabs/BiblioPixel/issues/845, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AA6a6tMgYyprP7nF9pYKD7dGxPEXVzUsks5t6kh2gaJpZM4Uf00z
.

"[image: image.png]"?  :-D
We need the functionality provided by signals.  There will be some sort of way to make that work on Windows, even if we need to listen to a port to do it!
I was thinking about how this really should go in the long-term, and a master bp should basically be running "all the time" during your bp sessions, as a daemon.  Then we'd always just talk to that master daemon, and there would be no difference between Windows and other platforms.
Unfortunately, I've been trying to build a Python daemon for another project, and the existing code for this is subject to a lot of issues... :-/
So this is "long-term"...

Actually, the program pretty brutally overwrites the PID file and keeps going with only a warning.  So this isn't really an issue.  We don't actually stop you from having two instances of bp running either.
So I'm closing this.


Get name when searching via TDR

https://trello.com/c/k4qWwcK3/140
I do not fully understand what is happening here, but I think I understand it better than when I did before.
The crux of the bug is, I think, twofold:
When searching with a TDR- query, it searched for the search query in the selected XML (via $query1) and explicitly in the transfer-consignment-reference property of the relevant document.
The selected XML ($scope, the <fragment-scope/>) was the properties of the document, not the judgment XML itself, hence the title was missing (because that is part of the judgment XML, not a metadata property).
But: if we change the selected XML to be the document, the search fails, because the search query (TDR-2022-XML for example) does not appear within the judgment XML.
So we have to fix it in two places.
This all makes perfect sense... if it wasn't for why it works fine and has titles if $order is updated and $scope is set to properties... so I think the above might just be wild speculation.
(The code appears twice, in search.xqy and search-v2.xqy because we made a breaking change to how $court was passed and needed to update it everywhere in a non-breaking way. I believe we can now safely delete search.xqy but that feels outside the scope of this PR. I have left an error message in search.xqy on staging to see if we trip it, I can find no references to it in the code. But that's a tomorrow problem.)

 👩💻🐞EUI No link when searching by TDR in EUI


Update  MRTK-based controls to MRTK 2.0 specs

There's lots that still needs to be done, so this will be a bucket task to contain everything. Tasks are taken from MRTK's guide here:
https://docs.microsoft.com/en-us/windows/mixed-reality/mrtk-unity/?view=mrtkunity-2021-05#ux-building-blocks

[ ] BoundingBoxGizmo: Introduce MRTK 2.0 visuals, behind a flag. Use MRTK 1 (current) by default

Replace each interaction joint with slender bars along the relevant edges
Hide non-relevant bars on interaction with a given bar
Draw faint bounding box when visuals are active
Hide most visuals when not active (ray/hand is not near)

[ ] TouchHolographicMenu: Introduce ability to add more controls, like a backplated slider
[ ] TouchHolographicMenu: Add manipulation visuals around edges
[ ] TouchHolographicMenu: Add snap-to-world toggle functionality

Quality of life changes:

[ ] TouchHolographicButton: Text scaling when sizing UI for AR/VR is too small
[ ] HolographicSlate: Fix slate depth on browser (appears inside near clipping plane)
[ ] Slider3D: Add text, description to slider thumb

Completed:

[x] TouchHolographicButton: pressing button should compress front, not scale button
[x] VolumeBasedPanel: Needs support for tall panels (just one column)

Already supported, just hidden. Explicitly setting VBP.rows will populate the panel one column at a time instead of one row at a time

[x] VolumeBasedPanel: Expose a way to customize padding amounts

Padding is determined at TouchHolographicMenu level, change was made there

[x] SixDofDragBehavior: Add support for near interaction rotation using wrist joint orientation

Pass orientation of controller/hand through via pick data, instead of just direction of raycast. This way we can also enable proper rotation manipulation for motion controllers.

[x] HolographicSlate: Have corner resizers respect the slate's aspect ratio
[x] HolographicSlate: Have scaling applied to slate be applied to the slate's bounding box as well
[x] Slider3D: Add backplate support

MRTK appears to use touch instead of grab when a backplate is present
Visuals on the thumb also change to a circular cylinder

[x] Slider3D: Change slider thumb visual to cylindrical oval
[x] TouchHolographicMenu: Backplate visibility shouldn't be tied to all buttons that share resources
[x] HandMenu: Lock menu to left hand so common-dominant hand can press buttons
[x] HandMenu: Trim backplate to snap to buttons
[x] HandMenu: Change visibility settings to disappear if hand is not palm up and focused, either with eye or head gaze

We are closing this as MRTK for Babylon.js has been released. Feel free to open a new issue, for additional work.


Cesium throws an exception if accessor.min and max are missing for POSITION

In glTF, accessor.min and accessor.max are optional properties.
If a model is missing these on an accessor that defines POSITION, Cesium throws:
DeveloperError: array is required
Error
at new DeveloperError (http://localhost:8080/Source/Core/DeveloperError.js:44:19)
at Function.Cartesian3.unpack (http://localhost:8080/Source/Core/Cartesian3.js:174:19)
at computeBoundingSphere (http://localhost:8080/Source/Scene/Model.js:1080:55)
at Model.update (http://localhost:8080/Source/Scene/Model.js:3286:36)
at PrimitiveCollection.update (http://localhost:8080/Source/Scene/PrimitiveCollection.js:366:27)
at updatePrimitives (http://localhost:8080/Source/Scene/Scene.js:1859:27)
at executeCommandsInViewport (http://localhost:8080/Source/Scene/Scene.js:1817:9)
at updateAndExecuteCommands (http://localhost:8080/Source/Scene/Scene.js:1716:17)
at render (http://localhost:8080/Source/Scene/Scene.js:2052:9)
at Scene.render (http://localhost:8080/Source/Scene/Scene.js:2090:13)

Good catch, thanks @lasalvavida.  I am tempted to update the glTF 1.0.1 spec to say that min and max are required when the accessor is referenced from a POSITION (or require them always); otherwise, any implementation that uses bounding volumes (which is likely all non-trivial ones) has to have a fallback to explicitly compute it.  I opened https://github.com/KhronosGroup/glTF/issues/593 to discuss.

The 1.0.1 spec will require accessor min and max.  Leaving this open until the online converter supports this.


move @ember/jquery to devDependency

Fixes #248

I am 👍 but before we ship this I’d like to try to find an app that uses the helpers and see what happens. I suspect it’ll be fine as the Ember helpers are still public API.

Sorry for the delay.
I did a bit more research and here’s what I found:
If a consuming app has jQuery disabled then all “classic” test helpers (including ember-sortable’s drag and reorder) will emit the following error:
If jQuery is disabled, please import and use helpers from @ember/test-helpers.

This is good news for this PR, as it means that moving @ember/jquery to devDependencies won’t cause any regressions. Anyone using drag or reorder with jQuery disabled will already see the above message in the current release.
Longer term, ember-sortable should provide equivalent test helpers in the new style (i.e. import { drag, reorder } from 'ember-sortable/test-helpers') but that’s a matter for a future PR.

Thanks so much for the contribution!

Released in 1.12.8


How to use the content of a tweet?

I would like follow in tweets mention users.
But wenn I click on the user just the website from the gnusocial instance of this user will be open in the webbrowser. Because I left the andstatus app there can't be a possibility to follow this user.
Is there any description of the user interface concept?
I have the impression that I didn't understood the whole concept. :-(

You have many ways of using (acting upon) a message. These action are listed in the "Message context menu", which looks like the below.
In order to open this menu, please "hold down" on the message ("Long tap" on it) as User's Manual says, BTW.
The Message context menu is available in both Timeline and Conversation views. But it's a bit more convenient to use it in a timeline view, because all links of the message are not active in a Timeline view...

I had known the "long tap" methode, but this dosn't help to access the mention userid.
I can just follow the sender of the tweet, but this isn't enough. I need frequently to follow or copy a mention userid.

I'm using "Share" context menu item to copy/cite any part of the message, including its URL (!).
Usually I "Share" to some "Notepad", e.g. to Open Source "Omni Notes" or to Google Keep, which allows me to have the full tweet/message information on my PC via automatic sync.
Having everything in a "Notepad" app, I can easily extract/edit anything without a need to make AndStatus another subpar Notepad application...
Please note that you can "Share" to AndStatus itself, selecting different AndStatus account. Thus you may easily cross-post/cite messages between microblogging systems.

I have the same problem here, and using the 'share' menu doesn't address it.
I have not found any way to 'interact' with any user account that is mentioned in a dent, to e.g. 'follow' or 'unfollow' or maybe 'show profile'. It's hard enough to select just the username but this then only leads to the website, not any way to act on this user within AndStatus. The question of teh top poster has not been addressed, it is my question as well. Please re-open!
(Failing this, and no way to follow a mentioned user, I also don't see how I could follow a remote user.)

@marjoleink The question was answered using means, which we currently have.
This answers for users of current version of AndStatus.
You are writing about new features. Please search the list of already opened issues: most of your wishes are documented there and waiting in the development queue :-)
E.g. #185 #197

There is no answer to the actual issue, and if it's not implemented (yet) that isn't made clear either. None of what you describe allows to follow a mentioned user, so there are no "means we currently have". IMO this should remain open until there is an answer.

Also, neither #185 nor #197 address the issue this question is addressing: how to follow/unfollow a mentioned user.

I got the problem: wrong issue title.
If you want your request(s) to be implemented, please create a separate issue for each with a proper title. Otherwise your wishes will be lost.

I really want to migrate to such a open software like andstatus and would accept some discomforts, but the essential basics to develop a proper following list is to easy follow and unfollow mention user.
I don't see that this requirement is understood. I guess this guy's don't understand this because they use parallel to the app also the web UI.
Unfortunately do I now migrate back to twicca and can't use gnusocial. But this is better as haven't a feature to following mention user.

@loblue If a user is mentioned in a reply to his message,  following him (her) is simple:

Tap on the message to open Conversation view.
AndStatus automatically downloads previous message,  where that mentioned user is an author.
Tap on the message where your desired user is an author and follow him!

Thanks for reopening, @yvolk!
Following a mentioned user is not necessarily possible with your method: that user (all mentioned users) have not necessarily written anything yet. A dent mentioning other users is not necessarily a reply but can simply be addressed to a number of users. And someone reading this dent may decide  s/he wants to follow one of the mentioned users (who can be still unknown to the instance this user (reader) is on).

As we discussed recently, if a user is unknown to this GNU social instance, we cannot follow him via AndStatus.
As a first step I would prefer to implement not "Follow mentioned user" but "Messages of a mentioned user" meaning downloading public user's posts to the User's timeline in AndStatus.
I assume that we usually start from reading user's posts and then decide if we want to follow him. If you see user's posts, you follow/unfollow him the usual, already implemented way.

Generally, yes, a user's dents would inform whether or not to follow that user. But there are other use cases. E.g. a user I am already following is frequently mentioning that user in conversations I am interested in. What I usually do in the web interface is 1) visit the user's profile and read the self-description (and any self-tags); 2) read user's dents if there are any (the user may be new!). So sometimes I decide only on the basis of mentions or the user's self-description. :)
But it's entirely reasonable to start with a mechanism to retrieve a user's posts. (How about description & tags, though?)

The last comments give me the hope, that andstatus will be useable to develop a follower list without an additional web UI.
Especially the use case as descripted from marjoleink in the last comment is also my use case.
But how can I unfollow a user without using the web UI?
(sometimes when a user producing to much useless noise I want him quickliy unfollow. I don't want to wait until I have a web UI available)

@loneuron There are Follow/"Stop following" items in a message context menu (long tap on a message/tweet). So you can unfollow now.

It seems to be an issue with the localization.
I use the german smartphone setting.
In German is the item "stop following<EMAIL_ADDRESS>written in a different grammar:
<EMAIL_ADDRESS>nicht mehr folgen"
But the font is so large that the end of the item isn't display on my galaxy s3.
Therefore can I not see the german equivalent of "stop following"
When I activate the not identificable item, I don't get a feedback about what's happen.
Just the sync starts.
When I choose the item a second time for the same user the item dosn't switch from "stop following" to "follow"

@loneuron Actually German translation is not even complete. Please help improve it here https://crowdin.com/project/andstatus

I changed the translation.

I'm thinking on how to implement this...
Message context menu is too large already, so currently I think of adding one item to the Message Context menu (and maybe delete sevel, related to Users...): "Users of this message...".
Clicking on this new item will open a list of these Users, related to this message:

Author
Sender (if not the same as an Author)
Replied to User (an Author of the message, to which this message is a reply. If any.
Mentioned users (not repeating all above)

Each row in this list will show some information on the User:

Avatar
Username
Real name
User's description
Home page URL
If we (and which our account) follow him.
...

Context menu of each row allows to act on the User:

Follow / Stop following
Show User's messages ("User timeline")
Open profile page in the Internet
Copy @Username to Clipboard.
Share the User's info in a text form...

Hi @yvolk does the above mean nested context menus?
Would it be OK to have two conxtte menu one related to use when tap on avarta or name and other relatedto message (reply to all)twidere seems to do something similar

@amunizp No, the second context menu, described above, will be in the new "Users" view. I will update that post to avoid confusion.
On different context menues please discuss here: #257

@loneuron Answering original request:
As of AndStatus v.24+ in order to follow/unfollow mentioned User (or to show his/her friends and followers...) you need to select "Users of message" in a Context Menu.
"Users of message" UserList will be opened. In that list you will be able to do anything you want...

Thanks yvolk, I tried again, after a long time, to follow unfollow a mention user and I found a way in the current version :-)


pos txn construction funcs

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

Current dependencies on/for this PR:

main

PR #27

PR #28

PR #29   👈

PR #30

PR #31

This stack of pull requests is managed by Graphite.


It is possible to filter/change requests?

Hi,
As far I understand, all client comunications goes by the repeater (this case the esp8266), right?
My question is if it is possible, to change or filter some requests.
By example, a client A sends a message to the esp (the repeater) if the message has some predefined format, it musts be send to all other clients, and changes the response to let client A knows, his message, was well received. It is possible? Or at least in http requests?
My goal is to do a kind of MQTT Broker, which seems possible looking at your great code. Maybe not to handle 1000 clients but if may handle 8, I will be very happy :)
Thanks a lot,

Yes, it would be possible to filter or even change messages that go through the repeater (router). Actually, it is already done in the lwip stack when rewriting network addresses and port numbers while doing the NAT. In the functions "my_input_ap()" and "my_output_ap()" the code has access to all packets going in and out. This is, how the monitoring is done. Rewriting packets is possible, however the checksums and in TCP the SYN and ACK numbers have to be adjusted. Also, when packets become a different size, possibly some handling for the pbufs is required. This can be done, but this is more hacking (the NSA-style) than a way of implementing a network service.
If you want to implement a MQTT broker on the repeater, why not using a "normal" TCP-service.
Would work similarly as the console service right now and can be integrated with the router functionality. If code size becomes an issue, one can easily drop the monitoring for this version.

why not using a "normal" TCP-service

Sorry, but don't understand what you mean... Could you help me? Or with some kind of pseudo code...
Thanks again!

Well, here: https://github.com/Spritetm/esphttpd for example people have set up a complete web server on an esp. In my code there is the telnet console on port 7777 a native TCP server (service) on the esp. An MQTT broker works similar (from the network point of view). There is somebody out there claiming to have code for a small MQTT broker on an esp (https://myesp8266.blogspot.de/2016/03/mqtt-broker-on-esp8266-2.html) - however he's not willing to share that...


sourceKey of environmentFrom can not be populated

Rancher versions:
rancher/server:master

sourceKey of /v3/project/schemas/environmentFrom can not be populated in backend.

Version - 2.0 master 4/24
Verified fixed


[CELEBORN-1457] Avoid NPE during shuffle data cleanup

What changes were proposed in this pull request?
Avoid NPE during shuffle data cleanup by checking for null LevelDB.
Why are the changes needed?
If the LevelDB in StorageManager fails to initialize, the db will be null. This will cause a java.lang.NullPointerException when storageManager.cleanupExpiredShuffleKey(expiredShuffleKeys) is called, and the shuffle data in expiredShuffleKeys will not be cleaned up. The worker's disk may be filled up as a result.
Does this PR introduce any user-facing change?
No
How was this patch tested?
Manual Testing

@jiang13021, pls execute dev/reformat to format the coding style.

LGTM. Thanks. Merged into main(v0.6.0) and branch-0.5(v0.5.0).


Fix compilation errors

Fixes #270, among other possible errors produced by disabling/enabling some build options.
It also fixes errors that could arise from disabling the UART but, to be honest, I have mixed feelings about even having the possibility of disabling the UART at all. I'd even remove the option of disabling the SWD interface.
Thoughts, @egzumer?

It was all there when I forked the project. On one hand I will never use one or the other, but if it is already there...
SWD I think is more useful than one can think. I didn't use it, but looking at it, it seems it allows usage of hardware debug link. One of the pins is used by LCD, so enabling SWD reconfigures this pins to be SWDIO instead of GPIOB11

...and thank you for this fix

Yeah, my point is that probably no one should ever disable the UART.


Decide on performance benchmarking criteria

The work we planned for Phase 1 will be mainly about stability and performance. In order to achieve our performance goals, we will need to track the improvements and regressions. We are considering to benchmark the entire Phase 1 pipeline (Prometheus receiver -> collector -> Prometheus remote write exporter) and potentially will contribute micro benchmarks as needed. We need to decide on what to benchmark, what platforms we should run the benchmarks on, and dimensions.
Prior work
Previously, we ran manual benchmarks on Kubernetes (EKS), on a cluster with 10 m5.8xlarge nodes.  On Kubernetes, the collection scales based on how many jobs running in the entire cluster and how many metrics generated per job. The total number of jobs running in a cluster is capped by the resources available to the cluster. We used a simple app that exposes a lightweight HTTP server that publishes a given number of metrics. The metrics are collected by the OTEL Prometheus receiver and exported to Amazon Managed Service for Prometheus (AMP).
We published 40 160, 400 and 1000 metrics from each server and ran 25, 50, 100, 250 and 500 replicas of the server and measured resource usage, export rate (samples per second), dropped vs exported metric samples. The scraper is configured to scrape at 15 seconds and this is a more aggressive setting than what our users will use. Scraping frequency only became a bottleneck when 1000 metrics are exported from 50+ replicas.
This work mainly targeted Kubernetes and might perform differently on a platform with a Prometheus discovery driver.

Issues that will require performance testing:

https://github.com/open-telemetry/wg-prometheus/issues/10
https://github.com/open-telemetry/wg-prometheus/issues/11
https://github.com/open-telemetry/wg-prometheus/issues/12

Some other prior art are the existing collector testbed tests: https://github.com/open-telemetry/opentelemetry-collector/tree/main/testbed.  It looks like they could be extended to support prometheus receivers/PRW exporters.

@RichiH may provide some details from the benchmarking they are considering for Prometheus. We might be interested to compare the collector to Prometheus and Grafana Agent. We expect comparisons with Prometheus won't be useful given Prometheus' storage components and it'll be more useful to compare the collector to the Grafana Agent.

I couldn't find explicit test results for a recent Grafana Agent, but let's go with Prometheus including storage, rule evaluation, and alerting so we have some baseline number. Two datapoints:
One internal Prometheus is currently doing 1,295,069 active series @ 15 second scrape interval with 1.3-1.6 cores. As a lower bound for Prometheus, this will not be wrong: 1,295,069 * 4 / 60 / 1.45 =~ 59,543.40 samples/second/core
The largest single Pometheus instance I am aware of has ~125,000,000 active series at a 60s scrape interval, coming out at ~2,000,000 samples/second/instance.
Again, all of those include storage, alerting, and querying, so the data is not very good, merely an indication.

We understand what performance benchmarking criteria need to be implemented. Closing this issue but implementation of the benchmarking tests still needs to be done in phase 2.


Redstone Structure Generator - arguments should be registered by the structure module

At this point there's a group of general arguments that all modules reference.
I want this structure generator to be able to handle other arguments that may require a different set of arguments.
Create a way for each module to register arguments that it wants.
Keep in mind that the argument handler will change once we switch to a GUI. So keep the interfaces abstract.

created a system for registering and handling arguments.


Remove macro aliases for wctype.h functions

They're superfluous and barely used.

Rebased in:
commit 1dcd8825967f6558d092aae1f227251e62b878fc
Author: Michael McConville<EMAIL_ADDRESS>Date:   Sat Jan 9 12:36:44 2016 -0500
Remove macro aliases for wctype.h functions

They're superfluous and barely used.


[Clang importer] Make sure that the first argument of Set/Dictionary types are Hashable

Extend the check to make sure that the first type argument to an
imported Set or Dictionary type is Hashable actually checks
struct/enum types for Hashable conformances.
Fixes rdar://problem/30622665.

@swift-ci please smoke test and merge

I'm a little concerned about this doing much more work than before. We've had circularity issues with conformance checks in the swift_newtype logic.

Hmm, that's a reasonable concern. I don't know how to mitigate that concern beyond "run a bunch more tests". Do you feel that we should hold off on this fix?

(Also: I left a FIXME in there after fixing it; will push a separate NFC change to remove the FIXME)

@swift-ci please test source compatibility

Maybe the source-compatibility suite will flush out some problems here

This doesn't seem like a recent regression, so my natural inclination is to not change anything for Swift 4 and to consider this for 4.1. But I'm not sure how many people are actually getting bitten by the current issue.

Looks like the source compat suite passed, at least.


Could this work on Windows or just only fit Linux?

Thanks a lot for your great work!! But there's something confusing me that could I use Windows system to run your code, or it just work on Linux like Ubuntu?   Thx a lot!!! :)

I haven't run the code in Windows before, but i think it can work.  '.sh' is just to download the dataset. You can use Git to do this in Windows(I am not sure) or you can ask someone download the dataset in Linux and sent it to use so that you can run the code in Windows. What's more, you need to change all the file_path in the code to fit Windows.

Great! I'll try, and I really appreciate your great help!! best wishes:)

You're welcome~


Add email auto renew

The autorenew attribute has been added to the mailbox response: https://api.gandi.net/docs/email/#get-v5-email-mailboxes-domain
I also added the ExpiredAt attribute to the MailboxResponse (forgot it in  https://github.com/go-gandi/go-gandi/pull/77).

Thank you.


Lessons grammar and style validation

I am not a native English speaker. I did my best to verify the lessons, though they still can contain a lot of grammar mistakes. If you want to help the project, you can just select any lesson or chapter and submit a PR with the changes.

I am not so hot with grammar, but I am currently rephrasing some things to either make more clear or just flow nicer. I will fix what grammar jumps out at me.

Thanks, @gmcclins!

I'm a new technical writer, with a good understanding of grammar. I can also take a look.


Add minishift smoke tests

Similar to minishift-centos-iso, there should be smoke tests against minishift (preferably always  the latest release).

Moving this issue to v1.0.1 milestone as we need to release 1.0.0 for https://github.com/MiniShift/minishift/issues/134

Merged via pull request #18


fix: Modal overlay crop issue

Description
When there are contents below initial scroll height, modal was taking only initial scroll height.
PR fixes following issue(s)
Fixes https://github.com/appsmithorg/appsmith/issues/31261
Media
https://github.com/appsmithorg/appsmith/assets/87797149/5e028c88-9576-49b4-8813-a273afff15d5
Type of change

Bug fix (non-breaking change which fixes an issue)

Testing

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Also list any relevant details for your test configuration.
Delete anything that is not relevant

[ ] Manual
[ ] JUnit
[ ] Jest
[ ] Cypress

Test Plan

Add Testsmith test cases links that relate to this PR

Issues raised during DP testing

Link issues raised during DP testing for better visiblity and tracking (copy link from comments dropped on this PR)

Checklist:
Dev activity

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[ ] PR is being merged under a feature flag

QA activity:

[ ] Speedbreak features have been covered
[ ] Test plan covers all impacted features and areas of interest
[ ] Test plan has been peer reviewed by project stakeholders and other QA members
[ ] Manually tested functionality on DP
[ ] We had an implementation alignment call with stakeholders post QA Round 2
[ ] Cypress test cases have been added and approved by SDET/manual QA
[ ] Added Test Plan Approved label after Cypress tests were reviewed
[ ] Added Test Plan Approved label after JUnit tests were reviewed

/build-deploy-preview skip-test=true

/ok-to-test<EMAIL_ADDRESS>

@albinAppsmith can you pls add a test case for this so that this does not regress again?

Created a task for this because of the time crunch we have right now. Will take it up once current set of tasks are done.
https://github.com/appsmithorg/appsmith/issues/31405


Release validation: Check all binary artifacts after publishing

This introduces a step, release_validate that runs after release (with if: '!cancelled() to run even if something has failed) which checks that all the artifacts we expect to have published are indeed there.
If not, it sends a message on Slack to notify us.

Releases are going again, so this should be good to merge when ready.

We now pull in all client packages via their actual package managers, rather than hacking around with curl for Java / Dotnet. CC @batiati if you could have a quick look at the steps for those 2!


Implement Signed Commits

Feature Summary
Configure the IP2CR repo to utilize signed commits.
** Motivations / Use Cases For Feature**
Improved source code security. Decrease risk of compromised Github accounts.
Alternatives Considered
None
Additional context

https://docs.github.com/en/authentication/managing-commit-signature-verification/signing-commits

GPG keys added to account

First verified commit is successful. https://github.com/magneticstain/ip-2-cloudresource/commit/6c67a997393ba82255325eff376df84967fbefa8
Vigilant mode has been turned on, so old commits before this was implemented will show as unverified. This can be safely ignored.

Dev guide updated


Fix broken links in doc summary tables generated by autodocsumm

Which issue(s) are closed by this pull request?
Closes #166
Changes proposed in this pull request:
change import pyfar to import pyfar as pf everywhere. The links were broken due to a bug in Sphinx. I could find the workaround with the help of Chilipp from autodocsumm, who also was so kind to make a detailed issue at Sphinx: https://github.com/sphinx-doc/sphinx/issues/9069

Please do not create pull requests against the main branch. ;)

Please do not create pull requests against the main branch. ;)

Thanks for noting - that was by mistake :)


fix(icons-page): add color for icon name

Currently, the icon name on the icons page uses a globally set color. It works badly when the global font color is light...

Thanks

@farnabaz can you release a new version of the package?

@ilya-buligin Hey, I will publish a new version tomorrow.

@ilya-buligin Hey, I will publish a new version tomorrow.

Thanks 😊

@ilya-buligin https://github.com/nuxt-community/svg-sprite-module/releases/tag/v0.5.0 is out 🎉

@ilya-buligin https://github.com/nuxt-community/svg-sprite-module/releases/tag/v0.5.0 is out 🎉

Thank you!


Core - App Crashes When Evaluating Expressions with a Leading Operator

This issue was found when testing for another similar issue, #11.
If you enter an expression like 0 + or 2 * the app will crash. This is most likely because the program is trying to access a value in the value stack that doesn't exist. This means that it will cause a buffer overflow and crash.
A solution to fix this includes checking if there are enough values and operators in the stack, and otherwise warn the user that this expression is invalid.

Bread is proud of you!


Shimmer makes Text disappear in buttons and containers

Buttons' text and text children of containers don't show up if shimmer is wrapping those widgets for some reason - Probably related to the removing original button color issue

One can work around this by placing the button inside a Stack.
I don't know why it fixes it, but for me it worked  ¯\(ツ)/¯


feat: allow action to be resolved despite namespace

After discussing with @BerSie we came to the conclusion that while this is not really recommended it should still be feasible so here we go.

Basically this allows to call
POST MyEntitySet/Alias.ActonName(xxx)

instead of having to always specify the FQDN


Support statistical functions for Series with boolean values

As requested in #218 by @rxin, this PR now also supports statistics for Series with boolean values. Like before,  all relevant functionality is covered with unit tests.

Codecov Report

Merging #221 into master will increase coverage by 0.05%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #221      +/-   ##
==========================================
+ Coverage   89.34%   89.39%   +0.05%
==========================================
  Files          31       31
  Lines        2637     2650      +13
==========================================
+ Hits         2356     2369      +13
  Misses        281      281

Impacted Files
Coverage Δ

databricks/koalas/series.py
90.25% <100%> (+0.16%)
:arrow_up:

databricks/koalas/tests/test_stats.py
91.66% <100%> (+1.19%)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 27f0ca7...0169b3a. Read the comment docs.

Thanks. Merging.

@floscha would love more contributions if you have time!


Introduce local variables and allow referencing them as default values for parameters.

Introduce local variables and allow referencing them as default values for parameters.
It would be great to be able to read default values from json file as shown in example below.
This would allow to use bicep as ARM template generator and final form of ARM template would not need to have additional object parameters with JSON in it as it is now with param object.
This would also help with using bicep within YAML pipelines as one could convert YAML settings from template directly into json file which bicep could read in following task and generate ARM template with default values sourced from external file.
Sample configuration.
params.json:
{
    "resourceGroupName": "rg-xxx",
    "storageName": "xxx",
    "containers": [
        "xxx"
    ],
    "storageSKU": "Standard_GRS"
}

targetScope = 'subscription'
local params  = json(loadTextContent('./params.json'))
param resourceGroupName string = params.resourceGroupName
param storageName string = params.storageName
param storageSKU string = params.storageSKU
param containers array = params.containers

FWIW, I think we can replace the keyword local with a regular var, but the ask makes sense.

FWIW, I think we can replace the keyword local with a regular var, but the ask makes sense.
What do you have in mind? Wouldn't this conflict with the current usage of var which is used by ARM ? Or do you mean that it would simply allow to reference vars from parameters but not render that in final ARM template ?

would simply allow to reference vars from parameters but not render that in final ARM template ?

Probably something closer to this.

FWIW, I think we can replace the keyword local with a regular var, but the ask makes sense.

Would it also mean that this would be possible.
var myDeaultEnvPrefix = 'abc'

param envPrefix string = myDefaultEnvPrefix
param envType string = 'production'
var sharedMarker = customerName == 'vp' ? 'shared-' : ''
param aspName string = '${envPrefix}-asp-${sharedMarker}-${envType}'

So basically I want there to be default naming pattern that gets applied through default value, but and it applies some stuff based on other variables, that are needed as itermediate steps to keep the syntax clean.
That case I could sitll work around by copy pasting the condition from shardMarker to the apsName default value string, but it is not very clean approach. Additionally there are even messier cases I can think of like:
@allowed([
  'West Europe'
  'Japan East'
  'East US'
  'North Central US'
])
param location string = 'West Europe'

var locationMap = {
  'weu': 'West Europe'
  'jpe': 'Japan East'
  'use': 'East US'
  'usnc': 'North Central US'
}
var locationShorthand = locationMap[location]

param aspName string = 'abc-asp-production-${locationShorthand}`

Now I need to make the location shorthand a parameter too, which could be avoided with the above except if we make aspName a var and not a param.