Add HA support in openebs-k8s-provisioner

openebs-provisioner POD should be available all the time and should never go down. We need High Availability support for `openebs-k8s-provisioner'.

For high-availability, we want to make sure there are at least 2 replicas of the provisioner pod running on 2 separate nodes. That way if one node goes offline (taking 1 pod with it), provisioner is still accessible.
We can handle this case by adding affinity -> podAntiAffinity. Anti-affinity to make sure that two of the same provisioner pods are not scheduled on the same node. This is the one case I could think of, what else do we want in HA?

Also, to test the changes simply we can use below test-pvc.yaml

kind: PersistentVolumeClaim
apiVersion: v1
metadata:
  name: vut
spec:
  storageClassName: openebs-basic
  accessModes:
    - ReadWriteOnce
  resources:
    requests:
      storage: 5G

I got the following output for replicas: 2 of  openebes-provisioner in openebs-operator.yaml
ubuntu@kubemaster-01:~/openebs/k8s$ kubectl get pods
NAME                                                             READY     STATUS    RESTARTS   AGE
maya-apiserver-1089964587-t3c54                                  1/1       Running   0          37m
openebs-provisioner-1149663462-h1dn5                             1/1       Running   0          37m
openebs-provisioner-1149663462-rbwb9                             1/1       Running   0          37m
pvc-119b3fdf-a9b0-11e7-8d34-021c6f7dbe9d-ctrl-2102192375-n4ndt   1/1       Running   0          14m
pvc-119b3fdf-a9b0-11e7-8d34-021c6f7dbe9d-rep-1247715899-2pgg4    1/1       Running   0          14m
pvc-119b3fdf-a9b0-11e7-8d34-021c6f7dbe9d-rep-1247715899-x7h32    1/1       Running   0          14m

ubuntu@kubemaster-01:~/openebs/k8s$ kubectl get pv
NAME                                       CAPACITY   ACCESSMODES   RECLAIMPOLICY   STATUS    CLAIM         STORAGECLASS    REASON    AGE
pvc-119b3fdf-a9b0-11e7-8d34-021c6f7dbe9d   5G         RWO           Delete          Bound     default/bar   openebs-basic             14m

ubuntu@kubemaster-01:~/openebs/k8s$ kubectl get pvc
NAME      STATUS    VOLUME                                     CAPACITY   ACCESSMODES   STORAGECLASS    AGE
bar       Bound     pvc-119b3fdf-a9b0-11e7-8d34-021c6f7dbe9d   5G         RWO           openebs-basic   14m

ubuntu@kubemaster-01:~/openebs/k8s$ kubectl get rs
NAME                                                       DESIRED   CURRENT   READY     AGE
maya-apiserver-1089964587                                  1         1         1         38m
openebs-provisioner-1149663462                             2         2         2         38m
pvc-119b3fdf-a9b0-11e7-8d34-021c6f7dbe9d-ctrl-2102192375   1         1         1         14m
pvc-119b3fdf-a9b0-11e7-8d34-021c6f7dbe9d-rep-1247715899    2         2         2         14m

ubuntu@kubemaster-01:~/openebs/k8s$ kubectl get svc
NAME                                                CLUSTER-IP       EXTERNAL-IP   PORT(S)             AGE
kubernetes                                          <IP_ADDRESS>        <none>        443/TCP             2h
maya-apiserver-service                              <IP_ADDRESS>     <none>        5656/TCP            39m
pvc-119b3fdf-a9b0-11e7-8d34-021c6f7dbe9d-ctrl-svc   <IP_ADDRESS>   <none>        3260/TCP,9501/TCP   15m

@satyamz -- this is good. can we find out what happens.. when multiple PVCs are created. probably you can use the maya volume create (command in loop) and while the volumes are getting created, kill one of the replica or both the replicas..

@kmova sure! I will try this out. Today, I experienced one more thing. In that, openebs-provisioner replicas were scheduled on kubeminion-02, then I killed  kubeminion-02 node bby vagrant halt  kubeminion-02 In this case, other replicas of openebs-provisioner tried to come up but failed eventually,
This is the example output of this:
ubuntu@kubemaster-01:~$ kubectl describe pods openebs-provisioner-1149663462-j05bx
Name:		openebs-provisioner-1149663462-j05bx
Namespace:	default
Node:		/
Labels:		name=openebs-provisioner
		pod-template-hash=1149663462
Annotations:	kubernetes.io/created-by={"kind":"SerializedReference","apiVersion":"v1","reference":{"kind":"ReplicaSet","namespace":"default","name":"openebs-provisioner-1149663462","uid":"36b6a765-a9c3-11e7-beb8-0...
Status:		Pending
IP:
Controllers:	ReplicaSet/openebs-provisioner-1149663462
Containers:
  openebs-provisioner:
    Image:	openebs/openebs-k8s-provisioner:0.4.0
    Port:
    Environment:
      NODE_NAME:	 (v1:spec.nodeName)
    Mounts:
      /var/run/secrets/kubernetes.io/serviceaccount from openebs-maya-operator-token-tllf7 (ro)
Conditions:
  Type		Status
  PodScheduled 	False
Volumes:
  openebs-maya-operator-token-tllf7:
    Type:	Secret (a volume populated by a Secret)
    SecretName:	openebs-maya-operator-token-tllf7
    Optional:	false
QoS Class:	BestEffort
Node-Selectors:	<none>
Tolerations:	node.alpha.kubernetes.io/notReady=:Exists:NoExecute for 300s
		node.alpha.kubernetes.io/unreachable=:Exists:NoExecute for 300s
Events:
  FirstSeen	LastSeen	Count	From			SubObjectPath	Type		Reason			Message
  ---------	--------	-----	----			-------------	--------	------			-------
  6m		10s		28	default-scheduler			Warning		FailedScheduling	No nodes are available that match all of the following predicates:: PodToleratesNodeTaints (1).

I found the work around for this problem too. We need to set affinity for openebs-provisioner deployment so that replicas will be alive even if any node goes down. Let me know if I'm heading towards wrong direction or something.

To achieve the High Availability for openebs-provisioner
We need to label nodes to assign the pods on those.
To do that execute:
kubectl label nodes kubeminion-01  node=minion01  # For node kubeminion-01
kubectl label nodes kubeminion-02  node=minion02   # For node kubeminion-02

Once, we labeled the nodes we can specify these labels in the  openebs-provisioner spec in openebs-operator.yaml
apiVersion: apps/v1beta1
kind: Deployment
metadata:
  name: openebs-provisioner
  namespace: default
spec:
  replicas: 8
  template:
    spec:
      affinity:
        nodeAffinity:
          requiredDuringSchedulingIgnoredDuringExecution:
            nodeSelectorTerms:
              matchExpressions:
                key: node
                operator: Equal
                values: ["minion01","minion02" ]
  template:
    metadata:
      labels:
        name: openebs-provisioner
    spec:
      serviceAccountName: openebs-maya-operator
      containers:
      - name: openebs-provisioner
        imagePullPolicy: Always
        image: openebs/openebs-k8s-provisioner:0.4.0
        env:
        - name: NODE_NAME
          valueFrom:
            fieldRef:
              fieldPath: spec.nodeName

After this, kubernetes scheduler will take care of assigning pods to the specific nodes and it will make sure that pods are always available on specified nodes.


Extract common utilities outside of cli into lib

Some utilities, like push notification schema could be outside the cli tool and be available as part as the newly created lib.
Modules to refactor:

[x] Recovery
[ ] Notifications
[ ]  Rewards

Notifications and rewards done in #12


switch from gen stage to newly spun-off flow library

see: https://elixirforum.com/t/the-future-of-genstage-and-flow/3323 for context
fix for #337

Hey! I appreciate the PR.
As I allude to in that issue however, I'm now thinking I would rather just use Task.async_stream and remove the need for Flow altogether. The usage of Flow in this library is incredibly simple, and it doesn't need anything more than what the 1.4 standard library offers.
If you'd like to make a PR to that affect you're more than welcome to!

Would you consider merging the PR as a half measure? Happy to own writing a
second PR for async_stream, but current state of the world is preventing my
project from migrating to GenStage 0.11.
On Sat, Jan 21, 2017 at 7:20 PM Ben Wilson<EMAIL_ADDRESS>wrote:

Hey! I appreciate the PR.
As I allude to in that issue however, I'm now thinking I would rather just
use Task.async_stream and remove the need for Flow altogether. The usage
of Flow in this library is incredibly simple, and it doesn't need anything
more than what the 1.4 standard library offers.
If you'd like to make a PR to that affect you're more than welcome to!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/CargoSense/ex_aws/pull/339#issuecomment-274305161,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AASEtHmK4yYq296XdOGpVaQ3ShvOyFaiks5rUssGgaJpZM4LpAAk
.

but current state of the world is preventing my
project from migrating to GenStage 0.11

I'm not sure I understand. You can use override: true on the gen stage entry of your mix.exs file to force it to whatever version you like. This particular S3 function won't work sure, but everything else will. If you are using this S3 function you're best off just using your fork. I'm planning on removing the GenStage dependency prior to the next release of this library anyway.

hm, I couldn't get override: true to work, since the references to Experimental.Flow prevent the entire ex_aws application from compiling. I'll take a shot at switching ex_aws to Task.async_stream (and also migrating the entire project to 1.4), but I would still a prefer a half-measure.

Re-opening this for the moment because it's possible Flow might provide superior throughput to Task.async stream, investigating.

In the end Task.async_stream can be just as fast in this case.


Release 1.2

https://github.com/CopterExpress/clover_vm/releases/tag/v1.2

Version 1.2 is released.


Add Tim Sort

I implemented the Tim Sort. I tried to keep it in the same fashion as other sorting algorithms as much as possible. I even used the source code of insertion sort in order to make the code better to understand. The reason I used the reference method for insertion sort and merging over allocating a new memory is nothing but optimization.

Hi, I got the CI test From the checks that I did.
Proof:--
Error: We are currently unable to download the log. Please try again later.


Feature - Open type font features enable/disable

Changes

Created new components to create checkboxes for each open type font feature available
implemented logic to allow user to enable/disable individual open type font features (if available for selected font)
implemented logic to render font preview with selected open type font features.

Tests applied

manual testing only

Example image:

Issue ticket number(s)
Enter the issue numbers resolved by this pull request

#74

Checklist

[ ] Documented
[ ] Linting tests successful
[ ] merge updated prod branch into development branch

Note: Jessica (jess-lowe), Caleb (calebWei) heavily contributed to this pull request.

👏🍾🎉


Slow to open different editor for the first time

The editors are slow to open (I would guess ~500-750ms) on the first open. They should be autoloaded by the main viz (webgme-autoviz)

blocked by https://github.com/dfst/webgme-autoviz/issues/15

Hmmm... it has been quicker recently -> only about ~200ms


react-navigation: tintColor is undefined when using BottomNavigation

When using the icon inside navigationOptions, tintColor is undefined. Need to check in TabView.TabBarBottom how and why.

Instead of using react-navigation's icon: ({ tintColor }) => (<Icon color={tintColor}) />), you should use the activeIcon-option of react-native-material-bottom-navigation, because it'll look better. Trust me.

But nonetheless, it should work in the next version.

@timomeh I'm facing the same issue :(


Released SDK package

Hi,
I don't find the released SDK package for 2.0.5 K4a Wrapper.
I mean, I prefer don't compile the K4A Wrapper and copy the DLLs (k4a.dll, k4arecord.dll and dependencies) directly in my solution.
If I read the following link https://orbbec.github.io/OrbbecSDK-K4A-Wrapper/ section "Installation" -> "Option 1" I should find in releases DLLs but this is not the case.
Where can I find them?

Version 2.0 has not yet been launched


Feature request: evict items when limits are reached.

To not crash the app by eating all memory.
Optional ability to limit by total size or number of keys. Probably LRU eviction, even allow user to provide callback.

Optional ability to limit by total size or number of keys

Yeah, this a reasonable feature.

Probably LRU eviction, even allow user to provide callback.

There is a compact method to allow users to remove old version entries. The crate is not a cache but an in-memory MVCC database.


Ideas

Meeting notes

Curve on new token form

Sell price show in percent?

Buy/Sell max amount

Show all reserve token equivalents in buy sell

Total amount in fiat in wallet token list

Landing page explains economics

Attachment in buy sell txs

Attach some ETH to community token send tx

Nudge to send some ETH to contacts that have 0 ETH

Notation problem:

0.000000000000195835 GLU
1.95 giga GLU

Ability to send to your contacts and social friends

Solve super wide screen layout

Bugs

Burning community tokens broken?
Refresh balances after sell/buy

Token historical market graph
Compare with current
Feed + sell/buy?

Attachment with tags
Popular tags stats

Bounties

Create issue list
Make bounties for every task
Pay in GLU

Config for choosing token factory address?


Sometimes shady camelia makes the text harder to read

I've never noticed it, but indeed, sometimes it does not look very nice:

http://irclog.perlgeek.de/perl6/2016-07-07#i_12803812

fixed with https://github.com/perl6/doc/commit/e402f7b04a

Perhaps just make camelia smaller, rather than remove outright?

Even though it is now closed, just wanted to add this nice screenshot to make the decision more obvious:


Add support for a custom DimensionSchema in DataSourceMSQDestination

Description
In the native engine, a user can specify values for createBitmapIndex and multiValueHandling properties for string dimensions to override the defaults. In MSQ, however, there is currently no provision to pass these details for strings; the default values for the type are always used instead.
This PR adds support for passing in a custom DimensionSchema map to MSQ query destination of type DataSourceMSQDestination. The current consumer of this functionality is a compaction job which needs to preserve the schema of the segments being compacted.  With this change, compaction tasks can retain only the createBitmapIndex property of the input segments, but not multiValueHandling property since that info is not persisted anywhere in the segment.
Main classes to review:

DataSourceMSQDestination
ControllerImpl
MSQCompactionRunner

This PR has:

[x] been self-reviewed.

[ ] using the concurrency checklist (Remove this item if the PR doesn't have any relation to concurrency.)

[ ] added documentation for new or modified features or behaviors.
[ ] a release note entry in the PR description.
[ ] added Javadocs for most classes and all non-trivial methods. Linked related entities via Javadoc links.
[ ] added or updated version, license, or notice information in licenses.yaml
[ ] added comments explaining the "why" and the intent of the code wherever would not be obvious for an unfamiliar reader.
[ ] added unit tests or modified existing tests to cover new code paths, ensuring the threshold for code coverage is met.
[x] added integration tests.
[ ] been tested in a test Druid cluster.

@LakshSingla: Will leave this PR as-is to avoid further delay, and do both dimensionSchemas simplification and array_ingest_mode:mvd forceful override changes in the next PR I'm already working on.

Makes sense. I'll merge this one, can you please raise a separate patch for changing the name to dimensionSchemas, since if this one makes it in one of the releases without the other patch then there'd be compatibility issues b/w versions?
Having a standalone patch for the name change would make sure that we remember to treat this change with the other as one. Having the name change with other changes would make it difficult to track, and we might end up with a version that doesn't have the rename.


implement array_ufunc

So that numpy functions should work on cupy arrays. Would allow cupy arrays to be used transparently in much numpy-oriented code.
The current plan is to error, if in a non-unary ufunc, a numpy (non-device) and a cupy array are combined.
Based on

https://github.com/ericmjl/cupy/commit/83ffb8a08dced98d8e3d0c25869a87e632b5c6fc
https://github.com/dask/dask/blob/7c419580037f552befc2650cb13967dd6bdef86a/dask/array/core.py#L1120-L1146

Fixes https://github.com/cupy/cupy/issues/1230 (eventually)

This could also generally use some tests.  I think that this will communicate the intended outcome of this work more clearly to other potential reviewers.

@martindurant is it ok to remove the WIP label?

I am happy with the code that is here as well as the tests, so yes.
I still need to decide whether to test the add.at() case, or just drop it.

Thank you for useful PR!

jenkins, test this please.
This PR will be merge in v5.0.0b2.

Is there anything more to do here?

I found error. Can you fix this?
https://gist.github.com/okuta/fb26f7e8dc30020bb4d9735304fb0d06

This is message to testing bot.
jenkins, test this please.

@okuta Can I merge it?

Please wait. Some tests are failed. I will investigate it.

@beam2d Cloud you merge #1286 ?

I merged #1286, so I think this PR is CI ready.
Jenkins, test this please.

I merged in those changes.
It is interesting that coverage showed up, and the patch is 100% covered but the overall coverage apparently went down.

jenkins, test this please.

jenkins, test this please.

@okuta , done

Thanks!
jenkins, test this please.

LGTM!

I'm very happy to see this merged!

Hurray

OMG you guys made it happen!!


Playground not working in Lambda

Functions deployed via 'serverless deploy -v' as example of 'serverless.yml'
Event HTTP Post work greats.
However, when reaching URL via GET, playground says: 'Response not successful: Received status code 403'

Yes, I'm having exactly the same issue.
You can download the standalone playground though and that works fine when given the URL
https://github.com/graphcool/graphql-playground

Thought I might comment as I'm having a similar issue that I think likely to be related : Once I fix the URL inside the playground address bar, I can access the playground and run queries, but opening the schema doesn't work.
This appeared in v1.8.3 and based on the console traces, it seems that graphql playground always try to reach the "wrong" URL (the one without production/staging at the end) even when I manually change it in the playground URI, which leads to the 403 error over and over again.
I can too use a local playground to circumvent the issue as robmurtagh mentionned.
Hope it helps !

I have the same issue using serverless and "graphql-yoga": "^1.13.1"

I had the following issue which might be related
When I set the endpoint in https://www.graphqlbin.com, I get an error like
[field X-Apollo-Tracing is not allowed by Access-Control-Allow-Headers in preflight response.]
That was fixed by changing the serverless.yml to include the CORS customized config like this for each function under the events
- http:
        path: /
        method: post
        cors:
          origin: '*' # <-- Specify allowed origin
          headers: # <-- Specify allowed headers
            - Content-Type
            - X-Amz-Date
            - Authorization
            - X-Api-Key
            - X-Amz-Security-Token
            - X-Amz-User-Agent
            - X-Apollo-Tracing
          allowCredentials: false

by the way, my handlers in handler.js look like this based on (this)
module.exports.server = (event, ctx, callback) => {
  (new GraphQLServerLambda({
    typeDefs: typeDefs,
    resolvers: resolvers,
    context: ctx => ({ ...ctx, loaders: loaders, fields: fields })
  })).graphqlHandler(event, ctx, callback)
}

Regards

This has been fixed and released in 1.14.3 🙂


Camera recognised but black and timeout

Describe the bug
I have problems with all SDK related programs, they quit when trying to access the Azure Kinect.
Logging doesn't work, I get
ERROR: Logger unable to open log file "logs/k4a.log"...
If someone can explain how to enable logging, I will create a better report.
The only hint so far: in the windows camera app, the Kinect is recognized, but the image remains black.
When pressing the shutter button, I get PhotoCaptureTimeOut.
PS: why can't I upload images here?

@jelmerS2 , thank you for your question. Please check out how to collect the logs in our Azure Kinect documentation.

Look at some of our issues about USB controllers and make sure you are using a supported host controller.


fix(docs): fix superstructjs docs link

Component / Package Name:
This PR contains:

[x] bugfix
[ ] feature
[ ] refactor
[x] documentation
[ ] other

Are tests included?

[ ] yes (bugfixes and features will not be merged without tests)
[x] no

Breaking Changes?

[ ] yes (breaking changes will not be merged unless absolutely necessary)
[x] no

If yes, please include "BREAKING CHANGES:" in the first commit message body, followed by a description of what is breaking.
List any relevant issue numbers:

Description

Thank you! @kukac7


fix(build-system) Found an invalid duplicate in vendor.yml, add check to gruntfile

When we introduced vendor.yml (here) the paths for Chart.js where missing a dist subfolder. The correct ones where introduced here, but line 21 was not removed.
It is not a problem, because it is not read nor bundled in the app. However, it should be removed.
On top of that, it would be useful to check if the files in vendor.yml which are being used actually exists, before running the frontend build. That would allow to find these errors faster during the development, an make the explicit.

Thanks, btw no need to use the feat/fix/chore naming constraint here, should only be used with branches.


Drawing Chinese text using DrawText on Blazor WebAssembly is not sharp

Description
Enable Antialias, Blazor WASM DrawText Chinese  is very unclear.
Windows Forms DrawText Chinese is very clear and sharp
What is the method to draw Chinese clearly on Blazor WASM SkiaSharp ？
The following figure shows the test cases：

Code
https://github.com/18779758522/SkiaSharpBlazorWebDemo
Expected Behavior
No response
Actual Behavior
No response
Version of SkiaSharp
2.88.3 (Current)
Last Known Good Version of SkiaSharp
2.88.2 (Previous)
IDE / Editor
Visual Studio (Windows)
Platform / Operating System
Windows
Platform / Operating System Version
No response
Devices
No response
Relevant Screenshots
No response
Relevant Log Output
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

Isn't this the same as https://github.com/mono/SkiaSharp/issues/2797 ? It is frown upon to file the same issue twice.

delete


変更漏れの反映

revert 47726aaa55309645cc317279c7fe135a256da9a4

https://github.com/tokyo-metropolitan-gov/covid19/commit/4df202024a008598e7601d71a0ff630e123e348d で解決🙏


Update Character “bass-note”

Automatically generated by Netlify CMS

👷 Deploy Preview for dynamic-cheesecake-5fbd8b processing.

Name
Link

🔨 Latest commit
8afb3c6eae37b31f7af2249cc1067509551fe99b

🔍 Latest deploy log
https://app.netlify.com/sites/dynamic-cheesecake-5fbd8b/deploys/62ebfba633aef200092e963b


Travis: Up JRuby 9K to <IP_ADDRESS> and 1.7 to .27

This PR supersedes #759.
It had this text:

This PR for rails-5 branch is about removing JRuby 1.7 builds and upping JRuby 9K version numbers to <IP_ADDRESS> (latest stable).
Rails 5 does not support Ruby 1.9, so there's no point in building against it.

Apologies: git rebase master confused me, temporarily. It had to be git rebase rails-5.


Version 0.3.5 changes argument order for private networking

In commit c240b361db580b0a5bb604d9c65572b1b33026d5, ipv6 argument has been inserted between virtio and private_networking.
This breaks downstream code when named arguments are not used (e.g. ansible's digital_ocean module).

Thanks, good catch - fixed and pushed to pip v. 0.3.6

Tested => :+1:
Thanks a lot @zbal. Notified ansible/ansible-modules-core.


Dockerfile templates

added aarch64 ( go arm64) support using common Dockerfiles for X86_64 and aarch64

Much better, thanks. Would you mind modifying the circle conf so that it also builds for arm64?

Also, would you like to squash this in a specific way? (otherwise I will squash everything in a single when merging)

yes please squash the everything into a single merg

I have not used CircleCI but will look into it. What ARMv8 HW is available in your CI environment?

What ARMv8 HW is available in your CI environment?

None, this would be just to test that it cross-compiles cleanly.

@adivjoseph friendly ping

@adivjoseph are you still interested to work on this?

@adivjoseph are you still interested to work on this? I will close it for now, feel free to open another pull request if you want to keep working on it.


Mediaqueries setup - When going from desktop to mobile it doesnt update well the current breakpoint

Issue Report
When using the mediaQueries prop when I change from a desktop layout to a mobile it doesn't change the breakpoint.
Expected Behavior

The breakpoints should change depending on the mediaQueries that I passed as a prop
Actual Behavior
The breakpoint is not changing correctly

Steps to Reproduce the Issue
Use this codesandbox
https://codesandbox.io/s/polished-sun-9lwgh?file=/src/index.js
Open it in desktop (shows desktop) and resize to mobile it will continue showing desktop
Open it in mobile (shows mobile ) and resize to desktop it changes correctly, resize to mobile again and it will show desktop still.
MediaQueries setup
const mediaQueries = {
  _initial: "(min-width: 0px)",
  xs: "(min-width: 320px)",
  sm: "(min-width: 576px)",
  md: "(min-width: 960px)",
  lg: "(min-width: 1280px)",
  xl: "(min-width: 1800px)"
};

The problem here was the setup I did It should have been something like this and not only the min queries. Thanks @SoaresMG for showing me how to do this 🙏
const mediaQueries = {
  _initial: "(min-width: 0px) and (max-width: 319px)",
  xs: "(min-width: 320px) and (max-width: 575px)",
  sm: "(min-width: 576px) and (max-width: 959px)",
  md: "(min-width: 960px) and (max-width: 1279px)",
  lg: "(min-width: 1280px) and (max-width: 1799px)",
  xl: "(min-width: 1800px)"
};

Feel free to close the issue 👍


Missing red csquiggly line/error

Type: Bug
Previously when I type wrong/ missing some code, it will immediately show red csquiggly line under the code. But now it doesn't show the red csquiggly line until I run the terminal... Also in Public static void Main the class name doesn't turn green color word (But last time did show green color)
VS Code version: Code 1.81.0 (6445d93c81ebe42c4cbd7a60712e0b17d9463e97, 2023-08-02T12:37:13.485Z)
OS version: Windows_NT x64 10.0.22621
Modes:

System Info

Item
Value

CPUs
12th Gen Intel(R) Core(TM) i7-12700H (20 x 2688)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: enabled

Load (avg)
undefined

Memory (System)
15.69GB (4.17GB free)

Process Argv
--crash-reporter-id 0b501b61-9a0f-4ca3-abe1-e5e4f9d00ef0

Screen Reader
no

VM
0%

Extensions (4)

Extension
Author (truncated)
Version

csharpextensions
kre
1.7.3

csharp
ms-
2.0.328

vscode-dotnet-runtime
ms-
1.6.0

LiveServer
rit
5.7.9

A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vstes627:30244334
vslsvsres303:30308271
vserr242cf:30382550
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263cf:30335440
vscod805cf:30301675
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593cf:30376535
pythonvs932:30410667
py29gd2263cf:30792227
vsclangdc:30486549
c4g48928:30535728
dsvsc012:30540252
pynewext54:30695312
azure-dev_surveyone:30548225
vscccc:30803845
282f8724:30602487
f6dab269:30613381
vscrp:30673768
showlangstatbar:30737416
vsctsb:30748421
a2ce3375:30757347
pythonfmttext:30731395
pythoncmv:30756943
fixshowwlkth:30771522
showindicator:30805244
pythongtdpath:30769146
i26e3531:30792625
gsofa:30804715
pythonnosmt12:30797651
pythonidxptcf:30805731
pythonnoceb:30805159
e537b577:30795824
dsvsc013:30795093
dsvsc014:30804076

/extC#

It looks like this is caused by the C# extension. Please file the issue to the C# extension repository. Make sure to check their issue reporting template and provide them relevant information such as the extension version you're using. See also our issue reporting guidelines for more information.
Happy Coding!


test: add more terraform unit tests

Note that tests should be failing waiting for this change: https://github.com/twilio/twilio-oai-generator/pull/81


Change the order of overriding on import

Looks like in both cases there will be some inconveniences. So i'll live it for now.


Folder deletion freezes VSCode

VSCode Version: 1.21.1
OS Version: Windows 10

Steps to Reproduce:

Open VSCode
Delete a folder with VSCode which contains many subfolders and files

VSCode freezes until the deletion is the completed

Does this issue occur when all extensions are disabled?: Yes

@100Errors do you have a single folder or multiple folders open?

A folder in VSCode: (for example) "myproject": "node_modules" is one of the subfolders in it.. if I delete  this folder (node_modules) VSCode freezes

@bpasero are you familiar with this issue where deleting a large folder will freeze VS Code on Windows until the delete finished? Looks like this is using the C# file watcher.

@Tyriar well if the deletion is slow we may produce a lot of delete events per file that end up spamming our event listeners. I think we wait fo 50ms to try to fold multiple delete events into one if we can find a common parent.
@100Errors if you run code --verbose and check the console for the output, do you see many file delete events there?

Just two:
[main 18:56:45] windowsService#showMessageBox 1
[16336:0323/185708.531:INFO:CONSOLE(2851)] "%c[File Watcher]", source: file:///C:/Program Files (x86)/Microsoft VS Code/
resources/app/out/vs/workbench/workbench.main.js (2851)
[16336:0323/185708.531:INFO:CONSOLE(2851)] "%c[File Watcher]", source: file:///C:/Program Files (x86)/Microsoft VS Code/
resources/app/out/vs/workbench/workbench.main.js (2851)

@100Errors interesting.
I wonder if this issue is being caused by an installed extension. Can you try to run VS Code without extensions? From the command line (NOT the integrated terminal in Code), execute: code --disable-extensions and try your steps again to see if it reproduces. If you see it is an issue with the extension, please file it against the extension repository itself.

I have already tried this when I created this issue but I retried: Same result (it freezes until it deleted the folder)

@100Errors how large is that folder? how many files?


Bag file record lagging behind when using roslaunch lidar_camera_calibration play_rosbag.launch bagfile:=calinput.bag

So I have a bag file in my workspace folder named calinput.bag. When I run the command, roslaunch lidar_camera_calibration play_rosbag.launch bagfile:=calinput.bag in my Ubuntu 16.04 terminal, it initially lags behind with time; taking around 7-12 seconds to play a steady speed(like the recording is freezing and then actually plays 10 seconds later; observed when doing  rosrun image_view image_view image=/gmsl_camera/port_0/cam_0/image_raw). This lag with the rosbag recording might also be affecting my final calibration launch file when I want to preview the lidar calibrated with the camera. The lidar lines and camera just don't align or overlap as much as they should.

As suggested before, try setting the --rate flag in rosbag play to something lower than 1.0.

Ok, I will try that soon!

For the python solution using the python virtual environment, @heethesh what Python should I use? Python 3 or Python 2?

@Bsting118 Please follow-up only on one thread (preferably just this issue here on GitHub for all your queries).
It does not really matter which Python version you use, I would pick Python 3 as Python 2 is no longer supported and might not have the latest OpenCV libraries.

Ok, I will ask questions in this thread and thank you for the input!

@heethesh I made the Python 3 virtual environment successfully in my workspace folder/directory. However, I tried doing the pip install opencv-python and it gave me an ImportError saying "No module named 'skbuild' ". It also gave red text saying "Command 'python setup.py egg_info' failed with error code 1 in /tmp/pip-build-kboewfzm/opencv-python/". Why did it give me these errors? My pip version is 8.1.1.

Follow this https://pypi.org/project/opencv-python/

I followed the guide and after doing $ pip install opencv-python it gives me a whole block of red text with the main error reading: "Problem with the CMake Installation, aborting build. CMake executable is cmake; ERROR: Failed building wheel for opencv-python". Seems my CMake is causing issues somehow. My Python version is 3.5 for Python 3 and Python is 2.7; I updated my pip in my virtual env so maybe my Python 3.5 is not supported? How do I fix this without updating my global Python version? Can you update Python ONLY within the virtual environment?

Try this instead pip install opencv-python==<IP_ADDRESS>

Ok I will try that soon, thank you!

I got some Proxy errors and failed-retries after executing those above pip commands; in fact anything I do with pip now does the failed/retry. I am using a PX2 currently so my config is a little unusual; its an arm architecture.

It keeps saying, "WARNING: Retrying (Retrty(...)) after connection broken by 'ProxyError('Cannot connect to proxy.', NewConnetionError'..." Then does that like 4 times and then says "ERROR: Could not find a version that satisfies the requirement opencv-python==<IP_ADDRESS>(from versions: none).

I think its because I didn't connect to the internet via ethernet. I will do that on my Nvidia PX2 first and then try your pip commands in my virtual environment again.

It says there is no version that satisfies the requirement for pip install opencv-python==<IP_ADDRESS>. The <IP_ADDRESS> was recognized BUT it gave me a block of red text with the Error reading: "Problem with the CMake installation, aborting build. CMake executable is cmake. ERROR: Failed building wheel for opencv-python." Is there another command I could do? Could it be the directory that my virtual environment is in be causing this cmake error problem?

After doing $ pip install opencv-python==<IP_ADDRESS>:
ERROR: Command errored out with exit status 1:
command: /home/nvidia/ros_l-c_cal_workspace/env/bin/python3 /home/nvidia/ros_l-c_cal_workspace/env/lib/python3.5/site-packages/pip/_vendor/pep517/_in_process.py build_wheel /tmp/tmp60dd0nvb
cwd: /tmp/pip-install-vjicr_iu/opencv-python
Complete output (10 lines):
/tmp/pip-build-env-dbh61f2w/overlay/lib/python3.5/site-packages/cmake/data/bin/cmake: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory
File "/tmp/pip-build-env-dbh61f2w/overlay/lib/python3.5/site-packages/skbuild/setuptools_wrap.py", line 560, in setup
cmkr = cmaker.CMaker(cmake_executable)
File "/tmp/pip-build-env-dbh61f2w/overlay/lib/python3.5/site-packages/skbuild/cmaker.py", line 95, in init
self.cmake_version = get_cmake_version(self.cmake_executable)
File "/tmp/pip-build-env-dbh61f2w/overlay/lib/python3.5/site-packages/skbuild/cmaker.py", line 82, in get_cmake_version
"Problem with the CMake installation, aborting build. CMake executable is %s" % cmake_executable)
Traceback (most recent call last):
Problem with the CMake installation, aborting build. CMake executable is cmake
ERROR: Failed building wheel for opencv-python
Failed to build opencv-python
ERROR: Could not build wheels for opencv-python which use PEP 517 and cannot be installed directly

You are probably on a different architecture where opencv-python is no pre-built for. You should check the platforms pre-built here in the Download Files tab. Also check the release history tab for other version. If none of these work for you, OpenCV python lib needs to be built from source or check the Nvidia website if they release a version for your platform. It is easier if you work on a x86/amd64 platform running Ubuntu 18.


Unable to refill DC balance on self-hosted router

I went to https://my_domain/api/organizations/ to retrieve an organization ID (since I can't get any info from  router dc_tracker info all due to https://github.com/helium/router/issues/400 )
I then executed the following command:
docker exec helium_router router dc_tracker refill d0bd698c-b0d8-4168-984a-8ce431549901 -b 50 -n 1 --dry-run
and got the result
Could not find the Organization you're looking for
Create <<"d0bd698c-b0d8-4168-984a-8ce431549901">> by passing the --force flag

ok

I expected to be able to refill the organization. Should I use a different ID? If so, how do I get it?
docker logs helium_router -f does not display any information when the command is executed.

I think I answered this in https://github.com/helium/router/issues/400
If the org is not in cache yet you can use --force to created it:
$  router dc_tracker refill test -b 20 -n 1
Could not find the Organization you're looking for
Create <<"test">> by passing the --force flag
ok

$ router dc_tracker refill test -b 20 -n 1 --force
Created <<"test">> with 20 @ epoch 1
ok

$ router dc_tracker info all
 test --> [balance: 20] [nonce: 1]

I need to 2x check the impact on console to override/refill the balance on Router (as it only act as a cache)

After chatting with the team we decided that there is misunderstanding cause by the fact that this CLI is only for router's cache.
We will resolve it by updating the CLI to include data from Console's DB and also make the refill not only a cache refill but also a Console DB update (Console API are already available) so that we avoid any future issues.

This https://github.com/helium/router/pull/411 should clear up the situation a little, please see readme for more details.


Fix spelling mistake

I'm terrible, such a programmer

 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.:x: chrisrharris sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

Mistake


[svgs] Migrate more svgs

Notes for Reviewers
This PR fixes #
Signed commits

[ ] Yes, I signed my commits.

@sudhanshutech all fixed up?

no , i am going add few list of svgs just in some moment and fix the above thing

@sudhanshutech merge conflict


API rate limits

I was trying to get the limits for my user on the API, but I get None for all the three calls:
import sevenbridges as sbg
c = sbg.Config(profile='sbpla')
api = sbg.Api(config=c)
# Let's print the rate limit:
print(api.limit) # prints None
print(api.remaining) # prints None
print(api.reset_time) # prints None

However, if I do call my user first I get the expected result:
api.users.me()
print(api.limit)
print(api.remaining)
print(api.reset_time)

Output
<User: username=mmattioni>
1000
999
2016-10-05 15:34:54
```

I guess this is a minor bug, or if it is intended to be used like this, the docs should be updated:  http://sevenbridges-python.readthedocs.io/en/latest/quickstart/#rate-limit

I guess it's @SenadI and @damirkrstanovic call

More on this.
check this function:
def check_api_limits(call_user=True):
    if call_user:
        api.users.me()
    print("The limit is: {0}, the number of remaining call is: {1}, will be reset at: {2}".format(
        api.limit, api.remaining, api.reset_time))

If I call the user I get:
check_api_limits(call_user=True)
The limit is: 1000, the number of remaining call is: 981, will be reset at: 2016-10-05 15:41:06

otherwise I do get no update:
check_api_limits(call_user=False)
The limit is: 1000, the number of remaining call is: 981, will be reset at: 2016-10-05 15:41:06

Rate limit becomes available when you call something on the API. Prior to that you can not get your rate limit because there is None set. This is a correct behaviour. I agree that additional documentation should be added to state this fact more precisely and I will add it.

@SenadI yeah that makes sense. Just add it to the docs so a user knows :+1:

@SenadI Maybe we can fetch rate limit info if they are set to None? That way, if user did send some requests, rate limit will be populated and we can just return it, but if rate limit check is first thing that user checks - we can fetch it, populate it and return it? Does that make sense to you?

@delicb, @mattions -  Considering that there are already two supporters for this I yield :) Will be done in the next version. The rate limit will be fetched if it evaluates to None


x509 and x509v3 directories are intermixed and should perhaps be combined

yes, flip a coin to see which directory survives. :)

x509ii :)

Make symlinks? :-)  I am very sympathetic to the observation, the split is arbitrary, and non-v3 is ancient history. However, I am concerned that we'd make it more difficult for folks to main cross branch patches, for a somewhat cosmetic reason.  So both making the change and not making it have similar appeal to me...

I don't quite understand in what way symlinks will help.

Symlinks can give the appearance of having all the files in the same directory. This is not a suggestion for the master copy, just a convenience a user can create for himself while working with the files.  Not a serious suggestion, but perhaps someone might actually find it better than nothing...

#8925 is my attempt.

And perhaps do something with #8211 which is similar.


A bug in dodrio-data-gen.py

Hello, authors, It's excellent work! And I have a little bug unsolved when I run dodrio-data-gen.py.
The bug seems here
my_loss,my_logit,attentions=my_model(tokens,attention_mask=masks,labels=labels.long(),output_attentions=True)
The details are shown as follows:
Using device: cuda
Reusing dataset glue (/root/.cache/huggingface/datasets/glue/sst2/1.0.0/7c99657241149a24692c402a5c3f34d4c9f1df5ac2e4c3759fadea38f6cb29c4)
2. Extracting Attention Weights and Gradients...
Some weights of the model checkpoint at bert-base-uncased were not used when initializing MyBertForSequenceClassification: ['cls.predictions.bias', 'cls.predictions.transform.LayerNorm.bias', 'cls.seq_relationship.weight', 'cls.predictions.decoder.weight', 'cls.predictions.transform.dense.weight', 'cls.seq_relationship.bias', 'cls.predictions.transform.LayerNorm.weight', 'cls.predictions.transform.dense.bias']
- This IS expected if you are initializing MyBertForSequenceClassification from the checkpoint of a model trained on another task or with another architecture (e.g. initializing a BertForSequenceClassification model from a BertForPreTraining model).
- This IS NOT expected if you are initializing MyBertForSequenceClassification from the checkpoint of a model that you expect to be exactly identical (initializing a BertForSequenceClassification model from a BertForSequenceClassification model).
Some weights of MyBertForSequenceClassification were not initialized from the model checkpoint at bert-base-uncased and are newly initialized: ['classifier.bias', 'classifier.weight']
You should probably TRAIN this model on a down-stream task to be able to use it for predictions and inference.
Some weights of the model checkpoint at bert-base-uncased were not used when initializing BertForSequenceClassification: ['cls.predictions.bias', 'cls.predictions.transform.LayerNorm.bias', 'cls.seq_relationship.weight', 'cls.predictions.decoder.weight', 'cls.predictions.transform.dense.weight', 'cls.seq_relationship.bias', 'cls.predictions.transform.LayerNorm.weight', 'cls.predictions.transform.dense.bias']
- This IS expected if you are initializing BertForSequenceClassification from the checkpoint of a model trained on another task or with another architecture (e.g. initializing a BertForSequenceClassification model from a BertForPreTraining model).
- This IS NOT expected if you are initializing BertForSequenceClassification from the checkpoint of a model that you expect to be exactly identical (initializing a BertForSequenceClassification model from a BertForSequenceClassification model).
Some weights of BertForSequenceClassification were not initialized from the model checkpoint at bert-base-uncased and are newly initialized: ['classifier.bias', 'classifier.weight']
You should probably TRAIN this model on a down-stream task to be able to use it for predictions and inference.
  0%|                                                                    | 0/127 [00:00<?, ?it/s]
Traceback (most recent call last):
  File "/home/yukyin/anaconda3/envs/exp381/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/home/yukyin/anaconda3/envs/exp381/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/root/.vscode-server/extensions/ms-python.python-2022.4.1/pythonFiles/lib/python/debugpy/__main__.py", line 45, in <module>
    cli.main()
  File "/root/.vscode-server/extensions/ms-python.python-2022.4.1/pythonFiles/lib/python/debugpy/../debugpy/server/cli.py", line 444, in main
    run()
  File "/root/.vscode-server/extensions/ms-python.python-2022.4.1/pythonFiles/lib/python/debugpy/../debugpy/server/cli.py", line 285, in run_file
    runpy.run_path(target_as_str, run_name=compat.force_str("__main__"))
  File "/home/yukyin/anaconda3/envs/exp381/lib/python3.8/runpy.py", line 265, in run_path
    return _run_module_code(code, init_globals, run_name,
  File "/home/yukyin/anaconda3/envs/exp381/lib/python3.8/runpy.py", line 97, in _run_module_code
    _run_code(code, mod_globals, init_globals,
  File "/home/yukyin/anaconda3/envs/exp381/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/home/yukyin/PycharmProjects/test/xiaoyanghua_new/humor/dodrio/data-generation/dodrio-data-gen.py", line 966, in <module>
    output = my_model(input_ids=tokens
  File "/home/yukyin/anaconda3/envs/exp381/lib/python3.8/site-packages/torch/nn/modules/module.py", line 889, in _call_impl
    result = self.forward(*input, **kwargs)
  File "/home/yukyin/anaconda3/envs/exp381/lib/python3.8/site-packages/transformers/models/bert/modeling_bert.py", line 1502, in forward
    outputs = self.bert(
  File "/home/yukyin/anaconda3/envs/exp381/lib/python3.8/site-packages/torch/nn/modules/module.py", line 889, in _call_impl
    result = self.forward(*input, **kwargs)
  File "/home/yukyin/anaconda3/envs/exp381/lib/python3.8/site-packages/transformers/models/bert/modeling_bert.py", line 971, in forward
    encoder_outputs = self.encoder(
  File "/home/yukyin/anaconda3/envs/exp381/lib/python3.8/site-packages/torch/nn/modules/module.py", line 889, in _call_impl
    result = self.forward(*input, **kwargs)
  File "/home/yukyin/anaconda3/envs/exp381/lib/python3.8/site-packages/transformers/models/bert/modeling_bert.py", line 568, in forward
    layer_outputs = layer_module(
  File "/home/yukyin/anaconda3/envs/exp381/lib/python3.8/site-packages/torch/nn/modules/module.py", line 889, in _call_impl
    result = self.forward(*input, **kwargs)
TypeError: forward() takes from 2 to 7 positional arguments but 8 were given

I have tried different versions of transformers,but it doesn't work.

Sorry for the late reply! Perhaps try to install transformers==3.3.1?
Here is the our conda environment:
name: nlp
channels:
  - pytorch
  - conda-forge
  - defaults
dependencies:
  - _libgcc_mutex=0.1=main
  - attrs=20.2.0=pyh9f0ad1d_0
  - backcall=0.2.0=py_0
  - blas=1.0=mkl
  - bleach=3.2.1=pyh9f0ad1d_0
  - ca-certificates=2020.6.20=hecda079_0
  - certifi=2020.6.20=py37hc8dfbb8_0
  - cudatoolkit=10.0.130=0
  - decorator=4.4.2=py_0
  - defusedxml=0.6.0=py_0
  - entrypoints=0.3=py37hc8dfbb8_1001
  - freetype=2.10.2=h5ab3b9f_0
  - importlib-metadata=2.0.0=py37hc8dfbb8_0
  - importlib_metadata=2.0.0=0
  - intel-openmp=2020.2=254
  - ipykernel=5.3.4=py37h5ca1d4c_0
  - ipython=7.18.1=py37h5ca1d4c_0
  - ipython_genutils=0.2.0=py37_0
  - ipywidgets=7.5.1=pyh9f0ad1d_1
  - jedi=0.17.2=py37_0
  - jinja2=2.11.2=pyh9f0ad1d_0
  - jpeg=9b=h024ee3a_2
  - jsonschema=3.2.0=py37hc8dfbb8_1
  - jupyter_client=6.1.7=py_0
  - jupyter_core=4.6.3=py37_0
  - lcms2=2.11=h396b838_0
  - ld_impl_linux-64=2.33.1=h53a641e_7
  - libedit=3.1.20191231=h14c3975_1
  - libffi=3.3=he6710b0_2
  - libgcc-ng=9.1.0=hdf63c60_0
  - libpng=1.6.37=hbc83047_0
  - libsodium=1.0.18=h7b6447c_0
  - libstdcxx-ng=9.1.0=hdf63c60_0
  - libtiff=4.1.0=h2733197_1
  - lz4-c=1.9.2=he6710b0_1
  - markupsafe=1.1.1=py37h8f50634_1
  - mistune=0.8.4=py37h8f50634_1001
  - mkl=2020.2=256
  - mkl-service=2.3.0=py37he904b0f_0
  - mkl_fft=1.2.0=py37h23d657b_0
  - mkl_random=1.1.1=py37h0573a6f_0
  - nbformat=5.0.7=py_0
  - ncurses=6.2=he6710b0_1
  - ninja=1.10.1=py37hfd86e86_0
  - numpy=1.19.1=py37hbc911f0_0
  - numpy-base=1.19.1=py37hfa32c7d_0
  - olefile=0.46=py37_0
  - openssl=1.1.1h=h516909a_0
  - packaging=20.4=pyh9f0ad1d_0
  - pandoc=2.10.1=h516909a_0
  - pexpect=4.8.0=py37_1
  - pickleshare=0.7.5=py37_1001
  - pillow=7.2.0=py37hb39fc2d_0
  - pip=20.2.3=py37_0
  - prometheus_client=0.8.0=pyh9f0ad1d_0
  - prompt-toolkit=3.0.7=py_0
  - pygments=2.7.1=py_0
  - pyparsing=2.4.7=pyh9f0ad1d_0
  - pyrsistent=0.17.3=py37h8f50634_0
  - python=3.7.9=h7579374_0
  - python-dateutil=2.8.1=py_0
  - python_abi=3.7=1_cp37m
  - pytorch=1.4.0=py3.7_cuda10.0.130_cudnn7.6.3_0
  - readline=8.0=h7b6447c_0
  - send2trash=1.5.0=py_0
  - setuptools=49.6.0=py37_1
  - six=1.15.0=py_0
  - sqlite=3.33.0=h62c20be_0
  - terminado=0.9.1=py37hc8dfbb8_0
  - testpath=0.4.4=py_0
  - tk=8.6.10=hbc83047_0
  - torchvision=0.5.0=py37_cu100
  - tornado=6.0.4=py37h7b6447c_1
  - traitlets=5.0.4=py_0
  - wcwidth=0.2.5=py_0
  - wheel=0.35.1=py_0
  - widgetsnbextension=3.5.1=py37hc8dfbb8_1
  - xz=5.2.5=h7b6447c_0
  - zeromq=4.3.2=he6710b0_3
  - zlib=1.2.11=h7b6447c_3
  - zstd=1.4.5=h9ceee32_0
  - pip:
    - argon2-cffi==20.1.0
    - async-generator==1.10
    - captum==0.2.0
    - cffi==1.14.3
    - chardet==3.0.4
    - click==7.1.2
    - cycler==0.10.0
    - datasets==1.4.1
    - dill==0.3.3
    - filelock==3.0.12
    - fsspec==0.8.7
    - huggingface-hub==0.0.2
    - idna==2.10
    - install==1.3.4
    - ipython-genutils==0.2.0
    - jenkspy==0.2.0
    - joblib==0.17.0
    - json5==0.9.5
    - jupyterlab==2.2.8
    - jupyterlab-pygments==0.1.2
    - jupyterlab-server==1.2.0
    - kiwisolver==1.2.0
    - matplotlib==3.3.2
    - multiprocess==<IP_ADDRESS>
    - nbclient==0.5.0
    - nbconvert==6.0.6
    - nest-asyncio==1.4.1
    - networkx==2.5
    - notebook==6.1.4
    - opencv-python==<IP_ADDRESS>
    - pandas==1.1.3
    - pandocfilters==1.4.2
    - parso==0.7.1
    - protobuf==3.15.5
    - ptyprocess==0.6.0
    - pyarrow==3.0.0
    - pycparser==2.20
    - pytz==2020.1
    - pyzmq==19.0.2
    - regex==2020.9.27
    - requests==2.24.0
    - sacremoses==0.0.43
    - scikit-learn==0.23.2
    - scipy==1.5.2
    - seaborn==0.11.0
    - sentencepiece==0.1.91
    - sklearn==0.0
    - stanza==1.2
    - threadpoolctl==2.1.0
    - tokenizers==0.8.1rc2
    - tqdm==4.49.0
    - transformers==3.3.1
    - urllib3==1.25.10
    - webencodings==0.5.1
    - xxhash==2.0.0
    - zipp==3.2.0

I will close the issue for now. Let me know if it does not fix the issue. Thanks!


using jaro-winkler, see if it passes pytest

Two thoughts:

in our corpus of names, we should expect non-matches and variants for first names (bob vs robert) more often than for surnames, which tend to be stable for administrative purposes. Jaro-Winkler prioritizes matches in the early characters of two strings. This is not especially useful for us.
we might think of running jar-winkler on substrings, comparing first and last names, for example. However, in cases where the number of substrings don't match up, this is less useful.
We can improve performance easily by reversing the strings: consider that the JW score of 'bob smith' and 'robert smith' is just 0.72, while 'anantarya smith' and 'robert smith' have a score of .69. If we reverse the strings, this goes to .91 vs .69. This also helps us prioritize surnames, which are more stable and often more identifying.
another route would be to switch to a substring matching algorithm. These tend to be slower, but this may not be too much of a problem if we plan to run this relatively rarely.

Two thoughts:

in our corpus of names, we should expect non-matches and variants for first names (bob vs robert) more often than for surnames, which tend to be stable for administrative purposes. Jaro-Winkler prioritizes matches in the early characters of two strings. This is not especially useful for us.
we might think of running jar-winkler on substrings, comparing first and last names, for example. However, in cases where the number of substrings don't match up, this is less useful.
We can improve performance easily by reversing the strings: consider that the JW score of 'bob smith' and 'robert smith' is just 0.72, while 'anantarya smith' and 'robert smith' have a score of .69. If we reverse the strings, this goes to .91 vs .69. This also helps us prioritize surnames, which are more stable and often more identifying.
another route would be to switch to a substring matching algorithm. These tend to be slower, but this may not be too much of a problem if we plan to run this relatively rarely.

This would also help for address names: the cities and street names of addresses are more identifying than street numbers.

I may also consider making a variant of jaro-winkler: the current prefix limit is 4 characters, while we may benefit from longer matches at the end. An algorithm that weights matches more strongly based on how close they are to the beginning or end could work.


Demo or example

Is there a demo or example on how I can use this in my project? What is ConfigService? What are the dependencies? Should I have 'ioredis' already installed?

Is there a demo or example on how I can use this in my project? What is ConfigService? What are the dependencies? Should I have 'ioredis' already installed?

ConfigService is a service which can be intject.
You can use like this
And you don't need install 'ioredis'.


fix drag to build in visual studio

Thank you for the contribution. I have just couple of notes.
On the dev branch, I have already changed the problematic code to use std::filesystem, so it should be possible to build it in visual studio with sufficiently high version. I will merge this pull request as a temporary workaround, but eventually it is gonna get overwritten when I get around to finishing the changes on the dev branch and merge it with master.
Before I merge this pull request though, I would like to ask, what is the purpose of the vcpkg.json file and is it really neccessary to be included in the repo?

vcpkg.json declares dependency on tronkko/dirent lib resolved by vcpkg, because Windows doesn't fully POSIX-compliant.

I see. So it probably needs to stay. I was hoping to avoid cluttering the repo with configuration files. Anyway, I will merge this now. Thank you for the contribution.


Webpack compilation error - Class private methods are not enabled

I have some classes utilizing private methods. Cypress 7.6.0 didn't have an issue. When I upgraded to 7.7.0, this Webpack compilation error began occurring. Is there a way around this?
Error: Webpack Compilation Error
Module build failed (from C:/Users/UserDir/AppData/Local/Cypress/Cache/7.7.0/Cypress/resources/app/packages/server/node_modules/babel-loader/lib/index.js):
SyntaxError: Class private methods are not enabled.

This is a stale issue and it describes an issue with a legacy version of Cypress, not with github-action.


Link to documentation on crates.io seems broken

Thanks for noticing the problem! It should now be fixed.


404 error

can't open [CMSIS_DFP repository]  in startup file section

Hello,
thanks for reporting the error. The proper link is https://github.com/Arm-Software/Cortex_DFP. I'll get that changed.


Use only one aligned alloc func, work around msys2

Fixes #76.
Proposed changes:

Cascading tests for the aligned malloc func as recommended by @nirbheek
Workaround for compilation on MSYS2: a hopefully temporary platform check

Benchmark results:

Still cannot compile on Win32 (blocked by #88)

Test suite changes:

None

As recommended by @nirbheek, only search for a single aligned memory
allocation function: https://github.com/ebassi/graphene/pull/86#issuecomment-264900534
The cascade of tests means we can exclude the ones for which MSYS2's
native mingw-w64 builtins and headers conspire to provide meson with a
dud test. Although it is still not clear that meson is doing the right
thing in this case (mesonbuild/meson#1083), we can work around the
failed build in graphene by excluding certain POSIXy cases on Windows.
Closes ebassi/graphene#76, leaving ebassi/graphene#88 unsolved.

@ebassi @nirbheek
I've incorporated your suggested changes. I hope the comment is now acceptably free of any github-isms.

@nirbheek Fixed :smile:

Please note that although I have used URIs in the commit messages, github is aware of this and has corrected them to the shorter # form.


ignore_empty not implemented

Hi Team,
I have below annotation on .protofile
  string email = 7
      [ (validate.rules).string = {ignore_empty : true, email : true} ];

But the generated code doesn't take ignore_empty into account
the generated code is as below

	if err := m._validateEmail(m.GetEmail()); err != nil {
		return ContactValidationError{
			field:  "Email",
			reason: "value must be a valid email address",
			cause:  err,
		}
	}
.....

func (m *Contact) _validateEmail(addr string) error {
	a, err := mail.ParseAddress(addr)
	if err != nil {
		return err
	}
	addr = a.Address

	if len(addr) > 254 {
		return errors.New("email addresses cannot exceed 254 characters")
	}

	parts := strings.SplitN(addr, "@", 2)

	if len(parts[0]) > 64 {
		return errors.New("email address local phrase cannot exceed 64 characters")
	}

	return m._validateHostname(parts[1])
}

Can someone help me how can I ignore email if it's empty?

Hi,
Similar issue with URI as well

seems to also affect uuid as well.

I'm pleased to inform you that this feature is already implemented in all standard constraints within our protovalidate project.
As we move forward with protovalidate I will consider this resolved and close this issue. If you have more questions or suggestions down the line, feel free to reach out.


Execution failed for task ‘:react-native-deepar:bundleReleaseLocalLintAar’

My project is developed in React Native and We are facing issue with the creating a build with Android App, We are facing following issue while creating a release build.
Execution failed for task ‘:react-native-deepar:bundleReleaseLocalLintAar’
if anyone know how to solve this problem, Please send me your reply.

Same issue
any update on this?


Missing Transactions with Electrs

Transaction loading is incomplete when loading from Electrs.
Approx 25% of transactions are found when making a new wallet from an old xpub+derivation path. This is despite manually setting the gap limit to 100 and the wallet birtday to many years before the wallet was created.
Subsequent wallet refreshes find additional transactions. After many refreshes the number of transactions found appears to level off at 50% of the true total.
Sparrow version 1.5.5 connecting to Electrs v0.9.1 over tor

Could you test with an ElectrumX server (ideally not over Tor) to determine if the problem lies on the Sparrow side, or the Electrs side?

I will update when I have an ElectrumX server set up

I have been having the same issue using an ElectrumX server over Tor running the same version of Sparrow. After several wallet refreshes and connecting to a different server, then back to the ElectrumX I was able to get all of the transactions to load but I lost nearly all of my transaction labels.


New Version: OO-Software.BlueCon version 21.0.12065

Microsoft Reviewers: Open in CodeFlow

Automatic Validation ended with:
(Automated response - build 886.)


FR: Add Plugin inheritance

Hi,
I know is it maybe big change but it will help me a lot.
I need to add possibility add some endpoints to existing plugin without need to modify it...
Example:
i have plugin for HR like list of employe
and i want extend this plugin by another plugin with require HR plugin to be installed.
Thank you

Hello.
I probably understand your idea, which is similar to nested blueprint (added in v3.6.2), but what you want is to add view routing to another plug-in in, just like VEP, right?
If so, it's not difficult.

该邮件从移动设备发送
--------------原始邮件--------------
发件人："halali @.>;
发送时间：2021年8月19日(星期四) 下午5:13
收件人："staugur/Flask-PluginKit" @.>;
抄送："Subscribed @.***>;
主题：[staugur/Flask-PluginKit] FR: Add Plugin inheritance (#4)
Hi,
I know is it maybe big change but it will help me a lot.
I need to add possibility add some endpoints to existing plugin without need to modify it...
Example:
i have plugin for HR like list of employe
and i want extend this plugin by another plugin with require HR plugin to be installed.
Thank you
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.

For my use case for now i need to make nested navigation menu in template...
After i need to check how this will work with sqlalchemy models

Is there any sample code to realize the function?
In addition, I just noticed the title of this issue, which gave me inspiration, not only to implement the description function I answered for the first time, but to directly extend the function of a plug-in or any plug-in, that is, update the return value of the register function.

sorry i get lost...
for start i need extend existing menu in template created by plugin by another plugin...
I see that in open source project odoo

I am in China, and there is a time difference.
I will implement a function first, located in the branch feat/issue4, after completion, you can try to see if it meets your requirements.

Sorry, it's a bit late.
You can try to install the code of this branch:
pip install -U git+https://github.com/staugur/Flask-PluginKit.git@feat/issue4

Usage, in the register method of your plug-in:
def update(the_plugin_tcp_data):
    # your code: operate `the_plugin_tcp_data` and the return type must be consistent.
    return the_plugin_tcp_data

def register():
    # p3 format: { "Target plugin_name": {"pet": "pet_processing_function"} }
    # eg.
    return dict(p3=dict(a_plugin_name=dict(tcp=update)))

Hi i just test what did you made...
I think you can close this issue, i will thinking about how i can implement this for my use case.
Thank you


Preview images in the Sixel support fork of st terminal

Please describe the problem you're trying to solve
I'm using st with the Sixel patch. Image previews are only working if I set export TERM_PROGRAM=BlackBox.
Would you be willing to contribute this feature?

[ ] Yes, I'll give it a shot

Describe the solution you'd like
It would be nice if there is a configuration option to set the image preview method explicitly.
Additional context
No response

I don't think it's necessary because Yazi already supports detecting whether a terminal supports Sixel through the DA1 sequence - the terminal needs to respond with the correct value to indicate Sixel support.
Unfortunately, it seems that several popular forks of st with Sixel support don't handle it correctly. If you're using https://github.com/galatolofederico/st-sixel, please apply this patch to the config.h file:
/* identification sequence returned in DA and DECID */
- char *vtiden = "\033[?6c";
+ char *vtiden = "\033[?4;6c";

Then recompile st and run echo '\033[c'; cat in the terminal, you should see the following output:
^[[?4;6c

This way, other Sixel-compatible CLI/TUI tools will also benefit.

/* identification sequence returned in DA and DECID */
- char *vtiden = "\033[?6c";
+ char *vtiden = "\033[?4;6c";

That works! I'm using st-flexipatch, which does say it uses a Sixel DA sequence, but a slightly different one: https://github.com/bakkeby/st-flexipatch/blob/aa5957495d315a2aca2a846a48ba9f7557353ec5/config.def.h#L57

Please try https://github.com/sxyazi/yazi/pull/1094 without the patch, this PR should fix this problem.

Please try #1094 without the patch, this PR should fix this problem.

#1094 fixes it.

Then recompile st and run echo '\033[c'; cat in the terminal

In case someone finds this, I think it should be echo -e for most versions of echo.


Add skip and limit support to cursors

@michaelkryukov , we noticed some missing functionality our app relies on. Any change we can merge this in?

You right, this functionality is important. I implemented cursor's methods in more generic way in commit.


Fixe ALTER TABLE page

Remove extra tag to get page to render.
Also remove callout from schema-change-view-job include, now that the header already calls out new in 1.1.

This change is

http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/708d9bb7f2a8a03b2306d9d33791d2e21dfd68ce/


Added scripts to test database migration between MSSQL and Postgres

These scripts will help to validate a Database migration from Microsoft SQL Server to PostgreSQL.

Closing the issue as no more status were made.


fix(minor): added missing **kwargs parameter to chroma query function

Description:
This PR adds the **kwargs parameter to six calls in the chroma.py package. All functions already were able to receive kwargs but they were discarded before.
Issue:
When passing kwargs to functions in the chroma.py package they are being ignored.
For example:
chroma_instance.similarity_search_with_score(
    query,
    k=100,
    include=["metadatas", "documents", "distances", "embeddings"],  # this parameter gets ignored
)

The include parameter does not get passed on to the next function and does not have any effect.
Dependencies:
None

@baskaryan Is there an estimate of when this can be released?

@jeffchuber @baskaryan can this be merged?


send_timeout alternative

I am currently looking for a replacement for the tokio mpsc channel, which has increased throughput and the ability to cancel channels from a Sender, and it seems like tachyonix is ticking all the boxes!
The only thing I am currently uncertain about is the cancel safety of .send() in the sense that I want to emulate send_timeout() because there's no dedicated method of doing so I thought of using tokio::time::timeout(duration, sender.send()), but I am unsure if this is supported and won't lead to any side effects. So any help in clarifying this would be appreciated!
Thank you so much in advance.

Yes, this should work. Internally, this relies on the async_event::WaitUntil primitive, which supports cancellation.
There is also a test for sender cancellation.

The only thing that might be complicate this solution tho is that once the duration has elapsed and the timeout was triggered, the item that was supposed to be sent has been lost.
tokio solves this over a permit like API, where you first acquire a permit, and then once acquired send the item. This allows you timeout the permit process and not lose the item. (This is also helpful in other scenarios, for example, where you first need to make sure you have space for an item before you actually create it or do any meaningful work)

I see, you are right, there is currently no way to get the value back when the future is cancelled.
I don't remember the details of the permit system in tokio's channel: does it ensure that the timeout is relative to when channel capacity is booked (i.e. when the value is actually queued), or is it relative to when the value is dequeued/received? By the way I am not sure what you mean by "make sure you have space for an item": can't you use try_send for this purpose?
In any case, senders in Tachyonix retain ownership of the value until it is sent, so in theory one could implement a send_timeout method where the deadline is relative to the moment when the value is queued, but even so there are 2 practical issues:

introducing a timer would put a hard dependency on tokio, which goes against the intentional minimalism of Tachyonix (even with feature-gating),
the generated future would need to be implemented by hand, which is always a bit tricky (all this complexity is now elegantly hidden in async_event::WaitUntil).

A solution that avoids issue 1) above would be to introduce a method such as:
pub async fn send_timeout(&self, timeout: impl Future<Output=()>) -> Result<(), SendTimoutError<T>>

where the argument could be a tokio::time::Sleep future.
I would accept a PR for this if you were willing to make one.

I had a deeper look at this. While I am pretty sure it can work, I haven't found a way to implement it without a lot of work so I'm afraid this will need to wait for a smarter or more courageous soul...

Thank you. I'll try to give it a try, though I am not sure I'll be able to succeed. Writing that sort of performant correct async code is quite tricky to get right.

The permit API cannot fully be modeled with try_send, because with permit, you can do:
let sender = ...;

let permit = sender.permit().await?;

// I have a safe spot in the queue
// if I `drop` that spot will be reclaimed

let x = something_that_involves_significant_work();

permit.send(x);

try_send doesn't solve this because before sending, I need to have my item ready.
Hope that makes sense!

There is some good news: after thinking a bit more about it I realized that this could in fact be done pretty painlessly. It was easier to add support for this directly in the async-event crate so this is what I did (a new version was published a couple of minutes ago).
I will publish a new version of Tachyonix soon which contains not only a send_timeout but also a recv_timeout.


Document "best practices" for developers utilizing the "ui.frontend.general" package

My team is new to AEM 6.5, and we're developing off of the latest version archetype with the "ui.frontend.general" feature enabled. By referring to this document, we have been able to utilize SCSS, JavaScript, WebPack and its static HTML file to experiment with implementing components.
However, what is the best-practice for developing these components while utilizing "ui.frontend.general"? Searching online for tutorials utilizing AEM with WebPack brings us links such as these, which while useful for 2017, does not apply today since it details how to bundle JavaScript/CSS directly with the component code in the "ui.apps" project. This is another AEM WebPack example that emphasizes the use of "ui.apps" instead of "ui.frontend.general".
While the WKND Project does cover utilizing "ui.frontend.general" a bit with SCSS, it unfortunately does not detail how to write modular JavaScript within "ui.frontend,general" for custom components. Referencing other Adobe documentation for client-libraries and JavaScript seems that it is only applicable to projects not utilizing "ui.frontend.general".
Over at the Core Components repository, they have a wiki with items that detail the basics of AEM concepts such as the delegation pattern. Having a similar wiki item on this repository regarding "ui.frontend.general", and a simple custom component with JavaScript, SCSS and reference HTL files would be immensely useful. While the beauty of "ui.frontend.general" is that it can be extended by developers to utilize a wide variety of tools, it is important that there is a clear structural and implementation definition of what the SCSS and JavaScript files should look like within the "ui.frontend.general" project before it is consumed and deployed to AEM.

Hi @jkernMINITAB thank you for raising this. Its true we can do a better job at addressing this. There is some documentation around the ui.frontend module documented here: https://docs.adobe.com/content/help/en/experience-manager-core-components/using/developing/archetype/uifrontend.html. Its true that the WKND tutorial doesn't have an example of a custom component with Javascript. However the full WKND reference site does have a few examples (although not many...) : https://github.com/adobe/aem-guides-wknd/blob/master/ui.frontend/src/main/webpack/components/form/sign-in-buttons/sign-in-buttons.js

@godanny86, thank you very much for the direct link to an example within the finished "WKND Project" reference site; I noticed that you coded it yourself. :) Between reviewing official documentation and watching PluralSight videos, it honestly didn't cross my mind to use the finished project as a reference point!
I'll share the example code with my team so we can plan out our development efforts. Thank you for contributing the code, and for replying as well.

@jkernMINITAB no problem! And thank you for the credit but it may have been my colleague @davidjgonzalez who originally wrote that  code ;) (I may have just been the merger).
We are planning on creating something like an "WKND A-Z" which would be an index of the various examples/samples that are in the reference code base but not covered in the step-by-step tutorial.

Closing this as it is being documented by the WKND project.


Input custom subject lists for training and validation

Motivation for the feature
The dataset split between training, validation and test sets is done randomly with the random _seed parameter. One of our user would like to be able to specify the training and validation subjects, see this comment.
We suggested they create a .joblib file for the split and use it the fname_split config parameter, which is the best way to deal with custom splits.
Description of the feature
Would it be advisable to have a feature to allow the user to define the training and validation sets? Currently, we can only define a subject list for the testing set via the config parameter data_testing.
Alternatives
Alternatively, we could also better document the procedure on how to create the custom .joblib file.

I'm in favor on this 👍

Alternatively, we could also better document the procedure on how to create the custom .joblib file.

Here is another case where it would have help to have a better documentation on how to create a custom joblib file for the dataset split: https://github.com/ivadomed/ivadomed/issues/1135#issuecomment-1149223779


run-tests: forward supplied options and arguments to pytest

closes #675
since the main goal of run-tests.sh is to call pytest, i think it makes sense to just forward the given CLI options/arguments to the pytest call
this enables running the tests in specific files (e.g. ./run-tests.sh tests/test_version.py), as well as selecting tests on a pattern-matching basis (e.g. ./run-tests -k test_set_default_value__value), etc.

another improvement could be to be smart about the docker-services-cli:
for instance, we could add a flag that tells the script not to shut down the services after the tests ran through, which would make subsequent runs of run-tests.sh faster


feat: add support for other types in norm_num

I was excited about this PR because it looked like a good way to get norm_num to work on Nat.digits. However, now that simprocs exists (in Lean 4.6.0), norm_num already can handle Nat.digits (via reduceLE, reduceMod, etc.), and #10428 shows a way to provide finer-grained control.


Error  node-llama-cpp build

I have manually downloaded in a container llama.cpp and set the env:
ENV NODE_LLAMA_CPP_REPO_RELEASE /app/llama.cpp
RUN cd $ROOT_APPLICATION && git clone https://github.com/ggerganov/llama.cpp.git

so in the container the env is correct, but when I try to build:
root@981b3099966c:/app# echo $NODE_LLAMA_CPP_REPO_RELEASE
/app/llama.cpp
root@981b3099966c:/app# npx --yes node-llama-cpp build --nodeTarget $NODE_VERSION
✖ Failed to compile llama.cpp
node-llama-cpp build

Compile the currently downloaded llama.cpp

Options:
  -h, --help        Show help                                                              [boolean]
  -a, --arch        The architecture to compile llama.cpp for                               [string]
  -t, --nodeTarget  The Node.js version to compile llama.cpp for. Example: v18.0.0          [string]
      --metal       Compile llama.cpp with Metal support. Can also be set via the NODE_LLAMA_CPP_MET
                    AL environment variable                               [boolean] [default: false]
      --cuda        Compile llama.cpp with CUDA support. Can also be set via the NODE_LLAMA_CPP_CUDA
                     environment variable                                 [boolean] [default: false]
  -v, --version     Show version number                                                    [boolean]

Error: "/root/.npm/_npx/bd61418a9647e51e/node_modules/node-llama-cpp/llama/llama.cpp" directory does not exist
    at compileLlamaCpp (file:///root/.npm/_npx/bd61418a9647e51e/node_modules/node-llama-cpp/dist/utils/compileLLamaCpp.js:13:19)
    at async file:///root/.npm/_npx/bd61418a9647e51e/node_modules/node-llama-cpp/dist/cli/commands/BuildCommand.js:47:9
    at async withOra (file:///root/.npm/_npx/bd61418a9647e51e/node_modules/node-llama-cpp/dist/utils/withOra.js:6:21)
    at async Object.BuildLlamaCppCommand [as handler] (file:///root/.npm/_npx/bd61418a9647e51e/node_modules/node-llama-cpp/dist/cli/commands/BuildCommand.js:42:5)
root@981b3099966c:/app#

It seems to search the default location under npx...

@loretoparisi Your use of the CLI is incorrect and inconsistent with the documentation.
From the documentation:

      --release          The tag of the llama.cpp release to download. Set to "latest" to download t
                         he latest release. Can also be set via the NODE_LLAMA_CPP_REPO_RELEASE envi
                         ronment variable                               [string] [default: "latest"]

The NODE_LLAMA_CPP_REPO_RELEASE environment variable can be set to the GitHub release of llama.cpp you want node-llama-cpp to download and compile. You can visit the releases page of llama.cpp to find the list of available releases.
Also, you shouldn't use the build command as you don't have any release downloaded, so you should use the download command instead.
If you'd like to force a download and compilation of llama.cpp from source, then you should just do npx node-llama-cpp download, but when you run npm install in a project that uses node-llama-cpp, it'll automatically do this for you when needed, so manually doing this is redundant.
Also, if there is a pre-compiled binary of llama.cpp available for your platform and node version, it won't compile anything and instead use the pre-compiled binaries.

Yes thank you very much, my aim was to use your great Node wrapper only, not the downloading, tags or release management part.

@loretoparisi Your use of the CLI is incorrect and inconsistent with the documentation.
From the documentation:

  --release          The tag of the llama.cpp release to download. Set to "latest" to download t

                     he latest release. Can also be set via the NODE_LLAMA_CPP_REPO_RELEASE envi

                     ronment variable                               [string] [default: "latest"]

The NODE_LLAMA_CPP_REPO_RELEASE environment variable can be set to the GitHub release of llama.cpp you want node-llama-cpp to download and compile. You can visit the releases page of llama.cpp to find the list of available releases.
Also, you shouldn't use the build command as you don't have any release downloaded, so you should use the download command instead.
If you'd like to force a download and compilation of llama.cpp from source, then you should just do npx node-llama-cpp download, but when you run npm install in a project that uses node-llama-cpp, it'll automatically do this for you when needed, so manually doing this is redundant.
Also, if there is a pre-compiled binary of llama.cpp available for your platform and node version, it won't compile anything and instead use the pre-compiled binaries.


[Bug]: Flat Layout Routes are not working as expected

Which Remix packages are impacted?

[ ] remix (Remix core)
[ ] create-remix
[ ] @remix-run/architect
[ ] @remix-run/cloudflare-workers
[X] @remix-run/dev
[ ] @remix-run/express
[ ] @remix-run/netlify
[ ] @remix-run/node
[ ] @remix-run/react
[ ] @remix-run/serve
[ ] @remix-run/server-runtime
[ ] @remix-run/vercel

What version of Remix are you using?
1.1.1
What version of Node are you using? Minimum supported version is 14.
16.13.1
Steps to Reproduce
If we try this Example the routesConvention.js trow this error

Path undefined defined by route "routes/__app" conflicts with route "routes/__marketing"

i see this is because the routes have the same uniqueRouteId = '' (empty string)
I want to have multiple layouts and nested flat layouts something like this:
__public/
 * * home.tsx
 * * __auth/
 * * * * login.tsx
 * * * * register.tsx
__private/
 * * admin.tsx
 __public.tsx
 __private.tsx

if i do this 2 things happen:

Not work because the problem described up
the __auth Flat Layout its not in the routes so login and register routes are not created

Expected Behavior
work like the example and have multiple Flat Routes inside the Flat Routes
Actual Behavior
Error on routes

fixed on #1347


Karate Cucumber Report | Why cucumber report displays rows for all tags when tests are executed with selected tag?

I'm using Karate DSL's parallel runner to run my API tests. It is using cucumber reporting library to generate test results.I have question about 'Tags' section of cucumber report.
Here is my sample feature file.
@tag1 @tag2
Feature: sample karate test script

Background:
* url 'https://jsonplaceholder.typicode.com'

Scenario: get all users

Given path 'users'
When method get
Then status 200

command
mvn clean test -Dkarate.options="--tags @tag1"
cucumber-report-issue.zip
Issue: If I run test with only tag @tag1, I'm expecting to see only @tag1 in 'Tags' section of the report, but It's displaying rows for both @tag1 and @tag2.
Questions:

Is it expected behavior in cucumber report ?
Is there a way to customize report to only include specified tag ?

I believe that's a valid issue. If 2 tags are defined in scenario outline (in example table) @ tag1 and @ tag2 and only one tag is being called in maven command then the report should be generated for only  1 tag.
Examples :
@tag1 @tag2
|  Name  | Age |
| Test1     | 20   |
| Test2    | 40    |
clean test -f pom.xml -Dkarate.env=SIT1 -Dtest=TestRunner -DfailIfNoTests=false -Dcucumber.options="--tags @tag1
In my scenario, I have 13 tags defined with scenario outline and the Karate framework is generating 13 cucumber reports , one for each tag which is consuming lot of memory on my system and eventually running out of memory.
The same behavior is not observed in standard cucumber framework. Need your help to fix issue.

consuming lot of memory on my system and eventually running out of memory
really ? please follow these instructions: https://github.com/intuit/karate/wiki/How-to-Submit-an-Issue

standard cucumber framework. Need your help to fix issue.
Karate is not standard cucumber. need your help to contribute code. this is not a priority for this project

@Rishim1

consuming lot of memory on my system and eventually running out of memory

really ? please follow these instructions: https://github.com/intuit/karate/wiki/How-to-Submit-an-Issue
Will submit it.

standard cucumber framework. Need your help to fix issue.

Karate is not standard cucumber. need your help to contribute code. this is not a priority for this project

When you say  "need your help to contribute code.", please elaborate.  Also, since Cucumber reporting from net master thought is one of the standard reporting solution supported by all BDD/semi BDD frameworks, it would be really great and helpful if Karate could also support it.

@Rishim1 is it ok to first focus on the very serious problem that you raised ? that karate is responsible for your system running out of memory ? this should not happen no matter how many tags you use. please follow the instructions and let us replicate this.
karate is open source. I hope that does not need more explanation. since only 2 people so far have found this a problem, and since I have explained why this is not a priority for me, you are welcome to submit a "pull request" (look it up if needed). this also needs investigation and proof (working code) that "standard cucumber" (whatever that means) behaves differently which I don't have time for right now

Sorry your response is confusing,
[ The problem is interlinked. While you say you don't have time to look at the reporting issue, how would you replicate/investigate the "serious" issue ?  At the time of generating cucumber report through Karate, there are 13 reports getting generated (one for each tag) each 1 GB that means 13 GB of memory getting consumed while generating cucumber reports. It may not be a priority for you but I must say it is just a single issue and not 2 different issues (Karate running out of memory and reporting - both are linked).
Thank you !!

@Rishim1 no confusion at all. provide working code, provide more explanation - it saves us time. this is explained in the link I provided. but you are free to ignore it or interpret what I said in any way you want. peace.

Hi @ptrthomas . Let me try to explain what is been asked.
Steps:

Create 1 scenario and add 5 tags to it.
Tags may be --> @smoke @regression @bug4545 @vital @client etc...
Now using the maven command run only "@smoke" tag, which will, in turn, run the above-said scenario.
At the end of the execution - your report will be produced.
When we open the same, all the above 5 tags are shown there, with same scenario listed under.
Scenario count = 5.
Tags executed - 5.

The ask here is --> If we have executed only @smoke, is there any way to remove all the non executed tags?
I understand that, others are also executed, as they are also referring to the same scenario, but our intension to see the report is only for @smoke.
Hope i helped to detail the issue.
Regards

@goyalvipul here is a screenshot from the latest 0.9.9.RC1 version where I ran for only tag @tag1

Karate has nothing to do with the Scenario count = 5 number you are talking about. maybe this is the fault of the Cucumber Reporting plugin you are talking about. I see you have gone and raised similar issues for other projects - which suggests that this is standard behavior and not a problem with Karate https://github.com/trivago/cluecumber-report-plugin/issues/265
the thing is you may want to only see one tag - but my understanding of what most users want is "functional coverage". I have explained in detail above. if you have some specific requirement - I think the best thing to do is write your own report. Karate gives you all the data you need, just use it.


initial commit

Good work @simranbiswas It would be good if you add description with your PR from next time :)

Good work @simranbiswas It would be good if you add description with your PR from next time :)

Sure will note this for the next PRs!

Good work @simranbiswas It would be good if you add description with your PR from next time :)

Sure will note this for the next PRs!

Great! Happy coding :)

Good work @simranbiswas It would be good if you add description with your PR from next time :)

Sure will note this for the next PRs!

Great! Happy collaboration & coding :)

I had a question, how do I become a member of this organization?

Hey there, visit this link
https://github.com/EddieHubCommunity/support/issues/new/choose and choose invite me to the organisation. You'll be added

Hey there, visit this link
https://github.com/EddieHubCommunity/support/issues/new/choose and choose invite me to the organisation. You'll be added

Thank you so much @starlightknown !


Add .net tool v2 document design

Follow up discussion https://github.com/tonerdo/coverlet/issues/683
cc: @ViktorHofer because coverlet .net tool is used on dotnet runtime repo. Feel free to cc others if needed and this is a breaking change.
I'm not a native speaker/writer so feel free to correct my typos, thank's to all.

Late to the party! Looking this over

@tonerdo @petli I'm a bit blocked at the moment on improvements because I need some double check on my ideas to be sure that we've the same goal in mind.
Next version will have only fixes.
I know that this is OSS and we spent on it extra time when we have it.

After some discussion with @tonerdo we prefer for now work on current drivers and allow merge and other functionality without external tool to preserve a good usability.


feat(depinject): add buf gen pulsar

Description

I welcome ideas on how to call the new module instead of api.

ref: #3560

Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.

[ ] Targeted PR against the correct branch (see CONTRIBUTING.md).
[ ] Linked to GitHub issue with discussion and accepted design, OR link to spec that describes this work.
[ ] Code follows the module structure standards and Go style guide.
[ ] Wrote unit and integration tests.
[ ] Updated relevant documentation (docs/).
[ ] Added relevant godoc comments.
[ ] Provide a conventional commit message to follow the repository standards.
[ ] Include a descriptive changelog entry when appropriate. This may be left to the discretion of the PR reviewers. (e.g. chores should be omitted from changelog)
[ ] Re-reviewed Files changed in the GitHub PR explorer.
[ ] Review SonarCloud Report in the comment section below once CI passes.

We could also just use this api module also for what we want to do here.

Is the feat/depinject target branch clean? And up to date with main?

Is the feat/depinject target branch clean? And up to date with main?

Yes and yes!

2024/04/16 15:30:37 Message ibc.applications.interchain_accounts.v1.InterchainAccountPacketData contains the reserved field name ibc.applications.interchain_accounts.v1.InterchainAccountPacketData.type which conflicts with protoreflect.Message interface implementation.
This field will be suffixed with an underscore '_'.
If you can change the message field name, please do so.
In a future iteration of pulsar we may make a breaking change to this practice in order to be compliant with field naming of the original golang protobuf implementation.

This msg is displayed in my shell when I run make proto-all. AFAIK the sdk team will be removing the need for pulsar(and protov2 spec) with the next release. They want to make it work with gogoproto which means the codegen will change and I think this problem/error msg will go away. The depinject apis will remain the same tho.

Actually, scratch that. Can't get this to build locally still. Is cd-ing into api and doing go build ./... working for others? I would assume it should?

Same experience for me.

go build complains about others too. The generation for some reason might have mucked things up?

Very possible, I can try to look into this a bit more.

go build complains about others too. The generation for some reason might have mucked things up?

Oh, I hadn't even tried that... Does building work in the api folder of the SDK?

Great work taking this to the finish line, @damiannolan and @DimitrisJim. 👏


Mistyping of TrimExtendParametersProperties' extendHow Property

The property extendHow of TrimExtendParametersProperties is typed as 'void', when the docs strongly imply that it should be typed as 'string'.

Fixed at: https://github.com/Esri/jsapi-resources/blob/master/4.x/typescript/arcgis-js-api.d.ts#L4407


DBZ-6094 Reduce frequency of "Transaction already processed" debug message

https://issues.redhat.com/browse/DBZ-6094
It's possible the connector sees "empty transactions" where we have a START and a matching COMMIT/ROLLBACK, but all the DML operations within the transaction were filtered out due to the include/exclude filters.  In this case, there is no reason to log information about that transaction being skipped and this should help reduce the frequency of this message after a connector restart where there is a large number of transactions with no relevant DML events.

@Naros Applied, thanks


[Feature Request] Video trailer over Cover Art

Hi!
Love the theme so much and its really nice if u could add a feature to Play video trailer over game’s cover art!
Many thanks!

YES , +1

The installation instructions speak of "Micro Trailers are used on the Cover Images in the Main view".
https://playnite.link/forum/thread-791.html
I have downloaded micro trailers but didn't manage to have them played them on the cover images.
So, I'm now wondering if this is possible ?
If yes, is there a particular setting somewhere ?
If no... +1 !
Thanks

It was possible in the previous version; and I wish it would be possible in the current as well !
https://www.youtube.com/watch?v=sPsDHI4Cqjo


operatingSystem

Hello,
Would be good to have a link to an article that explains which "operatingSystem" can be selected in a filter.
Like can we simply type: ios? Or we should type ipad/ios? same for Linux, we simply type linux?

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: fcc79933-58e1-66d1-81ae-f43802d41223
Version Independent ID: 5be1fefc-356e-d1eb-ab97-8cbe5654ff43
Content: Filter for devices as a condition in Conditional Access policy - Azure Active Directory - Microsoft Entra
Content Source: articles/active-directory/conditional-access/concept-condition-filters-for-devices.md
Service: active-directory
Sub-service: conditional-access
GitHub Login: @MicrosoftGuyJFlo
Microsoft Alias: joflore

@lightupdifire
Thanks for your feedback! We will investigate and update as appropriate.

#label:"awaiting-product-team-response"

@SanDeo-MSFT Thoughts?

Backlog item 2169348 created to track internally. Will update here when the product group provides more details. #please-close
Related to https://github.com/MicrosoftDocs/azure-docs/issues/93460


cd: I changed the command for Zoxide to cd, now there is no more carapace compatibility

Current Behavior
When I do cd m then press tab, it brings up the directories with m in their names, as you would expect if I was using cd. However, I changed the Zoxide command from z to cd, which seems to make carapace think I'm using the default cd command.
Expected Behavior
Normally when I type cd m then press the right arrow to autocomplete, it would become cd minecraft', which would transport me to the C:\Users\lino\Projects\Minecraft Server` directory that I have for my Minecraft server.
Steps To Reproduce

In Powershell (which I use Windows Terminal to open)

Download Zoxide, and change the config line to this:
Invoke-Expression (& { (zoxide init powershell --cmd cd | Out-String) })

Then go to a directory with the new cd command, as you normally would.

After all of that, go back to your home directory, and cd to that same directory with just the name of the end directory (make sure to use carapace for this step).

Here are the commands I ran:
cd C:\Users\lino\Projects\Minecraft Server
cd minecraft
cd m

I didn't run the last line, I pressed tab on it, and that's where it all failed, also the normal cd minecraft works (so it's not a Zoxide bug).
Here's my powershell config:
# PowerToys CommandNotFound module
Import-Module "C:\Program Files\PowerToys\WinUI3Apps\..\WinGetCommandNotFound.psd1"

# Completion
Set-PSReadLineOption -Colors @{ "Selection" = "`e[7m" }
Set-PSReadlineKeyHandler -Key Tab -Function MenuComplete
carapace _carapace | Out-String | Invoke-Expression

# Zoxide
Invoke-Expression (& { (zoxide init powershell --cmd cd | Out-String) })

Version
0.30.1 (Scoop)
OS

[ ] Linux
[ ] OSX
[X] Windows

Shell

[ ] Bash
[ ] Elvish
[ ] Fish
[ ] Nushell
[ ] Oil
[x] Powershell
[ ] Xonsh
[ ] Zsh

Anything else?
No response

Hmm...got to try this. Carapace shouldn't mess with cd at the moment:
# this should return nothing
carapace --list --format json | jq '.[] | select(.Name == "cd")'

I just tested it out, it doesn't return anything.

Can you enable logging (set-env CARAPACE_LOG 1) and see it carapace is called when you do cd <TAB>?
Logs are at <TempDir>/carapace/carapace.log.

It doesn't seem like there isn't a carapace directory in my TEMP folder, I did however enable logging with the command you mentioned above (it didn't return anything).
P.S. I'm sorry for my late reply, I was busy with school, so I wasn't on my PC much.

@CallMeMarcellino  Sorry, I lost track of this. Is this still an issue?

Nope I think it's okay now, Thanks for all your help!


Update GOVUK dependencies

This updates govuk-components and govuk-formbuilder to the latest release
candidate versions, which unblocks the pagy upgrade.

I don't have (many) issues with RC's for the GOVUK stuff.  Does view component need to be that advanced too?  That seems a bigger risk for bad actors to slip code into 🤔

I don't have (many) issues with RC's for the GOVUK stuff. Does view component need to be that advanced too? That seems a bigger risk for bad actors to slip code into 🤔

govuk-components is holding off on a release until ViewComponent 3.0 is released.
If we don't want to upgrade view_component yet we can hold out and use the earlier govuk-component alpha release 👍

Like Colin, I don't have any issues with RC's for the GOVUK dependencies, however, I would wait for the official release.

replaced by non-rc releases in #5242


Remove support for LandCore/LandCraft

This PR removes support for LandCraft (and LandCore).
The motivation behind this change is that like PlusTiC, the original mod author had completely deleted LandCraft (and LandCore), source code and all.  As a result, support for the mod has become obsolete.
This may warrant a major version bump, as it is a breaking change.

I don't think the project can even build any more due to gradle stuff no longer being supported, so unfortunately I'm going to have to close this

I had run into the very issue with Gradle when playing around with the mod's source for a daunting project I'm attempting, so it makes sense to close this.  I also hadn't known why the mods were deleted beforehand, or why this fork was called "minus bad" / "without the evil", until now too.
Before ending this thread, I just want to say: thank you for having continued to maintain this mod.  This mod is one that I very much enjoy, and has been an integral part in my own modpack with friends.  💜