ITGram
Tomorrow starts Hacktoberfest. This is yearly online event: you make 4 PRs on GitHub in any repositories and DigitalOcean sends you a nice T-shirt (and a few sticker). This year, you can choose to plant a tree instead of another one swag. PRs in your own…
There are hot discussions that in this year Hacktoberfest goes not so well:
+ https://blog.domenic.me/hacktoberfest/
+ https://news.ycombinator.com/item?id=24643894
+ https://www.reddit.com/r/programming/comments/j2ux69/digitaloceans_hacktoberfest_is_hurting_open_source/?sort=top
People are doing spammy meaningless PRs. It didn't happen 2 years ago before because there were "Make your first PR here" meaningless repositories where you can commit your name in a long txt file and get your kinda free T-shirt. Next year, Hacktoberfest organizers targeted "quality over quantity" and decided to ban such repositories, forcing people to do something significant. And here we are.
The fun thing that you can create your own repo, do 4 dummy PRs in it, and you're done. However, the target audience doesn't know about it. So, Hacktoberfest team decided to take fast actions and communicate this workaround to all participants:
https://hacktoberfest.digitalocean.com/hacktoberfest-update
This is one more "rule that massively backfired". Read in this thread more such stories:
https://twitter.com/TrungTPhan/status/1311300651645767682
This is why we can't have nice things.
+ https://blog.domenic.me/hacktoberfest/
+ https://news.ycombinator.com/item?id=24643894
+ https://www.reddit.com/r/programming/comments/j2ux69/digitaloceans_hacktoberfest_is_hurting_open_source/?sort=top
People are doing spammy meaningless PRs. It didn't happen 2 years ago before because there were "Make your first PR here" meaningless repositories where you can commit your name in a long txt file and get your kinda free T-shirt. Next year, Hacktoberfest organizers targeted "quality over quantity" and decided to ban such repositories, forcing people to do something significant. And here we are.
The fun thing that you can create your own repo, do 4 dummy PRs in it, and you're done. However, the target audience doesn't know about it. So, Hacktoberfest team decided to take fast actions and communicate this workaround to all participants:
https://hacktoberfest.digitalocean.com/hacktoberfest-update
This is one more "rule that massively backfired". Read in this thread more such stories:
https://twitter.com/TrungTPhan/status/1311300651645767682
This is why we can't have nice things.
Kontra OWASP Top 10 is a collection of free interactive tutorials about most popular vulnerabilities and some recent security incidents. Beautiful, clickable, illustrative.
Kontra
Application Security Training For Developers | Kontra
Kontra is an Application Security Training platform built for modern development teams.
Forwarded from Python etc
The Zen of Go — 10 good ideas from Dave Cheney on how to write better Go code. Short and useful.
#golang
#golang
pytest-benchmark — pytest fixture to benchmark functions. At the end of the execuion prints beautiful colorful summary table, can make a histogram.
#python #testing
#python #testing
GitHub
GitHub - ionelmc/pytest-benchmark: py.test fixture for benchmarking code
py.test fixture for benchmarking code. Contribute to ionelmc/pytest-benchmark development by creating an account on GitHub.
mtproto — full pure Go implementation of MTProto protocol. That means, you can automate anything in Telegram for your account (not bots).
We need more pure Go libraries because Go is amazing. Using wrappers around C libs means much heavier introspection, benchmarking, and cross-compilation and slower interoperation.
I nominate this repository for "most insane README of the year".
#golang
We need more pure Go libraries because Go is amazing. Using wrappers around C libs means much heavier introspection, benchmarking, and cross-compilation and slower interoperation.
I nominate this repository for "most insane README of the year".
#golang
GitHub
GitHub - xelaj/mtproto: 🦋 Full-native go implementation of Telegram API
🦋 Full-native go implementation of Telegram API. Contribute to xelaj/mtproto development by creating an account on GitHub.
YAML Multiline — a quick cheat sheet on multiline strings in YAML because it's not that simple. I guess I use this site too often for such a trivial task >.<
#yaml
#yaml
yaml-multiline.info
YAML Multiline Strings
Find the right syntax for your YAML multiline strings.
no-color.org is a small initiative to motivate software to use one standartized way to disable colored output. In particular, it says "Please, disable color when
#cli
NO_COLOR
env var is set". So, please, when you'll make a new CLI tool, add support for NO_COLOR
. And I promise to do the same.#cli
The Go compiler needs to be smarter — a short article why Go compiler sucks. Well, things not so bad, don't listen to me. Go is fast and cool, every release brings a lot of performance improvements, especially for garbage collector. However, there are still many things to do, especially if compare to old big compilers like gcc or clang. For instance, PGO and JIT are hard to implement but can give an amazing speed improvement, and there are no such things in Go yet. Well, there is gccgo compiler for go but it is slower than gc.
#golang
#golang
Daniel Lemire's blog
The Go compiler needs to be smarter
One of my favorite languages is the Go language. I love its simplicity. It is popular and useful in a cloud setting. Many popular tools are written in Go, and for good reasons.
I gave a talk on Go last year and I was asked for a criticism of Go. I do not…
I gave a talk on Go last year and I was asked for a criticism of Go. I do not…
Simple techniques to optimise Go programs — a few tricks on how to allocate less memory. Good stuff.
#golang
#golang
High Performance Go — materials from Dave Cheney's workshop on how to measure performance in Go and write a faster code. So hardcore.
#golang
#golang
dave.cheney.net
High Performance Go Workshop
Numbers that aren't numbers is a great article about things that are named "numbers" but cannot be correctly represented as integers. Yeah, I know, the real world is so messy and should be adjusted to let us write a beautiful simple software. Humans spoil everything.
hilton.org.uk
Numbers that aren’t numbers
‘Numbers’ that you can’t represent numerically
🔧 esbuild is a fast JS/TS bundler and minifier, kind of webpack alternative. No, it's really fast, like 10-100 times faster than webpack. It is a new project and supports not all JS (frontenders name it ECMAScript) features, so it can be used not for all projects. But give it a try! Oh, and it is written on our lovely golang.
#js #golang
#js #golang
GitHub
GitHub - evanw/esbuild: An extremely fast bundler for the web
An extremely fast bundler for the web. Contribute to evanw/esbuild development by creating an account on GitHub.
📄 Write code that is easy to delete, not easy to extend is a guide (an essay?) on when it's good to copy-paste a code and when it's not, when it's good to split a code by pieces and when it's better to keep all things together. These are hard questions but we should think and talk about it.
Tumblr
Write code that is easy to delete, not easy to extend.
“Every line of code is written without reason, maintained out of weakness, and deleted by chance” Jean-Paul Sartre’s Programming in ANSI C.
Every line of code written comes at a price: maintenance. To...
Every line of code written comes at a price: maintenance. To...
📄 penglab — Google Colab notebook with a few hash cracking tools in case you need it on a CTF.
📄 colabcat — Google Colab notebook with hashcat only but syncing with Google Drive.
And of course, remeber about our best friend, SecLists. It is a collection of common credentials, filenames, urls, and so on. Maybe, not big enough to crack something serious but good enough for CTFs and Hack The Box.
📄 colabcat — Google Colab notebook with hashcat only but syncing with Google Drive.
And of course, remeber about our best friend, SecLists. It is a collection of common credentials, filenames, urls, and so on. Maybe, not big enough to crack something serious but good enough for CTFs and Hack The Box.
🎥 Clean Code lectures from Uncle Bob ("Coding Better World Together") are amazing. It's a great walkthrough on writing maintainable code, ethics of programming, testing, refactoring, automating things, keeping balance between "fast" and "good". Examples are on Java but ideas in all other languages are pretty much the same. Definitely must-watch.
ITGram
The Zen of Go — 10 good ideas from Dave Cheney on how to write better Go code. Short and useful. #golang
Go Proverbs is another collection of cool ideas on how to Go better. This time, from Rob Pike and more Go-specific.
#golang
#golang
🎥 Extreme Programming 20 years later by Kent Beck is an interesting story about how and why Agile and TDD were born, what's behind JUnit, what the author would have done differently.
YouTube
Extreme Programming 20 years later by Kent Beck
Kent Beck invented Extreme Programming. Guest of honor of the 5th annual Lean IT Summit, he reviewed what he got right, what he got wrong, what he's still working on and how things work at Facebook where he is now.
More Lean It and Agile experts and stories…
More Lean It and Agile experts and stories…
I've made and printed Gram Cards. This is a short collection of cards with phrases that (I hope so) would make me a better developer.
A side note: I had hard times diving into ImageMagick but having graphic as a code definitely worth it.
A side note: I had hard times diving into ImageMagick but having graphic as a code definitely worth it.
📄 The Automated Curse Generator is a fun article about making human-readable IDs and unforeseen consequences. Conclusions are up to you. Probably, something about priorities in business features and "keep it simple", IDK.
Have a good weekend :)
Have a good weekend :)
The Daily WTF
The Automated Curse Generator
It was 1999, and Brian's company's new online marketing venture was finally off the ground and making a profit using an off-the-shelf conglomeration of bits and pieces of various content management, affiliate program, and ad servers. Brian's team had hit…