The Little Book of Python Anti-Patterns
https://docs.quantifiedcode.com/python-anti-patterns/index.html
https://docs.quantifiedcode.com/python-anti-patterns/index.html
"A great disturbance in the force..."
A fantastical tale of how the author built the recently shut down IMDB forums.
https://www.beatworm.co.uk/blog/internet/imdb-boards-no-more
A fantastical tale of how the author built the recently shut down IMDB forums.
https://www.beatworm.co.uk/blog/internet/imdb-boards-no-more
Rust language server hits nightlies
This project allows IDEs and editors to integrate with the rust compiler directly and provides code completion etc.
http://www.jonathanturner.org/2017/04/rls-now-in-nightly.md.html
This project allows IDEs and editors to integrate with the rust compiler directly and provides code completion etc.
http://www.jonathanturner.org/2017/04/rls-now-in-nightly.md.html
Forwarded from Syra's Techbinder
https://stackoverflow.com/questions/11227809/why-is-it-faster-to-process-a-sorted-array-than-an-unsorted-array
Tags: #programming #architecture
Tags: #programming #architecture
Stack Overflow
Why is processing a sorted array faster than processing an unsorted array?
In this C++ code, sorting the data (before the timed region) makes the primary loop ~6x faster:
#include <algorithm>
#include <ctime>
#include <iostream>
int main()
{
// Gene...
#include <algorithm>
#include <ctime>
#include <iostream>
int main()
{
// Gene...
Syra's Techbinder
https://stackoverflow.com/questions/11227809/why-is-it-faster-to-process-a-sorted-array-than-an-unsorted-array Tags: #programming #architecture
@techbinder posted this famous Stackoverflow question that explains in detail what branch prediction is and how you can radically speed up code by knowing about it.
GCC 7 released with:
- experimental support for the full C++17 spec
- improved diagnostics
- improved optimisation
- OpenMP support for NVidia PTX
- support for RISC-V
https://gcc.gnu.org/gcc-7/changes.html
- experimental support for the full C++17 spec
- improved diagnostics
- improved optimisation
- OpenMP support for NVidia PTX
- support for RISC-V
https://gcc.gnu.org/gcc-7/changes.html
H.264 is magic: a technical walkthrough of a remarkable technology.
https://sidbala.com/h-264-is-magic/
https://sidbala.com/h-264-is-magic/
Sid Bala
H.264 is magic: a technical walkthrough of a remarkable technology.
A high level walkthrough of the basics of video compression techniques used in MPEG, AVC/H.264, codecs.
Why does Google prepend while(1); to their JSON responses? - Stack Overflow
http://stackoverflow.com/questions/2669690/why-does-google-prepend-while1-to-their-json-responses
http://stackoverflow.com/questions/2669690/why-does-google-prepend-while1-to-their-json-responses
Stack Overflow
Why does Google prepend while(1); to their JSON responses?
Why does Google prepend while(1); to their (private) JSON responses?
For example, here's a response while turning a calendar on and off in Google Calendar:
while (1);
[
['u', [
['smsSentFla...
For example, here's a response while turning a calendar on and off in Google Calendar:
while (1);
[
['u', [
['smsSentFla...
Forwarded from Syra's Techbinder
Dangerous python functions: Examples of parts of python you should use with extreme caution.
https://www.kevinlondon.com/2015/07/26/dangerous-python-functions.html
https://www.kevinlondon.com/2015/08/15/dangerous-python-functions-pt2.html
https://www.kevinlondon.com/2015/07/26/dangerous-python-functions.html
https://www.kevinlondon.com/2015/08/15/dangerous-python-functions-pt2.html
Kevin London's blog
Dangerous Python Functions, Part 1
<p>Certain Python functions should not be used or should be used only with
caution. Python’s documentation typically includes a note about the dangers ...
caution. Python’s documentation typically includes a note about the dangers ...