Nitro

103 posts

Nitro banner
Nitro

Nitro

@_nitro_dev

React Developer, loves to do full stack development. Learning golang, soon a Gopher #js #golang #fullstack #reactjs

Hindupur Katılım Ekim 2023
72 Takip Edilen7 Takipçiler
Nitro
Nitro@_nitro_dev·
Folks i have been following a tutorial related to core Backend Engineering principles. Tomorrow i will share a simple web app that demostrates the CORS, and how can we deal with CORS.
English
0
0
0
9
Nitro
Nitro@_nitro_dev·
The question here is, how will we know that the request is coming from a particular version of the app? Later we figured out that it is passed in the headers of the request. Can we use this app version coming in headers? As we don't want to break the validations on older versions
English
0
0
0
2
Nitro
Nitro@_nitro_dev·
The toggle strategy is app version based, meaning we configure the toggle to be enabled only for a particular version of the app. Since our code changes related to using the config1 or config2 based on toggle is in newer version of app, we are going to enable it for new version.
English
1
0
0
2
Nitro
Nitro@_nitro_dev·
Hey folks, I have recently come across a requirement related to feature toggles in Mobile apps. I am developing a React Native app, We are using a feature toggle provider. We have to use config value based on this feature toggle on both mobile app and BE.
English
1
0
0
1
Neo Kim
Neo Kim@systemdesignone·
How to pass the Leetcode interview (without getting lucky). One of the best things you can do to become good at Leetcode is to study patterns and do mock interviews. I created a powerful template to help you systematically approach Leetcode interviews. To get it for FREE, just: 1. Follow me @systemdesignone 2. Like & Reply "Leetcode" Then I'll DM you the details.
Neo Kim tweet media
English
400
51
700
84.4K
Nitro
Nitro@_nitro_dev·
@MattJamesBoyle I was just kidding dude!! But will surely contribute, and it is in my plans for this year...
English
0
0
1
30
Matt Boyle
Matt Boyle@MattJamesBoyle·
@_nitro_dev If you had contributed to the community I would have considered it :) you gotta give to receive.
English
1
0
0
31
Matt Boyle
Matt Boyle@MattJamesBoyle·
What did you get for Christmas?
English
9
0
0
1.9K
Nitro
Nitro@_nitro_dev·
@tebeka Makes sense, thanks for helping me out!!
English
0
0
0
7
Miki Tebeka
Miki Tebeka@tebeka·
@_nitro_dev You can store only the request ID in the context and then create a new logger at the start of every handler
English
1
0
0
10
Nitro
Nitro@_nitro_dev·
I am trying to setup zap logger for my server. I am taking the logger as a dependency to my handler. And i want to add request-id into my logging so that it identifies the request uniquely. But i am struggling with it. Following is my code setup. go.dev/play/p/3eBRzke…
English
2
0
0
46
Mat Ryer
Mat Ryer@matryer·
@_nitro_dev @tebeka @goinggodotnet What’s up with it? That package name being called ctx was confusing because it’s usually a variable name for context.Context.
English
3
0
0
18
Nitro
Nitro@_nitro_dev·
@matryer @tebeka @goinggodotnet I tried modifying the logger in the middleware, as the middleware runs for every request it was adding again and again to my logger instance. As i think mote about it, i feel i should store the logger in the request context itself. But is it a good practice
English
0
0
0
37
Nitro
Nitro@_nitro_dev·
@matryer @tebeka @goinggodotnet github.com/ortin779/priva… This is my repo. I want to log every request with a unique id, and i want to have that id to be present in the logger for the entire life cycle of the request. I am taking the logger as an argument to my handler. Unable find an example for this.
English
0
0
0
11
Nitro
Nitro@_nitro_dev·
@tebeka Firstly thanks a lot for putting up one of the best go lang course! I just completed the Practical Go Foundations on @ardanlabs . I now feel more confident about the core concepts of the language. Really appreaciate ur efforts and the curriculum design. Thanks
English
2
3
5
347
Nitro
Nitro@_nitro_dev·
One of the patterns i observed in go is that, few data structures in go provide a `val, ok` return type to indicate whether there was a value or it is zero value of golang. Very interesting and a nice consistent pattern that i saw in `maps`, `channles`, `type assertions`
English
0
0
0
26
Nitro
Nitro@_nitro_dev·
@ardanlabs do we have any support groups for the courses you folks offer?? In case of any doubt what should we do??
English
0
0
0
5
Nitro retweetledi
Matt Boyle
Matt Boyle@MattJamesBoyle·
(RTs appreciated!) As we get closer to the release of #golang 1.23, I have started preparing a free video course on the most important changes being introduced that you need to be aware of. Join the waitlist here to be notified as I add videos! bytesizego.com/go-1-23-in-23-…
English
3
59
167
44.4K