Lessons on Writing JavaScript and React from ClojureScript
Technical blog of Ryan Jerue
The latest blog posts to take off on Hacker News. 21,828 posts.
Technical blog of Ryan Jerue
Varnish is a powerful, flexible HTTP accelerator that speeds up web applications by caching content and optimizing delivery.
Rust for Windows v0.9 has recently been released and includes full consumption support, along with several other updates! With completed consumption support, you can now call any Windows APIs (past, present, and futur
We’re excited to announce the alpha release of a new AWS SDK for Rust. AWS customers developing in Rust want a native Rust SDK so they can use the language constructs they are used to, and customers new to Rust want an SDK that behaves similarly to SDKs they have used in other language environments. […]
I've noticed more than once that some programmers are confused about the direction in which the stack grows on x86, and what "top of the stack" and "bottom of the stack" mean. It appears that this confusion is caused by a basic mismatch in the way people are used to thinking about stacks, and in the way the stack on…
While all three remove boilerplate, the similarities don't go much further. Records have stronger semantics with important downstream benefits, which makes them better*. (* not always; depends on circumstances; excuse the clickbait)
Let’s start from the beginning — what is an application?
_posted by John Clements_ Racket version 8.1 is now available from https://racket-lang.org/. DrRacket tabs can be dragged, and have new close buttons. Racket CS supports cross-compilation using `raco exe`. Racket CS supports Android on 32-...
Back in college, I was very interested in Java bytecode. When I got an internship at Google in 2013, I was skeptical of the security of the Java version of Google App Engine and got permission to spend the last week of my internship doing a mini red team exercise, trying to break into App Engine. This is the story of…
Is it ok to have if clauses that will basically never be run? Surely, there must be some performance cost to that...
News post: Gleam v0.15 released!
We are proud to announce Pyston v2.2, the latest version of our faster implementation of the Python programming language. This version is significantly faster than previous ones, and importantly is…
Over the last couple of years me and my colleagues here at doctronic have been busy creating and maintaining more than a dozen of individual software systems for our clients.
20 HTML tips with examples: mailto and tel links, opening links in a new tab, lazy loading, a native accordion, range sliders, download links and more.
What is threaded code? What is it good for? What are the differences between the various threading techniques? How do I implement threaded code portably? How fast are various threading techniques?
GitHub has long been a proponent of Web Components. Here's how we use them.
So, I was recently inspired by a coworker’s design to pack what would have been JSON (JavaScript Object Notation) data into a bunch of bit fields in an array of 64-bit elements. Binary arithmetic, bit-packing, and high performance are fun for me, so I thought of some ways to improve it, for learning purposes. Then I…
Ever since hearing about Rob Miles' Bitshift Variations in C Minor , a 4-voice polyphonic 16 minute piece of algorithmically generated music, I wanted to implement it in hardware. Getting it onto just any microcontroller seemed too easy , so I wanted it to run on the smallest µC I could find — the ATtiny4. A while…
Learn how you can go back in time and replay what went wrong in a C/C++ program with rr (a GNU Debugger Linux enhancement) in this short demo.
Recently I've become more and more interested in how WebRTC works, so a few weeks ago I decided to add a page to my website where I could set up peer-to-peer video chats. There are plenty of libraries and services out there to make this extremely easy, but knowing that WebRTC is now well supported natively across…
Programming in logic can help you produce better optimized, more secure, bug-free code … if only you knew how to do it.
Using the power of randomness to answer scientific questions.
My favorite Linux command-line one-liners: turn shell output into an image, find your biggest directories, list your most-used commands, serve files over HTTP.