SebWalak.com
open-menu closeme
Home
Archives
Search
About
bitbucket linkedin twitter rss

    Posts tagged with "go"

  • Metronome's Cacophony (4/14) - concurrency in Go - Goroutine

    calendar May 1, 2018 · 8 min read · from-java-to-go go concurrency  ·
    Share on: twitter facebook linkedin copy

    Asynchronous approach Another big word, another definition asynchronous /eɪˈsɪŋkrənəs/ adjective not existing or occurring at the same time. COMPUTING, TELECOMMUNICATIONS controlling the timing of operations by the use of pulses sent when the previous operation is completed rather than at regular intervals. -- by …


    Read More
  • Metronome's Cacophony (3/14) - concurrency in Go - Ticker

    calendar May 1, 2018 · 7 min read · from-java-to-go go concurrency  ·
    Share on: twitter facebook linkedin copy

    Synchronous approach (ctd) Ticker Ticker is a very convenient tool used to schedule tasks to happen at regular interval. It is created with an invocation of time.NewTicker and needs a time.Duration parameter. It will create a channel, which will be receiving time.Time messages at intervals equal this duration. Ticker …


    Read More
  • Metronome's Cacophony (2/14) - concurrency in Go - Basic synchronous solution

    calendar May 1, 2018 · 8 min read · from-java-to-go go concurrency  ·
    Share on: twitter facebook linkedin copy

    Synchronous approach Before we move on I will try to explain what the big word is synchronous /ˈsɪŋkrənəs/ adjective existing or occurring at the same time. "glaciations were approximately synchronous in both hemispheres" -- by Google Did it help? Did it resonate with you? Well, for me it felt like the …


    Read More
  • Metronome's Cacophony. Concurrency in Go.

    calendar May 1, 2018 · 8 min read · from-java-to-go go concurrency  ·
    Share on: twitter facebook linkedin copy
    Metronome's Cacophony. Concurrency in Go.

    Introduction The times of PCs with a single-core CPU seem to be gone. Single-core processors still appear in special use cases but, in Personal Computing, they are pretty much extinct. We exhibit constant drive for bigger, faster and richer. If I was buying a new PC, I wouldn't consider single-core CPU, unless it was …


    Read More
  • Filesystem impact testing

    calendar Feb 26, 2018 · 11 min read · go lib  ·
    Share on: twitter facebook linkedin copy
    Filesystem impact testing

    FileFactory Repo is located on BitBucket. What is it? Provides declarative means to describe (define) filesystem primitives such as Regular files, Directories and Symlinks. These definitions will be used to create real files and verify that real files exists as per specification. Hence the "factory" analogy. …


    Read More
  • Operating on time ranges

    calendar Nov 29, 2017 · 2 min read · go lib  ·
    Share on: twitter facebook linkedin copy
    Operating on time ranges

    For one of my recent projects I needed a tool to perform few basic operations on time ranges (called periods here). I was doing a lot of time manipulation (however cool that sound I am not building a time machine) and was getting tired of polluting other code with this responsibility. I decided to encapsulate that in a …


    Read More
  • Peek at Ginkgo and Gomega - BDD in Go

    calendar Nov 17, 2017 · 2 min read · from-java-to-go go bdd  ·
    Share on: twitter facebook linkedin copy

    Ginkgo and Gomega libraries offer enough support to feel mature and help form readable, nicely flowing BDD style, executable requirements. Ginkgo does not strictly follow Gherkin notation but, since the narrative for tests is a free form text nothing stops you from typing what you want there. You could also create your …


    Read More
  • Sorting in Go

    calendar Nov 17, 2017 · 2 min read · from-java-to-go go  ·
    Share on: twitter facebook linkedin copy

    Sorting can be easily implemented by using Go's interface sort.Interface declared as 1type Interface interface { 2 Len() int 3 Less(i, j int) bool 4 Swap(i, j int) 5} Here's an example: 1type timedBoundary struct { 2 time time.Time 3 //other fields 4} 5 6type timedBoundaries []timedBoundary 7 8func (a timedBoundaries) …


    Read More
    • ««
    • «
    • 1
    • 2
    • »
    • »»

Seb Walak

Software Engineer. Technology lover. Technology hater. Tinkerer. Occasional traveller.
Read More

Featured Posts

  • Java Module System
  • Blog anatomy
  • Metronome's Cacophony. Concurrency in Go.
  • Base, custom VPC stack, provisioned with Terraform in AWS

Few Recent Posts

  • Blog anatomy - Infrastructure provisioning (upgrade 2024)
  • Blog anatomy - Infrastructure provisioning overview
  • Blog anatomy - Cloud services
  • Blog anatomy - Managing cloud resources
  • Blog anatomy - Site generation (upgrade 2024)
  • Blog anatomy - Site generation overview
  • Demo user with AWS-CLI and MFA.
  • Car Battery Discharge Guard

Categories

SOFTWARE-DEVELOPMENT 23 DEV-OPS 7 AUTHORING 3 LOOSE-THOUGHTS 2 TINKERING 2 FEEDBACK 1

Series

METRONOME-CACOPHONY 14 BLOG-ANATOMY 7 JAVA-FEATURES 1

Tags

GO 18 FROM-JAVA-TO-GO 16 CONCURRENCY 15 CLOUD 9 AWS 7 IAC 6 DOCKER 4 HUGO 3 ELECTRONICS 2 JAVA 2 LIB 2 ARDUINO 1 BDD 1 C 1
All Tags
ARDUINO1 AWS7 BDD1 C1 CLOUD9 CONCURRENCY15 DOCKER4 ELECTRONICS2 FROM-JAVA-TO-GO16 GO18 GOOGLE-CLOUD1 HARDWARE1 HUGO3 IAC6 JAVA2 JAVA91 JEKYLL1 JS1 LIB2 MAVEN1 PHP1 WORDPRESS1
[A~Z][0~9]
Copyright  SEBWALAK.COM. All Rights Reserved
SebWalak.com
Privacy policy | Disclaimer | Cookie policy | Cookies
Privacy policy | Disclaimer | Cookie policy | Cookies
Copyright  SEBWALAK.COM. All Rights Reserved
to-top