site forecast page

Detailed Description
Add a page that can see the site forecasts
Context

good to be able to select one or mulitle sites and see the forecast
similar issue to forecast page for gsp and national

Possible Implementation

drop down menu to select a site
options on start and end date
see truths (if there are any)
see forecasts

get all sites - https://github.com/openclimatefix/pv-site-datamodel/blob/main/pvsite_datamodel/read/site.py#L82
read function for generation - https://github.com/openclimatefix/pv-site-datamodel/blob/main/pvsite_datamodel/read/generation.py#L66
read function for forecast - https://github.com/openclimatefix/pv-site-datamodel/blob/main/pvsite_datamodel/read/latest_forecast_values.py#L11

hi @peterdudfield, I’m working on getting the site_uuids from the database . When I call get_all_sites , I’m having trouble converting the data to a list of site_uuids and keep getting the error: AttributeError: type object 'SiteSQL' has no attribute 'from_orm'.
Would adding a def to_orm function to the SiteSQL class in the the pvsite_datamodel fix this issue? Thanks!


ReadME: Add GitHub Actions Automation Setup Section

Hey @bencgreenberg ,
We are loving the orbit integrations workflows. Today decided to add in the DEV integration. ❤
Noticed that the link to GitHub Actions Setup Instructions was missing. (For Good two minutes, I thought that might not be possible for DEV 🤣 , then realized that they live in different repo).
So, added the section with link like all other templates.
Thank You 😄

Hey @KRRISH96,
Thanks for this PR! 🎉
I'll get it merged this morning. Really appreciate the kind words! 💜
Ben


Beware libpam-tmpdir and TMP and TMPDIR environment variables

libpam-tmpdir sets "more secure" per-user TMP/TMPDIRs
However, it turns out, ssh-agent does not properly honour TMPDIR
<EMAIL_ADDRESS>I ran into this today, ssh-agent was happily still dumping its sockets in /tmp/ which TMPDIR was defined elsewhere, and ssh-find-agent could no longer find anything.

Guess I'll need to address that.
Probably default to looking in /tmp And in $TMPDIR, with an option to specify a path to search.
Maybe --ssh-agent-path and/or $SSH_AGENT_PATH
Yout thoughts on that @gdevenyi ?

Yes, a default of both the basic system /tmp and the $TMPDIR sounds reasonable, with manual specification/ENV_VAR also an option.
Perhaps prefix the env var with SSH_FIND_AGENT_

already have _TMPDIR_OVERRIDE
will still add SSH_AGENT_PATH though

@gdevenyi Please pull branch 52 and see if it works for you.  I've done some testing and it seems good to me.  I didn't add the command line option that I originally intended to.  I'm thinking it is better to just set the environment variable; however, I am very open to feedback.
Branch 52 is the same as my PR #53 .

I've used this for a couple of weeks, I don't have anything set up using TMP or TMPDIR directly but it does still find stuff in /tmp when I set TMPDIR or TMP elsewhere
Going to merge it into master, and tag as 1.0.1 (as it maintains backward compatibility with previous env vars used to control search locations)

sorry for the delay, I had to reinstall libpam-tmpdir  to test this.
It seems to work as expected now, finding the agent again even with my tmpdir default being off somwhere else.

Thank you @gdevenyi !


Level 5: Unable to use flatMap in test

Summary
Unable to perform flatMap in test method.
Description:
Every time I attempt to use a flatMap in my test method I get the following error:
"incompatible types: no instance(s) of type variable(s) U exist so that Logger<? extends U> conforms to Logger<java.lang.Integer>"
Does anybody else experience this? And if so, why does this happen?
Code Snippets
Attach code snippets (if any)
Screenshots
Screenshots (if any)

You may want to take a look at the return type of your flatMap method, and appropriately casting it into its correct type.

@lulucopter It works now! Thank you!


SCOOPED! 🙀

Wow, what are the odds?
Turns out I have the exact same project going for a while now and am just preparing for release on GitHub too :)
I made a Twinkie clone with the exact same design goal - to be made by hand by mere mortals. My design is called the Twonkie (because it's a somewhat wonky Twinkie), I think I got all the kinks out after three board revisions now, and I have also gotten the firmware build up and running and managed to extract it from the humongous Chromium build system so it's much easier to build.
So to make sure we don't duplicate each other's work more than necessary, if you just wait for a bit (shouldn't be long) I'll have a nice and easy FW build for you :)

Superb work re firmware!

Alright, here's mine now: https://github.com/dop3j0e/Twonkie  FW sources will come very soon!
I added a link back to your project in my readme too.


[] build failure

Operating system
windows11
Compiler
MSVC
Steps to reproduce the behavior
.\vcpkg install boost

Failure logs
error: building boost-test:x64-windows failed with: BUILD_FAILED
Elapsed time to handle boost-test:x64-windows: 11 s
Please ensure you're using the latest port files with git pull and vcpkg update.
Then check for known issues at:
https://github.com/microsoft/vcpkg/issues?q=is%3Aissue+is%3Aopen+in%3Atitle+boost-test
You can submit a new issue at:
https://github.com/microsoft/vcpkg/issues/new?title=[boost-test]+Build+error+on+x64-windows&body=Copy+issue+body+from+D%3A%2Fproject%2Fvcpkg%2Finstalled%2Fvcpkg%2Fissue_body.md
Additional context
cl : Command line warning D9025 : overriding '/W3' with '/W4'
execution_monitor.cpp
D:\project\vcpkg\buildtrees\boost-test\src\ost-1.84.0-acb3af280f.clean\include\boost\test\impl\execution_monitor.ipp(1518) : fatal error C1001: Internal compiler error.
(compiler file 'D:\a_work\1\s\src\vctools\Compiler\Utc\src\p2\main.c', line 234)
To work around this problem, try simplifying or changing the program near the locations listed above.
If possible please provide a repro here: https://developercommunity.visualstudio.com
Please choose the Technical Support command on the Visual C++
Help menu, or open the Technical Support help file for more information

Thanks for posting this issue. Could you please provide your Visual Studio version and the full log file?

Successfully reinstalled multiple times


Using new stacks functionality in 1.1.0 results in error and missing files after CloudFormation failure during push command

Describe the bug
I'm using @aws-amplify/cli v. 1.1.0 in order to make use of the new custom stacks/resolvers feature of the AppSync integration. I created a CF template which ultimately failed to deploy because it was misconfigured. However, after the failed deployment, the contents of my API directory were wiped out and replaced with what looks like a CF template dump with keys as directories, and values as files.
To Reproduce
Steps to reproduce the behavior:

Added a "stacks" directory inside my GraphQL API backend directory
Added a .json file with my resolver resource info
amplify push
Confirm the change and confirm the new migration warning.
Wait for deploy to fail due to CF error
Get the following error:

✖ An error occured when migrating the API project.
Reverting API migration.
Invalid CloudFormation template: /Users/myself/test/api/amplify/backend/api/graphql/template
✖ An error occurred when pushing the resources to the cloud

Could not determine file type. Check your template is not malformed. EISDIR: illegal operation on a directory, read

Contents of ./amplify/backend/api/[name]/ now look like the following. Almost like the content of a CF template were dumped replacing the previous contents.

Expected behavior
I expect the contents of the named API directory to remain the same if the deployment fails (minus, perhaps, the build directory).
Desktop (please complete the following information):

OS: macOS

Additional context
N/A

@lookitsatravis Sorry for that. We'll have to dig into the root-cause and this since I'm not able to reproduce this behavior on my machine. That being said, if you backed up yoour project before the migration, you could probably just copy paste the amplify/backend/api/ directory and put it in place of your malformed directory. You could do it from your amplify/#current-cloud-backend/api/ directory as well if it's not malformed.

Thanks @kaustavghosh06. Yep I had a backup, so nothing lost. Happy to provide more information if you need anything.

This is happening for me in the Amplify console.

@jesse-bonzo Amplify console hasn't updated the latest build of the CLI, although they're actively working on getting the CLI build ready for a release soon.
Please continue using the @multienv version of the CLI, if you're actively using the Amplify console.

The amplify --version command returns 1.1.0 in the Amplify console, and the file not found errors are seen. It seems very similar to me.
# Starting phase: build
# Executing command: amplify --version
2019-02-12T23:52:54.754Z [INFO]: 1.1.0
2019-02-12T23:52:54.761Z [INFO]: # Executing command: npm config set bin-links false
2019-02-12T23:52:54.931Z [INFO]: # Executing command: export STACKINFO={ "awscloudformation": { "AuthRoleName": "bespin-20190109095849-authRole", "UnauthRoleArn": "arn:aws:iam::111229220926:role/bespin-20190109095849-unauthRole", "AuthRoleArn": "arn:aws:iam::111229220926:role/bespin-20190109095849-authRole", "Region": "us-west-2", "DeploymentBucketName": "bespin-20190109095849-deployment", "UnauthRoleName": "bespin-20190109095849-unauthRole", "StackName": "bespin-20190109095849", "StackId": "arn:aws:cloudformation:us-west-2:111229220926:stack/bespin-20190109095849/37c03be0-1438-11e9-82b2-503aca41a0fd" }, "categories": { "auth": { "cognito1cb72e70": {} } } }
2019-02-12T23:52:54.935Z [INFO]: # Executing command: amplifyPush --environment jbonzo
2019-02-12T23:52:54.937Z [INFO]: # Start initializing Amplify environment: jbonzo
2019-02-12T23:52:54.937Z [INFO]: # Importing Amplify environment: jbonzo (amplify env import)
2019-02-12T23:52:56.347Z [INFO]: Successfully added environment from your project
2019-02-12T23:52:56.354Z [INFO]: # Initializing existing Amplify environment: jbonzo (amplify init)
2019-02-12T23:52:57.760Z [INFO]: Note: It is recommended to run this command from the root of your app directory
2019-02-12T23:52:57.761Z [INFO]: You're initializing your project with a beta version of the CLI which supports multiple environments of your project
2019-02-12T23:52:59.124Z [WARNING]: - Initializing your environment: jbonzo
2019-02-12T23:52:59.791Z [WARNING]: ✔ Initialized provider successfully.
2019-02-12T23:53:04.228Z [INFO]:
Migrating your API. This may take a few minutes.
2019-02-12T23:53:04.238Z [WARNING]: ✖ An error occurred when pushing the resources to the cloud
2019-02-12T23:53:04.240Z [WARNING]: ✖ There was an error initializing your environment.
2019-02-12T23:53:04.241Z [INFO]: init failed
2019-02-12T23:53:04.265Z [INFO]: { Error: ENOENT: no such file or directory, open '/codebuild/output/src091921849/src/bespin/amplify/backend/api/bespin/build/cloudformation-template.json'
    at Object.fs.openSync (fs.js:646:18)
    at Object.fs.writeFileSync (fs.js:1299:33)
    at /home/circleci/repo/packages/graphql-transformer-core/src/util/amplifyUtils.ts:790:8
    at step (/root/.nvm/versions/node/v8.12.0/lib/node_modules/@aws-amplify/cli/node_modules/graphql-transformer-core/lib/util/amplifyUtils.js:40:23)
    at Object.next (/root/.nvm/versions/node/v8.12.0/lib/node_modules/@aws-amplify/cli/node_modules/graphql-transformer-core/lib/util/amplifyUtils.js:21:53)
    at /root/.nvm/versions/node/v8.12.0/lib/node_modules/@aws-amplify/cli/node_modules/graphql-transformer-core/lib/util/amplifyUtils.js:15:71
    at new Promise (<anonymous>)
    at __awaiter (/root/.nvm/versions/node/v8.12.0/lib/node_modules/@aws-amplify/cli/node_modules/graphql-transformer-core/lib/util/amplifyUtils.js:11:12)
    at updateToIntermediateProject (/root/.nvm/versions/node/v8.12.0/lib/node_modules/@aws-amplify/cli/node_modules/graphql-transformer-core/lib/util/amplifyUtils.js:924:12)
    at Object.<anonymous> (/home/circleci/repo/packages/graphql-transformer-core/src/util/amplifyUtils.ts:510:11)
  errno: -2,
  code: 'ENOENT',
  syscall: 'open',
  path: '/codebuild/output/src091921849/src/bespin/amplify/backend/api/bespin/build/cloudformation-template.json' }
2019-02-12T23:53:04.273Z [ERROR]: !!! Build failed
2019-02-12T23:53:04.432Z [ERROR]: !!! Non-Zero Exit Code detected
2019-02-12T23:53:04.432Z [INFO]: # Starting Environment Caching...
2019-02-12T23:53:04.432Z [INFO]: Uploading environment cache artifact...
2019-02-12T23:53:04.515Z [INFO]: # Environment Caching completed
Terminating logging...

@jesse-bonzo What steps did you take in the Console?

Can I take a look at your build settings?
What amplify CLI categories have you enabled?

When I make a change and push my code, a build is triggered in amplify console, and then the error is seen.
My amplify.yml:
version: 0.1
backend:
  phases:
    # IMPORTANT - Please verify your build commands
    build:
      commands:
        # print out the version so we can know what's been fixed in amplify
        - amplify --version
        # setting bin-links false to prevent issues on the build server
        - npm config set bin-links false
        - "# Get Amplify CLI Cloud-Formation stack info from environment cache"
        - export STACKINFO="$(envCache --get stackInfo)"
        - "# Execute Amplify CLI with the helper script"
        - amplifyPush --environment $AWS_BRANCH
        - "# Store Amplify CLI Cloud-Formation stack info in environment cache"
        - >-
          envCache --set stackInfo "$(amplify env get --json --name
          $AWS_BRANCH)"
frontend:
  phases:
    build:
      commands:
        - yarn
        - CI=true yarn test
        - yarn run build
  artifacts:
    # IMPORTANT - Please verify your build output directory
    baseDirectory: build
    files:
      - "**/*"

The categories enabled are Function, API, Auth, Hosting, and Storage.

@jesse-bonzo can you run amplify push from your local workstation? How many environments do you currently have (including Console+CLI)?

@nikhil-dabhade Yes, amplify push works from my local workstation, but the version is "0.2.2-multienv.1". We have 5 environments setup in Console, and 3 local environments.

@swaminator ^^

@jesse-bonzo We tried to reproduce your issue and do find some bugs on the CLI. But the error message is slightly different from yours. We are not sure whether we fixed the issue for you.
Try to rebuild your project online (We have updated CLI version to 1.1.2).
If your project still won't work, please send email to<EMAIL_ADDRESS>

@jesse-bonzo  Were you able to deploy successfully?

Unfortunately no, I am still getting the same error in the Amplify Console
2019-02-21T17:20:14.171Z [WARNING]: ✖ An error occurred when pushing the resources to the cloud
2019-02-21T17:20:14.172Z [WARNING]: ✖ There was an error initializing your environment.
2019-02-21T17:20:14.173Z [INFO]: init failed
2019-02-21T17:20:14.203Z [INFO]: { Error: ENOENT: no such file or directory, open '/codebuild/output/src127021109/src/bespin/amplify/backend/api/bespin/build/cloudformation-template.json'
    at Object.fs.openSync (fs.js:646:18)
    at Object.fs.writeFileSync (fs.js:1299:33)
    at /home/circleci/repo/packages/graphql-transformer-core/src/util/amplifyUtils.ts:790:8
    at step (/root/.nvm/versions/node/v8.12.0/lib/node_modules/@aws-amplify/cli/node_modules/graphql-transformer-core/lib/util/amplifyUtils.js:40:23)
    at Object.next (/root/.nvm/versions/node/v8.12.0/lib/node_modules/@aws-amplify/cli/node_modules/graphql-transformer-core/lib/util/amplifyUtils.js:21:53)
    at /root/.nvm/versions/node/v8.12.0/lib/node_modules/@aws-amplify/cli/node_modules/graphql-transformer-core/lib/util/amplifyUtils.js:15:71
    at new Promise (<anonymous>)
    at __awaiter (/root/.nvm/versions/node/v8.12.0/lib/node_modules/@aws-amplify/cli/node_modules/graphql-transformer-core/lib/util/amplifyUtils.js:11:12)
    at updateToIntermediateProject (/root/.nvm/versions/node/v8.12.0/lib/node_modules/@aws-amplify/cli/node_modules/graphql-transformer-core/lib/util/amplifyUtils.js:924:12)
    at Object.<anonymous> (/home/circleci/repo/packages/graphql-transformer-core/src/util/amplifyUtils.ts:510:11)
  errno: -2,
  code: 'ENOENT',
  syscall: 'open',
  path: '/codebuild/output/src127021109/src/bespin/amplify/backend/api/bespin/build/cloudformation-template.json' }
2019-02-21T17:20:14.235Z [ERROR]: !!! Build failed
2019-02-21T17:20:14.347Z [ERROR]: !!! Non-Zero Exit Code detected
2019-02-21T17:20:14.347Z [INFO]: # Starting Environment Caching...
2019-02-21T17:20:14.348Z [INFO]: Uploading environment cache artifact...
2019-02-21T17:20:14.500Z [INFO]: # Environment Caching completed

I've worked around the issue by installing an older version of the amplify cli in my build script.

@lookitsatravis Are you still stuck on this?

@kaustavgbosh06 No. I had a back up and after making some corrections to some CF templates it deployed successfully. I was merely reporting the original issue. It seemed to only happen during a deploy failure on the attempt which also does the update/migration to the new structure. Once it was successfully upgraded, future failed deployments did not result in this behavior.


checking for number-ness in StandardParameter._sweep_steps

@giulioungaretti
Steps to reproduce
use a=np.arange(0, 1000, 1) to create an array of sweep values for, say the ivvi.dac1.
use ivvi.dac1(a[0]) to change the dac value
Expected behaviour
this should work without warnings
Actual behaviour
a warning is spit out:
WARNING:root:cannot sweep dac1 from 998 to 999 - jumping.

This is because the following code gives an error (copied from StandardParameter):
 def _sweep_steps(self, value):
        oldest_ok_val = datetime.now() - timedelta(seconds=self._max_val_age)
        state = self._latest()
        if state['ts'] is None or state['ts'] < oldest_ok_val:
            start_value = self.get()
        else:
            start_value = state['value']

        self.validate(start_value)

        if not (isinstance(start_value, (int, float)) and
                isinstance(value, (int, float))):
            # something weird... parameter is numeric but one of the ends
            # isn't, even though it's valid.
            # probably a MultiType with a mix of numeric and non-numeric types
            # just set the endpoint and move on
            logging.warning('cannot sweep {} from {} to {} - jumping.'.format(
                self.name, start_value, value))
            return []

        # drop the initial value, we're already there
        return permissive_range(start_value, value, self._step)[1:]

the isinstance is probably not the correct way to check if something is a number,
(np.arange yields an array of int32's instead of int64's which is the root cause of the problem)
System
windows 7 (64 bit)
master branch
9602616bb924b540d56880b4f3437980271fcd9e

The simplest solution is probably to check against the numbers abstract base class http://stackoverflow.com/questions/3441358/python-most-pythonic-way-to-check-if-an-object-is-a-number alternatively we can add the relevant numpy types to the tuple (np.int32, np.int64 ...)
I think the return type of np.arange is platform acitecture dependent. At least I see
In [17]: a=np.arange(0, 1000, 1)

In [18]: isinstance(a[0], np.int32)
Out[18]: False

In [19]: isinstance(a[0], np.int64)
Out[19]: True

In [20]: isinstance(a[0], int)
Out[20]: False


Show validation error: "Value must be unique"; "Handle uniqueness error from MongoDB."

Bug Report
slug.js
{
      name: 'slug1',
      label: 'Slug',
      type: 'text',
      unique: true,
      admin: {
        position: 'sidebar',
      },
      hooks: {
        beforeValidate: [
          formatSlug('title'),
        ],
      },
 }

 ERROR (payload): ValidationError: The following field is invalid: slug1
    at new ExtendableError (/Users/solis/Documents/WebProjects/payload-test/node_modules/payload/dist/errors/APIError.js:22:15)
    at new APIError (/Users/solis/Documents/WebProjects/payload-test/node_modules/payload/dist/errors/APIError.js:38:9)
    at new ValidationError (/Users/solis/Documents/WebProjects/payload-test/node_modules/payload/dist/errors/ValidationError.js:10:9)
    at create (/Users/solis/Documents/WebProjects/payload-test/node_modules/payload/dist/collections/operations/create.js:142:19)
    at process.processTicksAndRejections

 (node:internal/process/task_queues:95:5)
    at async createHandler (/Users/solis/Documents/WebProjects/payload-test/node_modules/payload/dist/collections/requestHandlers/create.js:11:21)

Current Behavior

Expected Behavior

Possible Solution

Steps to Reproduce

in field schema set option unique: true
try add duplicate value

Detailed Description
When I try to add a value to a field whose database restriction is that it does not allow duplicate values, I receive a Bad Request 400 response from the server, but the field that should not be duplicated does not remain showing the error message, so a content creator will not know why the validation is failing and saving in the database is not possible.
Could you explain why this occurs and, if possible, provide an immediate solution?

Project dependencies:
"dependencies": {
    "@babel/register": "^7.17.0",
    "dotenv": "^16.0.0",
    "escape-html": "^1.0.3",
    "express": "^4.18.0",
    "next": "^12.1.0",
    "payload": "^1.1.21",
    "react": "^18.1.0",
    "sass": "^1.52.0",
    "slate": "^0.72.8",
    "typescript": "^4.7.0"
  },:

Hey @agenteAND — thank you for the report! This is now fixed and will be released shortly. 👍


open new tab in terminal became extremely slow on my Ubuntu desktop since .zshrc

This happens since this week.
If I comment out this line in .zshrc:
source $ZSH/oh-my-zsh.sh

It will be back to normal.
I am not sure it's cause by zsh or some change on my desktop.
Any ideas?

Was this week when you installed Oh My Zsh? Or have you been running it for a while?

Hi apjanke, I've been using oh-my-zsh on this ubuntu desktop for more than one month. Some how the tab became very slow. No one else has this issue?

Hard to say without knowing more details. There are plenty of things that can cause slowness, and other people have run in to.
How slow is "extremely slow"?
Is it just opening a new tab? Or is it every time a command prompt is issued?
Which terminal emulator are you using?
Common causes of slowness are often the Git or other VCS info included in the prompt in themes. If you're in a large repo, or one on a slow filesystem (like a network filesystem), they can be quite slow to run. Are the new tabs you're opening in your home directory? Or do they respect the current working directory of your session? Are you working in Git repos? What theme are you using?
What plugins are you using?
If you want, you can  run omz_diagnostic_dump from this diagnostics.zsh file and post the results as a gist. This will give us copies of all your zsh-related config files and shell state, which could help diagnose this.

For me, plugins make it slower. While running no plugins, a new tab takes 1 second (still pretty slow in my opinion, since i have a very fast macbook pro where new browser tabs are instant). The npm plugin in particular adds another second to the load time for me.
Having source /usr/local/bin/virtualenvwrapper.sh in .zshrc also slowed it down an additional half-second. The rest of the slowness is caused by source $ZSH/oh-my-zsh.sh. If i take all 3 of those out, new tab creation is close enough to instantaneous where I'd like it to be.


Construction API code - Metadata endpoint

Goal of this PR
Fixes #289
This PR should be rebased after the preprocess endpoint is merged. It builds on that since there's where the base of the construction API is.
Checklist

[x] Is on the right branch
[x] Documentation is up-to-date
[ ] ~Tests are up-to-date~

Right, you're correct. I'll switch it to a draft :) Thanks!


ci: add test coverage and badge

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@7e8eefc). Click here to learn what that means.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main       #5   +/-   ##
=======================================
  Coverage        ?   32.62%
=======================================
  Files           ?       57
  Lines           ?     4831
  Branches        ?        0
=======================================
  Hits            ?     1576
  Misses          ?     3208
  Partials        ?       47


[flutter_tools] RPCError: lookupResolvedPackageUris: (-32603)

on beta/3.4.0-34.1.pre
with command flutter debug_adapter
RPCError: lookupResolvedPackageUris: (-32603)
lookupResolvedPackageUris: [Sentinel kind: Collected, valueAsString: Unrecognized isolateId: 2157] from lookupResolvedPackageUris()
#0      ChromeProxyService._throwSentinel (package:dwds/src/services/chrome_proxy_service.dart:1104:5)
#1      ChromeProxyService._checkIsolate (package:dwds/src/services/chrome_proxy_service.dart:1096:7)
#2      ChromeProxyService.lookupResolvedPackageUris (package:dwds/src/services/chrome_proxy_service.dart:686:5)<asynchronous suspension>
#3      StackZoneSpecification._registerUnaryCallback.<anonymous closure> (package:stack_trace/src/stack_zone_specification.dart:125:47)<asynchronous suspension>

at new _OutstandingRequest(vm_service.dart:1746)
at VmService._call(vm_service.dart:2262)
at VmService.lookupResolvedPackageUris(vm_service.dart:2095)
at IsolateManager._lookupResolvedPackageUris(isolate_manager.dart:550)
at ThreadInfo.resolveUrisToPathsBatch(isolate_manager.dart:910)
at ThreadInfo.resolveUrisToPackageLibPathsBatch(isolate_manager.dart:877)
at IsolateManager._sendLibraryDebuggables(isolate_manager.dart:720)
at <asynchronous gap>(async)
at Future.wait.<anonymous closure>(future.dart:522)
at <asynchronous gap>(async)
at IsolateManager._configureIsolate(isolate_manager.dart:361)
at <asynchronous gap>(async)
at IsolateManager.registerIsolate(isolate_manager.dart:215)
at <asynchronous gap>(async)
at IsolateManager.handleEvent(isolate_manager.dart:163)
at <asynchronous gap>(async)
at DartDebugAdapter.handleIsolateEvent(dart.dart:1859)
at <asynchronous gap>(async)
at DartDebugAdapter._withErrorHandling(dart.dart:2100)
at <asynchronous gap>(async)

cc @elliette

cc @elliette

Updated stacktrace from beta/3.7.0-1.2.pre (with package:dwds version 16.0.1):
RPCError:
lookupResolvedPackageUris: (-32603) lookupResolvedPackageUris: [Sentinel kind: Collected, valueAsString: Unrecognized isolateId: 9154] from lookupResolvedPackageUris()
#0      ChromeProxyService._throwSentinel (package:dwds/src/services/chrome_proxy_service.dart:1109:5)
#1      ChromeProxyService._checkIsolate (package:dwds/src/services/chrome_proxy_service.dart:1101:7)
#2      ChromeProxyService.lookupResolvedPackageUris (package:dwds/src/services/chrome_proxy_service.dart:691:5)
<asynchronous suspension>
#3      StackZoneSpecification._registerUnaryCallback.<anonymous closure> (package:stack_trace/src/stack_zone_specification.dart:124:15)
<asynchronous suspension>

Adding @annagrin
This might be related to https://github.com/dart-lang/webdev/issues/1869. Essentially we can get into a bad state on a multiple hot restarts due to stale isolates.
Let's close this once https://github.com/dart-lang/webdev/issues/1869 is fixed, and if it appears again after that we will know there is still more investigation that is needed.

Let's close this once dart-lang/webdev#1869 is fixed, and if it appears again after that we will know there is still more investigation that is needed.

SGTM

Now this looks to me very similar to https://github.com/flutter/flutter/issues/123018. The sentinel exception is converted to an error. @bkonyi the following code in DDS throws: https://github.com/dart-lang/sdk/blob/2d1373bc56f7ebb4391f3f458ebb3c1e9591be6d/pkg/dds/lib/src/dap/isolate_manager.dart#L967
Should it check for a sentinel exception and retry getting a new isolate id instead?


update restic setup instructions

Signed-off-by: Steve Kriss<EMAIL_ADDRESS>Update to point to v0.9.0-alpha.1 artifacts

LGTM


Migrate CRDs from v1beta1 to v1. Add additionalPrinterColumns

Hi,
I migrated both CRDs to v1 inspired on PR https://github.com/GoogleCloudPlatform/spark-on-k8s-operator/pull/1258 But editing the schema to fit the new api version.
I also added new columns to be shown with kubectl get.
$ kubectl get scheduledsparkapplication
NAME                   SCHEDULE      SUSPEND   LAST RUN   LAST RUN NAME                              AGE
snapshot-gen-feature   0 0 * * THU   false     6d11h      snapshot-gen-feature-1625097621612205851   8d

$ kubectl get sparkapplication
NAME                                       STATUS      ATTEMPTS   START                  FINISH                 AGE
snapshot-gen-feature-1625097621612205851   COMPLETED   1          2021-07-01T00:00:26Z   2021-07-01T01:08:15Z   6d11h

Note: I didn't find a way to make an operation on CRD additionalPrinterColumns to replace start and finish time columns with duration column

@googlebot I signed it!

@googlebot I signed it!

@googlebot I signed it!

@googlebot I signed it!

@googlebot I signed it!

@googlebot I signed it!

@liyinan926 Done

CI error is pointing to this Kubernetes PR https://github.com/kubernetes/enhancements/pull/1111
I guess this new check is only applicable for CRD api v1 and not for v1beta1 and that is why it pass on other builds.
That PR says we should not use CRD groups k8s.io or kubernetes.io as they are reserved for the Official Kubernetes Community.
This will take some time to refactor so I will add an annotation to the CRD to bypass that limitation.


[B001262] Rep. Paul Broun

Rep. Paul Broun:
http://broun.house.gov
Likely contact form URL to start with:
http://broun.house.gov/contact/

YMAL file not found. I am working on it.


created hello world file

What does the program do ?

In what programming language it is written?

Thank you for participating  in hacktoberfest ❣ if you liked working on this repo you can share it with friends and star this project for helping others


Add missing import to Element init

The import is needed in line 44 of the same file.

Thanks @mrksr. There's something wrong with our Travis setup atm, which I'll have to fix next week. This PR is safe though, so I'll merge.


pull request for e2e test at 12/29/2016 15:45:12

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


Settings menu won't start

Acknowledgement of preliminary instructions

[X] I have read the preliminary instructions, and I am certain that my problem has not already been addressed.

What problem did you encounter?
When I was installing Bloxstrap I accidentally skipped the setup step and immediately clicked on install, then I tried to set up through the launcher but I can no longer open the settings.

https://github.com/pizzaboxer/bloxstrap/wiki/Opening-the-Bloxstrap-menu

https://github.com/pizzaboxer/bloxstrap/wiki/Opening-the-Bloxstrap-menu

Thank you very much


Package request: Tuba

Project description
Tuba is a GTK Mastodon Client that looks fanstastic.

Metadata

homepage URL: https://github.com/GeopJr/Tuba
source URL: https://github.com/GeopJr/Tuba
license: GPL3
platforms: Linux

It's already there. https://search.nixos.org/packages?channel=unstable&show=tuba&from=0&size=50&sort=relevance&type=packages&query=tuba

How the... I looked and it didn't show up. Thanks!


memory allocation

In the implementation, I see multiple instances where NULL is used to check the sanity of the array. If pointer pointing to NULL while a pointer to an JSON_Value is expected, the function returns JSONFailure. This design is OK if allocated space is properly zerorized. However, in current implementation, json_malloc is a simple wrapper over the system malloc, and does not provide all zero memory block. I recommend us change the implementation into a standard malloc followed by a memset.
On the other hand, in memory extension, is there any specific reason why malloc and manual copy over is preferred over realloc?

I'm sorry, could you explain more clearly why non-zeroed memory can cause bugs and link to a specific place in the source code?
malloc and free are wrapped with parson_malloc and parson_free because they can be overwritten by users with json_set_allocation_functions. I'm not using realloc because I would have to write my own implementation (which is trivial), but I didn't bother because it would only be used in few places.

Sorry, my mistake. The place I actually saw was in parson.c:1559 temp_value==NULL. I mistakenly though object were given a same treatment. Turned out it wasn't.
If all operation is performed with exposed API, non-zeroed malloc under this design will not cause issue. However, if user chose to manually resort array or object's order, or nullify/add some entry. There is a chance that the count is not properly adjusted. Checking if object operated on is NULL could provide more immediate feedback for the programmer during debugging. Or is this not part of the consideration, since parson.c:1559 seems to be the odd-out one?

I assume that all operations will be performed using the api, otherwise it's impossible to guarantee anything. Direct access to items is not exposed so if a user decides to access and manipulate them on his own then it's not my responsibility to support it.


Make linked seasons not symmetrical

The template season probably doesn't want every season that spawned from it to be visible from the home page, so should make linked seasons asymmetric.
E g., 46b can show 46a, but 46a doesn't see 46b & 46c, which both were created thru create season using it as a template.
May want to add some way to link seasons under manage season, too.

Done in https://github.com/mawilson/survivor_draft/pull/182. No season linker in manage season, for now.


Install / Set-up Laravel-Backback

Description

To give site admins access to reports for ratings a backend / CMS would be useful. This should allow for admins to manage and perform crud operations on most entities / models. Most / all models should be accessible via the CMS.
Possible Implementation

Simply follow the install guide and get the package running, adding the basic CRUD actions for existing models
Out of scope

N/A
Requirements / Restrictions

Only Admins should be able to access this panel. There may be a way to restrict access via roles and policies. There may be more details about authentication here

Hey team! Please add your planning poker estimate with ZenHub @bcobo341 @IanjhPhillips @JasonGadoury @RobertoNittolo


Fixed sized types

I had experimented with this and ultimately removed it... possibly prematurely. The theory is that we make every type take up the same size in memory: i32, i64, f32, f64 => 8 bytes. This lets us easily bitcast between all the types.
Advantages:

We can convert from stack: []u8 to stack: []u64 and lose nothing. Indexing is much easier, and it's faster to access multiple elements since no size bookkeeping is needed.
"Same" function pointer. Args, pop, and return are all dynamic (xyz space) so we need at the minimum a jump table with the different types. I had previously considered encoding a more traditional jump table to work around this, but a "standard" fp can be rearchitected as "pop stack, call fp, push stack"

Disadvantages:

Takes up more space in the stack
Need to be rejiggered for SIMD

For the pop param, we can change it to something like *const Pair(I64, I32) and remain compatible.

Upgraded to u128 due to SIMD / br_table / frame.


Icon Requests

I have some app requests for lawnicons. I have included the app and package names in the list below (some have two package names for different versions)
F-Droid:

    Repos Used:

        FDroid Official
        Guardian Project
        RedReader Repo
            https://redreader.org/fdroid/repo
        IzzyOnDroid

    BTC Map
        org.btcmap
    Catima
        me.hackerchick.catima
    Droid-Ify
        com.looker.droidify
    Findroid
        dev.jdtech.jellyfin
    Imagepipe
        de.kaffeemitkoffein.imagepipe
    IVPN
        net.ivpn.client
    K-9 Mail
        com.fsck.k9
    KeePassDX
        com.kunzisoft.keepass.libre
    Lawnchair and Lawnicons app icons
        app.lawnchair
        app.lawnchair.lawnicons
    Libretorrent
        org.proninyaroslav.libretorrent
    mpv-android
        is.xyz.mpv
    MuPDF viewer and mini
        com.artifex.mupdf.viewer.app
        com.artifex.mupdf.mini.app
    OpenBoard
        org.dslul.openboard.inputmethod.latin
    PrimitiveFTP
        org.primftpd
    RedReader
        org.quantumbadger.redreader
        org.quantumbadger.redreaderalpha
    SAI Installer
        com.aefyr.sai.fdroid
    Seeker
        com.companyname.andriodapp1
    VPN Hotspot
        be.mygod.vpnhotspot
        be.mygod.vpnhotspot.foss
    Temp. Monitor
        com.gmail.jiwopene.temperature
    apps_Packages Info
        com.oF2pks.applicationsinfo
    De-Bloater
        com.sunilpaulmathew.debloater
    droidVNC-NG
        net.christianbeier.droidvnc_ng
    AVNC
        com.gaurav.avnc
    OwnTracks
        org.owntracks.android
    WireGuard
        com.wireguard.android
    Insular
        com.oasisfeng.island.fdroid
    monerujo
        com.m2049r.xmrwallet
    Spotube
        oss.krtirtho.spotube
    AirGuard
        de.seemoo.at_tracking_detection
        de.seemoo.at_tracking_detection.release
    Setter
        site.leos.setter
    OpenTracks
        de.dennisguse.opentracks

Google Play:

    17TRACK
        yqtrack.app
    Authenticator (battle.net)
        com.blizzard.bma
    ButterflyMX
        com.butterflymx.butterflymx
    BY WFM
        com.jda.mobility.wfmr
    Cash App
        com.squareup.cash
    Chase
        com.chase.sig.android
    CoinATMRadar
        com.coinatmradar.android
    CoinMarketCap
        com.coinmarketcap.android
    Doordash
        com.dd.doordash
    Doordash Driver app
        com.doordash.driverapp
    Google Earth
        com.google.earth
    Franco Kernel Manager
        com.franco.kernel
    Forex Calculators
        com.edge11.app.forexcalculators.beta
    Metatrader 5
        net.metaquotes.metatrader5
    Nest
        com.nest.android
    Old School RuneScape
        com.jagex.oldscape.android
    OSRS Helper
        com.infonuascape.osrshelper
    pCloud
        com.pcloud.pcloud
    PokeRaid
        me.pokeraid
    Privacy.com VCC
        com.privacy.pay
    Steam
        com.valvesoftware.android.steam.community
    Thinkorswim
        com.devexperts.tdmobile.platform.android.thinkorswim
    Tradingview
        com.tradingview.tradingviewapp
    Venmo
        com.venmo
    RealVNC Viewer
        com.realvnc.viewer.android
    AetherSX2
        xyz.aethersx2.android

Others:

    Kuroba-dev (dev)
        com.github.adamantcheese.chan.dev
        https://github.com/Adamantcheese/Kuroba-Dev

    xManager (spotify mod apk)
        com.xc3fff0e.xmanager
        https://github.com/xManager-v2/xManager-Spotify

    Dolphin Emulator (and forks)
        org.dolphinemu.dolphinemu
        org.dolphinemu.mmjr
        org.mm.jr

    Instander (instagram mod apk)
        com.instander.android

    Kernel Flasher
        com.github.capntrips.kernelflasher
        https://github.com/capntrips/KernelFlasher

    Aliucord Installer
        com.aliucord.installer
        https://github.com/Aliucord/Aliucord

    OrangeTV Twitch Mod
        tv.orange

Hello! Weʼre switching to a new system for icon requests in order to be able to better manage them. From now on, icon requests can be submitted here: https://forms.gle/Fx8vZAiWdW1Tyjo57. If your icon request hasnʼt yet been fulfiled, it has been copied to our new icon request database, meaning no action is required. Consequently, this issue will be closed.


what’s the plan to support jetty version 9?

When would be supported? Would the dubboX dangdangdotcom/dubbox merged back to dubbo?

I remember jetty9 requires jdk1.8+, we'll consider upgrade jetty in the 2.5.8

@chickenlj  It's true. So version 2.5.8 will also support 1.8 officially?

Dubbo 2.x should support Java 6+, so the highest version that can be upgrade to should be Jetty 8:
https://www.eclipse.org/jetty/about.html

http://www.eclipse.org/jetty/previousversions.html
I think we can upgrade to the latest version listed here, http://www.eclipse.org/jetty/previousversions.html


When a JSON-RPC connection is closed, send an error response to all outstanding requests

Otherwise, we would never get a reply for these requests. I noticed this while developing BSP server tests that had Python errors, which caused the BSP server to crash.

@swift-ci Please test

This seems to be breaking toolchain builds:
JSONRPCConnection.swift:168:35: error: reference to property 'outstandingRequests' in closure
requires explicit use of 'self' to make capture semantics explicit
        for outstandingRequest in outstandingRequests.values {

https://ci.swift.org/job/swift-PR-toolchain-macos/1519/console


Sweep: make redis server and redis port configurable

At the moment we use a hardcoded server and a hardcoded port to create connections to Redis. It looks like  Redis(host="redis", port="6379") in the code.
The server and the port should be configurable via variables  REDIS_SERVER  and  REDIS_PORT  in the  osism/settings.py  file.
The variables in  osism/settings.py  should be configurable via environment variables with the same name.

The proposed change will not work because of a missing import ion one of the files.


Add final page after all Tutorials

Add a final page after the last tutorial page to show that the tutorial is at the end

show solution
show other tutorials


Add winxed timsort implementation.

Closed, due to some undetected bugs. Will re-open once confirmed 100% working.


A contact us form and a price template should be added in it,

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

Assign this issue to me!!


Ability to define collate for a column in MySQL?

Mainly for case-sensitive etc.
Any way for doing that today without jumping through [too many] hoops?

thanks @alexrsagen !

Thanks @alexrsagen ! :-)


[multi-stage optimization]How to optimize the computation using tvm after nnvm's graph optimization

In your announcement you illustrated with a picture that before tvm optimizes ops , it is nnvm who's responsible for graph optimization. I 'm wondering how does this completed workflow (tvm optimization
after nnvm graph optimization) implement? Any tutorial?

checkoud https://github.com/dmlc/nnvm for tutorials

ok, seems nnvm.compiler.build method calls tvm to optimize already.. but in my case , it only brings 10ms improvment, and doesn't match the result here: http://tvmlang.org/2017/08/22/Optimize-Deep-Learning-GPU-Operators-with-TVM-A-Depthwise-Convolution-Example.html, I'll launch this issue to nnvm.


Announcement: Crawly UI, first early prototype

Hey people,
I have spent quite a bit of time prototyping a UI for Crawly. I think it's the next step we have to make in order to make Crawly visible in the Elixir and Web crawling space.
A good UI would help to convert web scraping into a process with clear create - test - use circles. Please have a glance on the early prototype here:
https://github.com/oltarasenko/crawly_ui
or test it here: http://<IP_ADDRESS>/jobs/1/items/

Really dig the new logo. The ui looks great, though i notice that its not responsive on mobile yet.

@Ziinc Well, maybe walmart is a bad example. It has banned Crawly, without proxies it's a complex target. I am looking for a more simple but large site to showcase it

I think it is because there isn't rate limiting. It was scraping fine when I tried it.
Their anomaly detection probably kicks in due to the high hit rate.

Yes it works atm. The crawl speed is quite low. Only 2 concurrent
connections.
On Tue, Apr 28, 2020 at 6:46 PM Ziinc<EMAIL_ADDRESS>wrote:

I think it is because there isn't rate limiting. It was scraping fine when
I tried it.
Their anomaly detection probably kicks in due to the high hit rate.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/oltarasenko/crawly/issues/89#issuecomment-620725478,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAL3TP5FP2QS25J7O6IPKLRO4B5DANCNFSM4MRWKGPA
.

Ok, now we have a PR. I will close this ticket now


new flags

The problem with this is that we have to modify the build script. Please include these emojis there. However, merging for now...
You can do another PR modifying the build script. Thank you!


Provide more details in error messages

e.g., when a policy is multiply-defined, provide  in the error message a reference to file+line where it is defined.
Also include suggested remediation, e.g., for the above error, remediation should look like "remove or rename one of the policies".

Moved to NP-Guard repo. See here


[Scrapbook]: Commands that modify a collection should update the corresponding collection treeItem

Insert a document with db.collection.insert({}).
Open the collection.
Expected: You see the new document in the collection.

Not marked as closed. Above PR should have fixed it.


Question: Permission denied when placing archive subfolder onto CIFS share

Hello, I've been trying for a while to get this to work but I am unsure what is going wrong. I have my data folder mounted locally on my machine and my archive subfolder mounted onto a remote CIFS share on my NAS. Initializing it works just fine, and I can access the web GUI, but whenever I attempt to download anything it gives this permission denied error:
[*] [2023-12-13 16:00:34] Archiving 1/1 URLs from added set...
archivebox_1  | Internal Server Error: /add/
archivebox_1  | Traceback (most recent call last):
archivebox_1  |   File "/usr/local/lib/python3.11/site-packages/django/core/handlers/exception.py", line 47, in inner
archivebox_1  |     response = get_response(request)
archivebox_1  |                ^^^^^^^^^^^^^^^^^^^^^
archivebox_1  |   File "/usr/local/lib/python3.11/site-packages/django/core/handlers/base.py", line 181, in _get_response
archivebox_1  |     response = wrapped_callback(request, *callback_args, **callback_kwargs)
archivebox_1  |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
archivebox_1  |   File "/usr/local/lib/python3.11/site-packages/django/views/generic/base.py", line 70, in view
archivebox_1  |     return self.dispatch(request, *args, **kwargs)
archivebox_1  |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
archivebox_1  |   File "/usr/local/lib/python3.11/site-packages/django/utils/decorators.py", line 43, in _wrapper
archivebox_1  |     return bound_method(*args, **kwargs)
archivebox_1  |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
archivebox_1  |   File "/usr/local/lib/python3.11/site-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
archivebox_1  |     return view_func(*args, **kwargs)
archivebox_1  |            ^^^^^^^^^^^^^^^^^^^^^^^^^^
archivebox_1  |   File "/usr/local/lib/python3.11/site-packages/django/contrib/auth/mixins.py", line 109, in dispatch
archivebox_1  |     return super().dispatch(request, *args, **kwargs)
archivebox_1  |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
archivebox_1  |   File "/usr/local/lib/python3.11/site-packages/django/views/generic/base.py", line 98, in dispatch
archivebox_1  |     return handler(request, *args, **kwargs)
archivebox_1  |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
archivebox_1  |   File "/usr/local/lib/python3.11/site-packages/django/views/generic/edit.py", line 142, in post
archivebox_1  |     return self.form_valid(form)
archivebox_1  |            ^^^^^^^^^^^^^^^^^^^^^
archivebox_1  |   File "/app/archivebox/core/views.py", line 288, in form_valid
archivebox_1  |     add(**input_kwargs)
archivebox_1  |   File "/app/archivebox/util.py", line 116, in typechecked_function
archivebox_1  |     return func(*args, **kwargs)
archivebox_1  |            ^^^^^^^^^^^^^^^^^^^^^
archivebox_1  |   File "/app/archivebox/main.py", line 667, in add
archivebox_1  |     archive_links(new_links, overwrite=False, **archive_kwargs)
archivebox_1  |   File "/app/archivebox/util.py", line 116, in typechecked_function
archivebox_1  |     return func(*args, **kwargs)
archivebox_1  |            ^^^^^^^^^^^^^^^^^^^^^
archivebox_1  |   File "/app/archivebox/extractors/__init__.py", line 236, in archive_links
archivebox_1  |     archive_link(to_archive, overwrite=overwrite, methods=methods, out_dir=Path(link.link_dir))
archivebox_1  |   File "/app/archivebox/util.py", line 116, in typechecked_function
archivebox_1  |     return func(*args, **kwargs)
archivebox_1  |            ^^^^^^^^^^^^^^^^^^^^^
archivebox_1  |   File "/app/archivebox/extractors/__init__.py", line 130, in archive_link
archivebox_1  |     os.makedirs(out_dir)
archivebox_1  |   File "<frozen os>", line 225, in makedirs
archivebox_1  | PermissionError: [Errno 13] Permission denied: '/data/archive/1702483234.440642'
archivebox_1  | "POST /add/ HTTP/1.1" 500 145`

On the server, I already set the access level for that share to 777, but checking it from archive-box gives a different response:
(Server side)
total 8
drwxrwsrwx 2 Arr_Suite users 4096 Dec 13 11:12 .
drwxrwsrwx 3 root      users 4096 Dec 13 10:47 ..

(Archive-box)
total 4.0K
drwxr-xr-x 2       1000 users         0 Dec 13 16:12 .
drwxr-xr-x 5 archivebox archivebox 4.0K Dec 13 16:00 ..

I am not the most experienced with docker, and I am unsure what is going wrong here. If it helps, here are the relevant pieces of my docker-compose:
services:
    archivebox:
        image: ${DOCKER_IMAGE:-archivebox/archivebox:dev}
        command: server --quick-init <IP_ADDRESS>:8000
        ports:
            - 8000:8000
        volumes:
            - ./data:/data
            - archivebox-archive:/data/archive:z
volumes:
  archivebox-archive:
    driver: local
    driver_opts:
      type: cifs
      device: //<IP_ADDRESS>/Web_Archives/ArchiveBox
      o: "username=Arr_Suite,password=[removed],vers=3.0,uid=1000,gid=100"

Any suggestions or recommended changes?

Can you try using uid=901 and gid=901 for your CIFS mount, those are the defaults that archivebox uses
Also mount the volume with :rw, :z mode sometimes causes weird permissions issues.

That doesn't seem to work, as it gives the same error as before.

Sorry I made a mistake above try 911 not 901 for uid and gid.
If that doesn't work I'll investigate further and push a fix when I'm back from travel next week.

Sorry I made a mistake above try 911 not 901 for uid and gid.
If that doesn't work I'll investigate further and push a fix when I'm back from travel next week.

That worked for me, thanks!


Update opentelemetry-api, ... to 1.29.0

About this PR
📦 Updates

io.opentelemetry:opentelemetry-api
io.opentelemetry:opentelemetry-exporter-jaeger
io.opentelemetry:opentelemetry-exporter-otlp
io.opentelemetry:opentelemetry-sdk
io.opentelemetry:opentelemetry-sdk-testing

from 1.16.0 to 1.29.0
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "io.opentelemetry" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "io.opentelemetry" }
}]

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

Codecov Report
Patch coverage has no change and project coverage change: -0.07% :warning:

Comparison is base (862ac3a) 60.51% compared to head (1fb5733) 60.45%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #387      +/-   ##
==========================================
- Coverage   60.51%   60.45%   -0.07%
==========================================
  Files         152      152
  Lines        3277     3277
  Branches      101      105       +4
==========================================
- Hits         1983     1981       -2
- Misses       1294     1296       +2

see 2 files with indirect coverage changes

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

Superseded by #392.


Refactor ledger tables (utility functions)

Description
With the changes of #158, we can now unify a lot of the definitions in the Tables.Utils modules by using casting/coercing.

I ran mempool-bench both on this branch and on feature/utxo-hd, and I see no significant change in performance there


COOK-100 ZooKeeper filesystem objects should use zookeeper group

Creating a standalone ZooKeeper system would otherwise fail. Also, installing ZooKeeper before other Hadoop components would fail.
Fixes COOK-100

LGTM - but am I to judge this?

👍 lgtm


have autohelp print values of enums in verbs?

I have several verbs (subcommands) in my app.  One of those verbs takes in an enum value.  Is there a way where i can have the autohelp print the enum values possible?
or in another way, in
myapp mysubcommand --help
i would like to have the help message print the enum values of one of the required parameters.  I found other bugs that say how to do it for options only by basically redefining the help in the initial program.cs, but i can't find any way to do it for a verb.

I'm not sure I completely understand what you are asking but I'm guessing you have a verb that takes an enum value through a Value attribute?
AddEnumValuesToHelpText works for both Value and Option attributes so the following:
public enum SomeEnum
{
    Val0,
    Val1,
    Val2,
    Val3
}

[Verb("someverb")]
public class SomeVerb
{
    [Value(0, Required = true)]
    public SomeEnum EnumValue { get; set; }
}

// The default HelpText.AutoBuild that initially gets called when parsing
// does not enable AddEnumValuesToHelpText.
// So disable the default HelpWriter stream to Console.Error
// that Parser.Default would set.
ParserResult<object> parsed = new Parser(settings => settings.HelpWriter = null)
    .ParseArguments(new[] { "someverb", "--help" }, typeof(SomeVerb));

HelpText helpText = HelpText.AutoBuild(parsed, h =>
{
    h.AddEnumValuesToHelpText = true;
    return h;
});

Console.Out.WriteLine(helpText);

Would print out something like this for the EnumValue property:
value pos. 0    Required.  Valid values: Val0, Val1, Val2, Val3


 I think brew sets GOPATH to ~/go? Otherwise you can set it to where ever. You'll also need to add $GOPATH/bin to your PATH in order for zsh to find your installed Go programs.

thanks for the help.  more questions after that.

thyme under bin folder has permission 111 but can't be ran when directly type thyme dep could be triggered to run using ./thyme
some more configs to come, which I don't know how to grant privilege  to console or thyme

You will need to enable privileges for "Terminal" in System Preferences > Security & Privacy > Privacy > Accessibility.
See https://support.apple.com/en-us/HT202802 for details.

maybe $GOPATH/bin isn't in your PATH?
follow those instructions

On Tue, Aug 23, 2016 at 1:34 PM zhenw<EMAIL_ADDRESS>wrote:

thanks for the help. more questions after that.

thyme under bin folder has permission 111 but can't be ran when
directly type thyme dep could be triggered to run using ./thyme
some more configs to come, which I don't know how to grant privilege to
console or thyme

You will need to enable privileges for "Terminal" in System Preferences > Security & Privacy > Privacy > Accessibility.
See https://support.apple.com/en-us/HT202802 for details.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/sourcegraph/thyme/issues/65#issuecomment-241617505,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAmr8zHR9aev2_IscV1VSFBG5rhpxwDiks5qimpDgaJpZM4JpnV-
.

Same issue here - "thyme dep" attempts to start when run from root directory (as this /Users/me/Documents/Thyme/bin/thyme dep) but this "Terminal" error persists even though I have added Terminal.app in the Privacy/Accessibility settings.

okay, my problem is I think rhyme needs to pass in order to carry on.
this is confusing. but obviously reading carefully would avoid


Fix collapsed selections not detecting marks correctly

What was happening was that the range.getMarks logic was taking the mark information from both sides of a collapsed selection, which in most normal cases wouldnt be the same. It then does an intersection on the marksets for all found nodes, so in the case where you just clicked lets say the bold button, it would create the node, and intersect left (the new node) and right, coming up with an empty set.
This combined with the new text-insertion logic that actually takes the mark status of the selection into account (this was not the case before) it kept inserting non-marked characters when typing.
Solution was actually already implemented in the range.contextNodes method, where it was already possible to determine in which direction to look for adjacent textnodes, it was just set to both instead of left only (this replicates google docs behavior in how it treats the "markedness" of a collapsed selection.

While testing I found some issues still exist:

disabling bold doesn't work
keyboard shortcuts (ctrl+b, ctrl+i, ctrl+u) don't seem to work for collapsed selections

Sorry to be that guy, but removing the marks doesn't work on complex selections, adding seems fine
https://user-images.githubusercontent.com/17006446/164453323-3752076a-75e0-4905-a62e-c6f239c3840e.mov


Update project name

Can you set the project name in package.json? "my-new-project" is likely to cause naming conflicts. Thanks! :)

@gflohr let us know of that still causes issues

No, everything is fine.  No more "cd node_modules/cucTABTABTAB" and nothing happens. ;)


Improve feedback section done !

Hello, PR
Fixed issue - https://github.com/anuragverma108/SwapReads/issues/4310
Done - #4311
https://github.com/user-attachments/assets/d2716c4f-2fe5-48ff-9f54-03149753badb

Type of PR

[ ] Bug fix
[X] Feature enhancement
[ ] Documentation update
[ ] Other (specify): _______________

Checklist:

[x] I have made this change from my own.
[x] I have taken help from some online resources.
[x] My code follows the style guidelines of this project.
[x] I have performed a self-review of my own code.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] I have made corresponding changes to the documentation.
[x] My changes generate no new warnings.
[x] I have tested the changes thoroughly before submitting this pull request.
[x] I have provided relevant issue numbers and screenshots after making the changes.

@sailaja-adapa

i have reverted ur changes .

u have changed the  text color to white on home page .
raise pr again .

i have reverted ur changes .

u have changed the text color to white on home page .
raise pr again .

@abhi03ruchi What ?? I didn't understand..

chk ur code , u had changed the text color to white on home page , due to which text wasn't visible properly .

chk ur code , u had changed the text color to white on home page , due to which text wasn't visible properly .

Okay wait i will give new PR soon 😓😓


Support for Python PEP 677 in Python TextMate grammar

VS Code includes a TextMate grammar for Python. Draft PEP 677 introduces a new syntax for annotating callable signatures. This PEP hasn't been ratified, but it's likely to be in the near future. I recently added support for this feature in pyright (and therefore, in pylance as well). The TextMate grammar will need to be updated to accommodate this new syntax. Currently, it causes VS Code to display the -> token in red.

Moved to https://github.com/MagicStack/MagicPython/issues/247, which is the repo we get our python grammar from.


Support s3_data_dir and s3_data_naming

Ported PR from https://github.com/Tomme/dbt-athena/pull/50 by @chronitis

@thenaturalist @nicor88 what is preventing this from behind merged? My team has been waiting for this for a very long time ;)

@mattiamatrix we wanted to full test the feature with all supported cases, the implementation looks actually good to me, I left a tiny comment. Also the README needs to update to make a bit more clear the usage.

We might also want to ping the people (@chronitis @fbrueck) who were initially involved if they are still interested.

I originally opened this, and we used it in production for maybe 6 months before we moved away from Athena. So I'm not in a position to test it further now, but if it's useful to anyone else, please feel free to merge.
It was workable and having predictable S3 paths made organising the resulting data much easier, although one issue encountered was that (at the time, I haven't checked if this has now changed) the temporary table used when building an incremental table always had a fixed name (table + _dbt_tmp) and hence a fixed path. That meant it wasn't possible to generate two independent sets of partitions at the same time. Fixed in https://github.com/northvolt/dbt-athena/commit/223d2cccde487637d41a4ed2d827716fd0ab8cf9

nb, one other feature I wrote which might be of interest: using the Glue API for listing tables, schemas, columns instead of INFORMATION_SCHEMA queries, which were generally a lot slower. I don't think I ever opened a PR for it, but again, you're welcome to pull it if it looks useful: https://github.com/northvolt/dbt-athena/commit/49c7111eab13182ec27c3b7e11d7453ab005c550

Regarding the not unique path, I also add a workaround in the Iceberg implementation, I think that needs to be revisit a bit, but was similar to what you suggested.
Regarding https://github.com/dbt-athena/dbt-athena/pull/4#issuecomment-1305576711 definitely worth to add it.
@mattiamatrix and @chronitis I'm wondering if you both want to be added as maintainers to help us out to deliver feature faster, we fork the repo to enable faster merge, but also me and @thenaturalist are quite busy. Feel free to reach out to me in Slack dbt.

@nicor88 could you please provide a hint to why this PR has been closed?

@rumbin just a mistake on when we relesed the 1.0.4, the branch was deleted and the pr closed, we will re-open again.

@mattiamatrix feel free to re-open it.


[SPARK-44653][SQL][FOLLOWUP] ResolveUnion should not combine Unions

What changes were proposed in this pull request?

This is a followup of https://github.com/apache/spark/pull/42315 , to fix by-name Union as well. Ideally, an analyzer rule should not invoke an optimizer rule, and it's cleaner to keep the df union hack in the df code.
Why are the changes needed?

fix the regression for by-name Union as well.
Does this PR introduce any user-facing change?

No
How was this patch tested?

new tests

cc @viirya @yaooqinn

Failed test cases are correlated.

Merged to master and 3.5.
Thanks @cloud-fan and @viirya


build: Update to header 1.2.183

Update known-good
Generate source

Change-Id: Idd87f69c520cd4ef34a1b9d205f79f7c1c7d9e05

CI Vulkan-Tools build queued with queue ID 10214.

CI Vulkan-Tools build # 481 running.

CI Vulkan-Tools build # 481 passed.


Move PartCommander to SpaceDock

I've released a new version with KSP 1.1 support via SpaceDock and would like to get CKAN updated.  Thanks!

:+1:
If at some point you'd like, we can make use of the information in your .version file by adding the line "$vref": "#/ckan/ksp-avc",. It can be useful if you want to set a ksp_version_min and ksp_version_max since spacedock (afaik) doesn't allow compatibility ranges.


*ks: correctly define cluster:node_cpu:ratio rule

There was a bug in the rule imported from kube-prometheus causing the rule not to correctly return any results. This caused the data to be missing on the optimized dashboard from *ks clusters.
Upstream fix was here:
https://github.com/prometheus-operator/kube-prometheus/pull/1628

/test e2e-kind

/cherrypick release-2.10


Mouse Pass Screen Border

Hi,
Is there a technical reason as of why mouse can't pass screen borders ? like barrier for example

rkvm has no knowledge about screens or borders
It redirects input, that's it.
This is one of the reason why this works regardless of which displaymanager you're using
And it's the main reason why I just set it up and am loving it.

@rolflobker got it, appreciate the explanation.


how to optimize the performance  of catalog interface

I have used catalog api to impl the feature of list user's images, but the request is too slow. how could we optimize this interface.

The main factor affecting performance of this function is the performance of the storage engine.
If you are using S3 then you will experience an improvement by trying with the latest build from master.
Theoretically this function could be reimplemented to be more parallel.  However, the most likely improvement will come with the reimplementation of repository metadata in a key value store.  This project is in the planning stages.

I have used catalog api to impl the feature of list user's images, but the request is too slow. how could we optimize this interface.

The catalog API isn't really designed for this use case. The correct approach is to crawl the catalog API and index information into a secondary store. Issue user requests to that store.

@stevvooe thanks for your response, but how to ensure the consistency between catalog and secondary store is a big problem.

@RichardScothern thanks for your response.

@liuchang23 The approach most projects take is to scan the catalog and then keep the dataset up to date with notifications. We use this in Docker Trusted Registry and the Hub. Portus also uses a similar strategy.
The biggest reason for this approach is that it allows you to make an API that is optimized for use with users and the registry's API remains focused on content.

@stevvooe Yes, this approach is the best choice.


Incompatibility with ActiveSupport::TaggedLogging

Describe the bug
When using dry-effects (specifically something like include Dry::Effects::Handler::State(:counter), inside a provide(..) { ... } block, any ActiveSupport::TaggedLogging tags may be lost.
A bug report to Rails was opened by my colleague:

https://github.com/rails/rails/issues/37535

This issue has been opened here to draw the issue to your attention only. I don't know if it's appropriate to workaround AS here, or if some concession can be made to make this more reliable.
At least, maybe a documentation entry could be added to highlight the incompatibility.
To Reproduce
A simple example that simulates what's going on inside AS::TaggedLogging looks like this:
Thread.current[:fiber_local_var] = 'Result'
Fiber.new do
  puts Thread.current[:fiber_local_var]
end.resume
# => <Empty output>

Thread.current.thread_variable_set(:thread_local_var, 'Result')
Fiber.new do
  puts Thread.current.thread_variable_get(:thread_local_var)
end.resume
# => "Result"

In practice however trying to do something like this would/should cause the issue:
logger = ActiveSupport::TaggedLogging.new(Logger.new(STDOUT))
include Dry::Effects::Handler.Resolve
include Dry::Effects.Resolve(:anything)
logger.tagged("A") do
  logger.info "before provide"
  provide(anything: :foo) { anything; logger.info "in provide" }
  logger.info "after provide"
end

Expected behavior
The code above should print:
[A] before provide
[A] in provide
[A] after provide

but it actually prints:
[A] before provide
in provide
[A] after provide

Your environment
$ ruby --version
ruby 2.6.5p114 (2019-10-01 revision 67812) [x86_64-linux]
$ bin/rails version
Rails <IP_ADDRESS>
$ uname -r
5.3.16-300.fc31.x86_64

Affects my production application: No (yes, but we around by using https://github.com/steveklabnik/request_store as a "replacemnt" for dry-effects DI)

@flash-gordon what do you think of this solution? If I package this as a PR rather than just a comment are you interested in maybe merging it?
Thanks!

@leehambley sorry for the delay, I'll get back to you ASAP, I've had no spare time in the last two weeks but now it's getting better :) I'll have a deeper look tomorrow

@leehambley after considering for a while, I believe your approach is good. I didn't know AS has thread_variable_get/thread_variable_set, this will work for us. Would you like to send a PR? If not, I'm planning to apply your patch on the weekend.
For the record, effects-style approach would be
ActiveSupport::TaggedLogging::Formatter.prepend(Module.new {
  prepend Dry::Effects.Cache(active_support: :current_tags)

  def current_tags
    []
  end
})

This, however, will require adding wrapping code
class Middleware
  include Dry::Effects::Handler.Cache(:active_support)

  def initialize(app)
    @app = app
  end

  def call(env)
    with_cache { @app.(env) }
  end
end

I don't want people to change their code, this is why your solution is preferable.

I was equally surprised, credit for finding it goes to @rafadc - it seems to be core ruby -

Sets a thread local with key to value. Note that these are local to threads, and not to fibers. Please see Thread#thread_variable_get and Thread#[] for more information.

https://www.rubydoc.info/stdlib/core/Thread:thread_variable_set

Maybe I see prior to Rails 5 it was also in activesupport with a native Ruby implementation.
I'll follow up with a PR to add my solution (and a useful commit message) in a few minutes :pray:

Opened https://github.com/dry-rb/dry-effects/pull/76

Nicely pushed by https://rubygems.org/profiles/dry-bot as 0.1.5


TestServer_Alert_Aggregate

--- FAIL: TestServer_Alert_Aggregate (0.33s)
	server_test.go:8749: unexpected tcp request:
		exp
		[{ID:id-agg Message:Received 3 events in the last 100ms. Details:message
		message
		message Time:1970-01-01 00:00:00.002 +0000 UTC Duration:2ms Level:CRITICAL Data:{"series":[{"name":"alert","columns":["time","value"],"values":[["1970-01-01T00:00:00Z",3]]},{"name":"alert","columns":["time","value"],"values":[["1970-01-01T00:00:00.001Z",4]]},{"name":"alert","columns":["time","value"],"values":[["1970-01-01T00:00:00.002Z",2]]}]}}]
		got
		[{ID:id-agg Message:Received 2 events in the last 100ms. Details:message
		message Time:1970-01-01 00:00:00.001 +0000 UTC Duration:1ms Level:CRITICAL Data:{"series":[{"name":"alert","columns":["time","value"],"values":[["1970-01-01T00:00:00Z",3]]},{"name":"alert","columns":["time","value"],"values":[["1970-01-01T00:00:00.001Z",4]]}]}} {ID:id-agg Message:Received 1 events in the last 100ms. Details:message Time:1970-01-01 00:00:00.002 +0000 UTC Duration:2ms Level:CRITICAL Data:{"series":[{"name":"alert","columns":["time","value"],"values":[["1970-01-01T00:00:00.002Z",2]]}]}}]
	server_test.go:8775: unexpected topic events for aggregate topic:
		got
		{Link:{Relation:self Href:/kapacitor/v1preview/alerts/topics/tcp/events} Topic:tcp Events:[{Link:{Relation:self Href:/kapacitor/v1preview/alerts/topics/tcp/events/id-agg} ID:id-agg State:{Message:Received 1 events in the last 100ms. Details:message Time:1970-01-01 00:00:00.002 +0000 UTC Duration:2000000 Level:CRITICAL}}]}
		exp
		{Link:{Relation:self Href:/kapacitor/v1preview/alerts/topics/tcp/events} Topic:tcp Events:[{Link:{Relation:self Href:/kapacitor/v1preview/alerts/topics/tcp/events/id-agg} ID:id-agg State:{Message:Received 3 events in the last 100ms. Details:message
		message
		message Time:1970-01-01 00:00:00.002 +0000 UTC Duration:2000000 Level:CRITICAL}}]}

dupe of https://github.com/influxdata/kapacitor/issues/1366


Cannot delete Issues or silently delete comments

I am the repo owner of the link posted below. As you can see users are posting in the issues when I gave the guideline they shouldn't unless it's a bug with the software.
There is no delete button for the thread and there is no way to silently delete spam comments. Attempting to do any of this leaves the owner or collaborator looking as if they are attempting to hide something.
I am simply trying to maintain my project. Please let me know how I can delete the thread. I don't want to turn off the Issues section but it's either that or leave github...
https://github.com/moeiscool/Shinobi/issues/261

Are you looking to report an issue in the GitHub web interface itself? This repository is for a command-line client to GitHub.

my apologies :sweat_smile: i do what I want to stop. Yes it is about the interface, I will keep digging hopefully I strike gold soon.

Thanks @e-beach. @moeiscool: GitHub tries to combat spam as best as possible. Sometimes it takes a little bit until someone's account is flagged as spam and those threads removed. It helps if you navigate to someone's user account on GitHub and use the link to report them for spam.
If you have future questions or concerns about GitHub, please write to<EMAIL_ADDRESS>Thank you!


Can you extract the folder name it is under in Notes?

I have a large revision coming out that incorporates this feature.

The version I just pushed handles folders now. Closing.


Maven don't Build

Failed to execute goal on project webcam-capture-driver-gst1: Could not resolve dependencies for project com.github.sarxos:webcam-capture-driver-gst1:jar:0.3.12-SNAPSHOT: Failure to find org.freedesktop.gstreamer:gst1-java-core:jar:0.9-SNAPSHOT in http://sarxos.pl/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of ftp-repo has elapsed or updates are forced -> [Help 1]

Ah, damn, I forget to add it to the repo ;( To w/a this you can disable webcam-capture-driver-gst1 module in the pom.

This is fixed in https://github.com/sarxos/webcam-capture/commit/e3e92c78c2f3594ff646cb36ab43cff350544f0a


⚠ Bofrost.be has degraded performance

In 95bdd30, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 910 ms

Resolved: Bofrost.be performance has improved in 895956b after 8 minutes.


Go to page 1 when searching

When we start a search with the searchable element, we should go back to page 1

The bug is still there. The list goes empty if later page selected before search.

@VMBindraban

@doktordirk Can you re-open this?

Published in 0.8.2

Hi,
I still have a problem with that.
I have that binding:
<datatable page.bind='page' ...
<pager page.bind="page" ...
I have a label showing the page:
${pagination}
and a getter in my js file:
@computedFrom('page') get pagination() {     return 'Showing page ${this.page} of ${this.pages}.'; }
It works when I change page from the pager but not when doing a search.  Refresh occurs but page remain as-is.
Thanks.


[Bug]: Color chars show up in file logs

🔎 Search Terms
Winston color chars in log
The problem
I'm using morgan + winston and I have the following script for my local logger
const winston = require("winston");
const utils = require("utils");
const path = require("path");
const fs = require("fs");

const logFolder = path.resolve(__dirname, "../logs", (global.service?.id || "gs"));

const levels = {
    error: 0,
    warn: 1,
    info: 2,
    success: 3,
    http: 4,
    debug: 5,
    cheat: 6
};
const COLORS = {
    error: "red",
    warn: "yellow",
    info: "cyan",
    success: "green",
    http: "magenta",
    debug: "white",
    cheat: "redBG"
};

fs.mkdirSync(logFolder, { recursive: true }); // Create log folder if it doesn't exist
winston.addColors(COLORS); // Add colors

const level = global.gs?.LOG_LEVEL || global.config?.LOG_LEVEL || process.env.LOG_LEVEL || (utils.isDev() ? "debug" : "warn") || "debug";

const format = winston.format.combine(
    winston.format.timestamp({ format: "YYYY-MM-DD HH:mm:ss" }), // Date format
    winston.format.colorize({ all: true }), // All logs must have color
    // Define the format of the message with time, level and message
    winston.format.printf(
        (info) => `${info.timestamp} [${info.level}]: ${info.message}`,
    ),
);

const transports = [
    // Allow the use the console to print the messages
    new winston.transports.Console(),
    // Allow to write logs to file
    new winston.transports.File({
        filename: `${logFolder}/error.log`,
        level: "error",
    }, {
        filename: `${logFolder}/warn.log`,
        level: "warn",
    }, {
        filename: `${logFolder}/info.log`,
        level: "info",
    }, {
        filename: `${logFolder}/debug.log`,
        level: "debug",
    }, {
        filename: `${logFolder}/cheat.log`,
        level: "cheat",
    }, {
        filename: `${logFolder}/http.log`,
        level: "http",
    }),
    new winston.transports.File({ filename: `${logFolder}/all.log` })
];

const logger = winston.createLogger({
    level,
    levels,
    format,
    transports
});

module.exports = logger;

The issue is, when the logs are printed in console, they're all fine:

But when they are written to a file, they end up like this:
2023-01-02 17:04:20 [info]: Initalizing clients...
2023-01-02 17:04:23 [success]: Connected to Database client!
2023-01-02 17:04:23 [success]: Initalized all clients!
2023-01-02 17:04:23 [info]: Starting service JMCS...
2023-01-02 17:04:24 [success]: Started service JMCS on port 3000 successfully!

What version of Winston presents the issue?
v3.8.2
What version of Node are you using?
v16.18.0
If this worked in a previous version of Winston, which was it?
No response
Minimum Working Example
No response
Additional information
No response

Duplicates #2169; looks like the best immediate solution is to not apply the colorizing format for transport to file.

Duplicates #2169; looks like the best immediate solution is to not apply the colorizing format for transport to file.

Or use format.uncolorize()

Hi.
Sorry for necroposting, but mb this can help others.
This matches most of the ANSI escape codes, beyond just colors, including the extended VT100 codes, archaic/proprietary printer codes, etc.
You can use .replace to output text:
const yourMSG = console.log('YOUR TEXT WITH COLOR CODES');
var formatedMSG = yourMSG.replace(/[\u001b\u009b][[()#;?]*(?:[0-9]{1,4}(?:;[0-9]{0,4})*)?[0-9A-ORZcf-nqry=><]/g, '');
console.log(formatedMSG);


text component script path in example changed to kframe

I missed this PR, but I've updated it since. Thanks!


⚠ Fetchers has degraded performance

In 301e64a, Fetchers ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 432 ms

Resolved: Fetchers performance has improved in 47cd035.


[Bug] When i turn the mic on, the audio gets bad.

Android app

Device name: Moto g22
Device type: phone
Android version: 12
App version: ...
Script version: ...

Describe the bug
...
Screenshots/Videos
If applicable, add screenshots/videos to help explain your problem.

Does this still happen in v0.6.1?


Improved monitor ordering

Summary of the Pull Request
Here's my part of the code, take a look at it, then squash it and add it to your branch.

References

PR Checklist

[ ] Closes #xxx
[ ] CLA signed. If not, go over here and sign the CLA
[ ] Tests added/passed
[ ] Requires documentation to be updated
[ ] I've discussed this with core contributors already. If not checked, I'm ready to accept this work might be rejected in favor of a different grand plan. Issue number where discussion took place: #xxx

Detailed Description of the Pull Request / Additional comments

Validation Steps Performed

We can ask 2 more people to look at this code and then merge this first and then the main PR.


Adding a simple end-to-end test for the new Job launcher API

Changes:

Small fixes to new job launcher implementation
Adding a simple source (HelloWorldSource) for testing purposes and as a potentially very simple introduction to Gobblin.
Adding a small end-to-end test for instance driver

@pcadabam @ibuenros can you review?

Coverage increased (+0.6%) to 48.149% when pulling 569e60883f3a11f20069e80c652d506a24a358ca on chavdar:new_std_driver4 into 15b534721e0e7ad49080630b0418c55eaca105fc on linkedin:master.

LGTM

Coverage increased (+0.8%) to 48.295% when pulling 837bbae47a26e0cb0c5c94719abfea38d9a7e64e on chavdar:new_std_driver4 into 15b534721e0e7ad49080630b0418c55eaca105fc on linkedin:master.


[New project] WizardSwap

Project name: WizardSwap
Short summary: Non-custodial trading platform.
Homepage: https://www.wizardswap.io
Development: Private

WizardSwap.io is the simplest way to exchange Particl with other cryptocurrencies.

No sign-ups required.
Tor browser support (link).
Fixed pricing.
Live customer service.

Unlike many other swapping platforms out there, WizardSwap does not interact with any exchange order books so orders have no influence on any exchange prices. Instead it draws liquidity directly from localparticl.com users who have deposited funds and opted to enable swaps. Pricing is based on a global average plus the margins liquidity providers have set.

Merged & online. Thanks very much!


Archive sawtooth-ansible

This repo hasn't seen meaningful commits in over two years

In anticipation of archiving this repo, the content of this repo moved to - https://github.com/hyperledger/sawtooth-contrib/tree/master/ansible.
We should update the README here to point to that before/as we archive.

@vaporos I proposed an edit to the README - take a look?


In My NFT, NFT's description was mistaken for the collection's description

Done. Please review @vup2p


duplicate diagnostic item error

Does anyone encounter the following issue when opening a file from the standard library:

I asked also on rust-analyzer https://github.com/rust-lang/rust-analyzer/discussions/15041 and someone suggested that it might be because the std lib is loaded as a workspace through the lsp.
I'm using lazyvim with the following setup:
return {
  {
    "neovim/nvim-lspconfig",
    opts = {
      servers = {
        rust_analyzer = {},
      },
    },
    setup = {
      rust_analyzer = function(_, _)
        return true
      end,
    },
  },
  {
    "simrat39/rust-tools.nvim",
    dependencies = "neovim/nvim-lspconfig",
    config = function()
      local rt = require("rust-tools")

      rt.setup({
        server = {
          on_attach = require("lazyvim.util").on_attach(function(_, bufnr)
            -- Hover actions
            vim.keymap.set("n", "K", rt.hover_actions.hover_actions, { buffer = bufnr, desc = "Hover" })
            -- Code action groups
            vim.keymap.set(
              "n",
              "<Leader>ca",
              rt.code_action_group.code_action_group,
              { buffer = bufnr, desc = "Code Action" }
            )
          end),
        },
      })
    end,
  },
}

I think I found a clue in the nvim-lspconfig repo: https://github.com/neovim/nvim-lspconfig/blob/5da57456597ac2f25f20d6ecfae7b7c9cbd01fc6/lua/lspconfig/server_configurations/rust_analyzer.lua#L41-L44
It looks like there is custom logic for reusing an instance...

I have the same issue, is there any solution? set reuse_active to avoid booting the second instance?


Move Timestamp class from Firestore to Firebase Core

Move Timestamp class into FirebaseCore. FirebaseFirestore.Timestamp was changed to FirebaseCore.Timestamp.

Good to merge to main after July 8th.
It can merge to the release-11.0 branch before that.

Hi @paulb777 , just want to double check, I can merge to main branch after July 8th?

Yes - 10.29.0 is releasing and the release-11.0 branch has merged to main.
It looks like there are some conflicts. Let icore know if you have any questions about them.


refactor/subscription-components

Pull Request
📝 Description
Refactoring subscription functionality and updating dependencies
What changed?

Moved subscription form components to a dedicated directory
Updated package dependencies (added Zod for form validation)
Improved calculator and media list components
Updated publication and media data
Removed deprecated subscription components

📌 Additional Notes
This PR improves code organization by moving subscription-related components to a dedicated directory and adds form validation using Zod.
🔗 Related Issues

None

🔍 Type of Change

[ ] 🐛 Bug fix
[ ] ✨ New feature
[x] 💥 Breaking change (subscription component restructuring)
[ ] 📚 Documentation update
[x] 🎨 Style/UI update
[x] ♻ Code refactoring
[x] 📦 Dependency update
[ ] 🧪 Test update
[ ] 🔧 Configuration change

✅ Checklist
Code Quality

[x] 👀 I have performed a self-review
[x] 💬 I have added necessary comments
[x] ⚠ No new warnings or errors are generated
[x] ⚡ I have added/updated tests

Git Hygiene

[x] 🔍 My commits are small and have clear messages
[x] 🔀 I have rebased on the latest main branch
[x] 🧩 This PR is small and focused on a single change

🧪 Testing

[x] 👉 Manual testing

#83  👈 (View in Graphite)
development

This stack of pull requests is managed by Graphite. Learn more about stacking.


How to set a proxy for webdriver? Via command-line or capabilities?

I noticed that when running phantomjs with webdriver and a proxy from the command-line (phantomjs-1.9.7 --proxy=proxyhost:3128 --webdriver=33828 for instance), then my phantom sessions do not mention any use of the proxy:
[INFO  - 2014-08-05T13:51:48.042Z] Session [a4f0d400-1ca7-11e4-8775-2d27219bffd9] - Session.negotiatedCapabilities - {"browserName":"phantomjs","version":"1.9.7", "driverName":"ghostdriver", "driverVersion":"1.1.0", "platform":"linux-unknown-64bit", "javascriptEnabled":true, "takesScreenshot":false, "handlesAlerts":false, "databaseEnabled":false, "locationContextEnabled":false, "applicationCacheEnabled":false, "browserConnectionEnabled":false, "cssSelectorsEnabled":true, "webStorageEnabled":false, "rotatable":false, "acceptSslCerts":false, "nativeEvents":true,
"proxy":{"proxyType":"direct"},
"phantomjs.page.settings.userAgent":"Mozilla/5.0 (Windows NT 6.1; WOW64; rv:21.0) Gecko/20130330 Firefox/21.0","phantomjs.page.settings.javascriptCanOpenWindows":false,"phantomjs.page.settings.javascriptCanCloseWindows":false}
I assume this means the webdriver is already using the proxy, and then the phantom sessions through the webdriver do not need to use the proxy since it is already being used, but I just wanted to be sure and know whether I should rather:

stay as such and only set the proxy in command line?
forget about the command lien option and set the proxy in the capabilities for each session?
or even set it up in both places?

@kenju254 I must start the phantomjs with command line options, like --proxy=foo.bar:8080, which is really inconvenient and also confusing, as other browsers accepts proxy settings through the capabilities.

@OndraM Have you found a solution now?

@Accagain2014 and @OndraM i succeeded to get a solution to this . i must have forgotten to share

@kenju254  Can you share with us?

@boogheta  Have you solved this problem? This troubles me a lot now. I can't find a way.

@Accagain2014: As @OndraM said, you shouldn't trust the negotiatedCapabilities outputted in the log. If you run phantom from command line with the --proxy= option it does use it although the log do not say so.
If that troubles you and you want to be sure, you can test it by accessing via phantom+proxy a local server you run and check the IP in the log for instance.

@boogheta  I think it's a phantomjs problem, not the ghostdriver problem.
I use phantomjs --proxy=<IP_ADDRESS>:3128 test.js to check if check phantomjs, It returns a lot of errors.
So I don't think it's a webdriver or capabilities problem.
but I use curl -x <IP_ADDRESS>:3128 url, It works. That proves that my proxy works.
How to solve the problem? I know phantomjs-2.0.0 has a setProxy() function, but It hasn't binary file in Linux.
I use phantomjs 1.9.7

This proves your proxy works, not that your call with Phantom does not use it. You say you have errors, can you paste them? Maybe your problems rely in your test.js code?

@boogheta I just opened a issue https://github.com/ariya/phantomjs/issues/13463
The error I got:
SyntaxError: Parse error
SyntaxError: Parse error
ReferenceError: Can't find variable: $s
http://weixin.sogou.com/weixin?query=dsfsdf&fr=sgsearch&type=2&w=01019900&sut=1635&sst0=1438676010824&lkt=0%2C0%2C0:696
SyntaxError: Parse error
ReferenceError: Can't find variable: cutLength
http://weixin.sogou.com/weixin?query=dsfsdf&fr=sgsearch&type=2&w=01019900&sut=1635&sst0=1438676010824&lkt=0%2C0%2C0:854
http://weixin.sogou.com/weixin?query=dsfsdf&fr=sgsearch&type=2&w=01019900&sut=1635&sst0=1438676010824&lkt=0%2C0%2C0:855
ReferenceError: Can't find variable: cutLength
http://weixin.sogou.com/weixin?query=dsfsdf&fr=sgsearch&type=2&w=01019900&sut=1635&sst0=1438676010824&lkt=0%2C0%2C0:858
ReferenceError: Can't find variable: vrTimeHandle552write
http://weixin.sogou.com/weixin?query=dsfsdf&fr=sgsearch&type=2&w=01019900&sut=1635&sst0=1438676010824&lkt=0%2C0%2C0:858
SyntaxError: Parse error
ReferenceError: Can't find variable: cutLength
http://weixin.sogou.com/weixin?query=dsfsdf&fr=sgsearch&type=2&w=01019900&sut=1635&sst0=1438676010824&lkt=0%2C0%2C0:887
ReferenceError: Can't find variable: vrTimeHandle552write
http://weixin.sogou.com/weixin?query=dsfsdf&fr=sgsearch&type=2&w=01019900&sut=1635&sst0=1438676010824&lkt=0%2C0%2C0:887
ReferenceError: Can't find variable: cutLength
http://weixin.sogou.com/weixin?query=dsfsdf&fr=sgsearch&type=2&w=01019900&sut=1635&sst0=1438676010824&lkt=0%2C0%2C0:912
http://weixin.sogou.com/weixin?query=dsfsdf&fr=sgsearch&type=2&w=01019900&sut=1635&sst0=1438676010824&lkt=0%2C0%2C0:913
ReferenceError: Can't find variable: cutLength
http://weixin.sogou.com/weixin?query=dsfsdf&fr=sgsearch&type=2&w=01019900&sut=1635&sst0=1438676010824&lkt=0%2C0%2C0:916
ReferenceError: Can't find variable: vrTimeHandle552write
http://weixin.sogou.com/weixin?query=dsfsdf&fr=sgsearch&type=2&w=01019900&sut=1635&sst0=1438676010824&lkt=0%2C0%2C0:916
ReferenceError: Can't find variable: cutLength
http://weixin.sogou.com/weixin?query=dsfsdf&fr=sgsearch&type=2&w=01019900&sut=1635&sst0=1438676010824&lkt=0%2C0%2C0:939
http://weixin.sogou.com/weixin?query=dsfsdf&fr=sgsearch&type=2&w=01019900&sut=1635&sst0=1438676010824&lkt=0%2C0%2C0:940


Add harbor for private repository

ITNOA
https://goharbor.io/

Redis deployment completed

https://docs.redis.com/latest/ri/installing/install-k8s/


(Feature) #1933 bundle svg as components

Description
Configure svgr/webpack to bundle/load SVG files as react components.
Refactor SVG images to be rendered as react components.
Fix style and layout issues.
About #1933
How Has This Been Tested?
Everything should work as before. Especially images.
Checklist:

[x] PR title matches follow: (Feature|Bug|Chore) Task Name
[x] My code follows the style guidelines of this project
[x] I have followed all the instructions described in the initial task (check Definitions of Done)
[ ] I have performed a self-review of my own code
[x] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[x] I have added reference to a related issue in the repository
[x] I have added a detailed description of the changes proposed in the pull request. I am as descriptive as possible, assisting reviewers as much as possible.
[ ] I have added screenshots related to my pull request (for frontend tasks)
[ ] I have pasted a gif showing the feature.
[x] @mentions of the person or team responsible for reviewing proposed changes

Actually I am finished with this task.

@yaroslav-fedyshyn-nordwhale  mark this PR as the draft, please


[REQ] Switch Tenant UI Usability Improvements

I would like to suggest some usability improvements for the new Switch tenant UI (>=1.10)

We have a bunch of tenants (~50) and selecting one for an admin user (have access to all tenants) is not really easy. Can this list be sorted so that it would be easier to select which one we want to switch to?

Can we bring back tenant name type ahead search?

Finally, Can we add an option to remember the selected tenant option in the future?

I would like to add one more suggestion:
Is to reduce the number of actions needed to switch tenant.
Currently, I need to do 4 actions:

Click on the user icon to open the dropdown menu
Choose "Switch tenant"
Select tenant from the dropdown list
Click confirm

This actually may be done with 2 actions:

Choose "Switch tenant"
Select tenant from the dropdown list

Since I am doing it quite often during the day, it became a bit annoying.

Regarding 3. I would also like to be able to set a "remember my choice" checkbox so that I don't need to choose a tenant every time I log in. Since I have ~20 tenants but mostly use one.
(Also the most 👍 issue in this project is related https://github.com/opendistro-for-elasticsearch/security-kibana-plugin/issues/74 )

@kgcreative Would you like to take a look at the suggestions and consider include in next release?

We have a bunch of tenants (~50) and selecting one for an admin user (have access to all tenants) is not really easy. Can this list be sorted so that it would be easier to select which one we want to switch to?
Good advice, this will be easy.

Can we bring back tenant name type ahead search?
It is a little bit complex since we are using EuiSelect component from EUI. It doesn't support a search functionality.

Finally, Can we add an option to remember the selected tenant option in the future?
We have considered this before. The tech limit there is in previous version it has separate cookie key for auth and tenant, so after logout only clear the auth but keep the tenant. In kibana new plugin framework since 7.9, it only allows one cookie key, which means after logout it would be clear completely. Currently we are considering browser localStorage, while a security concern is that we can't use server side encryption for it so may expose to other user on the same host.

A workaround for now to quick navigate to a specific tenant is adding a bookmark in browser, by adding ?security_tenant={tenant name} to the end of url. After login you can click the bookmark to switch to that tenant.

@apsivam @oscarkraemer
We introduced an checkbox to remember selection in https://github.com/opendistro-for-elasticsearch/security-kibana-plugin/pull/650. It has been merged into main branch and will be available in next release (probably 1.13). Alternatively you can also build from source.
I'll keep this issue open since sorting and searching is still in queue.

Also, not to be forgotten from #519:

the plan is to skip the tenant selection if there is only one tenant available for the user

Also, not to be forgotten from #519:

the plan is to skip the tenant selection if there is only one tenant available for the user

I got some feedback from my users regarding the tenant selection menu.

It would be good if the admin would be able to easily customise the Choose a custom tenant text, for example through a variable in kibana.yml.
It would be nice if the tenant description could be visible in the Choose from custom drop down menu. Since the tenant name does not seem to descriptive enough.

@zengyan-amazon
I decided not to use tenant feature. But the dialog shows when user first login.
There's nothing I can except click Cancel.

@Hokwang this popup it's based on the value of a cookie (opendistro::security::tenant::saved). If the value is null the Open Distro Security for Kibana throws' the popup.
It's should be possible to disable this Pop-up by a parameter at kibana.yml and not only by this "hardcoded" cookie value.

@Hokwang this pop-up it's based on the value of a cookie (opendistro::security::tenant::saved). If the value is null the Open Distro Security for Kibana throws' the pop-up.
It's should be possible to disable this Pop-up by a parameter at kibana.yml and not only by this "hardcoded" cookie value.

Tenant selection UI has been revamped in recent versions, closing this issue as it seems like the points brought up (ordering, remembering selection, typeahead) have been added.


Import fails when nussl is imported from a relative local path

I haven't installed nussl, but I tried to import it from the same directory (I copied demo_nmf3.py to the parent directory). I have all the dependencies installed.
Edit: the problem appears even if nussl is installed as a package.
Traceback (most recent call last):
File "demo_nmf3.py", line 6, in
import nussl
File "/Volumes/Macintosh HD 2/Documents/git/nussl/nussl/init.py", line 6, in
from nussl.utils import *
File "/Volumes/Macintosh HD 2/Documents/git/nussl/nussl/utils.py", line 14, in
from audio_signal import AudioSignal
File "/Volumes/Macintosh HD 2/Documents/git/nussl/nussl/audio_signal.py", line 15, in
import nussl.separation.masks.mask_base
File "/Volumes/Macintosh HD 2/Documents/git/nussl/nussl/separation/init.py", line 10, in
from KAM import kam
File "/Volumes/Macintosh HD 2/Documents/git/nussl/nussl/separation/KAM.py", line 29, in
from nussl.audio_signal import AudioSignal
ImportError: cannot import name AudioSignal

mostly this: https://stackoverflow.com/questions/9252543/importerror-cannot-import-name-x#9252628
I can do a pull request and fix it

This has been fixed in the fixing_imports branch and will be propagated to the other branches shortly.