A collection of short notes and links.
Algorithms & Math
Papers to read - papers we love
2014-09-02T07:51:12+00:00
Repo for good papers to read.
https://github.com/papers-we-love
What was the last paper within the realm of computing you read and loved? What did it inspire you to build or tinker with?
Come share the ideas in an awesome academic/research paper with fellow engineers, programmers, and paper-readers. Lead a session and show off code that you wrote that implements these ideas or just give us the lowdown about the paper (because of HARD MATH!).
Designing a SIMD Algorithm from Scratch
2023-11-29T13:52:45+01:00
Another explainer on a fun, esoteric topic: optimizing code with SIMD (single instruction multiple data, also sometimes called vectorization). Designing a good, fast, portable SIMD algorithm is not a simple matter and requires thinking a little bit like a circuit designer.
Designing a SIMD Algorithm from Scratch
Bring algorithms to life
An interactive online platform designed to bring algorithms to life through visualization.
C++
Introduction to Lock-free Programming with C++ and Qt
2012-04-18T12:48:52+00:00
Introduction to Lock-free Programming with C++ and Qt
Problem ABA
“The View from Aristeia: std::string, SSO, and Move Semantics”
2012-04-18T12:56:11+00:00
The View from Aristeia: std::string, SSO, and Move Semantics
Czytelne wskaźniki na funkcje C/C++
2014-01-02T07:36:14+00:00
Readable function pointers - /dev/krzaq
Introduction to C++ Metaprogramming
2017-10-26T08:08:03+00:00
Interesting introduction to metaprogramming in the context of embedded systems.
C++ Metaprogramming: Part 1: Introduction to C++ Metaprogramming
Corresponding C++ library with full static checking and abstractions to special function registers of embedded microcontrollers.
Marching tetrahedra
2018-06-19T22:54:00+00:00
Marching tetrahedra with geometry shaders instanced tetrahedra grid and colors
Optimizations enabled by -ffast-math
2021-10-21T10:38:32+00:00
This blog post describes the optimizations enabled by
-ffast-mathwhen compiling C or C++ code with GCC 11 for x86_64 Linux (other languages/operating systems/CPU architectures may enable slightly different optimizations).
How To Enable A 64 Bit Visual Cpp Toolset On The Command Line
2023-11-28T19:04:20+01:00
x64 Native Tools Command Prompt for VS 2022
how to enable a 64 bit visual cpp toolset on the command line
Embedded
Are We Shooting Ourselves in the Foot with Stack Overflow
2014-02-19T11:44:47+00:00
moduł RF zigbee
2014-07-14T11:43:32+00:00
MICROCHIP TECHNOLOGY MRF24J40MA-I/RM
[MRF24J40MA-I/RM MICROCHIP TECHNOLOGY - Moduł: RF \| PCB; ZigBee; O-QPSK; 2,4GHz; 4-wire SPI; -94dBm; 5dBm; SMD \| Transfer Multisort Elektronik Polska](http://www.tme.eu/pl/details/mrf24j40ma-i_rm/moduly-komunikacyjne-rf/microchip-technology/)“Gamasutra - In-Depth: Static Code Analysis”
2015-05-28T23:09:41+00:00
Stare to jak świat, ale można spoglądnąć co Carmack ma do powiedzenia
Gamasutra - In-Depth: Static Code Analysis
Graphics
2014-01-08T13:32:48+00:00
Site for the Geometric Tools source code for real-time computer graphics and physics, mathematics, geometry, numerical analysis, and image analysis
The blog of Fabian “ryg” Giesen
2014-08-19T10:17:45+00:00
This is the blog of Fabian “ryg” Giesen(RAD Game Tools in Kirkland/WA as a programmer). He is also active in the demoscene group Farbrausch and have written some useful tools and other pieces of code, most of which are available on his homepage.
The ryg blog | When I grow up I’ll be an inventor.
Precise 3D mapping and visualization of wifi signal strength inside 1ft³
2015-02-14T18:35:40+00:00
Reddit - The heart of the internet
A French Demoscene Group
2018-06-19T22:53:59+00:00
Ctrl-Alt-Test - A French Demoscene Group, since 2009
The blog at the bottom of the sea
2018-06-19T22:53:57+00:00
Programming, Graphics, Gamedev, Exotic Computation, Audio Synthesis
Linux
Aptana, pyCharm
2011-10-28T12:32:47+00:00
W przypadku Aptany i pyCharm, warto sprawdzić czy używamy przypadkiem nie używamy Open JDK.
Poziom zmulenia tych aplikacji jest niewiarygodny pod Open JDK.
Zmiana na nieco lepiej:
| |
zawartość /etc/jvm
| |
zawartość ~.bash_profile
| |
Eli Bendersky’s website » Adding bash completion for your own tools - an example for pss
2013-12-28T19:28:32+00:00
Adding bash completion for your own tools - an example for pss - Eli Bendersky’s website
Ftrace - eLinux.org
2014-02-09T16:41:31+00:00
Ciekawe narzedzie to pokazania co sie wywoluje w obrebie kernela w trakcie dzialania aplikacji
FIQ Handlers in the ARM Linux Kernel
2014-02-09T23:01:19+00:00
FIQ Handlers in the ARM Linux Kernel - Bootlin
Why kernel space sucks
2014-02-27T21:11:21+00:00
“Ftrace: The hidden light switch”
2014-08-21T07:57:37+00:00
Ftrace: The hidden light switch [LWN.net]
Linux Performance
2014-08-21T08:04:19+00:00
This page links to various Linux performance material Linux Performance
Misc
Optymalizacja struktur z klasą instrumentującą do raportów
2014-01-02T10:59:55+00:00
Solone hasła - jak to robić dobrze
2014-01-02T14:13:19+00:00
Salted Password Hashing – Doing it Right
Salted Password Hashing - Doing it Right - CodeProject
How Misaligning Data Can Increase Performance 12x by Reducing Cache Misses
2014-01-03T14:05:52+00:00
Porównanie kompilatorów intel vs gcc w kontekście wektoryzacji kodu
2014-01-03T23:05:10+00:00
comparing-c-compilers-parallel-programming-performance
Dokumenty poszerzające zrozumienie wszystkiego
2014-01-11T11:59:24+00:00
450 Mind Expanding Documentaries (Down The Rabbit Hole)
Ciekawe linki
2014-01-23T20:26:02+00:00
10 Ways to Get Inspiration as a Programmer http://www.megalith.co.uk/8086tiny/
Leciało w trójce i było ciekawe
2015-01-28T13:48:01+00:00
Damien Rice - My Favourive Faded Fantasy
Damien Rice - It Takes A Lot To Know A Man
Leliwa - Listopad
Machine Head - Ghosts Will Haunt My Bones
Machine Head - Sail Into The Black
The BoDeans - Worlds Away
Urban Dance Squad - Fast Lane
The Rolling Stones - We Love You
Gary Clark Jr. - Catfish Blues
Foo Fighters - Something From Nothing
Louise Hoffsten - King Creole
Booker T. Jones - Can’t Buy Me Love
Bryan Ferry - Loop De Li
Dion - Drive My Car
Maze generator - 13 bytes
2015-01-28T13:46:00+00:00
Maze Generation In Thirteen Bytes « Oldskooler Ramblings
References for “The Future of Programming”
2015-02-18T13:17:48+00:00
Sometimes a bug is hit only after code was executed 100 trillion times
2015-09-04T06:57:54+00:00
All of us are familiar with overflow bugs. However, sometimes you write code that counts on overflow. This is a story where overflow was supposed to happen but didn’t, hence the name underflow bug.
Underflow bug | Spotify Engineering
Finding a CPU Design Bug in the Xbox360
2018-01-08T12:17:20+00:00
Random ASCII: programming, tech topics, with a chance of unicyclingFinding a CPU Design Bug in the Xbox 36
The recent reveal of [Meltdown][1] and [Spectre][2] reminded me of the time I found a related design bug in the Xbox 360 CPU - a newly added instruction whose mere existence was dangerous.
Alan Zucconi - passionate developer
2018-06-19T22:53:59+00:00
Alan Zucconi is a creator of a series of tutorials about game development and machine learning.
Alan Zucconi - Tutorials for GameDevs
“Fibonacci Hashing: The Optimization that the World Forgot "
2018-06-19T22:54:00+00:00
or: a Better Alternative to Integer Modulo)
PlayStation 3 Architecture
2021-10-21T10:37:42+00:00
PlayStation 3 Architecture - A practical analysis by Rodrigo Copetti
Avalonia
2023-01-16T21:55:42+00:00
In case of trouble while installing the package Avalonia, check the NuGet.config:
c:\Users\<USER>\AppData\Roaming\NuGet\NuGet.Config
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageSources>
<add key="nuget.org" value="https://www.nuget.org/api/v2/" />
</packageSources>
</configuration>
Python
Elixir pod pypy
2012-04-18T14:10:31+00:00
- apt-get install libpq-dev
- pypy/bin/pip install psycopg2ct
- map CT version:
| |
upipe
2015-04-27T09:56:53+00:00
Jesli dwa elementy nie chcą się spiąć, to trzeba sprawdzać w input_set_flow_def co mu nie pasuje.
Zaczynając od definicji bloku
A Guide to Python Itertools
2018-02-08T09:28:15+00:00
Those iterables are more powerful than you can possibly imagine.
A Guide to Python Itertools. Those iterables are more powerful than… | by Jason Rigden | Medium
Every Dunder Method
2024-04-03T14:07:29+02:00
Python includes tons of dunder methods (“double underscore” methods) which allow us to deeply customize how our custom classes interact with Python’s many features. What dunder methods could you add to your class to make it friendly for other Python programmers who use it?
Tools
Zmiana rozmiaru partycji, gparted i ew. problemy
2014-01-14T11:24:56+00:00
Może się zarzyć, że przy próbie zmiany rozmiaru partycji dostaniemy komunikat:
$ parted /dev/sdd unit s print
Błąd: Nie można mieć partycji poza dyskiem!
W takiej sytuacji należy zmodyfikować lekko TP:
GParted – How-to Fix Invalid MSDOS Partition Tables
marching wooden toys
2015-02-26T12:37:39+00:00
Comment from discussion nutterbird’s comment from discussion “I am blown away by these marching wooden toys this guy makes.”.
A great way to feed OpenAI all your source code
2023-01-16T21:55:42+00:00
A great way to feed OpenAI all your source code for auto generating commit message based on code differences(GPT based approach):
Fetching Data commitomatic what the commit
Git Mounter
2023-11-29T14:07:38+01:00
Has anyone made a read-only FUSE filesystem for a git repository where every commit is a folder and the folder contains all the files in that commit?
The idea is that you could just run cd COMMIT_ID and poke around instead of checking out the commit and maybe the branches could be symbolic links to the commit folders?
Pchord Training Tool
2023-11-29T15:12:41+01:00
My own project
https://github.com/marcinklimek/pchords
Web
TestCoverage - Martin Fowler
2012-04-18T12:36:13+00:00
systemy rozproszone
2014-01-03T18:13:36+00:00
Distributed systems for fun and profit
Ex. 10 measuring jitter and latency
2014-02-09T17:06:59+00:00
In real-time programming one usually has to guarantee that certain deadlines are always met. Hence, predictability of timing is crucial. In this exercise we investigate a few aspects of predictability by measuring scheduling jitter and interrupt latency.
Algorytm Raft - wybór lidera i replikacja
2014-08-27T07:55:49+00:00
Raft Consensus algorithm.
Prezentacja: Raft Dokładniejszy opis: http://raftconsensus.github.io/
“[lang] JavaScript Guide - JavaScript”
2014-08-27T20:25:17+00:00
Niby trywialne, ale warto czasem przypomnieć sobie co i jak.
JavaScript Guide - JavaScript | MDN
Pulling JPEGs out of thin air 2014-11-09T13:59:24+00:00 This is an interesting demonstration of the capabilities of afl. http://lcamtuf.blogspot.com/2014/11/pulling-jpegs-out-of-thin-air.html https://code.google.com/p/american-fuzzy-lop/ — ### Some disasters caused by numerical errors 2015-02-02T09:43:43+00:00
Some disasters caused by numerical errors
- Patriot Missile Failure
- Explosion of the Ariane 5
- EURO page: Conversion Arithmetics
- The Vancouver Stock Exchange
- Rounding error changes Parliament makeup
- The sinking of the Sleipner A offshore platform
- Tacoma bridge failure (wrong design)
- 200 million dollar typing error (typing error)
- What’s 77.1 x 850? Don’t ask Excel 2007
- Collection of Software Bugs
Computer Arithmetic Tragedies page of Kees Vuik
how to center in CSS
2015-04-20T07:56:33+00:00
Centering in CSS is a pain in the ass. There seems to be a gazillion ways to do it, depending on a variety of factors. This consolidates them and gives you the code you need for each situation.
paxos consensus protocol
2015-08-27T12:29:37+00:00
This website explains the infamously difficult to understand Paxos consensus protocol using easy to understand invariants and code.
ROP Emporium
2018-01-08T13:58:58+00:00
Learn return-oriented programming through a series of challenges designed to teach ROP techniques in isolation, with minimal reverse-engineering and bug-hunting.
A programmer, hobbyist game-dev, and math enthusiast. On this website I document my projects, interests, and research endeavours.
A collection of my thoughts, projects or ideas that are elaborate enough to warrant a full article.
There is no coherent theme across all posts, but you can expect game-dev, programming languages, math and just about anything else. And while I still have your attention, here’s some of what I’ve managed to write over the course of time.
One of the most exciting things about learning a foreign language is developing a proficiency for reading it. At first, sentences in the foreign languages start off as intimidating blocks of text, totally opaque and meaningless. With lots of practice, single words start to make sense here and there. A basic understanding of the language’s syntax transforms the process.
Analyzing Japanese with Natural Language Processing and Go
Ventoy is an open source tool to create bootable USB drive for ISO/WIM/IMG/VHD(x)/EFI files.
With ventoy, you don’t need to format the disk over and over, you just need to copy the ISO/WIM/IMG/VHD(x)/EFI files to the USB drive and boot them directly. You can copy many files at a time and ventoy will give you a boot menu to select them. You can also browse ISO/WIM/IMG/VHD(x)/EFI files in local disks and boot them. x86 Legacy BIOS, IA32 UEFI, x86_64 UEFI, ARM64 UEFI and MIPS64EL UEFI are supported in the same way.
Most types of OS supported (Windows/WinPE/Linux/ChromeOS/Unix/VMware/Xen…)
Sound event detection involves analyzing ongoing acoustic signals to identify and symbolize the various sounds within an auditory environment. This technology has multiple applications, such as enabling context-specific search and retrieval in multimedia databases, discreet monitoring in healthcare settings, and use in surveillance systems.
This collection of papers provides insights into the field of sound event detection and the broader area of Sound AI.
Real Time Sound Event Detection Awesome Sound Event Detection Sound Event Detection Transformer Sound Event Detection