ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Topics
    2. stacksofplates
    3. Topics
    • Profile
    • Following 0
    • Followers 13
    • Topics 145
    • Posts 7,946
    • Groups 0

    Topics

    • stacksofplatesS

      Kubeless

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion kubernetes kubeless serverless
      2
      2 Votes
      2 Posts
      429 Views
      stacksofplatesS

      Kubeless years Bottle by default. This is great for simple use cases. However FastAPI offers a lot while still being minimal. I wrote a custom runtime for Kubeless using FastAPI. Here's a demo of that runtime.

      Youtube Video

    • stacksofplatesS

      FastAPI

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion python rest
      1
      2 Votes
      1 Posts
      371 Views
      No one has replied
    • stacksofplatesS

      BoltDB API

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion golang go boltdb docker
      1
      3 Votes
      1 Posts
      376 Views
      No one has replied
    • stacksofplatesS

      Gophemeral

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion
      15
      7 Votes
      15 Posts
      1k Views
      stacksofplatesS

      @JasGot said in Gophemeral:

      @Pete-S said in Gophemeral:

      I mean you are mailing the message ID and password needed to decrypt.

      You could mail one, and speak the other.

      Many institutions send usernames and passwords through separate mediums.

      This is anther way. If you really want to be secure, text the ID and email the password. Or call and give one of them.

    • stacksofplatesS

      Functional Options In Go

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion golang development
      2
      3 Votes
      2 Posts
      459 Views
      stacksofplatesS

      So here's a playground example of using functional options and error handling: https://play.golang.org/p/cfw7axv6pjO

      The advantage over method chaining is that we can return our errors correctly this way. Using the following as an example, I can return my error the whole way to the function call in main() and only need to handle it in a single place.

      type MethodOption func(*http.Request) (*http.Request, error) func NewRequest(opt ...MethodOption) (*http.Request, error) { r := &http.Request{} var err error for _, opt := range opt { r, err = opt(r) if err != nil { return nil, err } } return r, nil } func SetURL(URL string) MethodOption { return func(r *http.Request) (*http.Request, error) { u, err := url.Parse(URL) if err != nil { return nil, err } r.URL = u return r, nil } } req, err := NewRequest( SetURL("https://google.com"), ) if err!= nil { fmt.Println(err) os.Exit(1) }
    • stacksofplatesS

      Piggy Bank

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion go passwords
      6
      3 Votes
      6 Posts
      701 Views
      stacksofplatesS

      @jmoore said in Piggy Bank:

      If I get time tonight I will look at this and test it to see how it works for me.

      It's def still alpha so don't have high hopes lol.

    • stacksofplatesS

      Using Zeit for Serverless

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion
      7
      1 Votes
      7 Posts
      377 Views
      jmooreJ

      Oh I see. Will have to check that out too then. Thanks!

    • stacksofplatesS

      Terratest

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion terraform terratest
      3
      4 Votes
      3 Posts
      413 Views
      jmooreJ

      @stacksofplates said in Terratest:

      I wrote a new article on unit testing Terraform modules with Terratest.

      https://hooks.technology/2020/03/testing-terraform-with-terratest/

      Nice article, I've never played with Teraform yet but its on my list.

    • stacksofplatesS

      Should SodiumSuite Be Open Source

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion
      103
      0 Votes
      103 Posts
      8k Views
      stacksofplatesS

      @Dashrender said in Should SodiumSuite Be Open Source:

      @JaredBusch said in Should SodiumSuite Be Open Source:

      @stacksofplates said in Should SodiumSuite Be Open Source:

      . And like truecrypt it could be picked back up again.

      Software, not a service.

      Plus the authors were never trying to profit off truecrypt - Scott clearly wants to make a profit from these efforts.

      That's not the point. Even if it did make money and they decided to cancel it or it died for another reason it could be picked back up again. Making money is not a factor there.

    • stacksofplatesS

      When Can IT Know a Password for a User

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion
      36
      0 Votes
      36 Posts
      1k Views
      DashrenderD

      @scottalanmiller said in When Can IT Know a Password for a User:

      When working with doctors, one of the first things we see everywhere is that they commonly require the same password for all staff and have it published everywhere. That our Rocket.Chat logins are the one secure thing in a sea of insecurity makes it the absolute last point of concern in their entire environment.

      ug - so true...

    • stacksofplatesS

      Building A Hugo Site From a Theme

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion hugo
      12
      3 Votes
      12 Posts
      1k Views
      stacksofplatesS

      @IRJ said in Building A Hugo Site From a Theme:

      Help @stacksofplates

      9ae3eb54-ad8b-448b-b2ee-5dfbf7a7b92c-image.png

      Do you need the source or are you just building a site with Hugo?

    • stacksofplatesS

      Extending Packages with Go

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion golang
      2
      1 Votes
      2 Posts
      2k Views
      stacksofplatesS

      In this example you wouldn't have to write an interface, but that's part of the power of Go. Interfaces are defined implicitly.

    • stacksofplatesS

      Mocking API Endpoints with Go

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion golang unit test mock api api
      7
      1 Votes
      7 Posts
      945 Views
      stacksofplatesS

      @Danp said in Mocking API Endpoints with Go:

      I know that Postman provides the ability to perform this type of API testing. Has anyone tried this feature?

      I'm sure it does. The problem there though is if you're running in a pipeline you'd have to somehow get Postman downloaded, set up, and configured automatically to test against it. This is just in the standard library so you can unit test in your pipeline automatically.

    • stacksofplatesS

      GitLab Feature Flags

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion feature flags gitlab golang
      2
      3 Votes
      2 Posts
      572 Views
      stacksofplatesS

      To be clear, GitLab uses Unleash for their feature flags which is open source. It also has it's own UI, but it's nice to have it in your code base and not need to run a separate server.

    • stacksofplatesS

      Using Make for SysAdmin Work

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion make terraform ansible devops idempotent
      1
      5 Votes
      1 Posts
      457 Views
      No one has replied
    • stacksofplatesS

      Vagrant Libvirt and Fedora 30

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion
      1
      7 Votes
      1 Posts
      487 Views
      No one has replied
    • stacksofplatesS

      Traefik Reverse Proxy

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion traefik reverse proxy
      3
      4 Votes
      3 Posts
      423 Views
      stacksofplatesS

      @flaxking said in Traefik Reverse Proxy:

      Are you currently using it in production?

      Not at work. I'm using it for projects outside of that though. My docker compose stack at home uses it.

    • stacksofplatesS

      Static site in a CI/CD Pipeline

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion
      6
      6 Votes
      6 Posts
      949 Views
      jmooreJ

      @stacksofplates Sounds like a good plan, thanks!

    • stacksofplatesS

      Weather cli app

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion
      2
      3 Votes
      2 Posts
      163 Views
      stacksofplatesS

      To build this, you can just create those two files and do a go build -o weather main.go openweathermap.go and it will generate your executable.

      To build it for a different platform (Windows vs Linux) pass the build environment variable in like this:

      GOOS=windows go build -o weather.exe main.go openweathermap.go
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 8
    • 1 / 8