GeistHaus
log in · sign up
39 pages link to this URL
The art of cheating: Making a chess.com chess bot following an unusual approach!

Table of contents Preface: Giving first insight into the idea and why I think that hooking into a browser is a good idea. Many different ways to make browser game bots: Discussion various techniques to write HTTP/WebSocket bots How does chess.com internally look like?: Investigation of the client side behavior of chess.com How the bot works: Explaining how my shared library hooks firefox network functions Conclusion: Summary of my discoveries Demo Video and another, better demo video: You might only watch that video, but make sure you read the explanation on the very bottom of this blog post! You may find the sources to the shared library (so) on my github account. Preface Usually I don't have good ideas in forms of flashes of genius. On the contrary, I think that many endeavors and interesting projects might be reasonable if realized, but often so, there's a huge amount of work involved and too many variables and strategic decisions in the process that could eventually render the project a failure. What I try to say: A mediocre idea well engineered might be a good product. But a good idea badly implemented and designed is usually just bad in …

0 inbound links article en C CChess.comCheatingFirefoxHookingChessLowlevelProgrammingSecurity
How to on starting processes (mostly in Linux)

Should I use fork or exec? What is a shell? How to start an external process. How to communicate with a Linux process? Is it possible to have bidirectional pipes?

0 inbound links article en kernelos-processsyscalpopenlibcc
SRE Interview Questions

Unix Processes What is the difference between a process and a thread? A thread is a lightweight process. Each process has a separate stack, text, data and heap. Threads have their own stack, but sh…

1 inbound link article en
On Composition

Our composition models are poor and don’t scale well.

0 inbound links en misfitscompositionreuse
FOSDEM Edition: Thoughts on the Microkernels

It’s FOSDEM time! I have fond memories of the Microkernel and Component-based OS devroom in particular. It’s a fun meetup of extremely skilled low-level software engineers. This year I cannot attend, so it’s a good time to ramble reflect on it.

0 inbound links article en
What’s New in Python 3.2

Another installment in my look at all the new features added to Python in each 3.x release, this one covering 3.2. There’s a lot covered including the argparse module, support for futures, changes to the GIL implementation, SNI support in SSL/TLS, and much more besides. This is my longest article ever by far! If you’re puzzled why I’m looking at releases that are years old, check out the first post in the series.

0 inbound links article en Software Andy Pearceblogsoftwarepythonnew-releasesclidebuggingthreadingprocesseslockingstring-manipulationdata-structuresnetworksmarkupcompressionmathscompilationtesting
Process-Based Job Management in C and Python

I had an interesting discussion with my buddy Ali after he read my previous post, Python Multiprocessing Pool and KeyboardInterrupt Revisited. The discussion was around the question, “what are the benefits of using the python multiprocessing.Pool class over writing a simple process-based job management system in C?” We started …

0 inbound links article en CpythonTags
GitHub - rustfoundation/interop-initiative: In collaboration with the Rust Foundation, Rust Project, and appropriate external stakeholders, make C++ and Rust interoperability easily accessible and approachable to the widest possible audience.

In collaboration with the Rust Foundation, Rust Project, and appropriate external stakeholders, make C++ and Rust interoperability easily accessible and approachable to the widest possible audience...

2 inbound links object en repository:876439352
The End of Type Annotations

Type annotations are a workaround for compiler limitations, not a feature—a well-designed language should infer all types automatically, forcing programmers to write smaller, cleaner modules.

0 inbound links article en infer typesoop abstract typestype inferencetypes in object-oriented programmingtypes in oop