you are insanely talented. I haven't seen anyone code as intuitively and as confident as you do.
@Ther3IsN0Sp00n6 жыл бұрын
I'm 2 minutes into the video, and I can tell you I'm interested in literally everything you said 👍👍👍
@teeeejays5 жыл бұрын
Where did the editor disappear after 26:08? :/
@RamsesAldama6 жыл бұрын
gRPC and then cobra would be nice. Great video. Thanks.
@BarnabyKeene6 жыл бұрын
+1 for gRPC! It's been something on my list of things to learn for a while so a video to get me started would be great! After this video I'm thinking of implementing protocol buffers into another language...
@MarEkkertsen6 жыл бұрын
Sound/mic problem today?
@chewyfruitloop6 жыл бұрын
Mark Ayers sounds like he’s on his laptop mic not the yeti
@devavaghela41386 жыл бұрын
Mark Ayers pio
@tlaloclopez-watermann34996 жыл бұрын
yeah sad day about the mic. But thank you for your patient vids
@ajinkyax6 жыл бұрын
He forgot to connect the yeti :p
@axamon16 жыл бұрын
Thank you I always learn something new and useful with your justforfunc videos :)
@Dave0Grave6 жыл бұрын
more about grpc in the context of microservices would be great👏👏👏👏👏
@arangogutierrez6 жыл бұрын
perfect timing!! I was looking for documentation on this topic!
@shadowfaxenator6 жыл бұрын
Why int64 is []byte[:4] ? Isn’t it int32?
@MrSc1entist6 жыл бұрын
Artem Alekseev I have the exact same question
@JustForFunc6 жыл бұрын
because in my head 64 / 8 = 4 ... good catch! github.com/campoy/justforfunc/pull/56
@AlexBeltran16 жыл бұрын
gob isn't a straight binary conversion and therefore doesn't always takes 8 bytes. If it can fit in 4 bytes ( with some overhead) it will do it. Here is a script that demonstrates how an int64 in gob can have varying length play.golang.org/p/En8KbZIgcB7 Francesc's script would have worked until it reaches 2^8 tasks where the length would have increased to 5.
@norman.soetbeer6 жыл бұрын
Great video! :) I'm wondering, if it would make sense to encode the length using protobuf (e.g. `proto.EncodeVarint()`) instead of gob or binary. So you could stick to just one encoding format instead of mixing them.
@ramprasath39244 жыл бұрын
what is the code editor being used here?
@Gonzihh6 жыл бұрын
more about technical stuff please!
@DigitalStaticNet6 жыл бұрын
Are you asking for the technical details about protobufs themselves?
@stevexuereb6 жыл бұрын
Thank you for video great as always! More information about Cobra and gRPC would be great!
@vijaybhaskar30874 жыл бұрын
I have an issue with protobuf un marshalling. Can you tell me is there any best package wich gives us best performance in go for un marshalling proto buf
@shailjakantupadhyay51835 жыл бұрын
Can someone explain me more about the numbers 1, 2, 3 why we are adding it at the last of each line, I don't understand it properly??
@BrandonClapp6 жыл бұрын
Great video. To clarify, is the 4 bytes that you're using to store the length of the message indicitive of how protobufs are intended to be formatted, or is this just the format that you chose?... In regards to serialization for the example that you have here. I've been digging into gRPC, can't wait to watch your other videos on the topic. Keep up the great work, I learn a lot from you.
@Blixzful5 жыл бұрын
Great stuff! I would like more videos soon :-)
@anujchoubey24535 жыл бұрын
How to implement protocol buffer in objective c. can we create a library out of it so that we can use generated objective c files independently.
@aperezqro5 жыл бұрын
Hi, ¿how did you install your environment?, the compiler, ¿what are you using?
@zulhilmizainudin6 жыл бұрын
I'm new to Go and I'm quite confuse here. When dealing with files, when we should close and when we can just simply ignore it? In your video here, you close it when you were adding a todo task. But, you didn't close it when you were accessing todo task.
@JustForFunc6 жыл бұрын
You should always close it once you're done with it, so that's probably a bug
@yangchen3924 жыл бұрын
That's because he used ioutil.ReadFile to read file. This function has already handle closing the file you read. you can visit golang.org/src/io/ioutil/ioutil.go?s=1503:1549#L42 to read its source code.
@zulhilmizainudin4 жыл бұрын
@@yangchen392 thanks!
@musale22776 жыл бұрын
A nice episode. I would like more episodes like this and technical stuff. In that breath, I welcome the creating of CLI programs with cobra 😁 👌. You can improve on the sound too.
@DanielHeckrath6 жыл бұрын
Nice video, but would have loved to see more of protobuf, instead of the custom file encoding. Would have been able to encode the file content as a proto message with something like: message TaskList { repeating Task tasks = 1; }
@sotiriosmantziaris60976 жыл бұрын
viper and cobra in depth would be nice.
@ThisGuyRocksLikeCrazy6 жыл бұрын
Cool video. Please make a video on how to design an REST API that has generic methods to perform CRUD operations in multiple tables.
@godfrieddaneels6 жыл бұрын
+1 gRPC. Cheers!
@edb750016 жыл бұрын
Isn't the YETI a mic where you talk into it from the side... not the mic pointed at your mouth like that? I think that's the issue here. As it stands now, it's actually pointed at his lap.
@Strider6566 жыл бұрын
I want that emoji plugin ! What plugin are you using and how did you set it up ? Cheers :)
@kblooddragon6 жыл бұрын
Maciej It's not a plugin. That keyboard is from macOS, it can be used anywhere not just vscode. Activate it with Ctrl + Cmd + Space, if I recall correctly.
@Strider6566 жыл бұрын
Well I didn't know that, Thank you mate ! :)
@stherox6 жыл бұрын
Great vid 👍, but how do you insert emoji in vscode?
@kblooddragon6 жыл бұрын
That keyboard is from macOS, it can be used anywhere not just vscode. Activate it with Ctrl + Cmd + Space, if I recall correctly.
@juliang95744 жыл бұрын
On windows you can use windows key + .
@Lepinkainen_6 жыл бұрын
Either Viper+Cobra or instrumenting Go code with Prometheus
@MiguelAngelLastYear6 жыл бұрын
+1 for something involving Prometheus and Grafana
@Goodvvine6 жыл бұрын
Nice, I was actually wondering this too
@mhausenblas6 жыл бұрын
Great job as usual! Q: when I do a `cat mydb.pb | protoc --decode_raw` I get a `Failed to parse input.`. Which `protoc` version have you got?
@pskpetya Жыл бұрын
thanks a lot for all the tutorials! could you, please make a video on a bit more complex chans usage with a real life usage. Thanks :)
@sandipbhattacharya91406 жыл бұрын
+1 for Cobra!
@paulja6 жыл бұрын
👍🏻x 1000 for gRPC
@wah1dx2 жыл бұрын
Please start uploading more videos, grafana logrus would be great or anything related to Golang 😀. Thanks
@websterlcl4 жыл бұрын
question!! you know mandarin?? 5:12
@wilkins74076 жыл бұрын
+1 for cobra :-)
@jessicagrebenschikov31796 жыл бұрын
+1 that +1 for cobra
@AlanLu6 жыл бұрын
05:12 Learning pinyin?
@JustForFunc6 жыл бұрын
Yup, and I activated the Pinyin keyboard by mistake haha
@qnepthz6 жыл бұрын
I'm highly interested in this topic but sadly the quality of the sound is not as good as you always did. Thank you very much by the way for the video!
@OhadBasan6 жыл бұрын
bad microphone? :(
@kapoorakul75566 жыл бұрын
interested in Cobra :)
@himanshumathur9486 жыл бұрын
(y) cobra !! huge fan of your videos :)
@kokavamsikrishna39336 жыл бұрын
please we need one video pprof example
@Phil-W6 жыл бұрын
Please fix the echo in the room.
@sebastienfriess6 жыл бұрын
✔ the emoji for the checkbox is "check" @justforfunc 😉
@olivercordingley7763 жыл бұрын
Not gonna lie sort of expected a Minecraft tutorial after that intro :(
@vanSadhu6 жыл бұрын
grpc 👍 cobra 😱
@raulhespinosa6 жыл бұрын
Btw What are your thoughts about github.com/twitchtv/twirp ?
@Mark-vr5vu6 жыл бұрын
+1 for Cobra :)
@knotratulshorts6 жыл бұрын
audio quality really bad :
@tikiatua6 жыл бұрын
Great explanation. While working with grpc on a daily basis, we realized that it is sometimes somewhat cumbersome to work with the golang types generated by protoc. Therefore we wrote a small protoc plugin that will generate additional custom structs that are easier to use in go and also allow one to use embedded structs and golang struct tags. The plugin is not yet fully feature complete but it would be awesome, if you could take a quick look at it and provide us with some feedback. github.com/dkfbasel/protobuf/tree/master/protoc-gen-gostructs
@JochenBreuer6 жыл бұрын
gRPC and then Cobra please! :)
@Prajwal2906 жыл бұрын
I can smell Feijoada! kkk
@willstranathan16106 жыл бұрын
I don't care for using gob to encode the number of bytes because gob is specific to go. If I want to decode this in a different language, I'd have to deal with gob's conversion of int64 into that system's types. I prefer to use binary.Write() and binary.Read() and just write the length without the type information.
@SK_-lv3qs6 жыл бұрын
Nice video. I find your mac os installed Chinese input。Ha ha
@JustForFunc6 жыл бұрын
对!可是我的中文不很好 😅
@arangogutierrez6 жыл бұрын
+1 on cobra, after grpc
@bking10076 жыл бұрын
Do a cobra
@muhamotto20846 жыл бұрын
Problem with voice :(, nice video by the way
@jntramosbonilla28006 жыл бұрын
+1 cobra
@dreamtheater_926 жыл бұрын
Get thyself some sound absorption panels.
@mishasawangwan66526 жыл бұрын
+1
@MarEkkertsen6 жыл бұрын
Yes please for Cobra.
@maciejkrasuski3 жыл бұрын
mixing gob with protobuf - sooo ugly... BTW it's a shame that Unmarshall does not return size read...
@braydon1111115 жыл бұрын
I wanted to watch, but the mic quality is absolute potato
@JustForFunc4 жыл бұрын
Are potatoes good or bad?
@bothBlenders924 жыл бұрын
Talk about being funcy
@binhuang80506 жыл бұрын
Wow, you just kzbin.info/www/bejne/lZu0ZJyVm96kfaM type chinese!!! Lol