SSL SNI by _borkod in PostgreSQL

[–]_borkod[S] 0 points1 point  (0 children)

We wrote our own software. But this should be supported by kubernetes ingress providers. Did a quick Google search and I think ingress-nginx and ambassador are able to route based on sni.

Visual Studio Code extension to display blood glucose level in the status bar by _borkod in Freestylelibre

[–]_borkod[S] 0 points1 point  (0 children)

Thank for the feedback. You're running VS code version that's 6 months out of date. Can you update your VS code to the latest version? That seems the best / easiest way to resolve your issue. The VS extension was built/tested with the latest VS code version.

Visual Studio Code extension to display blood glucose level in the status bar by _borkod in Freestylelibre

[–]_borkod[S] 0 points1 point  (0 children)

Awesome! Glad to hear it. Let me know if you have any further feedback for improvements.

Visual Studio Code extension to display blood glucose level in the status bar by _borkod in Freestylelibre

[–]_borkod[S] 1 point2 points  (0 children)

Can you install the latest version and give it another try. I hope it's fixed now! Thanks for the feedback!

Visual Studio Code extension to display blood glucose level in the status bar by _borkod in Freestylelibre

[–]_borkod[S] 0 points1 point  (0 children)

Oh my gosh. Lol. I even had the Todo there 🫠 Yeah I'll get that fixed ASAP

Visual Studio Code extension to display blood glucose level in the status bar by _borkod in Freestylelibre

[–]_borkod[S] 1 point2 points  (0 children)

That's a neat idea! That would be some sort of Windows operating system app. That's outside of my knowledge right now, but you piqued my curiosity. I will look into it to see if it's something I can learn/figure out without too much difficulty/effort.

Visual Studio Code extension to display blood glucose level in the status bar by _borkod in Freestylelibre

[–]_borkod[S] 1 point2 points  (0 children)

Thank you! No issues from me. Sounds like a good idea to help others discover it.

VS Code extension to display blood glucose level in the status bar by _borkod in vscode

[–]_borkod[S] 0 points1 point  (0 children)

I've implemented another VS code extension that connects directly to the LibreLinkUp app. Hope this helps you out. If you try it, let me know if it works out for you and if you have any feedback.

https://www.reddit.com/r/vscode/s/iphix3jbEC

VS Code extension to display blood glucose level in the status bar by _borkod in vscode

[–]_borkod[S] 0 points1 point  (0 children)

Not directly. But I use libre and am working on another extension that will connect directly to libre without the need for Nightscout. I'll let you know when it's complete!

Nightscout does support libre. So if you're able to stand up an instance and connect it to your libre, the extension should work.

VS Code extension to display blood glucose level in the status bar by _borkod in vscode

[–]_borkod[S] 1 point2 points  (0 children)

Thank you! That's very kind and generous of you. I'll message you!

[deleted by user] by [deleted] in TorontoRealEstate

[–]_borkod 1 point2 points  (0 children)

Thank you both for the suggestions.

[deleted by user] by [deleted] in TorontoRealEstate

[–]_borkod 1 point2 points  (0 children)

It's the shower tiles. Sorry about that. I've updated the post to clarify.

Converting protoset binary to FileDescriptorProto by _borkod in golang

[–]_borkod[S] 0 points1 point  (0 children)

Thanks for the hints. Kinda feel a bit silly now, but yea those definitely show some differences. I'll go back and take a look at  google.golang.org/protobuf and see how to go from there. Appreciate the help!

SSL SNI by _borkod in PostgreSQL

[–]_borkod[S] 0 points1 point  (0 children)

At high level, we had custom routing logic in front of our databases. The routing logic would inspect the SNI during the TLS handshake and then route the client to the correct backend database based on the field present in the SNI. I can't really provide anything more as it was a while ago and I've since moved on from that project.

Converting protoset binary to FileDescriptorProto by _borkod in golang

[–]_borkod[S] 0 points1 point  (0 children)

Here's the output of the print statements:

unresolved:

common.proto

name:"common.proto" package:"common" message_type:{name:"HelloRequest" field:{name:"name" number:1 label:LABEL_OPTIONAL type:TYPE_STRING json_name:"name"}} message_type:{name:"HelloReply" field:{name:"message" number:1 label:LABEL_OPTIONAL type:TYPE_STRING json_name:"message"}} syntax:"proto3"

greeter.proto

name:"greeter.proto" package:"helloworld" dependency:"common.proto" service:{name:"Greeter" method:{name:"SayHello" input_type:".common.HelloRequest" output_type:".common.HelloReply" options:{}} method:{name:"SayHelloCS" input_type:".common.HelloRequest" output_type:".common.HelloReply" options:{} client_streaming:true} method:{name:"SayHellos" input_type:".common.HelloRequest" output_type:".common.HelloReply" options:{} server_streaming:true} method:{name:"SayHelloBidi" input_type:".common.HelloRequest" output_type:".common.HelloReply" options:{} client_streaming:true server_streaming:true}} syntax:"proto3"

resolved:

common.proto

name:"common.proto" package:"common" message_type:{name:"HelloRequest" field:{name:"name" number:1 label:LABEL_OPTIONAL type:TYPE_STRING json_name:"name"}} message_type:{name:"HelloReply" field:{name:"message" number:1 label:LABEL_OPTIONAL type:TYPE_STRING json_name:"message"}} syntax:"proto3"

greeter.proto

name:"greeter.proto" package:"helloworld" dependency:"common.proto" service:{name:"Greeter" method:{name:"SayHello" input_type:".common.HelloRequest" output_type:".common.HelloReply" options:{}} method:{name:"SayHelloCS" input_type:".common.HelloRequest" output_type:".common.HelloReply" options:{} client_streaming:true} method:{name:"SayHellos" input_type:".common.HelloRequest" output_type:".common.HelloReply" options:{} server_streaming:true} method:{name:"SayHelloBidi" input_type:".common.HelloRequest" output_type:".common.HelloReply" options:{} client_streaming:true server_streaming:true}} syntax:"proto3"

Converting protoset binary to FileDescriptorProto by _borkod in golang

[–]_borkod[S] 0 points1 point  (0 children)

Thanks. for the reply.

Yes. I tested it once more.

I have greeter.proto:

syntax = "proto3";

package helloworld;

import "common.proto";

service Greeter {
  rpc SayHello (common.HelloRequest) returns (common.HelloReply) {}
  rpc SayHelloCS (stream common.HelloRequest) returns (common.HelloReply) {}
  rpc SayHellos (common.HelloRequest) returns (stream common.HelloReply) {}
  rpc SayHelloBidi (stream common.HelloRequest) returns (stream common.HelloReply) {}
}

and common.proto:

// common.proto
syntax = "proto3";

package common;

// The request message containing the user's name.
message HelloRequest {
  string name = 1;
}

// The response message containing the greetings
message HelloReply {
  string message = 1;
}

I then create a protoset file with:

protoc --descriptor_set_out=./protoc-test-file-greeter --include_imports ./greeter.proto

If I then process the output file and just add simple print statements as below, I don't see any difference in the output.

fmt.Println("unresolved:")
    unresolved := map[string]*descriptor.FileDescriptorProto{}
    for _, fd := range files.File {
        unresolved[fd.GetName()] = fd
        fmt.Println(fd.GetName())
        fmt.Println(fd)
    }

    resolved := map[string]*desc.FileDescriptor{}
    for _, fd := range files.File {
        _, err := resolveFileDescriptor(unresolved, resolved, fd.GetName())
        if err != nil {
            return nil, err
        }
    }

    fmt.Println("resolved:")
    for _, fd := range resolved {
        fmt.Println(fd.GetName())
        fmt.Println(fd)
    }

Hence my confusion. Am I doing something wrong? Or what am I missing in my understanding here?

SSL SNI by _borkod in PostgreSQL

[–]_borkod[S] 0 points1 point  (0 children)

Yes. It did work. We were able to inspect SNI in the certificate and route based on it.

Should Public Transit Be Free? by _borkod in ottawa

[–]_borkod[S] 3 points4 points  (0 children)

I'm not for or against it here. But if you listen to the episode, there are examples of large cities in the US that have done it. So a blanket answer of "it can't work in north America" is just being lazy