News from the web #1
This newsletter is a small experiment. I want to check if there are people who like such summaries. I’ll do my best to prepare the most interesting materials from IT world. Let me know what you think! Let’s begin, shall we?
Path Traversal in GitLab #security
Author of the vulnerability earned $20,000 by finding a simple Path Traversal. The attack is trivial:
- Create two projects
- Add an issue with the following description:
- Move the issue to the second project
- The file will have been copied to the project
Old tricks still work, huh? :)
WebRTC in Go #podcast #golang
This episode isn’t only what WebRTC (spoiler alert - not only video!) is but also why Go was chosen of the project and why the author is happy about the choice.
Modlishka - reverse proxy in Go #golang #network
Modlishka is open-source HTTP reverse proxy in Go. I wrote a simple implementation of the reverse proxy but this one is much more advanced. You can find a demo of how the proxy works.
Reflections are what I don’t like to do but sometimes there’s a need to play with it a bit. To avoid very stressful moments, I recommend reading about it before coding. This blog post is a good introduction to Go reflections.
The interesting blog post where the author describes how he built a JSON query builder in Go. Building a custom lexer can be tricky so recommend to read it :)
Debugging with Delve #golang #debugging #delve
fmt.Print, don’t you? I do it as well (from time to time). Delve is an excellent tool which understands Go better than GDB. In more complex project, it’s definiately worth trying,
How to Manage Database Timeouts and Cancellations in Go #golang #database
context.Context is one of the most important structs in Go IMO. This blog post describes how to use it to manage cancellations and timeouts in Go with DB queries.
Yet, another post about Git. What I learned from this post are commit templates. Maybe you’ll find something interesting as well :)
‘Witcher 3’ on the Nintendo Switch: CPU & Memory Optimization #gamedev #performance
An awesome presentation about who Witcher 3 was ported to Nintendo Switch. Full of detailed information and tables :)
CS:Go and Team Fortress 2 source code leaked #gamedev #security
Valve says it’s safe to play those games. But, the news about the source code of those games was stolen create a huge panic in the community.
I hope you like the newsletter. I’ll try to track which topics are the most interesting for you to prepare better content. See you next week. Cheers!Buy me a coffee