Display the combination detail as menu-item when there are multiple oneOf-objects in allOff-array.

Summary
When there are multiple oneOf-objects in allOff-array, there comes a menu of all the combinations. It's a very very nice feature.
If the item of menu can display the detail of the combination, it will be perfect!

Thanks very much!
The sourcecode:
{
  "openapi": "3.1.0",
  "info": {
    "title": "demo",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "http://localhost:3000"
    }
  ],
  "paths": {
    "/user": {
      "post": {
        "summary": "Create New User",
        "operationId": "post-user",
        "description": "Create a new user.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "oneOf": [
                      {
                        "$ref": "#/components/schemas/Name-Common"
                      },
                      {
                        "$ref": "#/components/schemas/Name-Simple"
                      }
                    ]
                  },
                  {
                    "oneOf": [
                      {
                        "$ref": "#/components/schemas/Address-Common"
                      },
                      {
                        "$ref": "#/components/schemas/Address-Singapore"
                      }
                    ]
                  },
                  {
                    "type": "object",
                    "properties": {
                      "gendor": {
                        "type": "string"
                      },
                      "birthday": {
                        "type": "string"
                      }
                    }
                  }
                ]
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "Name-Common": {
        "title": "Name-Common",
        "type": "object",
        "properties": {
          "first_name": {
            "type": "string"
          },
          "last_name": {
            "type": "string"
          }
        }
      },
      "Name-Simple": {
        "title": "Name-Simple",
        "type": "object",
        "properties": {
          "full_name": {
            "type": "string"
          }
        }
      },
      "Address-Common": {
        "title": "Address-Common",
        "type": "object",
        "properties": {
          "state": {
            "type": "string"
          },
          "city": {
            "type": "string"
          },
          "detail": {
            "type": "string"
          }
        }
      },
      "Address-Singapore": {
        "title": "Address-Singapore",
        "type": "object",
        "properties": {
          "detail": {
            "type": "string"
          }
        }
      }
    }
  }
}

Hello!
Our team recently took over the stewardship of the elements repo.
Due the volume of un-triaged issues that are pretty old and the time it would take us to get caught up on all of them, we kindly ask that you open up a new ticket if this is still an issue you're struggling with.
If you open a new issue please include:

clear steps to reproduce that include example OAS specs, application setup, code, etc.
the error or issue you are experiencing
the expected behavior

We will be triaging any new tickets in a timely manner.
Thank you for understanding!


Unable to reproduce DTU results

Hello Peng,
Thanks much for sharing this excellent work. I had a question regarding reproducing the DTU results. I compared the mesh distance of your pretrained model from groundtruth with the distance from the model I trained using this codebase. The numbers are significantly different.
In particular, I am looking at sequence 24.
To render the mesh and metrics, I used Data/pretrained_DTU.zip to get the latest checkpoint and used the following commands.
python exp_runner.py --mode validate_mesh --conf ./confs/wmask.conf --case dtu_scan24 --is_continue
Next, I cleaned the mesh using the clean_mesh.py script
python clean_mesh.py
and then computed the mesh distance using the Python script shared in https://github.com/jzhangbs/DTUeval-python
python eval.py --data meshes_clean/024.ply --scan 24 --mode mesh --dataset_dir SampleSet_Points/ --vis_out_dir visualize/
I followed a similar sequence, except I also trained the model on the data shared in data_DTU.zip instead of using your checkpoint.
python exp_runner.py --mode train --conf ./confs/wmask.conf --case dtu_scan24
Unfortunately the Chamfer distances are very different.
The results from your pretrained checkpoints are: mean_d2s=0.90, mean_s2d=0.75, over_all=0.82
While the results from retraining using the same confs etc. gives much worse results: mean_d2s=1.03, mean_s2d=0.87, over_all=0.95
I am also sharing the visualized diff maps, if that helps. The first image is rendered mesh from your model, the second image is from the model trained by me using the same confs as the codebase.
Is there a way to debug this issue. How do I reproduce the models as closely as yours.
Thanks!

I tested dataset scan65, and it was also higher (0.71, 0.51, avg: 0.61) than it should be(0.59).


Type-safe custom scalars (e.g. JSONB)

JSON objects in GraphQL are typically implemented as custom scalars.
It would be good if typed-graphql-builder had a type-safe way of dealing with them
Idea for consideration:

Add --generic-scalar option.

If you write --generic-scalar jsonb, TGB will insert
import {jsonb} from './scalars'

In addition, any time there is a jsonb output type field in the schema, instead of considering it to be a string, it will output the type:
class OutputType {
  jsonField: Field<'jsonField', jsonb<'OutputType.jsonField'>, ...>
}

This allows you to implement jsonb in ./scalars.ts however you like. You could, for example, default to unknown
type jsonb<X> = unknown

Then you could add definitions for known scalars as you go
type jsonb<X> = X extends 'OutputType.jsonField' ? MyJsonFieldType : unknown

We can extend this system with --namespaced-scalars and --normal-scalar
Namespaced generates
class OutputType {
  jsonField: Field<'jsonField', jsonb.OutputType.jsonField, ...>
}

while --normal-scalar simply generates
class OutputType {
  jsonField: Field<'jsonField', jsonb, ...>
}

(Not so great for jsonb, but useful for scalars that aren't that heterogenous)

Some thoughts on this issue:

Perhaps we should follow the graphql-codegen specification for defining the scalars (as a map)
This should be also configured for inputTypes

@ilijaNL I'm trying to figure out how it would look as a workaround for Hasura's lack of custom JSON scalars.

https://github.com/hasura/graphql-engine/issues/3451#issuecomment-1266245636

With a bit of correction on that, we would get:
schema-overrides.graphql
scalar MyJSONOverride

type MyOutputType {
  myScalar: MyJSONOverride
}

config.yaml
schema:
  - schema-overrides.graphql
  - http://localhost:8080/v1/graphql:
      headers:
        x-hasura-admin-secret: adminpassword
config:
  ignoreFieldConflicts: true
generates:
  ./api.s
    plugins:
    - typed-graphql-builder:
      scalars:
        MyJSONOverride: ./path/to/scalars.ts#MyJSONOverride

I suppose that's a valid way to go.
Mapping this onto typed-graphql-buider it looks like we need

An exported API function that takes a single schema's AST
The options object shold take a KV map for scalars conforming to the convention ScalarName: ./path#ExportName

One concern that I have here from a usability perspective is that it seems very tedious to configure every single scalar in the YAML file. To add a single scalar you need to

remember to add an override for every place it appears (the ball is in Hasura's court here, to be fair)
remember to add it to the YAML file
remember to add its type definition to scalars.ts

To me this feels like too much non-typechecked configurability for very little benefit.

What if I make a typo in the yaml file for the scalar name?

Answer: I don't get an error. Instead, my original scalar becomes the any type (https://www.the-guild.dev/graphqlcodegen)

I'd rather if the user would specify a single source for scalars (scalars.ts) - then they can re-import them from whatever other typescript file, e.g.
export { MyScalar } from './some/other/place'

In that case, TypeScript will do a much better job complaining about undefined scalars
One compromise that comes to mind would be the ability to specify a pattern:
  scalars:
    "JSON(?<name>.+)": "./scalars#JSON{name}"

In my opinion if you want to have strong typings on an object, you should skip json(b) column type at all and just add a new table with the structure. My scalar map for codegen is looking like this:
const sharedConfig = {
  skipTypename: true,
  avoidOptionals: {
    field: true,
    inputValue: false,
    object: true,
    defaultValue: false,
  },
  // avoidOptionals: true,
  exposeQueryKeys: true,
  scalars: {
    uuid: 'string',
    UUID: 'string',
    EmailAddress: 'string',
    JSONObject: 'Record<string, any>',
    bigint: 'number',
    timestamptz: 'string',
    time: 'string',
    Date: 'Date',
    json: 'Record<string, any>',
    jsonb: 'Record<string, any>',
  },
};

Not 100% correct since json and jsonb can also by an array

In my opinion if you want to have strong typings on an object, you should skip json(b) column type at all and just add a new table with the structure

There are cases where I don't want to do that

The objects are not divisible. The JSON object cannot live with a subset of its properties, it has to be constructed and / or updated as a whole. GraphQL allways allows us to select a subset of an object, except for scalars.
The objects have a recursive structure with arbitrary depth which is harder to represent or query via graphql, and would take a lot of effort to reconstruct if queried via a CTE stored procedure that returns a list
There are performance penalties to denormalization

Or cast it in typescript code yourself

Why do it manually all the time if that can be done automatically? :grinning:

Hmm you correct, there are some use cases. Then the best solution is to go with extending the (hasura) graphql schema with some custom types

I went for a flexible solution that's a superset of the scalars feature of graphql-codegen


Add example how to use Custom Translation models

Purpose

https://docs.microsoft.com/en-us/azure/cognitive-services/speech-service/speech-translation

These samples cover common scenarios like reading audio from a file or stream, continuous and single-shot
recognition/translation, and working with custom models.

This document mentions about Custom Models, but there seems no sample for Custom Translator. So I added the example.
Pull Request Type
What kind of change does this Pull Request introduce?

[ ] Bugfix
[x] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Documentation content changes
[ ] Other... Please describe:

Moved to #846 because this code does not cover some use scenario


Desk research of how accessibility intersects with navigation

What
Research which impact accessibility has in the realm of navigation: this could mean in ways of interacting with the navigation components (keyboard, screen-readers) or accessing the navigation (landmarks, screen-reader shortcuts...).
Why
The sooner we identify accessibility impacts, the better we can plan to create an accessible experience.

Maybe some things to dig into around duplicating content for navigation visibility at different viewport widths (eg. navigation inside collapsible menu on narrow viewports, but visible in a different element on desktop).

Speak to accessibility specialist when we are clearer on the scope.


Remove branches no longer needed or merged  [JIRA: RCS-312]

@linearregression Do you have a list of branches in mind?

as a starter：
https://github.com/basho/basho_bench/branches/stale


Add a main page link to github actions CD tutorial

depends on #545
This is a separate PR so that the link checker doesn't complain that
we're linking to a page that doesn't exist yet.


pull request for e2e test at 12/19/2016 16:26:19

: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.


EntrySet should be iterated when both the key and value are needed

Signed-off-by: Aurélien Pupier<EMAIL_ADDRESS>

R: @jbonofre

it brings performance value, it avoids to access and search two times in the map. it is making a visible effect for large Maps but i don't know which ones can be big or not.
Please note that there are a lot more of this in the codebase.

FYI, the compiler (since Java 1.7 update 40) can already optimize the iteration on the map. Further more, those maps are pretty small ;) Thanks anyway !

@jbonofre do you have a reference link for that? i would like to report it to Sonar in order that they don't report it as an issue if source is requiring Java 7

Let me find it. Anyway, I prefer your approach, it's clearer ;)


Retain original timeout behavior for compact

[ ] I added CHANGELOG entry for this change.
[ ] Change is not relevant to the end user.

Changes

See code comments.
Verification

cc @jnyi


Make mesh instance name in rendering

On line 254 in rendering.js I noticed that it is passing a name mesh.createInstance(name), but that name doesn't seem to be set in the function it is being called from.
I don't know if that might have a negative side effect in some cases, but it doesn't look correct to me.
Thanks

Great find, thanks!


Drop Hamcrest in favor of AssertJ

Hamcrest plugin has not been updated since 2012, the AssertJ plugin is a well-known and up-to-date replacement.
The other changes are indentation fixes and extracted versions for easier management of plugins.

For next year assignment I would highly recommend adopting AssertJ. Also since the diff view is hard to read, https://github.com/SERG-Delft/jpacman-framework/pull/80/files?w=1 shows a more readable diff.

@avandeursen This PR is still up-to-date and reviewable :smile:

Thanks!!


No bid version 1.2.6

Added support for SafeFrames and out-stream videos.

It appears you are committing the entire site, and an older version of it. Can you close this PR and create a new one with just the changes you are making to noBidAdapter.md.
Thanks


[BarcodeReaderD12] Linker error code : 1

Hello,
When I compile the BarcodeReader12 project I receive the error message below.
I added the frameworks (MLKitCommon, MLKitVision and MLKitBarcodeScanning) to the SDK Manager.
Error messages
[DCC Error] E2597 ld: warning: Could not find or use auto-linked framework 'GoogleUtilities'
Undefined symbols for architecture arm64:
Error: "OBJC_CLASS$_GPBEnumArray", referenced from:      objc-class-ref in iOS/MLKitBarcodeScanning.framework/MLKitBarcodeScanning;
Error: "__ZN11MLKITx_absl14kLogDebugFatalE", referenced from:      __ZN12_GLOBAL__N_117EdgeClippingLayer5BuildERKN9S2Builder5GraphEP7S2Error in iOS/MLKitBarcodeScanning.framework/MLKitBarcodeScanning;      _ZN2S214VertexCrossingERK7Vector3IdES3_S3_S3 in iOS/MLKitBarcodeScanning.framework/MLKitBarcodeScanning;      __ZN3gtl15dense_hashtableIiiN9__gnu_cxx4hashIiEENS_14dense_hash_setIiS3_NSt3__18equal_toIiEENS5_9allocatorIiEEE8IdentityENSA_6SetKeyES7_S9_E17check_use_deletedEPKc in iOS/MLKitBarcodeScanning.framework/MLKitBarcodeScanning;      _ZN3gtl18compact_array_baseIiNSt3__19allocatorIiEEE6InsertEPKiRS5 in iOS/MLKitBarcodeScanning.framework/MLKitBarcodeScanning;      _ZN9S2Polygon15InitToOperationEN18S2BooleanOperation6OpTypeERKN9S2Builder12SnapFunctionERKS_S7 in iOS/MLKitBarcodeScanning.framework/MLKitBarcodeScanning;      __ZNK19MutableS2ShapeIndex8Iterator7GetCellEv in iOS/MLKitBarcodeScanning.framework/MLKitBarcodeScanning;      __ZN19MutableS2ShapeIndex15AbsorbIndexCellERK12S2PaddedCellRKNS_8IteratorEPNSt3__16vectorIPKNS_11ClippedEdgeENS6_9allocatorISA_EEEEPNS_15InteriorTrackerEPNS_13EdgeAllocatorE in iOS/MLKitBarcodeScanning.framework/MLKitBarcodeScanning;      ...
Error: "__ZN11MLKITx_absl16numbers_internal16two_ASCII_digitsE", referenced from:      __ZNK11MLKITx_absl8LogEntry29AppendSeverityTimeAndThreadIdENS_13time_internal4cctz6detail10civil_timeINS1_10second_tagEEENS_8DurationEPNSt3__112basic_stringIcNS8_11char_traitsIcEENS8_9allocatorIcEEEE in iOS/MLKitBarcodeScanning.framework/MLKitBarcodeScanning;
Error: "__ZN11MLKITx_absl20raw_logging_internal17RegisterAbortHookEPFvPKciS2_S2_S2_E", referenced from:      __GLOBAL__sub_I_raw_logging.cc in iOS/MLKitBarcodeScanning.framework/MLKitBarcodeScanning;
Error: "__ZN11MLKITx_absl20raw_logging_internal17SafeWriteToStderrEPKcm", referenced from:      __ZN11MLKITx_absl16logging_internal10LogMessage5FlushEv in iOS/MLKitBarcodeScanning.framework/MLKitBarcodeScanning;      __Z18DebugWriteToStderrPKcPv in iOS/MLKitBarcodeScanning.framework/MLKitBarcodeScanning;
Error: "__ZN11MLKITx_absl20raw_logging_internal21RegisterLogPrefixHookEPFbNS_11LogSeverityEPKciPPcPiE", referenced from:      __GLOBAL__sub_I_raw_logging.cc in iOS/MLKitBarcodeScanning.framework/MLKitBarcodeScanning;
Error: "__ZN11MLKITx_absl20raw_logging_internal21internal_log_functionE", referenced from:      __ZNK11MLKITx_absl14flags_internal8FlagImpl33CheckDefaultValueParsingRoundtripEv in iOS/MLKitBarcodeScanning.framework/MLKitBarcodeScanning;      __ZNK11MLKITx_absl14flags_internal9FlagState7RestoreEv in iOS/MLKitBarcodeScanning.framework/MLKitBarcodeScanning;      __ZN11MLKITx_absl17internal_statusor6Helper26HandleInvalidStatusCtorArgEPNS_6StatusE in iOS/MLKitBarcodeScanning.framework/MLKitBarcodeScanning;      __ZN3$_08__invokeEv in iOS/MLKitBarcodeScanning.framework/MLKitBarcodeScanning;      __ZN3$_18__invokeEv in iOS/MLKitBarcodeScanning.framework/MLKitBarcodeScanning;      __ZN3$_28__invokeEv in iOS/MLKitBarcodeScanning.framework/MLKitBarcodeScanning;      __ZN11MLKITx_absl10CordForest11ConcatNodesEv in iOS/MLKitBarcodeScanning.framework/MLKitBarcodeScanning;      ...
Error: "__ZN11MLKITx_absl20raw_logging_internal27RegisterInternalLogFunctionEPFvNS_11LogSeverityEPKciRKNSt3__112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEE", referenced from:      __GLOBAL__sub_I_logging.cc in iOS/MLKitBarcodeScanning.framework/MLKitBarcodeScanning;
Error: "__ZN11MLKITx_absl20raw_logging_internal6RawLogENS_11LogSeverityEPKciS3_z", referenced from:      __ZN11MLKITx_absl5Mutex5BlockEPNS_13base_internal14PerThreadSynchE in iOS/MLKitBarcodeScanning.framework/MLKitBarcodeScanning;      __ZNK11MLKITx_absl5Mutex16AssertReaderHeldEv in iOS/MLKitBarcodeScanning.framework/MLKitBarcodeScanning;      __ZN11MLKITx_absl5Mutex12LockSlowLoopEPNS_15SynchWaitParamsEi in iOS/MLKitBarcodeScanning.framework/MLKitBarcodeScanning;      __ZN11MLKITx_abslL14PostSynchEventEPvi in iOS/MLKitBarcodeScanning.framework/MLKitBarcodeScanning;      __ZN11MLKITx_abslL23CheckForMutexCorruptionElPKc in iOS/MLKitBarcodeScanning.framework/MLKitBarcodeScanning;      __ZN11MLKITx_abslL7EnqueueEPNS_13base_internal14PerThreadSynchEPNS_15SynchWaitParamsEli in iOS/MLKitBarcodeScanning.framework/MLKitBarcodeScanning;      __ZNK11MLKITx_absl5Mutex10AssertHeldEv in iOS/MLKitBarcodeScanning.framework/MLKitBarcodeScanning;      ...
Error: "_ZN11MLKITx_absldvENS_7uint128ES0", referenced from:      _ZN11MLKITx_absl13time_internal12IDivDurationEbNS_8DurationES1_PS1 in iOS/MLKitBarcodeScanning.framework/MLKitBarcodeScanning;
ld: symbol(s) not found for architecture arm64
[DCC Fatal Error] F2588 Linker error code: 1 ($00000001)
Failed
Please indicate
Delphi Version: 12.2
Platform(s) that the issue occurs on: iOS
iPhoneOS 18.0
Steps To Reproduce
I just compiled the project.

I added the frameworks (MLKitCommon, MLKitVision and MLKitBarcodeScanning) to the SDK Manager.

You don't add these frameworks to the SDK Manager, they're added to the framework search path, as per the instructions.
Please read the entire instructions

I'm not sure if this would be the problem.
I redid all the steps as follows:

I deleted the iOS SDK in the SDK Manager and recreated it.
I added Swift support
I downloaded the Firebase iOS SDK 11.2.0
I created the Firebase environment variable, pointing to the Firebase iOS SDK path.
I unzipped the MLKitBarcodeScanning.framework.zip
I didn't create the FIREBASE conditional defines because I don't use the FCM implementation in the project.
I defined the Framework Search Path according to the documentation (ThirdParty\iOS and Firebase iOS SDK paths).
I added the ThirdParty\iOS folder and the Kastri dependencies to the Project Search Path.
I set the Minimum iOS version supported to 12.0
I added the values informed in the documentation for Options passed to the LD Linker.

However, when I compile the project I get the same error.
I'm using Delphi 12.2
On Mac I use XCode 16.0
The iPhoneSDK version is 18.0
Is there something I'm not considering?
In Delphi 12.1 with iPhoneSDK 17.2 I was using this feature without any problems.

I defined the Framework Search Path according to the documentation (ThirdParty\iOS and Firebase iOS SDK paths).

That (as well as some of the other properties) should already be in the demo. Is this your own project? Either way, can you attach the .dproj here? (rename the extension to .dproj.txt)

This is the demo project, but I saved it in another folder.
BarcodeReaderD12.dproj.txt

The project seems to be configured OK. Are you using the latest files from Kastri? They were updated last week

I pulled the repository and no updates were made. So I decided to delete the Kastri folder and sync again. This solved the problem.
Thank you very much for your attention and sorry for the inconvenience.


AWS s3 OSError: [Errno 9] Bad file descriptor during backup-push

Hello,
I am trying to get wal-e working inside a docker container. When I execute wal-e as the user postgres the backup succeeds, but i still get a couple a errors inside de traceback. It seems related to gevent and python 3.6. I 'am working with the PostgreSQL alpine 10.3 image and the latest versions of wal-e with the recommended versions of boto and gevent. Any guess why this pops-up ?
wal_e.main   INFO     MSG: starting WAL-E
DETAIL: The subcommand is "backup-push".
STRUCTURED: time=2018-05-09T10:23:06.763057-00 pid=1931
--- Logging error ---
Traceback (most recent call last):
File "/usr/lib/python3.6/logging/handlers.py", line 936, in emit
self.socket.send(msg)
File "/usr/lib/python3.6/site-packages/gevent/_socket3.py", line 372, in send
return _socket.socket.send(self._sock, data, flags)
OSError: [Errno 9] Bad file descriptor
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.6/logging/handlers.py", line 857, in _connect_unixsocket
self.socket.connect(address)
File "/usr/lib/python3.6/site-packages/gevent/_socket3.py", line 295, in connect
raise error(result, strerror(result))
FileNotFoundError: [Errno 2] No such file or directory
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.6/logging/handlers.py", line 939, in emit
self._connect_unixsocket(self.address)
File "/usr/lib/python3.6/logging/handlers.py", line 868, in _connect_unixsocket
self.socket.connect(address)
File "/usr/lib/python3.6/site-packages/gevent/_socket3.py", line 295, in connect
raise error(result, strerror(result))
FileNotFoundError: [Errno 2] No such file or directory
Call stack:
File "/usr/bin/wal-e", line 11, in
load_entry_point('wal-e==1.1.0b1', 'console_scripts', 'wal-e')()
File "/usr/lib/python3.6/site-packages/wal_e/cmd.py", line 586, in main
detail='The subcommand is "{0}".'.format(rendered))
File "/usr/lib/python3.6/site-packages/wal_e/log_help.py", line 200, in info
self.log(logging.INFO, *args, **kwargs)
File "/usr/lib/python3.6/site-packages/wal_e/log_help.py", line 189, in log
*args, **kwargs)
Message: 'MSG: starting WAL-E\nDETAIL: The subcommand is "backup-push".\nSTRUCTURED: time=2018-05-09T10:23:06.763057-00 pid=1931'
Arguments: ()
wal_e.operator.backup INFO     MSG: start upload postgres version metadata
DETAIL: Uploading to s3://postgresswalle/basebackups_005/base_00000001000000000000000A_00000040/extended_version.txt.
STRUCTURED: time=2018-05-09T10:23:07.344872-00 pid=1931
--- Logging error ---
Traceback (most recent call last):
File "/usr/lib/python3.6/logging/handlers.py", line 936, in emit
self.socket.send(msg)
File "/usr/lib/python3.6/site-packages/gevent/_socket3.py", line 372, in send
return _socket.socket.send(self._sock, data, flags)
OSError: [Errno 9] Bad file descriptor
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.6/logging/handlers.py", line 857, in _connect_unixsocket
self.socket.connect(address)
File "/usr/lib/python3.6/site-packages/gevent/_socket3.py", line 295, in connect
raise error(result, strerror(result))
FileNotFoundError: [Errno 2] No such file or directory
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.6/logging/handlers.py", line 939, in emit
self._connect_unixsocket(self.address)
File "/usr/lib/python3.6/logging/handlers.py", line 868, in _connect_unixsocket
self.socket.connect(address)
File "/usr/lib/python3.6/site-packages/gevent/_socket3.py", line 295, in connect
raise error(result, strerror(result))
FileNotFoundError: [Errno 2] No such file or directory
Call stack:
File "/usr/bin/wal-e", line 11, in
load_entry_point('wal-e==1.1.0b1', 'console_scripts', 'wal-e')()
File "/usr/lib/python3.6/site-packages/wal_e/cmd.py", line 629, in main
pool_size=args.pool_size)
File "/usr/lib/python3.6/site-packages/wal_e/operator/backup.py", line 197, in database_backup
**kwargs)
File "/usr/lib/python3.6/site-packages/wal_e/operator/backup.py", line 482, in _upload_pg_cluster_dir
.format(extended_version_url=extended_version_url)))
File "/usr/lib/python3.6/site-packages/wal_e/log_help.py", line 200, in info
self.log(logging.INFO, *args, **kwargs)
File "/usr/lib/python3.6/site-packages/wal_e/log_help.py", line 189, in log
*args, **kwargs)
Message: 'MSG: start upload postgres version metadata\nDETAIL: Uploading to s3://postgresswalle/basebackups_005/base_00000001000000000000000A_00000040/extended_version.txt.\nSTRUCTURED: time=2018-05-09T10:23:07.344872-00 pid=1931'
Arguments: ()
wal_e.operator.backup INFO     MSG: postgres version metadata upload complete
STRUCTURED: time=2018-05-09T10:23:07.386090-00 pid=1931
--- Logging error ---
Traceback (most recent call last):
File "/usr/lib/python3.6/logging/handlers.py", line 936, in emit
self.socket.send(msg)
File "/usr/lib/python3.6/site-packages/gevent/_socket3.py", line 372, in send
return _socket.socket.send(self._sock, data, flags)
OSError: [Errno 9] Bad file descriptor
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.6/logging/handlers.py", line 857, in _connect_unixsocket
self.socket.connect(address)
File "/usr/lib/python3.6/site-packages/gevent/_socket3.py", line 295, in connect
raise error(result, strerror(result))
FileNotFoundError: [Errno 2] No such file or directory
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.6/logging/handlers.py", line 939, in emit
self._connect_unixsocket(self.address)
File "/usr/lib/python3.6/logging/handlers.py", line 868, in _connect_unixsocket
self.socket.connect(address)
File "/usr/lib/python3.6/site-packages/gevent/_socket3.py", line 295, in connect
raise error(result, strerror(result))
FileNotFoundError: [Errno 2] No such file or directory
Call stack:
File "/usr/bin/wal-e", line 11, in
load_entry_point('wal-e==1.1.0b1', 'console_scripts', 'wal-e')()
File "/usr/lib/python3.6/site-packages/wal_e/cmd.py", line 629, in main
pool_size=args.pool_size)
File "/usr/lib/python3.6/site-packages/wal_e/operator/backup.py", line 197, in database_backup
**kwargs)
File "/usr/lib/python3.6/site-packages/wal_e/operator/backup.py", line 487, in _upload_pg_cluster_dir
logger.info(msg='postgres version metadata upload complete')
File "/usr/lib/python3.6/site-packages/wal_e/log_help.py", line 200, in info
self.log(logging.INFO, *args, **kwargs)
File "/usr/lib/python3.6/site-packages/wal_e/log_help.py", line 189, in log
*args, **kwargs)
Message: 'MSG: postgres version metadata upload complete\nSTRUCTURED: time=2018-05-09T10:23:07.386090-00 pid=1931'
Arguments: ()
wal_e.worker.upload INFO     MSG: beginning volume compression
DETAIL: Building volume 0.
STRUCTURED: time=2018-05-09T10:23:07.431735-00 pid=1931
--- Logging error ---
Traceback (most recent call last):
File "/usr/lib/python3.6/logging/handlers.py", line 936, in emit
self.socket.send(msg)
File "/usr/lib/python3.6/site-packages/gevent/_socket3.py", line 372, in send
return _socket.socket.send(self._sock, data, flags)
OSError: [Errno 9] Bad file descriptor
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.6/logging/handlers.py", line 857, in _connect_unixsocket
self.socket.connect(address)
File "/usr/lib/python3.6/site-packages/gevent/_socket3.py", line 295, in connect
raise error(result, strerror(result))
FileNotFoundError: [Errno 2] No such file or directory
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.6/logging/handlers.py", line 939, in emit
self._connect_unixsocket(self.address)
File "/usr/lib/python3.6/logging/handlers.py", line 868, in _connect_unixsocket
self.socket.connect(address)
File "/usr/lib/python3.6/site-packages/gevent/_socket3.py", line 295, in connect
raise error(result, strerror(result))
FileNotFoundError: [Errno 2] No such file or directory
Call stack:
File "/usr/lib/python3.6/site-packages/gevent/greenlet.py", line 534, in run
result = self._run(*self.args, **self.kwargs)
File "/usr/lib/python3.6/site-packages/wal_e/worker/upload.py", line 90, in call
detail='Building volume {name}.'.format(name=tpart.name))
File "/usr/lib/python3.6/site-packages/wal_e/log_help.py", line 200, in info
self.log(logging.INFO, *args, **kwargs)
File "/usr/lib/python3.6/site-packages/wal_e/log_help.py", line 189, in log
*args, **kwargs)
Message: 'MSG: beginning volume compression\nDETAIL: Building volume 0.\nSTRUCTURED: time=2018-05-09T10:23:07.431735-00 pid=1931'
Arguments: ()
wal_e.worker.upload INFO     MSG: begin uploading a base backup volume
DETAIL: Uploading to "s3://postgresswalle/basebackups_005/base_00000001000000000000000A_00000040/tar_partitions/part_00000000.tar.lzo".
STRUCTURED: time=2018-05-09T10:23:08.257960-00 pid=1931
--- Logging error ---
Traceback (most recent call last):
File "/usr/lib/python3.6/logging/handlers.py", line 936, in emit
self.socket.send(msg)
File "/usr/lib/python3.6/site-packages/gevent/_socket3.py", line 372, in send
return _socket.socket.send(self._sock, data, flags)
OSError: [Errno 9] Bad file descriptor
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.6/logging/handlers.py", line 857, in _connect_unixsocket
self.socket.connect(address)
File "/usr/lib/python3.6/site-packages/gevent/_socket3.py", line 295, in connect
raise error(result, strerror(result))
FileNotFoundError: [Errno 2] No such file or directory
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.6/logging/handlers.py", line 939, in emit
self._connect_unixsocket(self.address)
File "/usr/lib/python3.6/logging/handlers.py", line 868, in _connect_unixsocket
self.socket.connect(address)
File "/usr/lib/python3.6/site-packages/gevent/_socket3.py", line 295, in connect
raise error(result, strerror(result))
FileNotFoundError: [Errno 2] No such file or directory
Call stack:
File "/usr/lib/python3.6/site-packages/gevent/greenlet.py", line 534, in run
result = self._run(*self.args, **self.kwargs)
File "/usr/lib/python3.6/site-packages/wal_e/worker/upload.py", line 106, in call
detail='Uploading to "{url}".'.format(url=url))
File "/usr/lib/python3.6/site-packages/wal_e/log_help.py", line 200, in info
self.log(logging.INFO, *args, **kwargs)
File "/usr/lib/python3.6/site-packages/wal_e/log_help.py", line 189, in log
*args, **kwargs)
Message: 'MSG: begin uploading a base backup volume\nDETAIL: Uploading to "s3://postgresswalle/basebackups_005/base_00000001000000000000000A_00000040/tar_partitions/part_00000000.tar.lzo".\nSTRUCTURED: time=2018-05-09T10:23:08.257960-00 pid=1931'
Arguments: ()
wal_e.worker.upload INFO     MSG: finish uploading a base backup volume
DETAIL: Uploading to "s3://postgresswalle/basebackups_005/base_00000001000000000000000A_00000040/tar_partitions/part_00000000.tar.lzo" complete at 19366.7KiB/s.
STRUCTURED: time=2018-05-09T10:23:08.456210-00 pid=1931
--- Logging error ---
Traceback (most recent call last):
File "/usr/lib/python3.6/logging/handlers.py", line 936, in emit
self.socket.send(msg)
File "/usr/lib/python3.6/site-packages/gevent/_socket3.py", line 372, in send
return _socket.socket.send(self._sock, data, flags)
OSError: [Errno 9] Bad file descriptor
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.6/logging/handlers.py", line 857, in _connect_unixsocket
self.socket.connect(address)
File "/usr/lib/python3.6/site-packages/gevent/_socket3.py", line 295, in connect
raise error(result, strerror(result))
FileNotFoundError: [Errno 2] No such file or directory
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.6/logging/handlers.py", line 939, in emit
self._connect_unixsocket(self.address)
File "/usr/lib/python3.6/logging/handlers.py", line 868, in _connect_unixsocket
self.socket.connect(address)
File "/usr/lib/python3.6/site-packages/gevent/_socket3.py", line 295, in connect
raise error(result, strerror(result))
FileNotFoundError: [Errno 2] No such file or directory
Call stack:
File "/usr/lib/python3.6/site-packages/gevent/greenlet.py", line 534, in run
result = self._run(*self.args, **self.kwargs)
File "/usr/lib/python3.6/site-packages/wal_e/worker/upload.py", line 154, in call
.format(url=url, kib_per_second=kib_per_second)))
File "/usr/lib/python3.6/site-packages/wal_e/log_help.py", line 200, in info
self.log(logging.INFO, *args, **kwargs)
File "/usr/lib/python3.6/site-packages/wal_e/log_help.py", line 189, in log
*args, **kwargs)
Message: 'MSG: finish uploading a base backup volume\nDETAIL: Uploading to "s3://postgresswalle/basebackups_005/base_00000001000000000000000A_00000040/tar_partitions/part_00000000.tar.lzo" complete at 19366.7KiB/s. \nSTRUCTURED: time=2018-05-09T10:23:08.456210-00 pid=1931'
Arguments: ()
NOTICE:  WAL archiving is not enabled; you must ensure that all required WAL segments are copied through other means to complete the backup

Aha, I will check it tomorrow. I know it's broken on Python 3.6 , I used the commits for those bugs and changed the code inside my docker image to make it work.

@martyanov  Thanks, that was it. I pulled the master with the latest fixes but this is still not functioning correctly without locally correcting the code to make it work with python 3.6.

@stayfrostnl May be there is another issue. We are successfully running several PostgreSQL clusters with wal-e without any issues. I haven't tested current master branch, though.

I managed to get it working as well. I build an docker image with wal-e and postgreSQL and during the build of that image I have replaced the broken code. It works great and stores its backups in Minio. But i would prefer a working master, so thats why is was asking.


fake exp drops on 0 hits

can there be a feature to show an exp drop with the number 0 if you splash/hit 0, it would be really nice for things like olm and woox walking vorkath

Any update on this, I think it would be useful and hopefully easy to implement.

I think a better solution which could work would be to add an option to use a dynamic delay, based on the gap between your two most recent XP drops. That would cover most normal situations (casting spells / using powered staves at a regular interval, basically all forms of range and melee combat, many skilling activities, etc.)

@Nightfirecat While a dynamic delay could be a nice addition to the plugin, so users don't have to manually set their tick preference, I don't think it would work for the use case described in the issues here.
I understand your suggestion as:

get amount of ticks between the two most recent XP drops
while the current XP drop is for the same skill and has the same amount of ticks between the next XP drop, do a fake XP drop
update the values if they're not the same

A tick based approach wouldn't be effective. If the player attacks with a 4 tick weapon, but walks around for 8 ticks (or however much) without doing damage, this approach would still cause fake XP drops.
Let me know if I'm misunderstanding anything. If this is still something that Runelite would be interested in adding, unrelated to the information in this thread, I would also be happy to work on a PR for that.

I'm basing my comment off the original request:

can there be a feature to show an exp drop with the number 0 if you splash/hit 0, it would be really nice for things like olm and woox walking vorkath

These activities wouldn't involve walking around for indeterminate amounts of time, they would have regular intervals at which xp drops (or fake xp drops, in the case of hitting 0s) should appear. Given the ambiguities which exist with this use case--what happens when the monster you're fighting dies? what should happen if you miss a tick and one interval is slightly longer than the rest? what happens if you switch to a faster weapon for one attack then back to a slower one, would it continue to play fake xp drops at a shorter interval? how would that be detected?--it's possible we don't want to look into adding this feature as I'm not sure it's likely we would get it to a state where the users who want it would be happy with it.

Hmm, I may be arguing for the same position as you are. Thank you for the additional information/clarification.


Allow tweaking host network setting independently of the Service type

Sometimes you want the ClusterIP with the host network, or NodePort without the host network (like in our case). These settings should not be coupled together.

Seconded, I use NodePort and do not want host networking. I manually edited the chart for now, but this was a surprising and frustrating thing to debug


The Giant v2 rewrite issue

Issue filed to thing about and flesh out ideas about a possible v2 (re?)write. Keep stuff that is good; throw away things that are bad. I'm not a fan of a big bang move; or something that different for the sake of being different.

One general thing is probably that much more should be pluggeable by means of having an interface. The newer dns transport layer also show the the net/http/RoundTripper interface, instead of the simple Net member in Client.

Server side is OK(ish?), but can also use a more pluggeable interface. dns.ResponseWriter may need to give guarantees about concurrent use (out-of-order TCP handling) brings this up

Another discussion point would be if we want to keep wireformat around

Looks a x/net/dns and see what's happening there.

@miekg Just a quick note, on the subject of out-of-order TCP handling, Hijack will need to be eliminated. (Consider http.Hijacker is only supported for HTTP/1.x, which has no support pipelining in net/http, and isn't supported for HTTP/2).

Hijack is now used for AXFR and other longer running ops on TCP. That prolly needs a bit of a rethink

@miekg Are there examples of how that's being done in the wild? I've been trying to shoe-horn #646 into #653 and the two stumbling blocks are Close and Hijack, I don't think it's really possible to solve #646 without either eliminating those two methods or changing their semantics.

[ Quoting<EMAIL_ADDRESS>in "Re: [miekg/dns] The Giant v2 rewrit..." ]

@miekg Are there examples of how that's being done in the wild? I've been trying to shoe-horn #646 into #653 and the two stumbling blocks are Close and Hijack, I don't think it's really possible to solve #646 without either eliminating those two methods or changing their semantics.

I do this in coredns' secondary code, Hijack to later close - not sure how
useful/needed this actually is.

Coming back to hijack; there needs a way to say I've to this incoming Conn, and the caller will later close it when it is done sending all the data (which can be minutes).
Also it may make sense to start a v2 branch and start playing around a bit
As mentioned on a PR; the dns.Conn should probably go if we can make dns.Client sufficiently flexible
All functions should get a context.Context (if dealing with network)
There should be a bunch of callbacks in the Server for when message fail to unpack and others
Implement roundtripper and borrow the udp/tcp conn tracking from coredns's forward plugin

Roundtripper can be done in the current code base; but maybe we should open an v2 branch and hack a bit on it?

Even if we have a troundtripper I need to double check in the http package if that would automatically means the server also supports it.

@miekg This library should probably also be ported from a vendor solution to go.mod. That might be worth doing now, I’m not sure how much work that might be to port and maintain. (It may well make building v2 easier).

[ Quoting<EMAIL_ADDRESS>in "Re: [miekg/dns] The Giant v2 rewrit..." ]

@miekg This library should probably also be ported from a vendor solution to go.mod. That might be worth doing now, I’m not sure how much work that might be to port and maintain. (It may well make building v2 easier).

Yes, totally. I still need to play with vgo myself. Also considering our 2 major
releases supported, we might need to wait until 1.12

@miekg I haven't used vgo/go-modules yet, but I did follow along with the development of it and go1.10.3 (with https://github.com/golang/go/issues/25069) should have minimal backward compatibility support. There should be no problem adding module support and keeping backward compatibility, so I don't think we need to wait to go1.12.

Another: all constants should be type-safe and not uint8s or untyped.

I'd really like to see the handling of domain names changed. Currently string is used, with the presentation form, and the handling of things like escaping is ad-hoc and all over the place (it differs in a several places). I'd like to propose we use a type for domain names, either type Name string or what x/net/dns/dnsmessage uses ("It is used instead of strings to avoid allocations."):
type Name struct {
    Data   [nameLen]byte
    Length uint8
}

Where we (and x/net/dns/dnsmessage) use the presentation format for the domain (including escaping which can cause non-optimal compression†), I'd like our Name to be in wire format. This eliminates the ambiguity of escaping and moves all the formatting and parsing of domain names into a single place. It would simplify, and speed up, packing and comparing names (NextLabel becomes much simpler and faster).
So our name would be stored as:
"www.example.org." -> "\x03www\x07example\x03org\x00"

That would make packing simply a search for compression points and then a copy.
†: "a.example.org" and "a.ex\097mple.org" are the same name, but will end up as different entries in the compression map. Escaping is also the cause of several differences (bugs) between the packing code and the compressed Len code.

Yes and no.
So.. this has some history. When developing ldns back in the day we opted for
wireformat. This meant you need to reimplement the string library to make it
work correctly. Which in C is not too bad, because you don't have strings
anyway.
I choose not to do this for this lib, so "a" + "." + "example.org." will work.
Yes this puts enormous effort upon us (maintainers) to make this work properly,
but the trade-off is just 'strings' for our users.
Was this the correct choice? Maybe? No? Yes? Did this make the API easy, yes.
I think the killer usability feature of this library is/has been the use of
native types. Would I do it again... Maybe...
Fiddling and questioning this is perfectly valid; but you're creating a different
beast.
--
Miek Gieben

PackDomainName and PackRR should use an opaque internal type for the compression map like type CompressionMap struct { m map[string]int }. If this wasn’t public (it’s not really safe for an external caller to modify it), then we could safely change its type of implemtation.
In particular replacing map[string]int with map[string]uint16 would see a 25% reduction in per-entry memory usage. ((16+2)/(16+8) = 0.75).
I have an idea how this might be possible with the existing implementation. I’ll try that out, but it can’t help other calls.

closing, someone might re-open when actually work is done


Fetch only webpack-contrib repositories

The loader/plugin repository locations have changed again: Now all relevant repositories are in the webpack-contrib project.
At the moment, https://webpack.js.org/loaders/ does not list any loader.

I fixed this separately. It takes a peek at both webpack and webpack-contrib now although we can probably drop the webpack org at some point if any plugins/loaders won't be maintained there. But they are there as a fallback for now.


fix(test): OL 8.7 is unsupported for kURL version v2022.08.23-0

What this PR does / why we need it:
Fix testgrid test, Cust 1 - Migrate from Rook+OpenEBS 1.6.0 to OpenEBS 3.3.0 (Kubernetes 1.19.x to 1.21.x) in the daily storage migration by marking it Unsupported for Oracle Linux 8x.
https://testgrid.kurl.sh/run/STAGING-daily-storage-migration-8726614-2023-04-11T01:27:46Z?kurlLogsInstanceId=tzvpapoamucslcpo&nodeId=tzvpapoamucslcpo-initialprimary#L7854

Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:

Steps to reproduce

Does this PR introduce a user-facing change?

Does this PR require documentation?

Should we not just add Oracle Linux 8.7 to the supported OSes check?


Website Issue

When trying to view I get a 403 error
To clarify the web/domain is https://pump2status.net/

You don't have permission to access / on this server.

Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.```

Can confirm; assigning @evanp as this is a deployment issue.

Whoops, don't have write access to this one apparently. @cwebber can you assign Evan? Cheers!


Added CredentialsProvider to Zeebe client.

Added CredentialsProvider to ZeebeClient with which any kind of custom headers can be added to the request headers, similarly to the Java and Go implementations. The introduction of a CredentialsProvider was necessary because the current solutions (Builder.UseAccessToken() & Builder.UseAccessTokenSupplier()) only support "Bearer" authorization.

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


SP5: Remove OpenTK

OpenTK was added to allow OpenGL plottables (#2565), but OpenGL plottables have caused some confusing issues (#3008, #3007, #2950), and they have minimal performance improvements over the standard plottables.
OpenTK throws warnings like this frequently too:

Warning	NU1701	Package 'OpenTK 3.1.0' was restored using '.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4.7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8, .NETFramework,Version=v4.8.1' instead of the project target framework 'net8.0'. This package may not be fully compatible with your project.

This issue will track removing OpenTK, FormsPlotGL, and WpfPlotGL from the standard control packages. This functionality may get added back into separate packages, or maintained here for extremely advanced users.

Actually, OpenTK is a dependency of SkiaSharp.Views.WindowsForms and SkiaSharp.Views.WPF so there's not much that can be done.
<!-- ignore warnings about OpenTK getting restored restored using .NET Framework -->
<NoWarn>NU1701</NoWarn>

How much do I need to worry about those warnings about those libraries not being fully compatible with .net 8?

For this issue: https://github.com/ScottPlot/ScottPlot/issues/3262#issue-2092824377
How much should I be worried about these warning messages from the compiler?


Terminate lrauv-application cleanly

Expected behavior
lrauv-application should terminate cleanly on exit or quit commands.
Actual behavior
Currently, the lrauv-application does not terminate cleanly when running with Ignition. This only happens when running with Ignition.
When quit or exit is issued, the command prompt hangs:
> quit
>

Ctrl+C is needed to terminate the program.
Initial investigation found that ign-transport has a singleton node that is not meant to be terminated, and the destructors are clean.
There could be a mismatch in expectations, where ign-transport does not intend to terminate, but the lrauv-application's tear-down procedure expects all threads to terminate and waits for the ign-transport thread to merge, which never happens.
Who even cares
Clean termination is useful for automated tests such as in osrf/lrauv_private#82, which are currently force-terminating the program.
It is also useful to know when all the log files are written and closed properly, which is guaranteed on a clean termination.
Suggestions of how to start
@caguero and @braanan know better where exactly the lines are in the code in ign-transport and lrauv-application, respectively.

Here's the upstream issue: https://github.com/ignitionrobotics/ign-transport/issues/101

Wow, I think that issue was forgotten, because it never came up when we first looked into the issue.

I spent some time looking into it today. Not getting rid of the singleton completely, but tried to add a helper function to terminate all threads. After a couple hours I gave up :upside_down_face:

Thanks for sharing and taking a look. I also tried creating the transport context on the heap and actively deleting in the destructor. That didn't work. The next thing I'd like to verify is if the issue happens when we only have one transport instance in the app - one thing we could try is creating a transport singleton in the application with accessor functions like we do with our LCM instance.

This issue is resolved following the removal of pthread_exit in lrauv-application main.


Avoid linking AO aux tables to extension

Avoid linking AO aux tables to extension
Unlike TOAST tables, AO aux tables are linked to extension during its creation.
When table is dropped from extension using ALTER, aux tables are left as
extension dependencies. It means we can't DROP a table after that, because AO
aux tables are still used by extension. In other words, this behavior makes
impossible to DROP AO table that was created by extension without extension
DROP.
The goal of the patch is to change this behavior, allowing to DROP a table.
Unnecessary dependencies are now not created in heap_create_with_catalog(). The
behavior is the same as for TOAST tables, which are aux tables too. The
dependency created in CreateAOAuxiliaryTable() is enough.
The patch contains a test that describes target behavior.
This is a backport of dfe49e33d2c8ef04db1e511cb979fe1bb86bb805. The test was
changed as 6x has no test_ext* extensions. To achieve the same result, new test
extension was made.

Allure report https://allure.adsw.io/launch/68638

Failed job Resource group isolation tests on x86_64: https://gitlab.adsw.io/arenadata/github_mirroring/gpdb/-/jobs/1259716

Failed job Resource group isolation tests on ppc64le: https://gitlab.adsw.io/arenadata/github_mirroring/gpdb/-/jobs/1259717

Allure report https://allure.adsw.io/launch/68803

Failed job Resource group isolation tests on x86_64: https://gitlab.adsw.io/arenadata/github_mirroring/gpdb/-/jobs/1271570

Failed job Resource group isolation tests on ppc64le: https://gitlab.adsw.io/arenadata/github_mirroring/gpdb/-/jobs/1271571

Allure report https://allure.adsw.io/launch/69079

Failed job Resource group isolation tests on x86_64: https://gitlab.adsw.io/arenadata/github_mirroring/gpdb/-/jobs/1284045

Failed job Resource group isolation tests on ppc64le: https://gitlab.adsw.io/arenadata/github_mirroring/gpdb/-/jobs/1284047

Failed job Behave tests on x86_64: https://gitlab.adsw.io/arenadata/github_mirroring/gpdb/-/jobs/1284043


⚠ Bofrost.at has degraded performance

In 778a84c, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1296 ms

Resolved: Bofrost.at performance has improved in 904f20e.


Testing

See https://github.com/cchantep/acolyte/tree/10m-anorm-tutorial

Testing for SqlRunnerwas achieve in PR #13. Since done, i'm closing this one


#16567 Support Apache Kyuubi (Incubating)

Hi community,
This is Cheng from Apache Kyuubi (Incubating) community, and this PR proposes to add support in DBeaver for Apache Kyuubi (Incubating).
Kyuubi[1] a distributed and multi-tenant gateway to provide serverless SQL on lakehouses, and Kyuubi provides a HiveServer2 compatible thrift API, so the support is simple, I refer the Apache Spark Thrift Server to change the xml configuration and add the icons file.
User can connect Kyuubi by using Hive JDBC driver, and Kyuubi provides it's own JDBC driver to unlock more functionalities, e.g. Hive JDBC driver supports only the default catalog, but Kyuubi JDBC driver supports multi-catalogs.
[1] https://kyuubi.apache.org/

+1 for supporting the Kyuubi connector!

Hi @E1izabeth and @tati-kru, I notice the previous commit comments violate the check rule, I created an issue #16567 and updated the commit comments, please take a look when you have time :)

Sorry, I have no idea why "Commit Message Validation" fails consistently, I think the commit message should meet the requirements now. Do you think it's a blocking issue?

@pan3793 don't worry about it, we might have problem with Commit Validation check, because it still checks your first commit message

+1 for this

Thanks everyone for helping review and verify!


Buggy Textures

The textures are bugged on 1.21.3 I'm playing on a Lunar Hosted World.

Do you have the resource pack enabled ?, if yes can you share your game logs ?

Do you have the resource pack enabled ?, if yes can you share your game logs ?

Has this issue been resolved? This had happened when i downloaded it into my world. Is there a resource pack, as you said

No, this issue is not resolved, and yes there is a required ressource pack

No, this issue is not resolved, and yes there is a required ressource pack

where would this resource pack be? I tried looking for it but I have yet to find it

On github and modrinth it's grappling_hook_1.2.1_rp_bundled.zip the one you are looking for

On github and modrinth it's grappling_hook_1.2.1_rp_bundled.zip the one you are looking for

okay so i just downloaded the rp and the book finally does have the correct textures thanks


Rename esplora into esplora_blocking and do a dedicated resolver module

@crisdut can you please explain this part:

Please, configure bp-wallet and bp-esplora as:

I am not getting where to put that strings

@crisdut can you please explain this part:

Please, configure bp-wallet and bp-esplora as:

I am not getting where to put that strings

They just go into the Cargo.toml, replacing the existing entries for bp-wallet and bp-esplora.

Hi @dr-orlovsky
Would you like some help with this PR?

@crisdut yeah, that would be much appreciated since I still do not get what specifically have to be done

This PR got a mix of features, and a couple of merges of other PRs for the changes which should went into the master and not here. Thus, I split it into topic-/feature-related PRs and close it for now.

Fix for Opret invalidly merged here from https://github.com/RGB-WG/rgb/pull/112 went to https://github.com/RGB-WG/rgb/pull/130 and merged to master
A separate PR addressing all electrum-specific changes has cherry-picked all related commits from here: https://github.com/RGB-WG/rgb/pull/131


Is there anyway to change the font of the number picker ?

hi
I'm having a bit of problem changing the font of number picker
I don't want to achieve this by cloning this project and put it inside my own project, is there anyway to change the font inside XML or in the code without having to put the whole project inside mine ?
thanks in advance.

If you are able to do that so why you don't create a pull request!

Duplicate and solved in #9


fix the trace path in the middleware

What I did: I fixed the right path for tracing in the business middleware.
How did I fix it: I added the web folder path to the address, It was missing. business/mid/.... to business/web/mid....
@ardan-bkennedy PTAL

Thank you for this. I probably need to do it in other places as well.  Can you please make sure your email is in the CONTRIBUTORS file please.

Thank you for this. I probably need to do it in other places as well. Can you please make sure your email is in the CONTRIBUTORS file, please?

ok, will do that. Thanks.


Module still in Preview

What is the roadmap of this module? Why is it not being developed when there clearly is a full documentation on it's use in production-type environment? (Security-wise)

@davidzwa, thanks for your questions. Event Grid on IoT Edge will remain in preview for at least this year. Please reach out to us in January 2021 and I should be able to give you a more precise timeline. By the way, we are indeed actively investing on the next version of Event Grid to support more edge scenarios and that is why we have an extended preview time.

Good to hear, this solution is great for IoT Edge when developers need devices to communicate in the on-premise environment (instead of just D2C or C2D). At the time I was working with it, it seemed like the only viable option to set up such messaging with event-grid.
Will be looking forward to it in 2021.

@davidzwa, thanks for your interest and suggestions. Would you be able to meet with us to understand your requirements so that we can consider those as potential features?

That is ok with me, as long as your colleague (VidyaKukke) is ok with it, looking at our past communication mishap. At the time I was very eager to help understand this module for an internship, but got very little information from him about the module's source code and thus had to leave the preview behind. So, as might be clear, there is no commercial interest from my side, purely a hobby/exploration interest.
The following problems were vital to why this module was not useful to preview:

Inside simulator, the module didnt work (possibly fixable by issue)
Running on Windows with Linux containers wasnt supported, not related to the module, but still essential for previewing.
Running on Rasp. Pi 4 with self-signed certificates and skipping SSL didnt work at the time.

So, as you see, it was quite impossible to get even a physical edge device to work with this, although one would prefer to run it on their laptop to start with. That's a major deal-breaker for using the module: developing with it is impossible if you have to run a deployment with your new code payload everytime you need to make a change.


add a new function recv_at_least() to socket stream

to recv at least a number of bytes from socket stream, so as to reduce the # of syscalls

Merge to release/0.7 ?

LGTM


HADOOP-19236. Integration of Volcano Engine TOS in Hadoop.

Description of PR
Volcano Engine is a fast growing cloud vendor launched by ByteDance, and TOS is the object storage service of Volcano Engine. A common way is to store data into TOS and run Hadoop/Spark/Flink applications to access TOS. But there is no original support for TOS in hadoop, thus it is not easy for users to build their Big Data System based on TOS.
This work aims to integrate TOS with Hadoop to help users run their applications on TOS. Users only need to do some simple configuration, then their applications can read/write TOS without any code change. This work is similar to AWS S3, AzureBlob, AliyunOSS, Tencnet COS and HuaweiCloud Object Storage in Hadoop.
Please see the issue for more details. https://issues.apache.org/jira/browse/HADOOP-19236
How was this patch tested?
Unit tests need to connect to tos service. Setting the 6 environment variables below to run unit tests.
export TOS_ACCESS_KEY_ID={YOUR_ACCESS_KEY}
export TOS_SECRET_ACCESS_KEY={YOUR_SECRET_ACCESS_KEY}
export TOS_ENDPOINT={TOS_SERVICE_ENDPOINT}
export FILE_STORAGE_ROOT=/tmp/local_dev/
export TOS_BUCKET={YOUR_BUCKET_NAME}
export TOS_UNIT_TEST_ENABLED=true

Then cd to hadoop project root directory, and run the test command below.
mvn -Dtest=org.apache.hadoop.fs.tosfs.** test -pl org.apache.hadoop:hadoop-tos-core

For code changes:

[x] Does the title or this PR starts with the corresponding JIRA issue id (e.g. 'HADOOP-17799. Your PR title ...')?
[x] Object storage: have the integration tests been executed and the endpoint declared according to the connector-specific documentation?
[x] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
[ ] If applicable, have you updated the LICENSE, LICENSE-binary, NOTICE-binary files?

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m  0s

Docker mode activated.

-1 :x:
patch
0m 15s

https://github.com/apache/hadoop/pull/7194 does not apply to trunk. Rebase required? Wrong Branch? See https://cwiki.apache.org/confluence/display/HADOOP/How+To+Contribute for help.

Subsystem
Report/Notes

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

versions
git=2.34.1

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

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m  0s

Docker mode activated.

-1 :x:
patch
0m 15s

https://github.com/apache/hadoop/pull/7194 does not apply to trunk. Rebase required? Wrong Branch? See https://cwiki.apache.org/confluence/display/HADOOP/How+To+Contribute for help.

Subsystem
Report/Notes

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-7194/2/console

versions
git=2.34.1

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

This message was automatically generated.

The 'apply patch to trunk' error is caused by downloading a bad url. It should download 'https://github.com/apache/hadoop/pull/7194.patch' as the input.patch, but actual download is 'https://github.com/apache/hadoop/pull/7194', which is the html content of this page.  I run the test-patch manually with url 'https://github.com/apache/hadoop/pull/7194.patch', it works fine.
I'm still trying to figure out the cause. Does anybody know the reason? Thanks for any clues.

I found the cause, this patch is too large(24741 lines), exceeding github api's maximum number of lines (20000). It's convenient for reviewers to have an overview of the whole module, so I'll keep this pr for review.


Error: Unable to resolve non-existing file 'vscode-userdata:/var/folders/t_/43r7j31x64574nx71h4dhpfc0000gn/T/vsctests/backuprestorer

This is not a failure but error output when running the BackupRestorer tests:
[58332:0910/100057.368278:INFO:CONSOLE(129)] "Uncaught (in promise) Error: Unable to resolve non-existing file 'vscode-userdata:/var/folders/t_/43r7j31x64574nx71h4dhpfc0000gn/T/vsctests/backuprestorer/6ec6abd6-9fb2-41e0-b6b9-0013f0ec8678/Backups/eab0d61a99b6696edb3d2aff87b585e8/file/5a42560bf486d685768dc801359647d5'", source: file:///Users/bpasero/Development/Microsoft/monaco/out/vs/platform/files/common/fileService.js (129)
[58332:0910/100057.371553:INFO:CONSOLE(129)] "Uncaught (in promise) Error: Unable to resolve non-existing file 'vscode-userdata:/var/folders/t_/43r7j31x64574nx71h4dhpfc0000gn/T/vsctests/backuprestorer/6ec6abd6-9fb2-41e0-b6b9-0013f0ec8678/Backups/eab0d61a99b6696edb3d2aff87b585e8/file/9dd17bb5a8c9ca375b5c48a2a4301db7'", source: file:///Users/bpasero/Development/Microsoft/monaco/out/vs/platform/files/common/fileService.js (129)

I feel this could be a result from the environment service change you did. Bounce back to me if not.

@bpasero I investigated and do not understand how the environment service changes caused this, but it seems there is no error handling while writing into back up as a result above uncaught errors are shown.
Digging more deeper, backup tracker test is not waiting until back up task is finished which is triggered by the test and removing the backup folder in tear down.
Created a PR that takes care of error handling in backup tracker - https://github.com/microsoft/vscode/pull/106763
If there is a better fix, please ignore the PR and push the fix.


Initialize compression state only if they are used.

Add a lazy initialization path, so that we do not have to
initialize/access the state that's only used when we compress.
Move the frequently access fields to the front so we are more
cache friendly.

Thank you @AspirinSJL !

https://github.com/grpc/grpc/pull/19239 is merged.

Thank you @AspirinSJL ! I'll pull the new changes and rewrite the patch. Thanks!

Thank you very much! I'll squash and will repush.

Known issues #17561


Update CentOS 7 ami id

Update CentOS 7 AMI to 7.9.2009 x86_64 based on https://wiki.centos.org/Cloud/AWS

Update CentOS 7 AMI to 7.9.2009 x86_64 based on https://wiki.centos.org/Cloud/AWS


is there way to quickly clear text input to type another search?

is there way to quickly clear text input to type another search?
x button like this image

And when i press delete keyboard quickly, this autocomplete doesn't continue working.
Please fix this Issue.

Hi @sonnguyenit
See https://github.com/FaridSafi/react-native-google-places-autocomplete/issues/109

As far as I can tell that prop only functions on iOS, so it doesn't solve the issue/request for Android.


Acronym example

Hi, in this exercise the function to test abbreviate is not capital letter. In all the other Go exercises they were so. It's true that the tests are always in the same package of the code, so in general having an exported function is not strictly necessary, but still this exercise goes against the convention used so far.
Should we fix it?

I assume so, because I think we want to export all the functions under test, as a matter of style. We can question this assumption, but the README says "In general, adding tests for unexported names is considered an anti-pattern" so it seems like this is what is decided.


fix(vite-plugin-nitro): enable websocket support & add docs

PR Checklist
Closes #1398
What is the new behavior?

Enables WebSocket support for development environment
Adds WebSocket documentation

Does this PR introduce a breaking change?

[ ] Yes
[x] No

Other information
[optional] What gif best describes this PR or how it makes you feel?

@brandonroberts i just applied the changes but github still says there are changes requested, am i missing anything here?

@nckirik nope, you're good. I just hadn't approved them yet


[BUG] Gravity breaks Ubuntu 18.04

Describe the bug

After installation of Gravity, systemd-networkd is broken and the system can't boot properly; networking is down and therefore Gravity/Kubernetes fails to start.
To Reproduce

Install Gravity 6.0.1+ on Ubuntu 18.04 machine.
Expected behavior

Ubuntu to boot properly and a working Gravity instance.
Logs

journalctl -xe | grep -i error produces:
/lib/systemd/systemd-networkd: error while loading shared libraries: libip4tc.so.0: cannot open shared object file: No such file or directory

Environment (please complete the following information):

OS: Ubuntu 18.04
Gravity: 6.0.1
Platform: Laptop, GCP

Additional information
Tried on a laptop and 5 different cloud instances on GCP with Ubuntu 18.04.2

I found the root cause.
In my app.yaml I mount /usr/lib/x86_64-linux-gnu directory to the planet container, but I used mode: "444" which applied read-only (no execute) permissions to the directory on the host, which in turn broke my system down after reboot.
Closing this issue.


npmjs publish?

Could this package be submitted to npmjs?

Not under this name - I would have to rename it which isn't ideal. I'm giving the original author some time to make me a collaborator. It's only been a day, I'll decide tomorrow.

Until this is resolved maybe take the line
npm install node.bittrex.api
out of the read.me

The npm package is available now. Please see the Quick start section of the README.md.


Wildcard matching is too broad when matching linkable existing proxies

Problem
It's cool that these are matching by newest. That's definitely handy. But so far Proxima overwrites originals anyway. Currently this feature exists just to support Resolve's internally generated method which appends digits. In future, we can add support for incrementing files on collision.

What isn't working is the wildcard match. One of the source files is "Cockburn Drone.mov"
Since we're just checking the title starts with "Cockburn Drone" it also matches:

"Cockburn Drone - ARC - STBLSD.mov"
"Cockburn Drone - End Shots - Stabilised.mov"

If they all exist in the same source folder, they'll be candidates for "Cockburn Drone.mov". This doesn't work in reverse though since "Cockburn Drone" doesn't contain "Cockburn Drone - ARC - STBLSD".
Solution
We could filter linkable matches with regex in user config. Then we could have Resolve's _S000 suffix pattern as a default option as well as maybe  - 1 or _1 with varying whitespaces out of the box. Regex would be easiest since it's so flexible and we can make it faster by only running the regex match on initial matches that contain the original filename like we're already doing.

Fixed by  #234


"Bundle in a bundle" example wanted

Hi,
I'm searching a way to split my codebase in two layers: an API + third-party libraries and the 'application' layer. Using Typescript, I would prefer to include in the package.json of the application the same dependencies exposed by my lib (@angular and all its dependencies like core-js, rxjs, etc...).
The bundle in a bundle feature would be great in that case, allowing the application to import from the API/third-party lib all the angular2 stuff.
However the feature is not well documented. I was struggling to understand how fusebox should be used in a simple case like this:

library A (base) that imports third-party T
library B (app) that depends on A (and hence on T).

How can be fuse-box used to bundle T inside A and let B to NOT bundle A nor T?
A github sample (like the fusing one) could be great.
Thank you,
Luciano

Luciano!
You can achieve that by using arithmetic instructions like so:
> a.ts -t
In this case, fusebox will bundle everything that's related to file a.ts and its dependents except for the library t
If you need an explicit example we can do that later.

Ah ok, I thought this to be an automatic process. The creator of the B (app) library should instead manually exclude packages as they are already included in the A (base) package.
Ok thanks, L.


flvtool2: remove (broken since 2018)

Motivation for this change
This package requires ruby 2.2 which was removed in 2018 and the objective is not to include in again, the upstream project looks dead.
Things done

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

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-already-reviewed/2617/272


flytekit-dbt plugin

Supports dbt run and dbt test tasks
The plugin includes integration test that need local PostgreSQL database

Signed-off-by: ariefrahmansyah<EMAIL_ADDRESS>TL;DR
Add flytekit-dbt plugin. Fixes https://github.com/flyteorg/flyte/issues/2202
Type

[ ] Bug Fix
[ ] Feature
[X] Plugin

Are all requirements met?

[ ] Code completed
[ ] Smoke tested
[X] Unit tests added
[ ] Code documentation added
[ ] Any pending items have an associated Issue

Complete description
For integration testing, flytekit-dbt needs a running PostgreSQL database. To achieve that, it assumes that the machine running the test already have PostgreSQL installed. Then, the pytest.fixtures executes setup_db.sh to create dbttest database. This database is used for dbt tasks to execute the transformation of dbt's jaffle shop example.
Tracking Issue
https://github.com/flyteorg/flyte/issues/2202
Follow-up issue
NA

thank you so much!

@wild-endeavor - this could have been implemented by shell,  but have a built in plugin helps a lot

cc @ariefrahmansyah thank you for the PR, do you need some help from anyone in the community? I think this feature would really help many folks

@ariefrahmansyah hows it going with this?

@ariefrahmansyah this might be useful for a project that I am working in. I'm about to do a write a spike and if dbt is accepted then I could help with this plugin

Subsumed by https://github.com/flyteorg/flytekit/pull/1150.


driver.findElementByAccessibilityId Vs driver.findElementById

Using Java -
What's the difference between the driver.findElementByAccessibilityId Vs driver.findElementById/ driver.findElement(By.id(""))?
Can we reuse the  selenium modules?
ex: driver.findElement(By.id(APPLICATION_NAME_ID)).click doesn't seems to work and however, the findElementByAccessibilityId  seems to work.

Hi @SanjeevKumarmn,
As described in our list of supported locators, Appium AccessibilityId refers to AutomationId of the UI element as shown in the inspect tool. ElementId or simply Id refers to the unique identifier of the element which in most cases is the RuntimeId of the UI element.
Note that non UIA compliant applications may contain elements with no RuntimeId. In such case, we will assign a unique GUID for the element so that further operation/actions can be performed on this element. Another query to find the same element in however, will result in a different GUID.

@timotiusmargo thanks and this really helps!

From accessibilityId how to get a text value?

@sachinDV Try to use the command below written in python.
variable = self.driver.find_element_by_accessibility_id("xxxxxx").text


cannot connect to runtime process timeout after 10000 ms - (reason cannot connect to the target: connect econnrefused <IP_ADDRESS>:9222

Category

[  ] Question
[ ] Typo
[ ] Bug
[ ] Additional article idea
Hi,
I am trying to debug my SPFx web part in Visual studio code. So I ran "gulp serve -nobrowser" in npm and hit F5 in VS Code.
But my debugger is not hitting the break point. It is throwing below error.

I am using spfx: 1.7.0 version
node: 8.12.0 version
npm: 6.5.0 version
Also I don't have any instance of chrome running in my machine
This is my code in launch.json:

{
  "version": "0.2.0",
  "configurations": [{
  "name": "Local workbench",
  "type": "chrome",
  "request": "launch",
  "url": "https://localhost:4321/temp/workbench.html",
  "webRoot": "${workspaceRoot}",
  "userDataDir": "${workspaceRoot}/out/chrome",
  "sourceMaps": true,
  "sourceMapPathOverrides": {
  "webpack:///../../../src/_": "${webRoot}/src/_",
  "webpack:///../../../../src/_": "${webRoot}/src/_",
  "webpack:///../../../../../src/_": "${webRoot}/src/_"
  },
  "runtimeArgs": [
  "--remote-debugging-port=9222"
  ]
  },
  {
  "name": "Hosted workbench",
  "type": "chrome",
  "request": "launch",
  "url": "https://enter-your-SharePoint-site/_layouts/workbench.aspx",
  "webRoot": "${workspaceRoot}",
  "sourceMaps": true,
  "sourceMapPathOverrides": {
  "webpack:///../../../src/_": "${webRoot}/src/_",
  "webpack:///../../../../src/_": "${webRoot}/src/_",
  "webpack:///../../../../../src/_": "${webRoot}/src/*"
  },
  "runtimeArgs": [
  "--remote-debugging-port=9222",
  "-incognito"
  ]
  }
  ]
  }

Please help
Expected or Desired Behavior
Debugger to stop at break point
Observed Behavior
Getting timed out error

Those trailing _ don't look right at all... is this verbatim your launch.json?
Also, does Chrome open?

@andrewconnell
_ s are not in my launch.json, not sure how they got added over here.
Also chrome is not opening, when I get F5, I am getting the error mentioned above.

Chrome installed?
VSCode extension for debugging with Chrome installed in VSCode?
After running gulp serve --nobrowser, can you manually open a browser and hit the working local workbench?
Try not using F5... not sure which configuration that's set to. Manually select the launch config & select the PLAY icon to start it.

@andrewconnell Thank you so much for your quick responses.
Yes Chrome is installed, Version 72.0.3626.109
Chrome Extension (Debugger for Chrome) in VS Code is installed, version 4.11.2
After I run the gulp serve --nobrowser and ran local workbench but nothing is displayed as in below screen

May I know what do you mean by launch config please?
Do you mean, In VS code -> Debug -> Start Debugging

If so, I did the same. But still getting the same error.
Is their anything we should check with respect to ports in our machine?

Step 1 - figure out why the workbench isn't loading before debugging with VSCode.
Assume you're doing this with --nobrowser. Try doing it without that flag... verify the workbench is loading. Then quit all instances of Chrome. Now, try debugging with VSCode.

workbench is working fine if I run gulp serve.
workbench is blank when i run gulp serve --nobrowser

OK... then that's a different issue... it's come up from time to time that the --nobrowser doesn't copy the necessary workbench hosting files to the ./temp folder.

I closed all instances of chrome.

But still getting the same error.
Don't know the reason...

So you ran gulp serve, made sure the workbench was open, then killed all instances of Chrome and tried run the launch configuration without F5 to ensure it's trying to hit local workbench?
Is this a corporate managed laptop where you have something that's blocking ports? For instance, can you try disabling your firewall and then attaching to the debugger? I wonder if your firewall is blocking VSCode from attaching to the debugging port...

Yes, it is a corporate managed machine. I have disabled the firewall but still getting the same error

I'm out of ideas... I think it's safe to say this isn't a SharePoint related issue (as it usually is... hence why I recommended you move your issue from the VSCode repo => here). I'd post this to the VSCode repo as an issue, but I'd rec you not focus on the SharePoint aspects of it in that issue as they may think to point you here... rather it seems like it's an issue with VSCode's debugger not attaching to an existing process... in this case a Node.js process.
Sorry, I can't help much more than this, but you've exhausted my ideas. I see others reporting the same issue in the VSCode repo who've resolved their issue... Please do post a link to the issue you create there in this thread so we can monitor it...

Yes, even I am thinking it is something related to VSCode.
I Uninstalled my VSCode, Google chrome, npm and node, but still its the same issue. So I am planning to format my machine and try.
I raised an issue in VSCode repo, https://github.com/Microsoft/vscode-chrome-debug/issues/784
Any ways thank you @andrewconnell for your help.

Before formatting your machine & trying, spin up a VM (like in Azure so it's quick and cheap) and set up the experience... then test. Make sure it's YOUR MACHINE that's the issue and you have the process correct.
IOW, process of elimination.
I'm going to close this issue, but please do follow up when you get the debugger working...


Add temperature convert tool

Fahrenheit and Celsius

Probably you don't need it in an survival situation, but how about adding Kelvin? Just because it's the SI base unit and it's so simple to add :), just °C + 273,15

@qwerty287 sorry, I'm going to skip on that - I don't see a use for Kelvin outside of scientific applications (even if it is really easy to add)


#150798553 Notify a user when a job runs too often

What does this PR do?
Description of Task to be completed?
-As a user I want to receive an email when a job is run too often
-As a user I want an icon on the dashboard indicating that a job is run too often
How should this be manually tested?
-After cloning the repo cd into it and run this command ./manage.py runserver
-In your terminal run this command ./manage.py sendalerts
NB:Run the two commands at the same time, ie in different tabs
What are the relevant pivotal tracker stories?
#150798553
Screenshots (if appropriate)

@rosemaina @borenho 59 commits?  Please . squash them

Coverage increased (+0.9%) to 81.196% when pulling d6c13a5485b7749a16ec9ee1f2f4c57124f1a84b on ft-frequent-notifications-150798553 into df137bfdad57cb53bcf31bdc92056cb4f316f921 on master.

Coverage increased (+0.9%) to 81.196% when pulling d6c13a5485b7749a16ec9ee1f2f4c57124f1a84b on ft-frequent-notifications-150798553 into df137bfdad57cb53bcf31bdc92056cb4f316f921 on master.

@andela-jmwalo
I have checked the commits...some are like 10 days old
But i have squashed the commits I made

Coverage increased (+0.9%) to 81.196% when pulling f66329e5bed05d18399c8b0e84787d67b579da43 on ft-frequent-notifications-150798553 into df137bfdad57cb53bcf31bdc92056cb4f316f921 on master.

Coverage increased (+0.9%) to 81.196% when pulling f66329e5bed05d18399c8b0e84787d67b579da43 on ft-frequent-notifications-150798553 into df137bfdad57cb53bcf31bdc92056cb4f316f921 on master.

Coverage increased (+0.9%) to 81.196% when pulling f66329e5bed05d18399c8b0e84787d67b579da43 on ft-frequent-notifications-150798553 into df137bfdad57cb53bcf31bdc92056cb4f316f921 on master.

Coverage increased (+0.4%) to 80.634% when pulling dd684a13c40c3926d3e2fa971efae2bd1a4d3ae6 on ft-frequent-notifications-150798553 into df137bfdad57cb53bcf31bdc92056cb4f316f921 on master.

Coverage decreased (-0.3%) to 80.783% when pulling 25efc66bc2f58b55f59b0d5e6178bd32378c0d5c on ft-frequent-notifications-150798553 into 5e6be4351cd0cbfb4d5c16b798f24a0a87c17bc5 on develop.

Coverage decreased (-0.3%) to 80.783% when pulling 25efc66bc2f58b55f59b0d5e6178bd32378c0d5c on ft-frequent-notifications-150798553 into 5e6be4351cd0cbfb4d5c16b798f24a0a87c17bc5 on develop.

Coverage decreased (-0.08%) to 80.717% when pulling 365e80e5b7d813a7695a82f9d736207f8edeb88f on ft-frequent-notifications-150798553 into cf7157005f974f48cd295816a4c95ee8f7cfd03d on develop.


Add new generated files for authorization

Description

This checklist is used to make sure that common guidelines for a pull request are followed.

[x] I have read the contribution guidelines.
[ ] The pull request does not introduce breaking changes.

General Guidelines

[ ] Title of the pull request is clear and informative.
[ ] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[ ] Pull request includes test coverage for the included changes.

SDK Generation Guidelines

[ ] If an SDK is being regenerated based on a new swagger spec, a link to the pull request containing these swagger spec changes has been included above.
[ ] The generate.cmd file for the SDK has been updated with the version of AutoRest, as well as the commitid of your swagger spec or link to the swagger spec, used to generate the code.
[ ] The *.csproj and AssemblyInfo.cs files have been updated with the new version of the SDK.

Can one of the admins verify this patch?

Can one of the admins verify this patch?

@andycnzh,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

@andycnzh If you are part of the azure organization, follow the directiosn here:  https://aka.ms/azuregithub  for authorizing your guthub account.  Otherwise, please fill out the CLA - we cannot even review this until the CLA is resolved.
@darshanhs90 Please review and approve.  Also, how is this related to the PR for monicalyy?

@azuresdkci add to whitelist

This pull request is obsoleted due to wrong autorest command, so close it.


How to disconnect from one printer and reconnect to another?

Hello @Rajath4
Thank you for maintaining this package. I was glad that it is the one that fits my receipt printing needs. I have an issue when I tried disconnecting from the currently connected printer to connect to another one.
Let me give you more details about my use case
I have a restaurant point of sale app. After a sale is made, I would like to print a receipt for the customer with the printer at the cashier and print the order with the printer located in the kitchen so the cook can make the meal.
So I need to be able to print on both printer simultaneously. When I use this package, and tried the scenario, both the receipt and the order are getting printed from the same printer.. If I try one printer and switch to the other and print, the printing still goes to the previous printer.
Also I have no way of knowing what printer I is currently connected. Is there a way to know what printer is connected?
Is there a way to disconnect and reconnect to another printer on the fly?
like
await BluetoothThermalPrinter.connect(_receiptPrinter.mac);

//... more code here

//manually disconnect from receipt printer here
await BluetoothThermalPrinter.disconnect();

//or the next .connect(mac) call would disconnect the currently connected printer
///before connecting the new one

await BluetoothThermalPrinter.connect(_orderPrinter.mac);

//... more code here

Thank you all
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 2.2.2, on Microsoft Windows [Version
    10.0.19042.1052], locale en-US)
[√] Android toolchain - develop for Android devices (Android SDK version
    30.0.3)

So I was able to add a .disconnect() methode that disconnects the currently connected device. It works as I want but I don't know what I am doing. I never wrote a single line of kotlin code before. If you look at the example, every time I setConnect, I disconnect the connected device. That way I can print the receipt, disconnect and connect to other printer, then print the order.
Another way of doing it also is to pass a parameter to  .connect(mac, {bool dropPreviousConnection : false}) and drop the previous connection base on the dropPreviousConnection  value.
I believe the following is what prevents the newly selected device to connect if there is already another one connect:
//.... more code
if (call.method == "connectPrinter") {
      var printerMAC = call.arguments.toString();
      if(printerMAC.length>0){
        mac = printerMAC;
      }else{
        result.success("false")
      }
      GlobalScope.launch(Dispatchers.Main) {
        if(outputStream == null) { //<= This may be preventing new device to connect
          outputStream = connect()?.also {
            //result.success("true")
            //Toast.makeText(this@MainActivity, "Connected to printer", Toast.LENGTH_SHORT).show()
          }.apply {
            result.success(state)
            //Log.d(TAG, "finished: Connection state:$state")
          }
        }
      }
     }else if (call.method == "disconnectPrinter") {
//... more code
}

This is what I added in the kotlin file
if (call.method == "disconnectPrinter") {
      GlobalScope.launch(Dispatchers.Main) {
        if(outputStream != null) {
          outputStream = disconnect()?.also {
            //result.success("true")
            //Toast.makeText(this@MainActivity, "Connected to printer", Toast.LENGTH_SHORT).show()
          }.apply {
            result.success("true")
            //Log.d(TAG, "finished: Connection state:$state")
          }
        }
      }
     } else if (call.method == "writeBytes") {
//...more code
}

Then in dart

//...more code

  /// Disconnect from device
  static Future<String?> disconnect() async {
    String? result = "false";
    try {
      result = await _channel.invokeMethod('disconnectPrinter');
    } on PlatformException catch (e) {
      print("Failed to disconnect: '${e.message}'.");
    }
    return result;
  }

//... more code

I hope this information is helpful to adding the feature.
Please checkout the disconnect branch
branch: https://github.com/msandwidi/BluetoothThermalPrinter/tree/disconnect
Thank you all

@msandwidi thanks

Thank you a lot @msandwidi !! 🎉, you are amazing!, it works like a charm! 🔥


Thoughts on horizontal ...

https://www.loom.com/share/4445641281a44907b54ce413f19f7448

Here is another example of vertical dots. https://monosnap.com/file/3gDCHe9yM7dfO78tLIqAcjc9pk6jVm

@karthiknmenon I believe the choice of MenuHorizontal comes from the product level. If so, where would be the best place to raise this issue? Also, can you please share your thoughts on the same?


warn when submodules missing

Here I just steal the code from mina to give a useful warning when using nix develop .
closes #1896

on Ubuntu with nix installed, I tried:
git checkout brian/submodule-warn
nix develop .

The output was:
fizzixnerd@o1-walkerbook:~/src/o1js$ nix develop .
warning: Git tree '/home/fizzixnerd/src/o1js' is dirty
error:
       … while calling the 'derivationStrict' builtin
         at <nix/derivation-internal.nix>:34:12:
           33|
           34|   strict = derivationStrict drvAttrs;
             |            ^
           35|

       … while evaluating derivation 'nix-shell'
         whose name attribute is located at /nix/store/g8zzlf6drg73c987ii390yicq4c0j778-source/pkgs/stdenv/generic/make-derivation.nix:348:7

       … while evaluating attribute 'nativeBuildInputs' of derivation 'nix-shell'
         at /nix/store/g8zzlf6drg73c987ii390yicq4c0j778-source/pkgs/stdenv/generic/make-derivation.nix:392:7:
          391|       depsBuildBuild              = elemAt (elemAt dependencies 0) 0;
          392|       nativeBuildInputs           = elemAt (elemAt dependencies 0) 1;
             |       ^
          393|       depsBuildTarget             = elemAt (elemAt dependencies 0) 2;

       (stack trace truncated; use '--show-trace' to show the full, detailed trace)

       error: lib.fileset.unions: Element 0 (/nix/store/llhbnzfyq8jsy5qwdpi65j9birn2bvgh-source/src/bindings/ocaml/dune) is a path that does not exist.
           To create a file set from a path that may not exist, use `lib.fileset.maybeMissing`.

Rerunning pin.sh after checkout fixed it.


Translate to Farsi

Describe what problem your feature request solves:
It would be good to have the translation to Farsi
Describe the solution you'd like:
Translate into a new file using
Additional context:

@AshkanRafiee thank you for translating the Secure Coding Practices quick reference guide, you may want to consider doing something similar for Threat Dragon?

can you please assign it to me?


Decouple the rpc connection and graph ql client on app start

Performance Analysis
Stop waiting for rpc connection in order to start loading data for the app, use Subsquid instead. This is by far the biggest bottle neck, but will require SDK changes to decouple the rpc connection and graph ql client. This will benefit all pages on the app
Reference to #255

this is already done with usage of sdk-next library and we are no longer waiting on rpc connection to start getting the data


Adding security definitions in Automation resources

Added Security definitions the resources to partially resolve the existing validation errors.

PR information

[x] The title of the PR is clear and informative.
[x] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For information on cleaning up the commits in your pull request, see this page.
[x] Except for special cases involving multiple contributors, the PR is started from a fork of the main repository, not a branch.
[ ] If applicable, the PR references the bug/issue that it fixes.
[ ] Swagger files are correctly named (e.g. the api-version in the path should match the api-version in the spec).

Quality of Swagger

[x] I have read the contribution guidelines.
[x] My spec meets the review criteria:

[x] The spec conforms to the Swagger 2.0 specification.
[x] The spec follows the guidelines described in the Swagger checklist document.
[ ] Validation tools were run on swagger spec(s) and have all been fixed in this PR.

Hi @alvadb - I am working with the team to resolve all the Model and Linter issues for all the resources and this is the first of the fixes. I would be sending other PRs soon to resolve them.

Hi @alvadb, Could you please approve the PR for the Security Definitions fix? I am working on fixing the other linter issues and would send the PR as soon as we are done with fixing them.
Thanks,
Varad

No modification for AutorestCI/azure-sdk-for-python

 https://github.com/Azure/azure-sdk-for-ruby/pull/1206


EmoteSetList.findEmoteId throwing "Invalid regular expression" error

Bug Report
Code
async function example() {
    const streamerEmotes = await twitchClient.kraken.users.getUserEmotes('58612601');
    const emoteId = await streamerEmotes.findEmoteId('PogChamp');
}

Expected behavior
To return correct emote id if a match is found, not throw an error.
Actual Behavior
Throws the following error:
{
  message: "Invalid regular expression: /8-)/: Unmatched ')'",
  stack: "SyntaxError: Invalid regular expression: /8-)/: Unmatched ')'\n" +
    '    at new RegExp (<anonymous>)\n' +
    '    at class_1.EmoteSetList.findEmoteId (C:\\Users\\ebiggz\\Documents\\GitHub\\Firebot\\node_modules\\twitch\\lib\\API\\Kraken\\Channel\\EmoteSetList.js:26:29)\n' +
    '    at class_1.<anonymous> (C:\\Users\\ebiggz\\Documents\\GitHub\\Firebot\\node_modules\\@d-fischer\\cache-decorators\\lib\\decorators\\Cached.js:25:57)\n' +
    '    at step (C:\\Users\\ebiggz\\Documents\\GitHub\\Firebot\\node_modules\\tslib\\tslib.js:136:27)\n' +
    '    at Object.next (C:\\Users\\ebiggz\\Documents\\GitHub\\Firebot\\node_modules\\tslib\\tslib.js:117:57)\n' +
    '    at C:\\Users\\ebiggz\\Documents\\GitHub\\Firebot\\node_modules\\tslib\\tslib.js:110:75\n' +
    '    at new Promise (<anonymous>)\n' +
    '    at Object.__awaiter (C:\\Users\\ebiggz\\Documents\\GitHub\\Firebot\\node_modules\\tslib\\tslib.js:106:16)\n' +
    '    at class_1.descriptor.value [as findEmoteId] (C:\\Users\\ebiggz\\Documents\\GitHub\\Firebot\\node_modules\\@d-fischer\\cache-decorators\\lib\\decorators\\Cached.js:15:28)\n' +
    '    at Object.exports.buildFirebotChatMessageFromText (C:\\Users\\ebiggz\\Documents\\GitHub\\Firebot\\backend\\chat\\chat-helpers.js:106:48)'
}

It appears emote.code needs to have RegEx characters escaped on this line:
https://github.com/d-fischer/twitch/blob/b28451c07cfe3f138250bd3eef55160380423660/packages/twitch/src/API/Kraken/Channel/EmoteSetList.ts#L29
Environment

Version: v4.1.3
Node version: v12.18.0
Browser version: Electron
Operating system: Windows 10

It doesn't seem to be quite that simple. Some emote codes are actually regexes:
"code": "\\:-?\\)"

That's just the regular smiley face.
As you see, this one even has the closing brace properly escaped.
So it might be necessary to implement some kind of algorithm to determine whether or not a given emote code is a regex.
This probably needs to be throroughly tested to make sure not a single emote code gets misinterpreted or throws an error like this.

Ah shoot, I didn't realize some of the codes are already regexes, and ones that are properly escaped at that. That adds a frustrating layer of complexity. I am guessing Twitch recently updated some of the emote codes? We've been using .findEmoteId for awhile now and it only started throwing this error within the last week.

This should be fixed on the master branch. Please check out the prerelease version 4.2.0-pre.7 to check.