Giter VIP home page Giter VIP logo

gotr's Introduction

Hi, I’m Michal Wrobel👋

I’m a software / data engineer💻 interested in all sorts of things.

I've worked on many projects across different business units. Recently, I've been working in startups🚀 where I was involved in everything.

What I enjoy most is building products from inception to production🛠️. I also have an interest in data and infrastructure.

You can reach me on X/twitter: @sparrovv_ 📨

gotr's People

Contributors

simbul avatar sparrovv avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

simbul

gotr's Issues

panic: runtime error: index out of range

Here's what I get when using gotr today:

~ % gotr no en skol
panic: runtime error: index out of range

goroutine 16 [running]:
runtime.panic(0x2ce1c0, 0x4a493c)
  /usr/local/Cellar/go/1.3/libexec/src/pkg/runtime/panic.c:279 +0xf5
github.com/sparrovv/gotr/googletranslate.getTranslation(0xc2082f0000, 0xbb2, 0x0, 0x0)
  /Users/sickill/go/src/github.com/sparrovv/gotr/googletranslate/translate.go:65 +0xea
github.com/sparrovv/gotr/googletranslate.translate(0x364530, 0x2a, 0x7fff5fbff875, 0x2, 0x7fff5fbff878, 0x2, 0x7fff5fbff87b, 0x4, 0x0, 0x0, ...)
  /Users/sickill/go/src/github.com/sparrovv/gotr/googletranslate/translate.go:58 +0x47c
github.com/sparrovv/gotr/googletranslate.Translate(0x7fff5fbff875, 0x2, 0x7fff5fbff878, 0x2, 0x7fff5fbff87b, 0x4, 0x0, 0x0, 0x0, 0x0, ...)
  /Users/sickill/go/src/github.com/sparrovv/gotr/googletranslate/translate.go:29 +0x1a1
github.com/sparrovv/gotr/cli.Run(0xc20807a900, 0x39ee10, 0x1b6)
  /Users/sickill/go/src/github.com/sparrovv/gotr/cli/cli.go:59 +0x70e
main.main()
  /Users/sickill/go/src/github.com/sparrovv/gotr/gotr.go:28 +0x9a

goroutine 19 [finalizer wait]:
runtime.park(0x14650, 0x4a8e90, 0x4a6fe9)
  /usr/local/Cellar/go/1.3/libexec/src/pkg/runtime/proc.c:1369 +0x89
runtime.parkunlock(0x4a8e90, 0x4a6fe9)
  /usr/local/Cellar/go/1.3/libexec/src/pkg/runtime/proc.c:1385 +0x3b
runfinq()
  /usr/local/Cellar/go/1.3/libexec/src/pkg/runtime/mgc0.c:2644 +0xcf
runtime.goexit()
  /usr/local/Cellar/go/1.3/libexec/src/pkg/runtime/proc.c:1445

goroutine 24 [IO wait]:
net.runtime_pollWait(0x5587b8, 0x72, 0x0)
  /private/tmp/go-ux1A/go/src/pkg/runtime/netpoll.goc:146 +0x66
net.(*pollDesc).Wait(0xc208070140, 0x72, 0x0, 0x0)
  /usr/local/Cellar/go/1.3/libexec/src/pkg/net/fd_poll_runtime.go:84 +0x46
net.(*pollDesc).WaitRead(0xc208070140, 0x0, 0x0)
  /usr/local/Cellar/go/1.3/libexec/src/pkg/net/fd_poll_runtime.go:89 +0x42
net.(*netFD).Read(0xc2080700e0, 0xc20821d800, 0x800, 0x800, 0x0, 0x557418, 0x23)
  /usr/local/Cellar/go/1.3/libexec/src/pkg/net/fd_unix.go:232 +0x34c
net.(*conn).Read(0xc20803a028, 0xc20821d800, 0x800, 0x800, 0x0, 0x0, 0x0)
  /usr/local/Cellar/go/1.3/libexec/src/pkg/net/net.go:122 +0xe7
crypto/tls.(*block).readFromUntil(0xc208024c30, 0x5588e0, 0xc20803a028, 0x5, 0x0, 0x0)
  /usr/local/Cellar/go/1.3/libexec/src/pkg/crypto/tls/conn.go:451 +0xd9
crypto/tls.(*Conn).readRecord(0xc208054000, 0x17, 0x0, 0x0)
  /usr/local/Cellar/go/1.3/libexec/src/pkg/crypto/tls/conn.go:536 +0x1ff
crypto/tls.(*Conn).Read(0xc208054000, 0xc208079000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
  /usr/local/Cellar/go/1.3/libexec/src/pkg/crypto/tls/conn.go:901 +0x16a
net/http.noteEOFReader.Read(0x561360, 0xc208054000, 0xc2080401b8, 0xc208079000, 0x1000, 0x1000, 0x4bad40, 0x0, 0x0)
  /usr/local/Cellar/go/1.3/libexec/src/pkg/net/http/transport.go:1203 +0x72
net/http.(*noteEOFReader).Read(0xc208183380, 0xc208079000, 0x1000, 0x1000, 0xc20804c440, 0x0, 0x0)
  <autogenerated>:124 +0xca
bufio.(*Reader).fill(0xc2080049c0)
  /usr/local/Cellar/go/1.3/libexec/src/pkg/bufio/bufio.go:97 +0x1b3
bufio.(*Reader).Peek(0xc2080049c0, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0)
  /usr/local/Cellar/go/1.3/libexec/src/pkg/bufio/bufio.go:132 +0x101
net/http.(*persistConn).readLoop(0xc208040160)
  /usr/local/Cellar/go/1.3/libexec/src/pkg/net/http/transport.go:782 +0x95
created by net/http.(*Transport).dialConn
  /usr/local/Cellar/go/1.3/libexec/src/pkg/net/http/transport.go:600 +0x93f

goroutine 17 [syscall]:
runtime.goexit()
  /usr/local/Cellar/go/1.3/libexec/src/pkg/runtime/proc.c:1445

goroutine 25 [select]:
net/http.(*persistConn).writeLoop(0xc208040160)
  /usr/local/Cellar/go/1.3/libexec/src/pkg/net/http/transport.go:885 +0x38f
created by net/http.(*Transport).dialConn
  /usr/local/Cellar/go/1.3/libexec/src/pkg/net/http/transport.go:601 +0x957

goroutine 29 [runnable]:
net/http.(*persistConn).readLoop(0xc20820f3f0)
  /usr/local/Cellar/go/1.3/libexec/src/pkg/net/http/transport.go:868 +0x829
created by net/http.(*Transport).dialConn
  /usr/local/Cellar/go/1.3/libexec/src/pkg/net/http/transport.go:600 +0x93f

goroutine 30 [select]:
net/http.(*persistConn).writeLoop(0xc20820f3f0)
  /usr/local/Cellar/go/1.3/libexec/src/pkg/net/http/transport.go:885 +0x38f
created by net/http.(*Transport).dialConn
  /usr/local/Cellar/go/1.3/libexec/src/pkg/net/http/transport.go:601 +0x957

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.