background preloader

Learning

Facebook Twitter

How Your Data is Stored, or, The Laws of the Imaginary Greeks. Wowcs08. JVM Anatomy Park #11: Moving GC and Locality. Once again, we can construct the simple experiment to see how that works.

JVM Anatomy Park #11: Moving GC and Locality

The simplest test case we can come up with in the array of references, that is either shuffled or not, and walk its contents. In JMH speak, something like this: Stanislaw/awesome-safety-critical: List of resources about programming practices for writing safety-critical software. Mcs. The Idea of Lisp. LISP.

The Idea of Lisp

It conjures up visions of a bygone age of computers the size of refrigerators, ALL CAPS CODE, and parentheses. Oh! So many parentheses! So why is Object-Oriented Programming's creator so enamored with the idea of Lisp? And what can he mean by a programming language being an idea anyway? E2E: Erik Meijer and Leslie Lamport - Mathematical Reasoning and Distributed Systems. Nanog: Forwarding issues related to MACs starting with a 4 or a 6 (Was: [c-nsp] Wierd MPLS/VPLS issue) Nanog mailing list archives Forwarding issues related to MACs starting with a 4 or a 6 (Was: [c-nsp] Wierd MPLS/VPLS issue) From: Job Snijders <job () instituut net> Date: Fri, 2 Dec 2016 15:32:13 +0100 Hi all, Ever since the IEEE started allocating OUIs (MAC address ranges) in a randomly distributed fashion rather then sequentially, the operator community has suffered enormously.

nanog: Forwarding issues related to MACs starting with a 4 or a 6 (Was: [c-nsp] Wierd MPLS/VPLS issue)

Htop explained. For the longest time I did not know what everything meant in htop.

htop explained

I thought that load average 1.0 on my two core machine means that the CPU usage is at 50%. That's not quite right. And also, why does it say 1.0? I decided to look everything up and document it here. They also say that the best way to learn something is to try to teach it. Our closest worm kin regrow body parts, raising hopes of regeneration in humans. Environment | News releases | Research | Science November 28, 2016 What if humans could regrow an amputated arm or leg, or completely restore nervous system function after a spinal cord injury?

Our closest worm kin regrow body parts, raising hopes of regeneration in humans

Frameworks without the framework: why didn't we think of this sooner? You can't write serious applications in vanilla JavaScript without hitting a complexity wall.

Frameworks without the framework: why didn't we think of this sooner?

But a compiler can do it for you. Rich Harris Wait, this new framework has a runtime? Ugh. ModernC. Don’t Build Private Clouds – Subbu’s Blog. Drduh/macOS-Security-and-Privacy-Guide: A practical guide to securing macOS. Do not change Linux files using Windows apps and tools – Windows Command Line Tools For Developers. I have to provide this guidance at least 2-3 times a day so instead I am publishing it here so everyone can find / link-to this guidance.

Do not change Linux files using Windows apps and tools – Windows Command Line Tools For Developers

There is one hard-and-fast rule when it comes to Bash on Windows: DO NOT, under ANY circumstances, create and/or modify Linux files using Windows apps, tools, scripts, consoles, etc. Creating/changing Linux files from Windows will likely result in data corruption and/or damage your Linux environment requiring you to uninstall & reinstall your distro! Note: Your “Linux files” are any of the files and folders under %localappdata%\lxss – which is where the Linux filesystem – distro and your own files – are stored on your drive Do not create/modify Linux files from Windows apps/tools! Google. Running Docker in production for 6 months. Managing a dev team at a full stack development company can be hard.

Running Docker in production for 6 months

You have to always keep the over-enthusiastic developers focussed at the right task. More often than not, you to have to remind them that it is important to finish the change request that a client submitted yesterday by EOD than trying out the fancy new javascript library. So you think you know C? – Hacker Noon. A lot of programmers claim they know C.

So you think you know C? – Hacker Noon

Well, it has the most famous syntax, it has been there for 44 years, and it’s not cluttered with obscure features. It’s easy! I mean, it’s easy to claim that you know C. You probably learned it in college or on the go, you probably had some experience with it, you probably think that you know it through and through, because there’s not much to know. Well, there is. 10 principles for smooth web animations. Sans titre. I've recently been exploring the exciting new world of asynchronous I/O libraries in Python 3 – specifically asyncio and curio.

sans titre

These two libraries make some different design choices. This is an essay that I wrote to try to explain to myself what those differences are and why I think they matter, and distill some principles for designing event loop APIs and asynchronous libraries in Python. This is a quickly changing area and the ideas here are very much still under development, so this text probably assumes all kinds of background knowledge and possibly that you live inside my head – but maybe you'll find it interesting anyway.

H.264 is magic: a technical walkthrough of a remarkable technology. H.264 is a video compression codec standard. It is ubiquitous - internet video, Blu-ray, phones, security cameras, drones, everything. Everything uses H.264 now. 6.851: Advanced Data Structures. Jasonette/JASONETTE-iOS: □ Native App over HTTP. The Ultimate Guide to Remote Work. How to Grow, Manage and Work with Remote Teams About This Guide Working remotely and running a remote team seem like black magic to many.

Yet at Zapier, we've been working remotely since our founding in October of 2011. This book shares everything we've learned about running a remote team—our successes and our failures. Applying the Linus Torvalds “Good Taste” Coding Requirement – Medium. To the best of my ability to discern, the crux of the “good taste” requirement is the elimination of edge cases, which tend to reveal themselves as conditional statements.

The fewer conditions you test for, the better your code “tastes”. Here is one particular example of an improvement I made that I wanted to share. Initializing Grid Edges Below is an algorithm I wrote to initialize the points along the edge of a grid, which is represented as a multidimensional array: grid[rows][cols]. Again, the purpose of this code was to only initialize the values of the points that reside on the edge of the grid — so only the top row, bottom row, left column, and right column. Applying the Linus Torvalds “Good Taste” Coding Requirement – Medium. To the best of my ability to discern, the crux of the “good taste” requirement is the elimination of edge cases, which tend to reveal themselves as conditional statements.

The fewer conditions you test for, the better your code “tastes”. Here is one particular example of an improvement I made that I wanted to share. Initializing Grid Edges Below is an algorithm I wrote to initialize the points along the edge of a grid, which is represented as a multidimensional array: grid[rows][cols]. Again, the purpose of this code was to only initialize the values of the points that reside on the edge of the grid — so only the top row, bottom row, left column, and right column.

Clockwise/Spiral Rule. [This was posted to comp.lang.c by its author, David Anderson, on 1994-05-06.] There is a technique known as the ``Clockwise/Spiral Rule'' which enables any C programmer to parse in their head any C declaration! There are three simple steps to follow: Starting with the unknown element, move in a spiral/clockwise direction; when ecountering the following elements replace them with the corresponding english statements: [X] or [] => Array X size of... or Array undefined size of...

(type1, type2) => function passing type1 and type2 returning... * => pointer(s) to... Keep doing this in a spiral/clockwise direction until all tokens have been covered. Table of Contents — How to Think like a Computer Scientist: Interactive Edition. GitHub - open-guides/og-aws: □ Amazon Web Services — a practical guide. A Javascript journey with only six characters. Latency numbers every programmer should know. Table of Contents — How to Think like a Computer Scientist: Interactive Edition.