Tweets
- Tweets, aktuel side.
- Tweets & svar
- Medier
Du blokerede @teivah
Er du sikker på, at du vil vise disse Tweets? At vise Tweets vil ikke fjerne blokering af @teivah
-
Fastgjort tweet
I've completed the first final draft of my book 100 Go Mistakes. I've also published a repo containing all the source code for anyone interested: https://github.com/teivah/100-go-mistakes …
#golangTak. Twitter bruger dette til at forbedre din tidslinje. FortrydFortryd -
Starting to experience the dark side of writing a book with an editor...
Tak. Twitter bruger dette til at forbedre din tidslinje. FortrydFortryd -
Teiva Harsanyi retweetede
Your mistakes don't define who you are. It's what you do after you have made the mistakes that makes all the difference. Every mistake you make is a learning experience. They don't make you less capable. But it's how you correct them or learn from them that defines you.
Tak. Twitter bruger dette til at forbedre din tidslinje. FortrydFortryd -
For more information: $ go work Or the Github issue:https://github.com/golang/go/issues/45713 …
Vis denne trådTak. Twitter bruger dette til at forbedre din tidslinje. FortrydFortryd -
5. Workspace mode In an attempt to provide better support for monorepos, Go 1.18 introduces a workspace mode. Projects that rely on the workspace mode will have a new http://go.work file referencing the modules of the project:pic.twitter.com/LpPvZ9GIl8
Vis denne trådTak. Twitter bruger dette til at forbedre din tidslinje. FortrydFortryd -
4. Try lock sync.Mutex and sync.RWMutex are given new methods for trying to acquire a lock and report whether it succeeded: - sync.Mutex => TryLock() - sync.RWMutex => TryLock() and TryRLock() Compared to Lock() and RLock(), these functions are not blockingpic.twitter.com/ddh0A0Bko6
Vis denne trådTak. Twitter bruger dette til at forbedre din tidslinje. FortrydFortryd -
3. Cut In the strings and bytes packages, a new Cut function is now available. Given a string (or a []byte) and a prefix, it returns: - The text before the separator - The text after the separator - Whether the separator was foundpic.twitter.com/EmDv91R3l0
Vis denne trådTak. Twitter bruger dette til at forbedre din tidslinje. FortrydFortryd -
When using Go 1.18, let's keep an eye on the GC behavior of our application and make sure everything is still running smoothly. As always, tweaking GOGC remains the only available option to tune the GC. The new design:https://github.com/golang/proposal/blob/master/design/44167-gc-pacer-redesign.md …
Vis denne trådTak. Twitter bruger dette til at forbedre din tidslinje. FortrydFortryd -
2. GC & Pacer The pacer is the algorithm used to determine when to start a new GC cycle. It has been redesigned to include not only heap data but also other sources such as the stack. As a result, it may, in some cases, help the GC to be more predictable.
Vis denne trådTak. Twitter bruger dette til at forbedre din tidslinje. FortrydFortryd -
The engine has found a vulnerability that led the function to panic. It has created a unique file in /testdata containing the inputs that lead to a failure: string("0") // s string("00") // prefix More info here: https://go.dev/doc/tutorial/fuzz …
Vis denne trådTak. Twitter bruger dette til at forbedre din tidslinje. FortrydFortryd -
We wrote a custom fuzz test with a given seed corpus (basically, a guide for the fuzz engine). Then, we can run the test: $ go test -fuzz FuzzHasPrefix --- FAIL: FuzzHasPrefix (0.04s) testing.go:1349: panic: runtime error: slice bounds out of range [:2] with length 1
Vis denne trådTak. Twitter bruger dette til at forbedre din tidslinje. FortrydFortryd -
Sometimes, it can be quite cumbersome trying to think by ourselves about all the different cases to be tested. Fuzzing is here to help us with that:pic.twitter.com/pPEI0nVkup
Vis denne trådTak. Twitter bruger dette til at forbedre din tidslinje. FortrydFortryd -
1. Fuzz testing Fuzzing is about passing random data to functions in an attempt to find vulnerabilities or crash-causing inputs. Imagine the following scenario where we have to implement a custom function to test whether a string starts with a prefix:pic.twitter.com/1icfz95seM
Vis denne trådTak. Twitter bruger dette til at forbedre din tidslinje. FortrydFortryd -
Go 1.18 got released
. Outside of generics, five new features we should be aware of. https://tip.golang.org/doc/go1.18
#golangVis denne trådTak. Twitter bruger dette til at forbedre din tidslinje. FortrydFortryd -
Tak. Twitter bruger dette til at forbedre din tidslinje. FortrydFortryd
-
Teiva Harsanyi retweetede
Elon Musk often talks about hiring job candidates for “clear evidence of exceptional ability” But how do you identify exceptional potential employees? 13 non-obvious habits to look for in hiring high performing employees:
Vis denne trådTak. Twitter bruger dette til at forbedre din tidslinje. FortrydFortryd -
Teiva Harsanyi retweetede
In software development learning is not a big part of the job. It is the job.
Tak. Twitter bruger dette til at forbedre din tidslinje. FortrydFortryd -
Teiva Harsanyi retweetede
They are also working on government-issued SSL certificates. This already happened in Kazakhstan in 2015: https://en.wikipedia.org/wiki/Kazakhstan_man-in-the-middle_attack … Basically it allows someone to intercept, decrypt, modify and encrypt back all the traffic.
Vis denne trådTak. Twitter bruger dette til at forbedre din tidslinje. FortrydFortryd -
Teiva Harsanyi retweetede
Have found
@teivah talk: Mechanical Sympathy in#golang (CC:@GoTurkiye_) Amazing slides btw!https://www.youtube.com/watch?v=cetmDfqr2BU …Tak. Twitter bruger dette til at forbedre din tidslinje. FortrydFortryd -
Naming IS designing.
Tak. Twitter bruger dette til at forbedre din tidslinje. FortrydFortryd -
Teiva Harsanyi retweetedeTak. Twitter bruger dette til at forbedre din tidslinje. FortrydFortryd
Indlæsning ser ud til at tage noget tid.
Twitter kan være overbelastet eller have en midlertidig forstyrrelse. Prøv igen, eller se flere oplysninger på Twitter Status.