kube-vip IP responds to ping but not to kubectl

Describe the bug
I have setup my cluster with tls-san configured with my vip IP (..*.59) and have deployed the daemon set. The daemon set has no errors and the kube-vip pod is running.
If I ping my VIP IP, I get a response but if I try to access the cluster using the IP, I don't get a response
If I change the IP address in kube config to the IP Address of the VM running k3s (..*.60) kubectl commands work again.
To Reproduce
The command I used to setup k3s
curl -sfL https://get.k3s.io | K3S_TOKEN=123abc INSTALL_K3S_EXEC="server --cluster-init" sh -s - server --tls-san *.*.*.59 --disable servicelb --disable-cloud-controller

Daemon set is running
[root@sdeas0072v deployments]# kubectl get ds -A
NAMESPACE     NAME                     DESIRED   CURRENT   READY   UP-TO-DATE   AVAILABLE   NODE SELECTOR   AGE
kube-system   kube-vip-ds              1         1         1       1            1           <none>          11m

Pod is running
kube-system   kube-vip-ds-vc7pz                         1/1     Running     0          13m

Expected behavior
I should be able to change the IP address in ~/.kube/confg to my VIP IP address and successfully run kubectl get pods -A
Environment (please complete the following information):

OS/Distro: RedHat 8
Kubernetes Version:

Kubernetes control plane is running at https://*.*.*.60:6443
CoreDNS is running at https://*.*.*.60:6443/api/v1/namespaces/kube-system/services/kube-dns:dns/proxy
Metrics-server is running at https://*.*.*.60:6443/api/v1/namespaces/kube-system/services/https:metrics-server:https/proxy

Kube-vip Version: 0.5.5

Kube-vip.yaml:
apiVersion: apps/v1
kind: DaemonSet
metadata:
  creationTimestamp: null
  labels:
    app.kubernetes.io/name: kube-vip-ds
    app.kubernetes.io/version: v0.5.5
  name: kube-vip-ds
  namespace: kube-system
spec:
  selector:
    matchLabels:
      app.kubernetes.io/name: kube-vip-ds
  template:
    metadata:
      creationTimestamp: null
      labels:
        app.kubernetes.io/name: kube-vip-ds
        app.kubernetes.io/version: v0.5.5
    spec:
      affinity:
        nodeAffinity:
          requiredDuringSchedulingIgnoredDuringExecution:
            nodeSelectorTerms:
            - matchExpressions:
              - key: node-role.kubernetes.io/master
                operator: Exists
            - matchExpressions:
              - key: node-role.kubernetes.io/control-plane
                operator: Exists
      containers:
      - args:
        - manager
        env:
        - name: vip_arp
          value: "true"
        - name: port
          value: "6443"
        - name: vip_interface
          value: ens192
        - name: vip_cidr
          value: "32"
        - name: cp_enable
          value: "true"
        - name: cp_namespace
          value: kube-system
        - name: vip_ddns
          value: "false"
        - name: svc_enable
          value: "true"
        - name: vip_leaderelection
          value: "true"
        - name: vip_leaseduration
          value: "5"
        - name: vip_renewdeadline
          value: "3"
        - name: vip_retryperiod
          value: "1"
        - name: address
          value: *.*.*.59
        - name: prometheus_server
          value: :2112
        image: ghcr.io/kube-vip/kube-vip:v0.5.5
        imagePullPolicy: Always
        name: kube-vip
        resources: {}
        securityContext:
          capabilities:
            add:
            - NET_ADMIN
            - NET_RAW
      hostNetwork: true
      serviceAccountName: kube-vip
      tolerations:
      - effect: NoSchedule
        operator: Exists
      - effect: NoExecute
        operator: Exists
  updateStrategy: {}
status:
  currentNumberScheduled: 0
  desiredNumberScheduled: 0
  numberMisscheduled: 0
  numberReady: 0

Additional context
I am behind a corporate proxy server. http_proxy, https_proxy and no_proxy are set on my kubectl machine and in the systemd service for k3s

@simonjcarr I am facing the exact same problem at the moment. Can let me know what resolved the issue?


Recommended camera overview

Hey Guys,
with great interest I've been eyeing openIPC for a while now. However finding a camera is very painful. I realize the most important part is chipset support, which you do have a very nice table for. Unfortunatly, even with the help of fccid.io it is extremly difficult to figure out which camera's have what sensor.
Personally, I'm looking at doorcams (which shouldn't be out of reach for OpenIPC imo) and found a few very cheap ones (https://www.action.com/nl-nl/p/lsc-smart-connect-video-deurbel/ for example) which is HiSilicon Hi3518C based for example.
What I'm really asking for, is have a list, of 'common/clone' camera models -> chipset mapping (which openwrt also has) to better get a feel for support. What would be nice is also have a 'rating' how well it is supported/preferred, so that it is easier to buy something, knowing that there is a chance of support.
(Currently, my route is looking at FCCid information and/or search for GPL sources, to give a hint).

I think I found what I wanted; https://openipc.github.io/wiki/en/guide-supported-devices.html seems to be the wiki which contains this information, so let me close this entry for the wiki.


KAFKA-2586; Enable SSL for inter-broker communication when SSL is enabled in tests

Tests passed locally. Failed test in Jenkins is SyncProducerTest, which doesn't use SSL.

Thanks for the patch. LGTM.


Make the styling Framwork agnostic

I was wondering if it could be possible to decouple styled-components from React?
I am a big fan of React and I use it heavily in my daily work, but if I am building a smaller website, I might want to use a lighter framework like Mithril, to avoid too much of an overhead. But (at least as I understand it), you have to use React (or Preact) to use the awesomeness that is styled-components, which I think is too bad because I would really like to use styled-components ALL THE TIME 😄
I know that much of the cool features in styled components are due to fact that it returns a ready to use component, but it could be neat if you could use a lighter version of the styling scheme that just returns a class name that you then can use as you see fit, being it another UI framework or even jQuery for that matter.
This is kinda related to: #128, but instead of returning an actual component in your given framework, then you could use the styling composition (possibly with some degraded functionality) and only return the random class name.

There's lots of other CSS in JS frameworks that give you class names, I'd recommend using those.
styled-components feels so great specifically because it hides that from you and forces you to bind styles to components and is very strict about that! That sadly also means it's very hard to design a framework-agnostic version of it as it inherently has to create a "component", but what that component is differs between frameworks.
I hope that makes sense, in case you're not using React but still want to use something similar to styled-components I'd recommend fela by @rofrischmann which is a great, battle-tested framework-agnostic CSS-in-JS framework.

I am a big fan of React and I use it heavily in my daily work, but if I am building a smaller website, I might want to use a lighter framework like Mithril, to avoid too much of an overhead

I really wanna add, if you like React, and you want a more lightweight js bundle size at the end of the day: Try preact & preact-compat :tada: :smile:

Ok thank you for the quick reply.
It makes sense. I just like the syntax of styled-components a lot better as it uses the string literal and can be linted, has code completion and all that jazz.
I will check out flea and other frameworks if I am working with another framework.
@philpl : Yeah I know and is probably what I will do 😄

@Tokimon It seems that flea was deleted? Anyhow. My personal suggestion is preact for lean sites. The problem with stuff like mithril and flea (and not specifically them, but a lot of frameworks that are published weekly, almost) is that most of the times the compromises are bad, they're a step below (P)React's good paradigms and lifecycle, or are pure js snobbery tbh. So unless you really need a different framework, I'd stick with the ones that allow you to access the vast ecosystems, and use stuff like—well—styled-components 😆

fela not flea :wink:

@mxstbr That makes sense, but I was confused since that's not a framework (?) Anyhow! haha

Just a final question on this subject:
My initial notion about decoupling styled-components from React was not (limited) to usage in React-like languages. I could see a use-case for this module in something like Vue, Angular, Ember, Backbone (and what have you) as well. So if I one day in the future wanted to use one of those frameworks, would I have to chose another module (like fela) or is there a way to use styled-components in those frameworks as well?

@Tokimon the usage of this will be very different, depending on the framework. There are already implementations for: vanilla DOM, vue, elm...
For v3 I'm extracting some preprocessing logic and css processing into a core lib. Together with our stylesheet implementation or Glamour's sheet anyone can port SC to another framework :)

ok cool. Thanks for update :)


User cannot answer an inbound call on iPhone, if phone is locked.

This is a known issue and is being worked upon under VSO 914860.
[Enter feedback here]

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

ID: bef5b5fd-5a4e-7957-f23c-724764a7cb4c
Version Independent ID: 5fe6c3ab-774b-db2f-5b55-9170bdfe5faf
Content: Known issues - Microsoft Teams
Content Source: Teams/rooms/known-issues.md
Service: msteams
GitHub Login: @LanaChin
Microsoft Alias: v-lanac

@officedocspr Thank you for submitting feedback.
I think the best way forward is if you open a service ticket in your tenant so this can get resolved ASAP. Based on the outcome let me know if it is something that can be called out in the docs.
Please follow this link to contact support for business products:https://docs.microsoft.com/office365/admin/contact-support-for-business-products
Please keep us posted here on the resolution so we can feed whatever information you discover into the content.

There is no need to open ticket from tenant This is a known issue and is being worked upon by Teams PG. This issue needs to be added to this article.

Please reopen this. This is a known issue, and is worked upon by Teams PG. we need this issue to be added to the known issues article.
Thank you,
Tejas Haria
From: Manuela Scanu<EMAIL_ADDRESS>Sent: July 2, 2020 8:56 AM
To: MicrosoftDocs/OfficeDocs-SkypeForBusiness<EMAIL_ADDRESS>Cc: Tejas Haria (TEJAH<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/OfficeDocs-SkypeForBusiness] User cannot answer an inbound call on iPhone, if phone is locked. (#5252)
Closed #5252https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2FOfficeDocs-SkypeForBusiness%2Fissues%2F5252&data=02|01|tejas.haria%40microsoft.com|f51209c047154332777908d81e37a787|72f988bf86f141af91ab2d7cd011db47|1|0|637292571674427739&sdata=1o6oxeXBG2Tvhf07BAccLdKnSPrxXWLMw5o1Wp4xO4U%3D&reserved=0.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2FOfficeDocs-SkypeForBusiness%2Fissues%2F5252%23event-3505167477&data=02|01|tejas.haria%40microsoft.com|f51209c047154332777908d81e37a787|72f988bf86f141af91ab2d7cd011db47|1|0|637292571674427739&sdata=RCYnCKRSyRVh9GFxbZ6nWG4%2BzprYt39zvtimF%2BZWjtQ%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAO3MCT76BIUJXXI4BGEL2F3RZP443ANCNFSM4OM37CJQ&data=02|01|tejas.haria%40microsoft.com|f51209c047154332777908d81e37a787|72f988bf86f141af91ab2d7cd011db47|1|0|637292571674437733&sdata=bLAoLckTeFYDYaMQjOx6BgW%2FHMPQ4eiXJJ9FpHl2FiY%3D&reserved=0.


fix: default units for the annotations

Add default units for annotations
Add example for local upload/drag and drop of dicom images

@wayfarer3130 I have gone to a different route (other than default unit), I'm checking if the cachedStats has any unit, if not re-calculate (which goes through the pixel spacing check)

Need https://github.com/cornerstonejs/cornerstoneWADOImageLoader/pull/457 to be merged first, and version bumped

LGTM other than the YBR index of fix


Rename common to a more explicit naming

Since meaning of __common__ is different whether its database or schema, we should not use the same word.

Codecov Report

Merging #78 into master will not change coverage.
The diff coverage is 100%.

@@          Coverage Diff          @@
##           master    #78   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files           9      9
  Lines         870    870
=====================================
  Hits          870    870

Impacted Files
Coverage Δ

ldap2pg/manager.py
100% <100%> (ø)
:arrow_up:

ldap2pg/config.py
100% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


Fix support for vector indices that require db client in composability framework

Motivation
Right now we cannot support any vector store indices that require a db client in our composability framework.
Main source of this issue is that we "lose" the db client when we construct a ComposableGraph from individual indices.

This is because we don't store the full Index object, but instead we only grab the index struct and docstore objects

The proposed solution here is to store the db clients (from all children indices) in a additional_query_context field in ComposableGraph.

A better solution is probably to store the full Index objects in the ComposableGraph, but this is a more involved change, so we defer to later.

API changes
To load a composable graph with unserializable vector store clients, e.g.:
# NOTE: only necessary if we passed in pinecone_index when constructing the vector store indexes
query_context_kwargs = {
    index.index_struct.index_id: {
        'vector_store': {
            'pinecone_index': pinecone_index,
        }
    }
    for index in city_indices.values()
}

graph = ComposableGraph.load_from_disk("index_multi_doc_graph.json", query_context_kwargs=query_context_kwargs)

Main changes

Add query_context as a property for BaseGPTIndex

This allows subclasses to expose all index-specific state/services (beyond index_struct and index-agnostic service_context), and pass them to ComposableGraph  and QueryRunner.
Currently, the main use-case of this is passing vector store objects.

Add query_context as a field for ComposableGraph and QueryRunner

This stores all query_context from child indices. So that it can be passed to the corresponding Query object at query time.

Misc changes & cleanup

Remove GPTVectorStoreIndexQuery subclasses
Add save/load logic for VectorStore

Add from_dict classmethod to reconstruct a VectorStore object from dict when possible.
We save VectorStore in both GPTVectorStoreIndex (keyed by "vector_store") and ComposableGraph (slightly differently, keyed by additional_query_context at the top level)
Add load_vector_store_from_dict to support passing in additional kwargs (e.g. vector store client).  This allows users to pass in vector store client to load indices that we can't fully serialize.

out of curiosity, is this a breaking change? are there docs/notebooks that we'd need to update now otherwise they break?
if not, then i can approve, and we can showcase changes in docs/nb in a later PR

Should not break anything that's not already broken.
The main API change is as noted above, where we used to pass vector db client through query_kwargs at query time. But now it's inject at index loading time.
Will double check docs/notebooks a bit more.


feat(corporate actions): add getDefaults

Returns the default CA targets, base tax withholding percentage and per-identity tax withholding
percentages for the ST

:tada: This PR is included in version 5.0.0-beta.37 :tada:
The release is available on:

npm package (@beta dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 5.0.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


0.6.0 crashes immediately on start

windows 7 64bit
0.5.0 works
using gdb i found:

(gdb) run
Starting program: ...\Imogen\imogen.exe
[New Thread 8244.0x4c8]
[New Thread 8244.0x2e04]
[New Thread 8244.0x26f8]
[New Thread 8244.0xdf4]
[New Thread 8244.0x2e8c]
warning: Fatal Python error:
warning: unable to load the file system codec
warning:
[Thread 8244.0x2e8c exited with code 3]
[Thread 8244.0x26f8 exited with code 3]
[Thread 8244.0xdf4 exited with code 3]
[Thread 8244.0x2e04 exited with code 3]
[Inferior 1 (process 8244) exited with code 03]

I can reproduce it! Thanks ! I let you know when it's fixed

New 0.6.1 release that should be fixed
https://github.com/CedricGuillemet/Imogen/releases/tag/0.6.1
Let me know if you still get an issue.
Thank you Xyrio

0.6.1 works


[BUG] useLocalStorage get Unhandled Runtime Error in nextjs

Describe the bug
i use useLocalStorage in my project, while i get the default localStorage value(is null) in SSR, but get it in client with some value, i got a error Text content does not match server-rendered HTML. how to fix this bug
To Reproduce
there is my code example:
just click the add button and then refresh page, will get the error
https://codesandbox.io/p/github/shaddollxz/use-local-storage/draft/magical-jackson?file=%2Fapp%2Fprovider.tsx%3A30%2C1&workspaceId=af9ba02f-cf52-4c89-8862-6db030644648
Expected behavior
not show this error
Additional context
No response

Can't access codesandbox and maybe it's hydration error check rendering.

Can't access codesandbox and maybe it's hydration error check rendering.

yes, it is hydration error,and sandbox link now updated; is there any way to resolve it? i am new to nextjs.

You can resolve this by useEffect return null if component/page not mounted.
const [isMounted, setIsMounted] = useState(false);

  useEffect(() => {
    setIsMounted(true);
  }, []);

  if (!isMounted) return null;

For more details official NextJs documentation


No reconnection if window was opened offline

The extension does not try to reconnect to the repository if the window was opened without the Internet and then gone back online. Only the window reload helps.

We should definitely handle this better -- thanks!


Interactive Markers don't show if topic_ns != "basic_controls" ?

I was playing around with the Python API to interactive markers, starting with the tutorial given here.
I noticed, that when I changed the topic namespace to something other than "basic_controls", the markers wouldn't show anymore.
Is this a bug or working as intended?
(I use the version provided by the Kinetic packages for Ubuntu: 1.11.4-0xenial-20190608-111821-0800)

Found that I needed to change the topic name in the rviz configuration to re-enable the visualization.


Learn Form Validation by Building a Calorie Counter - Step 28

Describe the Issue
The Code I provided as a solution gets an error "Your cleanInputString should call the replace method of str.", even though I tried many variations of it and postet it on the FCC Discord, where even the moderators said, that it should be right and that the Checking system might be too strict.
Affected Page
https://www.freecodecamp.org/learn/javascript-algorithms-and-data-structures-v8/learn-form-validation-by-building-a-calorie-counter/step-28
Your code
function cleanInputString(str) {
return str.replace(/[+-\s]/g, "");
}
Expected behavior
I expected the code to be corrected and step 28 to be solved by it.
Screenshots

System

Device: [Desktop PC]
OS: [Windows 11 Pro]
Browser: [Edge]

Additional context
For more Context you can look up the Conversation from 24.12.23 (4:40 PM) on the programming-help channel on the FCC Discord, because I postet my issue there and got replies from moderators and community.

I'm not sure, if that should be considered a bug. Instructions clearly indicate to use the existing regex variable when replacing.

That is not the error message I get with your code, I get.

You should pass regex as the first argument to replace.

I agree with @gikf. The regex should not be inlined unless asked for.
Code isn't just about running correctly. Naming the regex can provide context and make it reusable.
Granted the name of the variable regex isn't super useful for providing context but that is one benefit of naming the regex before using it. Making it reusable, should it be needed again later, might also justify it (doesn't matter if it is needed now or later).


feat: Make user name editable

Description

Fixes #157
Type of change
Just put an x in the [] which are valid.

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

How Has This Been Tested?
Please describe the tests that you ran to verify your changes.

[x] ./gradlew assembleDebug assembleRelease
[ ] ./gradlew checkstyle

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings

@Swati4star Getting the following build error:
Member name 'flagForDrawable' must match pattern '^m[A-Z][a-zA-Z0-9]*$'. [MemberName]
What should I name the variable?

mFlagForDrawable


only show nav when multiple items

This removes some of the duplication on simpler sites where the logo text and project name usually mean duplicated text. For long titles, the site becomes unusable.
This is probably better done via configuration in the build process itself -- this is a practical quick fix, that can be backend out

Closing in favour of doing this at the config level.


Add RealisticAtmospheres

Should have a dependency on ModuleManager, too.

Done.

Looks Good to me. Might make Eve a lot easier to deal with, too. Aerobraking might be possible again.


[Optimizers] Simplified the Adam optimizer.

@rxwei Do you know why the typechecker fails even for not too long/complex expressions and we have to break them down?

Operator type checking has long been very problematic in Swift.

Sounds good! Will do that and add new ones after being done with the refactoring.

@rxwei what about the max(_:_:) and abs(_:) operations? We currently do not have automatically derived protocols for them, right?

We do not, unfortunately.

@rxwei Would it be easy to add derived conformances for Comparable similar to ElementaryFunctions? There are a few optimizers that use max accumulators (e.g., AdaMax and AMSGrad, for which I have an upcoming PR) and this would help a lot with having simplified implementations for them too.

Comparable requires Boolean operators to return a single Bool, so it’s not the right abstraction for our use case.

Yes that's right. For now I simplified AdaMax as much as I could and added an implementation of AMSGrad that's also still using key-paths for some part of it. We can think about what protocols we would need to support simplifying these optimizers later on.

We should consider pitching a PointwiseComparable protocol on the Swift forums. It can be applied to SIMD types too.

I agree. I also feel that automatically deriving protocol conformances keeps coming up very frequently (it also has come up multiple times in some research projects I haven't published yet) and it is currently very tedious having to modify the compiler to support such cases. Do you think it may be a good time to try and come up with a Swift-side way of doing this and implement it at least as part of S4TF? It will be hard to pitch it early on because there are many opinions on this topic, but if we come up with a clean practical way that works for us and implement it, I think we'll also gain a better understanding of what it takes.
Maybe I'm biased because I'm used to defining type classes to achieve my goals (they're super powerful in Scala), but I do believe that they are a very important feature that we keep bumping into.

A better, general conformance derivation mechanism would certainly be amazing. My thoughts:

A robust design seems difficult, given Swift's limited metaprogramming support. I imagine a full design would involve reflection and metaprogramming in some form. Scala typeclass derivation could be inspiration.
Besides derivation, there are other problems, like "actually designing/iterating on the right protocols" (e.g. the newly added PointwiseMultiplicative, and maybe PointwiseComparable). To me, designing the right protocols is a more pressing issue, especially given Evolution challenges, like source/ABI compatibility. Hardcoding derived conformances isn't too much effort (<1 day). Until a general derivation mechanism exists, we can view "automated conformances" as a detail.

I would love to see solid math protocols land before general conformance derivation! A fully algebraic design probably isn't realistic for Swift. I hope we can find some middle ground that unblocks our use cases (e.g. aggregate math) and improves the current status in Swift (e.g. maybe removing Magnitude from Numeric) while remaining suitable for Evolution.

@dan-zheng is right, we should think about the right protocol design first. Currently there are harder problems to deal with: backporting, retroactive refinement without breaking ABI, etc.  This needs us to pitch these designs on Swift forums.

Thanks @dan-zheng for the detailed response. I see your points. I guess I was also motivated by other uses of derived conformances in code outside S4TF where it gets inconvenient to have to use a fork of the Swift compiler. But yes, figuring out the right protocols does seem like an appropriate first steps. I haven't looked in too much detail into the ones you currently have, but will go through them and see if I can make any useful suggestions.
One suggestion I have for now is that it would be nice to allow for something like @noDerivative that allows us to mark stored properties for which the ElementaryFunctions operations act as an identity function, for example. More generally, I believe we should think about what it would mean for being able to opt-out for certain stored properties. Haven't thought this through much but I think it will come up with more complicated layers or layers that store side information (e.g., shape information about their inputs and outputs).
Also, a side comment is that I noticed that VectorProtocol is not being derived automatically for structs with no stored properties. Why is that?

Also, a side comment is that I noticed that VectorProtocol is not being derived automatically for structs with no stored properties. Why is that?

This is because VectorProtocol cannot infer VectorSpaceScalar from a struct that has no stored properties. Hard-coding this inference to use something like Float seems unprincipled.

I see. However it also causes a usability issue. Layers with no parameters (e.g., activation functions if defined as layers) cannot be used to build models that will later be trained using our current optimizers. That is because it won't be possible to derive VectorProtocol for the layers that use them. We should probably work around this somehow in a principled manner.

I see. However it also causes a usability issue. Layers with no parameters (e.g., activation functions if defined as layers) cannot be used to build models that will later be trained using our current optimizers. That is because it won't be possible to derive VectorProtocol for the layers that use them. We should probably work around this somehow in a principled manner.

We can add a typealias VectorSpaceScalar in those layers for now.

We would also have to explicitly declare conformance to VectorProtocol though, right?

Yes. Ideally, we should be able to declare all of these in protocol Layer and expect derived conformances to work. But I'm not sure whether that will work today.

I've been working on a PR that does that but currently the @noDerivative example I mentioned above is blocking this. For example, MaxPool1D cannot conform to VectorProtocol because it has integer stored properties. Do you have any ideas for how to handle this?

One possible solution would be to separate Layer from its parameters and have all layers have a stored property called parameters and a Parameter associated type which has to conform to Differentiable, VectorProtocol, etc.

We shouldn't need layers to conform to VectorProtocol. Instead, we want their TangentVector to conform. Ideally you should be able to just extend those layers's TangentVector to conform, for example:
extension MaxPool1D.TangentVector: VectorProtocol {
    public typealias VectorSpaceScalar = Float
}

However, this is currently blocked on this bug that @dan-zheng is investigating.
By "defining it in the protocol", I meant something like:
public protocol Layer: Differentiable where TangentVector: VectorProtocol {
    typealias VectorSpaceScalar = Float
}

One possible solution would be to separate Layer from its parameters and have all layers have a stored property called parameters and a Parameter associated type which has to conform to Differentiable, VectorProtocol, etc.

This is something we experimented with a year ago, called Parameterized. The solution was abandoned because any Parameter associated type would make a model with multiple parameter types be either impossible or really complicated to define. We concluded that it wasn't a future-proof solution, so we moved away from that model.

Thanks for the explanation! That totally makes sense. Regarding the current bug, defining VectorSpaceScalar in the protocol itself does not resolve the issue for its TangentVector. However, adding a property like @usableFromInline internal var _vectorSpace = 0.0 to the related structs resolved this. So, after the initializers and the random seed PRs are merged, I'll open a new PR that adds constraints to layers so they can be used with the new optimizers. As a temporary workaround for parameter-less layers, I will define this protocol:
public protocol ParameterlessLayer: Layer {
    @usableFromInline
    internal var _vectorSpace = 0.0
}

and add a TODO along with a bug filing to remove this once Dan fixes the underlying issue you mentioned. How does that sound?

Thanks for the explanation! That totally makes sense. Regarding the current bug, defining VectorSpaceScalar in the protocol itself does not resolve the issue for its TangentVector. However, adding a property like @usableFromInline internal var _vectorSpace = 0.0 to the related structs resolved this. So, after the initializers and the random seed PRs are merged, I'll open a new PR that adds constraints to layers so they can be used with the new optimizers. As a temporary workaround for parameter-less layers, I will define this protocol:
public protocol ParameterlessLayer: Layer {
    @usableFromInline
    internal var _vectorSpace = 0.0
}

and add a TODO along with a bug filing to remove this once Dan fixes the underlying issue you mentioned. How does that sound?

I don't feel this is the best solution. Stored properties cannot be defined in protocols, so even if you add a protocol requirement, every conforming type will have to define such a stored property to satisfy this requirement. We are not yet prioritizing a fix for that bug, so it is likely that this suboptimal pattern will last longer.
I'll suggest a different solution: One can always define a custom TangentVector, so it should be trivial to define one for those parameter-less layers. I believe all you need to add in those structs is:
struct TangentVector: Differentiable, VectorProtocol {}

Oh right. Good point. Ok I’ll look into this when I get back home tonight.
On Sun, Jun 30, 2019 at 8:19 PM Richard Wei<EMAIL_ADDRESS>wrote:

Thanks for the explanation! That totally makes sense. Regarding the
current bug, defining VectorSpaceScalar in the protocol itself does not
resolve the issue for its TangentVector. However, adding a property like @usableFromInline
internal var _vectorSpace = 0.0 to the related structs resolved this. So,
after the initializers and the random seed PRs are merged, I'll open a new
PR that adds constraints to layers so they can be used with the new
optimizers. As a temporary workaround for parameter-less layers, I will
define this protocol:
public protocol ParameterlessLayer: Layer {
@usableFromInline
internal var _vectorSpace = 0.0
}
and add a TODO along with a bug filing to remove this once Dan fixes the
underlying issue you mentioned. How does that sound?
I don't feel this is the best solution. Stored properties cannot be
defined in protocols, so even if you add a protocol requirement, every
conforming type will have to define such a stored property to satisfy this
requirement. We are not yet prioritizing a fix for that bug, so it is
likely that this suboptimal pattern will last longer.
I'll suggest a different solution: One can always define a custom
TangentVector, so it should be trivial to define one for those
parameter-less layers. I believe all you need to add in those structs is:
struct TangentVector: Differentiable, VectorProtocol {}
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/tensorflow/swift-apis/pull/306?email_source=notifications&email_token=AAJ4EXDU7NQXYHBYQSSB4CLP5FEQ7A5CNFSM4H4HYG72YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODY4WWZY#issuecomment-507079527,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAJ4EXF5QF3DIXCROIQI5KTP5FEQ7ANCNFSM4H4HYG7Q
.

@rxwei one issue that comes up is that we need AllDifferentiableVariables == TangentVector which causes a failure when I try what you suggested earlier.

I also get the following error when I use the suggested approach:
Assertion failed: (paramMember && "Could not find corresponding parameter member"), function operator(), file /Users/eaplatanios/Development/GitHub/swift-source-temp/swift/lib/Sema/DerivedConformanceDifferentiable.cpp, line 279.
Stack dump:
0.      Program arguments: /Library/Developer/Toolchains/swift-tensorflow-LOCAL-2019-06-30-a.xctoolchain/usr/bin/swift -frontend -c /Users/eaplatanios/Development/GitHub/swift-apis/Sources/TensorFlow/Bindings/EagerExecution.swift /Users/eaplatanios/Development/GitHub/swift-apis/Sources/TensorFlow/Bindings/RawOpsGenerated.swift /Users/eaplatanios/Development/GitHub/swift-apis/Sources/TensorFlow/Bindings/TFTensorOperation.swift /Users/eaplatanios/Development/GitHub/swift-apis/Sources/TensorFlow/Context.swift /Users/eaplatanios/Development/GitHub/swift-apis/Sources/TensorFlow/Core/ArrayOps.swift /Users/eaplatanios/Development/GitHub/swift-apis/Sources/TensorFlow/Core/DataTypes.swift /Users/eaplatanios/Development/GitHub/swift-apis/Sources/TensorFlow/Core/DifferentialOperators.swift /Users/eaplatanios/Development/GitHub/swift-apis/Sources/TensorFlow/Core/Execution.swift /Users/eaplatanios/Development/GitHub/swift-apis/Sources/TensorFlow/Core/LazyTensorOperation.swift /Users/eaplatanios/Development/GitHub/swift-apis/Sources/TensorFlow/Core/LazyTensorTFFunctionBuilder.swift /Users/eaplatanios/Development/GitHub/swift-apis/Sources/TensorFlow/Core/LazyTensorTrace.swift /Users/eaplatanios/Development/GitHub/swift-apis/Sources/TensorFlow/Core/PythonConversion.swift /Users/eaplatanios/Development/GitHub/swift-apis/Sources/TensorFlow/Core/Runtime.swift /Users/eaplatanios/Development/GitHub/swift-apis/Sources/TensorFlow/Core/ShapedArray.swift /Users/eaplatanios/Development/GitHub/swift-apis/Sources/TensorFlow/Core/StringTensor.swift /Users/eaplatanios/Development/GitHub/swift-apis/Sources/TensorFlow/Core/Tensor.swift /Users/eaplatanios/Development/GitHub/swift-apis/Sources/TensorFlow/Core/TensorGroup.swift /Users/eaplatanios/Development/GitHub/swift-apis/Sources/TensorFlow/Core/TensorHandle.swift /Users/eaplatanios/Development/GitHub/swift-apis/Sources/TensorFlow/Core/TensorProtocol.swift /Users/eaplatanios/Development/GitHub/swift-apis/Sources/TensorFlow/Core/TensorShape.swift /Users/eaplatanios/Development/GitHub/swift-apis/Sources/TensorFlow/Core/Threading.swift /Users/eaplatanios/Development/GitHub/swift-apis/Sources/TensorFlow/Core/Utilities.swift /Users/eaplatanios/Development/GitHub/swift-apis/Sources/TensorFlow/Initializers.swift /Users/eaplatanios/Development/GitHub/swift-apis/Sources/TensorFlow/Layer.swift -primary-file /Users/eaplatanios/Development/GitHub/swift-apis/Sources/TensorFlow/Layers/Convolutional.swift -primary-file /Users/eaplatanios/Development/GitHub/swift-apis/Sources/TensorFlow/Layers/Core.swift -primary-file /Users/eaplatanios/Development/GitHub/swift-apis/Sources/TensorFlow/Layers/Embedding.swift -primary-file /Users/eaplatanios/Development/GitHub/swift-apis/Sources/TensorFlow/Layers/Initialization.swift /Users/eaplatanios/Development/GitHub/swift-apis/Sources/TensorFlow/Layers/Normalization.swift /Users/eaplatanios/Development/GitHub/swift-apis/Sources/TensorFlow/Layers/Pooling.swift /Users/eaplatanios/Development/GitHub/swift-apis/Sources/TensorFlow/Layers/Recurrent.swift /Users/eaplatanios/Development/GitHub/swift-apis/Sources/TensorFlow/Layers/Upsampling.swift /Users/eaplatanios/Development/GitHub/swift-apis/Sources/TensorFlow/Loss.swift /Users/eaplatanios/Development/GitHub/swift-apis/Sources/TensorFlow/Operators/Basic.swift /Users/eaplatanios/Development/GitHub/swift-apis/Sources/TensorFlow/Operators/Comparison.swift /Users/eaplatanios/Development/GitHub/swift-apis/Sources/TensorFlow/Operators/Dataset.swift /Users/eaplatanios/Development/GitHub/swift-apis/Sources/TensorFlow/Operators/Math.swift /Users/eaplatanios/Development/GitHub/swift-apis/Sources/TensorFlow/Operators/NN.swift /Users/eaplatanios/Development/GitHub/swift-apis/Sources/TensorFlow/Optimizers/MomentumBased.swift /Users/eaplatanios/Development/GitHub/swift-apis/Sources/TensorFlow/Optimizers/Optimizer.swift /Users/eaplatanios/Development/GitHub/swift-apis/Sources/TensorFlow/Optimizers/SGD.swift /Users/eaplatanios/Development/GitHub/swift-apis/Sources/TensorFlow/Random.swift -emit-module-path /Users/eaplatanios/Development/GitHub/swift-apis/.build/x86_64-apple-macosx/debug/TensorFlow.build/Layers/Convolutional~partial.swiftmodule -emit-module-path /Users/eaplatanios/Development/GitHub/swift-apis/.build/x86_64-apple-macosx/debug/TensorFlow.build/Layers/Core~partial.swiftmodule -emit-module-path /Users/eaplatanios/Development/GitHub/swift-apis/.build/x86_64-apple-macosx/debug/TensorFlow.build/Layers/Embedding~partial.swiftmodule -emit-module-path /Users/eaplatanios/Development/GitHub/swift-apis/.build/x86_64-apple-macosx/debug/TensorFlow.build/Layers/Initialization~partial.swiftmodule -emit-module-doc-path /Users/eaplatanios/Development/GitHub/swift-apis/.build/x86_64-apple-macosx/debug/TensorFlow.build/Layers/Convolutional~partial.swiftdoc -emit-module-doc-path /Users/eaplatanios/Development/GitHub/swift-apis/.build/x86_64-apple-macosx/debug/TensorFlow.build/Layers/Core~partial.swiftdoc -emit-module-doc-path /Users/eaplatanios/Development/GitHub/swift-apis/.build/x86_64-apple-macosx/debug/TensorFlow.build/Layers/Embedding~partial.swiftdoc -emit-module-doc-path /Users/eaplatanios/Development/GitHub/swift-apis/.build/x86_64-apple-macosx/debug/TensorFlow.build/Layers/Initialization~partial.swiftdoc -emit-dependencies-path /Users/eaplatanios/Development/GitHub/swift-apis/.build/x86_64-apple-macosx/debug/TensorFlow.build/Layers/Convolutional.d -emit-dependencies-path /Users/eaplatanios/Development/GitHub/swift-apis/.build/x86_64-apple-macosx/debug/TensorFlow.build/Layers/Core.d -emit-dependencies-path /Users/eaplatanios/Development/GitHub/swift-apis/.build/x86_64-apple-macosx/debug/TensorFlow.build/Layers/Embedding.d -emit-dependencies-path /Users/eaplatanios/Development/GitHub/swift-apis/.build/x86_64-apple-macosx/debug/TensorFlow.build/Layers/Initialization.d -emit-reference-dependencies-path /Users/eaplatanios/Development/GitHub/swift-apis/.build/x86_64-apple-macosx/debug/TensorFlow.build/Layers/Convolutional.swiftdeps -emit-reference-dependencies-path /Users/eaplatanios/Development/GitHub/swift-apis/.build/x86_64-apple-macosx/debug/TensorFlow.build/Layers/Core.swiftdeps -emit-reference-dependencies-path /Users/eaplatanios/Development/GitHub/swift-apis/.build/x86_64-apple-macosx/debug/TensorFlow.build/Layers/Embedding.swiftdeps -emit-reference-dependencies-path /Users/eaplatanios/Development/GitHub/swift-apis/.build/x86_64-apple-macosx/debug/TensorFlow.build/Layers/Initialization.swiftdeps -target x86_64-apple-macosx10.10 -enable-objc-interop -sdk /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -I /Users/eaplatanios/Development/GitHub/swift-apis/.build/x86_64-apple-macosx/debug -I /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib -F /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -enable-testing -g -module-cache-path /Users/eaplatanios/Development/GitHub/swift-apis/.build/x86_64-apple-macosx/debug/ModuleCache -swift-version 4.2 -Onone -D SWIFT_PACKAGE -D DEBUG -color-diagnostics -enable-anonymous-context-mangled-names -parse-as-library -module-name TensorFlow -o /Users/eaplatanios/Development/GitHub/swift-apis/.build/x86_64-apple-macosx/debug/TensorFlow.build/Layers/Convolutional.swift.o -o /Users/eaplatanios/Development/GitHub/swift-apis/.build/x86_64-apple-macosx/debug/TensorFlow.build/Layers/Core.swift.o -o /Users/eaplatanios/Development/GitHub/swift-apis/.build/x86_64-apple-macosx/debug/TensorFlow.build/Layers/Embedding.swift.o -o /Users/eaplatanios/Development/GitHub/swift-apis/.build/x86_64-apple-macosx/debug/TensorFlow.build/Layers/Initialization.swift.o -index-store-path /Users/eaplatanios/Development/GitHub/swift-apis/.build/x86_64-apple-macosx/debug/index/store -index-system-modules
1.      Swift version 5.1-dev (LLVM 7d54a7c711, Swift f62bd5687d)
0  swift                    0x000000010a86c955 llvm::sys::PrintStackTrace(llvm::raw_ostream&) + 37
1  swift                    0x000000010a86b998 llvm::sys::RunSignalHandlers() + 248
2  swift                    0x000000010a86cf48 SignalHandler(int) + 264
3  libsystem_platform.dylib 0x00007fff759bcb5d _sigtramp + 29
4  libsystem_platform.dylib 0x00000001173a9938 _sigtramp +<PHONE_NUMBER>
5  libsystem_c.dylib        0x00007fff758766a6 abort + 127
6  libsystem_c.dylib        0x00007fff7583f20d basename_r + 0
7  swift                    0x000000010abb0d13 deriveBodyDifferentiable_move(swift::AbstractFunctionDecl*, void*) (.cold.9) + 35
8  swift                    0x0000000107609ff7 deriveBodyDifferentiable_move(swift::AbstractFunctionDecl*, void*) + 2279
9  swift                    0x0000000107708883 swift::TypeChecker::typeCheckAbstractFunctionBody(swift::AbstractFunctionDecl*) + 83
10 swift                    0x0000000107729453 typeCheckFunctionsAndExternalDecls(swift::SourceFile&, swift::TypeChecker&) + 275
11 swift                    0x0000000107729c1d swift::performTypeChecking(swift::SourceFile&, swift::TopLevelContext&, swift::OptionSet<swift::TypeCheckingFlags, unsigned int>, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int) + 1005
12 swift                    0x0000000106e62d71 swift::CompilerInstance::parseAndCheckTypesUpTo(swift::CompilerInstance::ImplicitImports const&, swift::SourceFile::ASTStage_t)::$_1::operator()(swift::SourceFile&) const + 81
13 swift                    0x0000000106e5e74b swift::CompilerInstance::parseAndCheckTypesUpTo(swift::CompilerInstance::ImplicitImports const&, swift::SourceFile::ASTStage_t) + 507
14 swift                    0x0000000106e5e04a swift::CompilerInstance::performSemaUpTo(swift::SourceFile::ASTStage_t) + 618
15 swift                    0x0000000106c4be92 performCompile(swift::CompilerInstance&, swift::CompilerInvocation&, llvm::ArrayRef<char const*>, int&, swift::FrontendObserver*, swift::UnifiedStatsReporter*) + 1730
16 swift                    0x0000000106c4a7f1 swift::performFrontend(llvm::ArrayRef<char const*>, char const*, void*, swift::FrontendObserver*) + 3025
17 swift                    0x0000000106bf2bf9 main + 729
18 libdyld.dylib            0x00007fff757d13d5 start + 1
19 libdyld.dylib            0x0000000000000077 start +<PHONE_NUMBER>

Nevermind, I worked out a solution and will be opening a PR soon. :)

Done in #322 .


fix: install playwright + its dependencies

fix #166
Testing Steps:

Open this PR in Gitpod
After everything finished loading, open a new terminal
Run yarn test
Confirm everything ran flawlessly.

@shaal any update or thoughts on this? Would like to see this get in and work, but seems like we'd need to add the dep on the gitpod environment hopefully through our gitpod.yml config vs adding it to the project as a dependency.

This issue was resolved by https://github.com/phase2/outline/pull/233, Playwright is now available to run in Outline's Gitpod workspace.
yarn test can run successfully -


[BUG] Google icon is not vertically centered in the login page

Describe the bug
The google icon is not vertically centered
To Reproduce
Steps to reproduce the behavior:

Go to 'Login page'

Expected behavior
The google icon should be vertically centered
Screenshots

@jinxsaber hi, are you working on this?

@ali-ahnaf Can i work on this issue can you assign me ?

@ali-ahnaf Can i work on this issue can you assign me ?

Sure, go ahead. Let me know if you need help installing the development environment.


Go 1.3.3 is available

I've had pretty good luck with 1.4, so maybe it's best to just skip straight ahead to 1.4!

https://groups.google.com/forum/#!topic/golang-nuts/MYS5MkDF5_A
https://blog.golang.org/go1.4

working on an update right now

awesome! :+1:


.NET Framewok 4.0 is not supported?

What version of DotSpatial should I get to use it in my .NET Framewok 4.0 project???

No idea whether 1.9 would be compatible but you'd be better of upgrading to .Net 6 if possible.

No idea whether 1.9 would be compatible but you'd be better of upgrading to .Net 6 if possible.

Sure, .NET 6 is better, maybe, but I cant change the project since it require to install .NET Runtime to the target PC... Also I use a number of other libs which are compiled for .NET Framework 4+...
I have tried to use 1.9.0, it was installed but while adding Map control to the form in designed, it has raised an error and was deleted from the control list by itself :(((

Not sure whether it is possible to get this running as it's quite old. But I don't have the time to try and figure this out. If you could upgrade to .Net 4.7.2 you could try DotSpatial V 3.

Not sure whether it is possible to get this running as it's quite old. But I don't have the time to try and figure this out. If you could upgrade to .Net 4.7.2 you could try DotSpatial V 3.

Thanks to you good reply.
I will consider to upgade the .NET 4.8 in the feature, hope could solve all issues encounterd.


about training embedding-based models

I follow the command:
./experiment-emb.sh configs/kinship-conve.sh --train 0
it shows :'EmbeddingBasedMethod' object has no attribute 'loss_hrl'
I feel like I called the reinforcement learning training function while running an embedded model. How should I modify it

Hi, sorry for the delay.
Embedding-based method does not use loss_hrl to train. Please instead use self.loss. We built the project based on MultihopKG, where more information can be found.

I followed your update for the function of loss, but there is still a mistake:
(loss['model_loss_high'] + loss['model_loss_low']).backward() KeyError: 'model_loss_high'
But loss function in emb.py does not have "model_loss_high" element. Am I supposed to modify it to this:
loss_dict['model_loss_high'] = loss         loss_dict['model_loss_low'] = float(loss)


JOSS Review: Check contributors

As part of the JOSS review, I have to verify this
Contribution and authorship: Has the submitting author (@MJWester) made major contributions to the software? Does the full list of paper authors seem appropriate and complete?

I can see that this holds for @MJWester , but the paper.md lists 13 authors, yet the repo has 8 contributors.
Can you please clarify in the paper what contributions the other authors made (funding, support, testing, ...)
Thanks,
Ben

The development of the SMITE software has taken place over several years,
including an early period before our use of GitHub.  Each of the authors
has made a contribution to SMITE which I summarize below (and will now
include in the paper).  In the process of making this list, we added three
more authors as we think it is important that anyone that developed software
for SMITE be recognized.  I hope that this list is not too long, but SMITE
is a big package with many pieces and many contributors.
Author Contributions
KAL conceived and supervised development of SMITE and its predecessors.
DJS, MF, HMF, MBMM and KAL coded SR localization techniques.
SP, MJW, MF and HMF implemented thresholding.
DJS and HMF wrote frame connection.
MJW, KAL and DJS developed drift correction based on an earlier version by FF.
MF and KAL devloped BaGoL; MJW wrote the interface to SMITE.
DJS, HMF, WKK, DAR and EJ designed and wrote code for single particle tracking
based on ideas from PKR.
DJS, MBMM, HMF and SP created visualizations.
SK, MJW and DJS added SMLM and SPT simulations.
KAL, SL and MJW developed Zernike polynomial point spread function engineering.
MJW packaged clustering techniques, and
SLS and MJW wrote code for various cluster statistics.
DJS added channel registration, various statistics, dimer hidden Markov
modeling and the batch Publish class.
PKR and MJO developed the diffusion estimator, while MJO also contributed to
the change detector.
MJW, SK and EAB added GitHub documentation.
MJW and DJS wrote the manuscript.
All authors reviewed the manuscript.

Thank you for clarifying the contributions and listing credit in detail.


Recovery doesn't support self-hosted etcd without TLS

It looks like after #592, bootkube recover doesn't work with a self-hosted etcd that doesn't use TLS. I get errors about required assets being missing:
# GLOG_v=4 /home/core/bootkube recover --recovery-dir=/root/recover-2017-06-24 --etcd-backup-file=/root/etcd-backup-2017-06-24 --kubeconfig=/etc/kubernetes/kubeconfig
Attempting recovery using etcd backup file at "/root/etcd-backup-2017-06-24"...
Writing asset: /etc/kubernetes/manifests/recovery-etcd.yaml
Waiting for etcd server to start...
I0624 20:14:52.195192   17731 util.go:25] could not create etcd client, retrying later: grpc: timed out when dialing
I0624 20:15:02.195125   17731 util.go:25] could not create etcd client, retrying later: grpc: timed out when dialing
I0624 20:15:12.195214   17731 util.go:25] could not create etcd client, retrying later: grpc: timed out when dialing
I0624 20:15:22.195115   17731 util.go:25] could not create etcd client, retrying later: grpc: timed out when dialing
I0624 20:15:32.195299   17731 util.go:25] could not create etcd client, retrying later: grpc: timed out when dialing
I0624 20:15:42.195126   17731 util.go:25] could not create etcd client, retrying later: grpc: timed out when dialing
I0624 20:15:52.195108   17731 util.go:25] could not create etcd client, retrying later: grpc: timed out when dialing
I0624 20:16:02.196252   17731 util.go:25] could not create etcd client, retrying later: grpc: timed out when dialing
I0624 20:16:12.195179   17731 util.go:25] could not create etcd client, retrying later: grpc: timed out when dialing
I0624 20:16:22.195130   17731 util.go:25] could not create etcd client, retrying later: grpc: timed out when dialing
I0624 20:16:32.195156   17731 util.go:25] could not create etcd client, retrying later: grpc: timed out when dialing
I0624 20:16:42.197720   17731 util.go:25] could not create etcd client, retrying later: grpc: timed out when dialing
I0624 20:16:52.195221   17731 util.go:25] could not create etcd client, retrying later: grpc: timed out when dialing
I0624 20:17:02.195295   17731 util.go:25] could not create etcd client, retrying later: grpc: timed out when dialing
I0624 20:17:12.195125   17731 util.go:25] could not create etcd client, retrying later: grpc: timed out when dialing
I0624 20:17:22.195116   17731 util.go:25] could not create etcd client, retrying later: grpc: timed out when dialing
I0624 20:17:32.195199   17731 util.go:25] could not create etcd client, retrying later: grpc: timed out when dialing
I0624 20:17:42.195130   17731 util.go:25] could not create etcd client, retrying later: grpc: timed out when dialing
Error: failed to extract some required objects: [etcd-member-peer-tls etcd-member-client-tls etcd-operator-client-tls]
failed to extract some required objects: [etcd-member-peer-tls etcd-member-client-tls etcd-operator-client-tls]

Recovery of the assets works fine with a version built before that PR. Is that something that's going to be supported going forward?

@aaronlevy
Does bootkube want to handle non-TLS case in the future?

Hmm, my initial thought is, no -- mostly because we won't allow using self-hosted etcd without tls from this point forward (I don't really see a case for allowing it).
So the recovery tool wouldn't be able to support clusters launched prior to tls being added -- which is unfortunate (but we're still in an alpha phase for both recovery, and self-hosted etcd).

Is recovery even working for self-hosted etcd with TLS?
bootkube recover --recovery-dir=/home/core/recovered --etcd-backup-file=/home/core/etcdbackup --kubeconfig=/etc/kubernetes/kubeconfig works and generate the assets, but bootstrap-etcd can't be started, for some reason (still debugging)...
Jul 16 16:38:56 k8s-m1 kubelet-wrapper[29979]: E0716 16:38:56.775185   29979 pod_workers.go:182] Error syncing pod f89c4f31133c2047638b9c4a28de0c16 ("bootstrap-etcd-165.227.xx.xx_kube-system(f89c4f31133c2047638b9c4a28de0c16)"), skipping: timeout expired waiting for volumes to attach/mount for pod "kube-system"/"bootstrap-etcd-165.227.xx.xx". list of unattached/unmounted volumes=[etcd etcdbackup secrets]

but bootstrap-etcd can't be started, for some reason (still debugging)...

This was caused by some old bootstrap containers, due to another bug*.
So:
sudo sysetmctl stop kubelet
docker rm -f $(docker ps -aq)
sudo systemctl start kubelet
sudo /home/core/bootkube start --asset-dir=/home/core/recovered

* etcd-0000 can't start if /var/etcd/ contain some old etcd data. So people also need to log into every master node and empty the /var/etcd dir..

@klausenbusk
Both docker state, active manifest and etcd state need to be cleaned up. Kubelet needs to be restarted.
We should add a bootkube recovery cleanup or add cleanup process into the bootkube recovery sub-command.
If you have time, can you submit a PR to improve it?

opened https://github.com/kubernetes-incubator/bootkube/issues/651 to track the above

I'd think this is a non-goal. Do we want to allow bootkube clusters with non-TLS etcd setups to begin with?

Self-hosted etcd has been removed from bootkube https://github.com/kubernetes-incubator/bootkube/issues/738
Closing this issue for now. If/when we decide to re-enable it we can re-open.


Fix drools-example GameUI keylistener

Avoid to Pong, Invaders end users the need to click the Canvas in order
to actually produce the key pressed events.
This way, the external JFrame registers the keylistener.
The internal JPanel and Canvas are not responsive to the user hence are
set as non-focusable.
When the external JFrame becomes visible, the keylistener is immediately
active to create the key pressed events necessary for the game/rules.
Please notice GameUI is only used by Canvas-based games: Pong, Invaders.

Please notice GameUI is only used by Canvas-based games: Pong, Invaders.
i.e.:

I've manually tested Pong, Invaders6, Invaders5 and on RHEL/Gnome I don't have any longer to click on the Canvas; simply as soon as the JFrame is visible I can start immediately to play by pressing the keys.
@mdproctor @mariofusco what do you think?


UnexpectedCharacters is misleading

I run into a weird situation. Lark is raising an UnexpectedCharacters error with this message:
lark.exceptions.UnexpectedCharacters: No terminal defined for '*' at line 3 col 3

That terminal is defined in my grammar, and if I change
3 * 3

to
3*3

it gets parsed correctly.
For reference, the grammar file being used is:
start: _NL? block+
line: values | operation | comment | assignment | imports | return_statement | block
number: INT | FLOAT
string: SINGLE_QUOTED | DOUBLE_QUOTED
boolean: TRUE | FALSE
list: _OSB (_NL _INDENT)? (values (_COMMA (_WS|_NL)? values)*)? (_NL _DEDENT)? _CSB
key_value: string _COLON values
objects: _OCB (key_value (_COMMA key_value)*)? _CCB
mutation: _WS NAME arguments*
values: (number | string | boolean | FILEPATH | list | objects) mutation?
comparisons: GREATER | GREATER_EQUAL | LESSER | LESSER_EQUAL | NOT | EQUAL
path_fragment: _DOT NAME | _OSB INT _CSB | _OSB string _CSB
path: NAME (path_fragment)*
assignment_fragment: EQUALS _WS? (values|path|service)
assignment: path _WS? assignment_fragment
return_statement: _RETURN _WS (path|values)
operator: PLUS | DASH | MULTIPLIER | BSLASH
operation: values _WS operator _WS values | values operator values
path_value: path | values
if_statement: _IF _WS path_value (_WS comparisons _WS path_value)?
nested_block: _INDENT block+ _DEDENT
elseif_statement: _ELSE _WS? _IF _WS path_value (_WS comparisons _WS path_value)?
elseif_block: elseif_statement _NL nested_block
else_statement: _ELSE
else_block: else_statement _NL nested_block
if_block: if_statement _NL nested_block elseif_block* else_block?
foreach_statement: _FOREACH _WS NAME output
foreach_block: foreach_statement _NL nested_block
typed_argument: NAME _COLON types
function_argument: _WS typed_argument
function_output: _WS _ARROW _WS types
function_statement: FUNCTION_TYPE _WS NAME function_argument* function_output?
function_block: function_statement _NL nested_block
inline_expression: _OP service _CP
arguments: _WS? NAME? _COLON (values|path|inline_expression)
command: _WS NAME
output: (_WS _AS _WS NAME (_COMMA _WS? NAME)*)
service_fragment: (command arguments*|arguments+) output?
service: path service_fragment
service_block: service _NL (nested_block)?
when_block: _WHEN _WS (path output|service) _NL nested_block
block: line _NL|if_block|foreach_block|function_block|arguments|service_block|when_block
imports: _IMPORT _WS string _WS _AS _WS NAME
types: INT_TYPE | FLOAT_TYPE | STRING_TYPE | LIST_TYPE | OBJECT_TYPE | REGEXP_TYPE | FUNCTION_TYPE
comment: COMMENT+

_WS: (" ")+
_NL: /(\r?\n[\t ]*)+/
_INDENT: "<INDENT>"
_DEDENT: "<DEDENT>"
INT.2: "0".."9"+
FLOAT.2: INT "." INT? | "." INT
SINGLE_QUOTED: /'([^']*)'/
DOUBLE_QUOTED: /"([^"]*)"/
TRUE: "true"
FALSE: "false"
FILEPATH: /`([^"]*)`/
_COMMA: ","
_OSB: "["
_CSB: "]"
_COLON: ":"
_OCB: "{"
_CCB: "}"
GREATER: ">"
GREATER_EQUAL: ">="
LESSER: "<"
LESSER_EQUAL: "<="
NOT: "!="
EQUAL: "=="
NAME.1: /[a-zA-Z-\/_0-9]+/
_DOT: "."
EQUALS: "="
_RETURN: "return"
PLUS: "+"
DASH: "-"
MULTIPLIER: "*"
BSLASH: "/"
_IF: "if"
_ELSE: "else"
_FOREACH: "foreach"
_AS: "as"
_ARROW.2: DASH GREATER
_OP: "("
_CP: ")"
_WHEN: "when"
_IMPORT: "import"
INT_TYPE: "int"
FLOAT_TYPE: "float"
NUMBER_TYPE: "number"
STRING_TYPE: "string"
LIST_TYPE: "list"
OBJECT_TYPE: "object"
REGEXP_TYPE: "regexp"
FUNCTION_TYPE: "function"
COMMENT: /(?<=###)\s(.*|\n)+(?=\s###)|#(.*)/

Please provide the full exception, and the output of the correct parse.

I have fixed that specific one, so I don't have the full exception. I have been encoutering this error from time to time however, so I will come back with the full traceback.
The error is misleading because it should be an UnexpectedToken instead of UnexpectedCharacters

If the token is not syntactically valid at that point, the characters won't be tokenized, even if it's defined in the grammar. That why you get this error. It's possible to provide the error you expect, but I'm not sure if it's the correct behavior.

If the token is not syntactically valid at that point, the characters won't be tokenized, even if it's defined in the grammar. That why you get this error. It's possible to provide the error you expect, but I'm not sure if it's the correct behavior.

I am closing since the issue has been clarified

Okay. I kept it open because I think you have a point, but I wasn't sure how to correct the error message without making it confusing, or complicating the implementation. However, if you have any ideas I'm interested in hearing them.

Not sure, but I think I have a similar problem. As is, it produces the following error:
lark.exceptions.UnexpectedCharacters: No terminal defined for 'c' at line 1 col 33

box { <-1, -1, -1>, <1, 1, 1> } cylinder {<1, 2, 3>, <3, 4, 5>, 2}

When uncommenting the two #~ commented lines in main(), and commenting the next line, all is fine..I.e. changing the main() to:
    l = Lark(GRAMMAR, start = "finite_solid_object")
    print( l.parse("box { <-1, -1, -1>, <1, 1, 1> } ") )
    print( l.parse("cylinder {<1, 2, 3>, <3, 4, 5>, 2}") )
    #~ print( l.parse("box { <-1, -1, -1>, <1, 1, 1> } cylinder {<1, 2, 3>, <3, 4, 5>, 2}") )

This is a simplified version of my test program:
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
#  test_lark.py
#
#  Copyright 2019 John Coppens<EMAIL_ADDRESS>#
#  This program is free software; you can redistribute it and/or modify
#  it under the terms of the GNU General Public License as published by
#  the Free Software Foundation; either version 2 of the License, or
#  (at your option) any later version.
#
#  This program is distributed in the hope that it will be useful,
#  but WITHOUT ANY WARRANTY; without even the implied warranty of
#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#  GNU General Public License for more details.
#
#  You should have received a copy of the GNU General Public License
#  along with this program; if not, write to the Free Software
#  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
#  MA 02110-1301, USA.
#
#

from lark import Lark

GRAMMAR = """
SIGN                : "+"|"-"
DIGIT               : "0".."9"
NON_ZERO_DIGIT      : "1".."9"
UNSIGNED_INT        : NON_ZERO_DIGIT DIGIT*
SIGNED_INT          : [SIGN] UNSIGNED_INT
EXPONENT            : ["e"|"E"] SIGNED_INT
FLOAT               : SIGNED_INT ["." UNSIGNED_INT] [EXPONENT]

vector_literal      : "<" FLOAT "," FLOAT "," FLOAT ">"
vector              : vector_literal

box                 : "box" "{" vector "," vector "}"
cylinder            : "cylinder" "{" vector "," vector "," FLOAT "}"
finite_solid_object : box
                    | cylinder

%ignore " "
"""

def main(args):
    # Test finite objects
    l = Lark(GRAMMAR, start = "finite_solid_object")
    #~ print( l.parse("box { <-1, -1, -1>, <1, 1, 1> } ") )
    #~ print( l.parse("cylinder {<1, 2, 3>, <3, 4, 5>, 2}") )
    print( l.parse("box { <-1, -1, -1>, <1, 1, 1> } cylinder {<1, 2, 3>, <3, 4, 5>, 2}") )

    return 0

if __name__ == '__main__':
    import sys
    sys.exit(main(sys.argv))

This problem is because your start symbol finite_solid_object either accepts box or cylinder, but not both at the same time. Now, you need to define how your grammar should accept them. One quick solution is to use:
finite_solid_object : box
                    | cylinder
-->
finite_solid_object : ( box
                    | cylinder )+

Or:
finite_solid_object : finite_solid_object box
                    | finite_solid_object cylinder
                    | box
                    | cylinder

You're right, of course. In fact it was working all along, but because of debugging I had changed the start symbol temporarily to finite_solid_object. The repetition was higher up in the syntax:
scene_item          : camera
                    | light_source
                    | finite_solid_object
                    | infinite_solid_object

scene               : scene_item*

Thanks a lot for the prompt reply! Sorry for the noise...

Even though this is closed, the notifications reminded me of it, and in a small burst of inspiration I managed to fix the error with a few lines.
If anyone here feels like checking the new error and telling me their opinion, that would be helpful

I am comparing the stacktraces after the change.

With your change, the old information was preserved, while the new information was added:

Just a note, I had to add parser="lalr" to the @JohnCC330 example, because lark was using early by default.
The only thing I think is strange is this Expecting: {'__IGNORE_0'}. May be it could have a better name like Expecting: {'END_OF_PROGRAM'}?

With your change, the old information was preserved, while the new information was added

Yes, that's how exceptions in Python3 work. I think it's fine, but if users find it confusing I'll find a way to suppress the original exception.

May be it could have a better name like Expecting: {'END_OF_PROGRAM'}?

Thanks, that's a good note! I added a fix for that.

Yes, that's how exceptions in Python3 work.

I was not complaining, just emphasizing we did not lose any information with this change.

I think it's fine, but if users find it confusing I'll find a way to suppress the original exception.

The double exception is fine. No need to suppress as it make easier to understand how lark works internally, then, new developers can easier add contributions/pull requests to its source code.
There are some times (like this: https://github.com/SublimeTextIssues/Core/issues/2930), you need to suppress the exception because the first and the second exception are very close and the first is useless.

Actually, you could do this to show everything in a single exception:
raise UnexpectedToken(t, e.allowed)
# -->
first_exception = "".join( traceback.format_exception( *sys.exc_info() ) )
raise UnexpectedToken( t, e.allowed, first_exception ) from None

On this case, the constructor of UnexpectedToken would have to be changed to handle the new parameter.
The problem is that raise ... from None was added after Python 3.3:

Changed in version 3.3: None is now permitted as Y in raise X from Y

https://docs.python.org/3/reference/simple_stmts.html#the-raise-statement
https://stackoverflow.com/questions/24752395/python-raise-from-usage/24752607#24752607


1148 improve api docs

Added inner-references to:

Content Architecture
Model Costumization
Admin Costumization

Thanks a lot for this!
I'm not sure how you've managed to have this reference so many already existing commits, but you'll need to sort that out and re-submit it. That will also give you the chance to squash your documentation updates into a single commit with one clean commit message.


Update obsidian.css

Added a color and code to style markdown mark tags (ie persistent highlights). In markdown any text can be highlighted by encapsulating your text with ==
eg ==hightlight text==
Note this is in preview mode only. Haven't sorted out the editor mode yet so it's still the default orange

Thank you! Your work has made the style of the theme more diverse, thanks again!


oldValue in changed event is wrong

I'm using the slider with immediateResponse set to true. The arguments passed to the changed event are the new value, and an object containing oldValue, but oldValue is also the new value, instead of the previous value.

I'm heads down on other things at the moment but feel free to send me a PR if you need this more urgently. The problem is that this code works fine with only slideStart and slideStop events are modifying the value:
https://github.com/lifegadget/ui-slider/blob/master/addon/components/ui-slider.js#L283-L284
but with immediateResponse you also set the value on the slide event:
https://github.com/lifegadget/ui-slider/blob/master/addon/components/ui-slider.js#L67
Ok, need coffee. I will get to this at some point but just super busy at moment.

No worries, it's definitely not urgent. Just something I noticed and figured I should bring to your attention.
I can take a look at trying to fix it

thanks, will get to it but not this week


arguments option issue

Hey guys, first of all thank you so much for your work!
I'm trying to execute the operator with the following spec:
apiVersion: k6.io/v1alpha1
kind: K6
metadata:
  name: k6-sample
spec:
  parallelism: 4
  script: aligator-stress-test
  arguments: --out kafka=brokers=dockerhost:9092,topic=load-output,format=json

however, when running the apply I'm getting the error
time="2021-04-23T20:02:25Z" level=error msg="unknown flag: --out kafka"
Could anyone help me out with this issue?

Hey!
I'll have a look at this on Monday. Thanks for pointing it out! 🙏🏼

Hey!
I'll have a look at this on Monday. Thanks for pointing it out! 🙏🏼

Hey, @simskij. Did you get a chance to look at this?
I have the same issue with influxdb.

Hey,
Yeah, this was an error on my part. It works as long as you put an equal sign instead of a space between --out/-o and the argument. However, this is not the intended behavior. Fixing this and releasing a new version.
Thanks again,
Simme


How to function without autocomplete

Autocomplete. Static analysis is much simpler and much more reliable than requiring an always-live connection to the working app.

I've been a Calva (and Clojure) user for about a year and I really like it.
I'm trying out Clojure-Sublimed for the first time today. The clean stacktraces lured me in! This is a real question: How does a person function without autocomplete?

I personally rely on Sublime’s autocomple

Oh, maybe I was doing something wrong because I didn't see any autocomplete from Sublime or Clojure-Sublimed.

See #40 and README


add index and getting started guide for Erlang along with tabs shortcode

The index and getting started pages are basically copies of the same Go pages. I have 2 other pages that I'm working on to be added later. This PR is a draft so I can share it for comments but version 0.6.0 has not be released yet so it is not ready to be published.
The tabs shortcode was added to allow both Erlang and Elixir examples to be listed together.
There is an issue I need help with, assuming the tabs shortcode is acceptable aside from this, there is a gap between the tabs and the content that I can't explain (image below). I tried inspecting the element in firefox but couldn't find what was causing it to space like this on every set of tabs.

The gap is due to the highlight class that's applied to preformatted blocks. It doesn't show on the parent div for weird css reasons, presumably, but if you drill down a bit you should see it. I don't think that it's a huge problem tbh.

Aah, yea, now I see the spacing coming from the div with highlight class.

Ok, so I have some css to fix it, but not sure where to actually include it. I shoved it in main.scss, is that right?
.td-content .highlight {
	margin: 2rem 0;
	padding: 0;
}

yeah, or just make a new css file and import it to main

Ok, cool. I just went by what seemed to be the convention (a file with an underscore, _tabs.scss, and import the name without an underscore, @import "tabs";) and it seems to have worked :)


Expand Destroy()

I went TODO hunting.

Destroy() now calls Destroy() on all of its children
Destroy() now locks the parent property of the instance being destroyed

Coverage increased (+0.01%) to 98.652% when pulling 347fe62ca15f12f185df676312c2a018b32a40f9 on Kampfkarren:destroy into a0f18290102327c8530b49b3eded39353cea615d on LPGhatguy:master.

@LPGhatguy Fixed all of that in the new commit

Thanks!


unable to install kivy on mac os

Versions

Python: 2.7.9 Anaconda 2.2.0
OS: Mac OS sierra 10.12.6
Kivy: 1.10.1 or development
Kivy installation method: brew

Description
one error blocks the process of installing kivy as described in https://kivy.org/docs/installation/installation-osx.html
Code and Logs
    cythoning /private/var/folders/v9/y_41x4rj4szg6jpdmrxxshcw0000gn/T/pip-OXZGBr-build/kivy/core/image/img_imageio.pyx to /private/var/folders/v9/y_41x4rj4szg6jpdmrxxshcw0000gn/T/pip-OXZGBr-build/kivy/core/image/img_imageio.c
    building 'kivy.core.image.img_imageio' extension
    creating build/temp.macosx-10.5-x86_64-2.7/private/var/folders/v9/y_41x4rj4szg6jpdmrxxshcw0000gn/T/pip-OXZGBr-build/kivy/core/image
    gcc -fno-strict-aliasing -I/Users/dufourd/anaconda/include -isysroot /Developer/SDKs/MacOSX10.5.sdk -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch x86_64 -I/private/var/folders/v9/y_41x4rj4szg6jpdmrxxshcw0000gn/T/pip-OXZGBr-build/kivy/include -I/Users/dufourd/anaconda/include/python2.7 -c /private/var/folders/v9/y_41x4rj4szg6jpdmrxxshcw0000gn/T/pip-OXZGBr-build/kivy/core/image/img_imageio.c -o build/temp.macosx-10.5-x86_64-2.7/private/var/folders/v9/y_41x4rj4szg6jpdmrxxshcw0000gn/T/pip-OXZGBr-build/kivy/core/image/img_imageio.o -F/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/System/Library/Frameworks
    In file included from /private/var/folders/v9/y_41x4rj4szg6jpdmrxxshcw0000gn/T/pip-OXZGBr-build/kivy/core/image/img_imageio.c:475:
    In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGDataProvider.h:8:
    In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h:18:
    /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFAvailability.h:21:10: fatal error: 'os/availability.h' file not found
    #include <os/availability.h>
             ^
    1 error generated.
     error: command 'gcc' failed with exit status 1

    ----------------------------------------
Command "/Users/dufourd/anaconda/bin/python -u -c "import setuptools, tokenize;__file__='/private/var/folders/v9/y_41x4rj4szg6jpdmrxxshcw0000gn/T/pip-OXZGBr-build/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /var/folders/v9/y_41x4rj4szg6jpdmrxxshcw0000gn/T/pip-Is5Hew-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/var/folders/v9/y_41x4rj4szg6jpdmrxxshcw0000gn/T/pip-OXZGBr-build/

upgrading to python 2.7.13 did not help
trying to download the kivy app did not help: latest v1.9.1 does not start

Have you tried to reinstall/upgrade Xcode? The issue seems to be there.

Thanks for your message.
I installed the Xcode 9 beta and retried pip install kivy.
Nothing has changed.

Did you install gcc?
sudo yum install gcc

I did exactly as mentioned in this link. No luck, gcc was unable to compile. So I tried something else which is mentioned here.
I just did the one which I suspect as the main reason why gcc failed to compile, cython version. I use the same cython version as mentioned at the comment, which is:
pip install Cython==0.23
and then
pip install kivy
and kivy is successfully installed. After that I did
pip install -U Cython
to get the latest cython. I tried a Hello World example, and it was running. Hope this help

what is your Cython version? >0.25 would fail

Cython 0.26.1 also works.

Check what your active version of cython is cython --version. I had the hardest time installing Kivy on macOs High Sierra, until I realised I had mutilple versions of cython and the active version was not compatible with a kivy install. My guess is somewhere in the installation process it calls cython and in my case it did not find what was installed with pip install Cython==0.26.1.

I have the same issue, and I only solved it, along with many other issues by not using Mac to program anymore

I have had the same problem
Just paste this command into your terminal
pip install --user --verbose https://github.com/kivy/kivy/zipball/master
If you don't use the --user flag it will give an error

Running into sort of the same problem here. Cython version is 0.23, but also tried with multiple versions. Any sugegstions?
Here is the error I get:
/private/var/folders/dm/wnqk8wr52hn572dsf9_g_n7m0000gn/T/pip-install-yrm3qdh4/kivy/kivy/core/audio/audio_sdl2.c: In function ‘__pyx_pf_4kivy_4core_5audio_10audio_sdl2_9MusicSDL2_extensions’:
/private/var/folders/dm/wnqk8wr52hn572dsf9_g_n7m0000gn/T/pip-install-yrm3qdh4/kivy/kivy/core/audio/audio_sdl2.c:4527:69: error: ‘MIX_INIT_MODPLUG’ undeclared (first use in this function)
   __pyx_t_2 = ((__pyx_v_4kivy_4core_5audio_10audio_sdl2_mix_flags & MIX_INIT_MODPLUG) != 0);
                                                                     ^
 error: command 'gcc' failed with exit status 1

----------------------------------------

Command "/anaconda3/bin/python -u -c "import setuptools, tokenize;file='/private/var/folders/dm/wnqk8wr52hn572dsf9_g_n7m0000gn/T/pip-install-yrm3qdh4/kivy/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /private/var/folders/dm/wnqk8wr52hn572dsf9_g_n7m0000gn/T/pip-record-cj6y_54o/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/var/folders/dm/wnqk8wr52hn572dsf9_g_n7m0000gn/T/pip-install-yrm3qdh4/kivy/

Same issue, tried multiple versions of Cython including those suggested here.

@valtersilva @nanodan that error is not the same as the issue report; it's caused by an upstream breaking change in sdl2-mixer. The easiest solution is to build kivy master branch which contains a fix. Alternatively downgrade sdl2-mixer to version 2.0.1

We hit this issue when trying to make a new a kivy conda release. But updating and releasing the conda recipes for sdl2, this seems to have fixed the issue. So I'm going to assume this would also fix the original issue and I'm closing this.
Feel free to re-open if it doesn't fix it.


Program should not link to wiki but github pages instead!

Should we get rid of the wiki all together or just redirect to the github pages page? @MrTopom

@MrTopom Please review pull request!

Removed wiki for now and added link to the top of the Readme.


fix: ensure node 4 compat

add 'use strict' to all files for node 4 block-scoping
remove usage of Array.prototype.includes in resolveEntryFile
rename resolveEntryFile to resolveEntry
move multiple resolveEntry implementations to lib/resolve-entry
order imports in bin/build according to length
add lib to allowed files in manifest

fixes #66

Going forward with this to fix the issues with node version < 6. We can revisit any stylistic issues later.


Use pixi for all cpp test invocations on CI

What
Unclear if that's a good idea as is.
Does it still use GCC? I want it to use GCC  to be on the safe side!
Locally this gives me a loot of warnings from Arrow - it seems the install of the compiler pixi uses goes to /opt/homebrew/include/ without marking this as a system directory and ignores the system directory that is set to the pixi folder. Very confusing. Lots of warnings
Checklist

[ ] I have read and agree to Contributor Guide and the Code of Conduct
[ ] I've included a screenshot or gif (if applicable)
[ ] I have tested demo.rerun.io (if applicable)
[ ] The PR title and labels are set such as to maximize their usefulness for the next release's CHANGELOG

PR Build Summary
Docs preview
Examples preview
Recent benchmark results
Wasm size tracking

... so looks like our container doesn't even have just installed
Let's do this with other work in #3717


Add a bespoke index.lock file to protect fastfetch operations

As mentioned in the comments, FastFetch is pretty far away from the ideal way of handling .git/index and .git/index.lock.  I had a go at fixing that, but after getting a ways into it, I decided that the value just wasn't really there and the risk was pretty high.  So I hacked around the problem.


removed deprecated options

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 71.264%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
186

Relevant Lines:
261

💛  - Coveralls


License

Hi, the MIT license as added to the upstream repo, so you should probably copy that over.
Without a license you don't have permission to do these changes. Now, in actuality the code is license under MIT but it only allows you to redistribute and/or modify if the copyright notice is retained which it is currently not. Copying the LICENSE over would fulfill that requirement.

Fixed with 06aca06bd24482bc7ed75433f6cf2ecd878fa684.


potentially invalid yaml syntax in notifiers/ansible.yml

What happened?
The grafana has refused to start. The reason was an invalid yaml syntax in the file /etc/grafana/provisioning/notifiers/ansible.yml
Did you expect to see some different?
Of course grafana should not have crashed.
How to reproduce it (as minimally and precisely as possible):

deploy grafana with the grafana_alert_notifications as seen below. (not tested if it will work on a fresh installation)

Environment

OS: Debian buster

Role version:
1b00549e7a7a7d71a81082ef3ff5a80e206560c8

Ansible version information:
ansible --version

ansible 2.9.6
  config file = /home/do1jlr/git/ansible-server/ansible.cfg
  configured module search path = ['/home/do1jlr/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /home/do1jlr/.local/lib/python3.8/site-packages/ansible
  executable location = /home/do1jlr/.local/bin/ansible
  python version = 3.8.5 (default, Jul 27 2020, 08:42:51) [GCC 10.1.0]

Variables:

grafana_alert_notifications:
  - name: "Email Alert"
    type: "email"
    isDefault: true
    settings:
      addresses<EMAIL_ADDRESS>

deployed yaml file:

apiVersion: 1
-   isDefault: true
    name: Email Alert
    settings:
        addresses<EMAIL_ADDRESS>    type: email

fixed yaml file:

---
apiVersion: 1
  - isDefault: true
    name: Email Alert
    settings:
      addresses<EMAIL_ADDRESS>    type: email

Ansible playbook execution Logs:

TASK [grafana : Enable grafana to ports lower than port 1024] **************************************************************************************************************
ok: [monitoring.wingcon.com]

TASK [grafana : Enable and start Grafana systemd unit] *********************************************************************************************************************
changed: [monitoring.wingcon.com]

TASK [grafana : Check which plugins are installed] *************************************************************************************************************************
skipping: [monitoring.wingcon.com]

TASK [grafana : Install plugins] *******************************************************************************************************************************************

TASK [grafana : Wait for grafana to start (http/s)] ************************************************************************************************************************
fatal: [monitoring.wingcon.com]: FAILED! => changed=false
  elapsed: 300
  msg: Timeout when waiting for <IP_ADDRESS>:443

Anything else we need to know?:

It looks like the filter | to_nice_yaml in https://github.com/cloudalchemy/ansible-grafana/blob/master/tasks/notifications.yml#L7 is the reason for this. This seems to have already been submitted as a problem to Ansible: https://github.com/ansible/ansible/issues/48865. There it turns out that it is a problem with pyyaml. https://github.com/yaml/pyyaml/issues/234.
Nevertheless the grafana refuses to start with the YAML version generated by this. And writes to the log:
t=2020-08-04T11:38:30+0200 lvl=eror msg="Server shutdown" logger=server reason="Service init failed: Alert notification provisioning error: yaml: line 1: did not find expected key"

Sorry, the error was due to my own configuration.
I was a bit too early to realize that the systemd job was running for a few nanoseconds and did not verify if the webserver was back.
I actually forgot the notifiers: part in my configuration.
Sorry for the interruption!


Add NPM Support

Sorry - I haven't looked at this project in a while! I just added a package.json, but had to scope it due to a conflict with another package by the same name. Let me know if you run into any problems or errors installing it.
https://www.npmjs.com/package/@zirafa/bootstrap-grid-only

Many thanks!


minimal lazy merge

Enough to load from a file + pass through a no-function merge operation to a valid cube

Relevant code sections
(from https://github.com/SciTools/iris/issues/2302#issuecomment-273061295)
_merge
    ProtoCube.merge : NumpyArrayAdapter, ArrayStack

#2319 addresses


Asset token_info parsing

The line 360 in types.rs
 #[serde(rename = "tokenSupply")]
leads to not parsing the token_info in Asset.
Removing the line fixes this problem, I made no further tests.

Nice catch! Not sure how that got in there, but #101 should fix this!


Not work with system scopes

Hello.
It great plugin but I have a problem.
When I use several system scopes and each one has own color than plugin doesn't work.
How does it fix?

v1.2.0 can now override system and project scope colors


[FR] Add support for keypoints and polylines

The following two types of labels are used in automatic driving area:

The key points fitting of the lane , which can be inferenced and masked by point, similar to cv.circle function in python.
It is also important for the landmark annotation, for example facial landmark.
Lane area segmentation which can be inferenced and masked by polygon, similar to function  cv2.polylines(img, pts, isClosed, color[, thickness[, lineType[, shift]]]) in python.

Is there any plan for these two labels? Thanks!

Yes, another good point @qingzi02010. We don't currently have support for visualizing keypoints, polylines, and polygons in the App, but these are also on our short term roadmap. Stay tuned!

Hey @qingzi02010 this is now supported! You can attach polylines, polygons, and keypoints to samples as of v0.6.1, and they will be rendered in the App if you load up a dataset that has such labels. Check out https://voxel51.com/docs/fiftyone/user_guide/using_datasets.html#polylines-and-polygons for more details.
You can upgrade to the latest version by running:
pip install --index https://pypi.voxel51.com --upgrade fiftyone

For example, here's what the Berkeley DeepDrive dataset looks like in FiftyOne:

Got it! Thanks so much for your share!


Re-rendering Audit

UI is re-rendering even when no state has changed. need to figure out what is triggering it.

@bthaile Closing this


EnvoyFilter: proxy metadata match

Signed-off-by: Shriram Rajagopalan<EMAIL_ADDRESS>Please provide a description for what this PR is for.
And to help us figure out who should review this PR, please
put an X in all the areas that this PR affects.
[ ] Configuration Infrastructure
[ ] Docs
[ ] Installation
[x] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: rshriram
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

pilot/pkg/networking/OWNERS [rshriram]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@rshriram: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

istio-pilot-multicluster-e2e-master
ff8255816f5d93bf4edf9d56d13decf6d6178c0a
link
/test istio-pilot-multicluster-e2e-master

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@rshriram: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

istio-pilot-multicluster-e2e-master
ff8255816f5d93bf4edf9d56d13decf6d6178c0a
link
/test istio-pilot-multicluster-e2e-master

istio-unit-tests-master
ff8255816f5d93bf4edf9d56d13decf6d6178c0a
link
/test istio-unit-tests-master

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test istio-unit-tests-master

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: rshriram, utako
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

pilot/pkg/networking/OWNERS [rshriram]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Fix link to todomvc example

Sorry, duplicate of #191

Oh, but that one has a conflict. Still useful then I guess.


Introduce new argument --hideOutput to hide log in written successfully

Hi @endel ,
Is it possible to merge it into master and create new version for this library.
Thanks.


chore(package): update github-repository-provider to version 7.4.31

:tada: This PR is included in version 8.5.55 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Script to upload images to PowerVS service

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: sudeeshjohn
To complete the pull request process, please assign mkumatag after the PR has been reviewed.
You can assign the PR to them by writing /assign @mkumatag in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: sudeeshjohn
To complete the pull request process, please assign mkumatag after the PR has been reviewed.
You can assign the PR to them by writing /assign @mkumatag in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

/assign @yussufsh

/unassign @yussufsh

/auto-cc @yussufsh

@yussufsh can you please review this PR.
@mkumatag please help me with the bot command to assign reviewers :-)

/cc @yussufsh

/cc @bpradipt

/cc @mkumatag

@sudeeshjohn Please run shellcheck  once and fix warnings such as unused variables, $() notation, etc.

@sudeeshjohn Please run shellcheck  once and fix warnings such as unused variables, $() notation, etc.

Please ignore my comment on unused variables. I see they are used in the sources script.

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: sudeeshjohn, yussufsh
To complete the pull request process, please assign mkumatag after the PR has been reviewed.
You can assign the PR to them by writing /assign @mkumatag in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: mkumatag, sudeeshjohn, yussufsh
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [mkumatag]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


[RFC/WIP] improve zfs locking

There's a bunch of other intricacies I need to think about before proceeding with this. But zfs will be the first target.

Closing this one for now.


PHPUnit 6 compatability

This will allow use to use phpunit 6. Older versions are still supported.
This will allow the integration tests repo to run Guzzle6 tests on travis.

I re-ran the tests and everything passes

Thank you for the review


Add fees to NUT-02

Proposing to add fees to the mandatory part of the spec as I expect most public mints will require fees at some point. If the fees are not set, we should assume it as being 0.
Moved around some existing text. The new part is:
Fees (parts per thousand)
Keysets indicate the fee input_fee_ppk that is charged when a Proof of that keyset is spent as an input to a transaction. The fee is given in parts per thousand (ppk) per input measured in the unit of the keyset and the sum is rounded up to the next larger integer.
As an example, we construct a transaction spending 3 inputs (Proofs) from a keyset with unit sat and input_fee_ppk of 100. A fee of 100 ppk means 0.1 sat per input. The sum of the fees would be 300 ppk for this transaction and the mint would charge 1 sat in fees (ceil(0.3) == 1). The fees for spending 1-10 inputs is 1 sat, 11-20 inputs is 2 sat and so on.
...
Wallet input and output construction
When constructing a transaction with ecash inputs (example: /v1/swap or /v1/melt), wallets MUST add fees to the inputs (or subtract from the outputs) if they spent ecash from a keyset with fees. The mint checks the following equation:
sum(inputs) - sum(fees) == sum(outputs)

The fees are calculated for each input individually (by summing the fee from the keyset they are from) and then rounded up to the next integer.
Tracking progress
Mints:

[x] nutshell PR
[x] CDK Issue
[ ] gonuts
[ ] nutmix
[ ] chamberlain

Wallets

[x] nutshell PR
[ ] cashu-ts
[ ] Minibits
[ ] eNuts
[ ] Cashu.me
[ ] Shopstr
[ ] 0xChat
[ ] ...

merged in nutmix.
https://github.com/lescuer97/nutmix/pull/74


Extension installation doesn't complete on mac os Ventura

When trying to install the version above on the mac mini m2 the extensions fails to install with the following error at the console:
 2023-01-27 17:24:29.341 [error] XHR failed,XHR failed,XHR failed: Error: XHR failed,XHR failed,XHR failed
    at vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:87:88554
    at Array.reduce (<anonymous>)
    at u (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:87:88540)
    at Z.D (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:87:79894)
    at async Z.z (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:87:77428)
    at async Z.installFromGallery (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:87:73871)

Even installing the last version from the marketplace ( 2023.1.10271009) fails also.
Tried all the four versions on the marketplace. None worked :( .

@digfish May I know installing any extension fails or only particular extensions?
Can you also please share following while you reproduce the issue

F1 > Open View... > Shared

@sandy081 just the 'Python' extension.
Wake up this morning with the problem magically solved :).

Hi,
version 1.74.3 .
2023-02-02 18:30 GMT, Sandeep Somavarapu @.***>:

Which version of VS Code are you on?
--
Reply to this email directly or view it on GitHub:
https://github.com/microsoft/vscode/issues/172655#issuecomment-1414185485
You are receiving this because you were mentioned.
Message ID: @.***>


Profile picture not obvious on profile editing screen

When a user edits their profile for the first time, when no profile picture is set, it's really not obvious that you can do that (see screenshot).  Slightly better presentation needed so users can see what's going on.

@jamesrwelch - I've updated the profile page to improve the profile image editing experience. The main issue was that the default profile image is actually a transparent PNG, it looks nice from the navbar with the dark blue background but is impossible to see when the background is white.
Here are screenshots of what it looks like now:

Note that the documentation page https://maurodatamapper.github.io/user-guides/user-profile/user-profile/ will need updating as well to cover these UI changes.

Looks perfect, thanks! :). If you can send an updated screenshot to @GemmaHatton then she'll be able to update the documentation.


WIP: etcd: Configuration file for etcd server.

Added a new command line option to etcd server to read in a YAML
based configuration file. Have also added an example configuration
file with comments.
Fixes #4009

@xiang90 @heyitsanthony @gyuho I have taken a stab at it. Putting out the initial changes. Please let me know if I have missed out on anything. I can iterate over it to fix the short comings.

@ajityagaty This looks great in general! Can you please fix the comments and then I will give it another review.

I am not sure what caused the SemaphoreCI to fail !

Fix the last few comments, then LGTM.

@ajityagaty Thanks!

@xiang90 My pleasure ! Sorry about that the back and forth.


Could not install Microsoft.Azure.Mobile.Server.Authentication into Xamarin Forms

I'm trying to add / install Microsoft.Azure.Mobile.Server.Authentication into my PCL project but there is an error says

Could not install package 'Microsoft.Azure.Mobile.Server 2.0.0'. You are trying to install this package into a project that targets '.NETPortable,Version=v4.5,Profile=Profile49', but the package does not contain any assembly references or content files that are compatible with that framework.

I've tried installing the previous version, but the exact same error appeared. I've also tried to changing Framework version to .NET 4.6, but other errors come up.
I want to use GetAppServiceIdentityAsync() method by installing this namespace.

Answered in this stackoverflow post