recentpopularlog in


« earlier   
Web HTML5 Graphics - Making things with maths - Steven Wittens (2013)
The browser used to be a meek sandbox, shut off from all the things that native apps could do. But now we've grown up, and with WebGL, Canvas, Web Audio, Device Access and more, we have a lot of power at our fingertips. To really unlock this potential and make all this data dance, we need maths.
programming  JavaScript  Web  HTML  CSS  CompSci 
6 hours ago by mfernando
Show HN: A retro video game console I've been working on in my free time | (2017)
This post serves as an introduction to a “homebrew” video game console made from scratch, using a lot of inspiration from retro consoles and modern projects but with a unique architecture.
Some friends of mine have told me again and again not to keep this project to myself and to put this information online, so here it goes.
Hardware  Engineering  Assembly  CompSci  Learning  NES 
6 hours ago by mfernando
If you could nominate one formative, novel, or comprehensive textbook to survive into the future.
I asked several folks I respect their favorite textbook -- one which they thought was either formative, exemplary, novel, or that they might nominate to survive into the future. Here's a short list of responses:
Math  CompSci  Learning  statistics  programming  Physics  Science 
3 days ago by mfernando
My Favorite Textbooks - Alexey Guzey (2018)
Math, CS and Econ textbooks:
I find most textbooks to be basically unreadable. Worse still, when I google “best X textbook”, I frequently land on a “classic” textbook that feels like it was written by a fucking reptiloid for people with an entirely different from mine intelligence architecture. I hate formalism. I hate long mechanical derivations. I love thinking in pictures. I love intuitive, explainlikeim5 explanations. I believe that examples should precede definitions, not follow them.
Learning  Education  Math  statistics  CompSci 
3 days ago by mfernando
Javascript - Explaining Event loops, asynchronous programming and promises (2019)
What the heck is the event loop anyway?: Knowing how JavaScript works behind the scenes will give you a deeper understanding of the code you write.
async & await in JavaScript: Promises and async/await might get confusing if you’re not familiar with asynchronous programming. Check this video out after reading the corresponding section in The Modern JavaScript Tutorial in order to see some real action.
JavaScript  programming  Web  HTML  CompSci 
5 days ago by mfernando
AI Explained: Terence Parr
Machine Learning papers and explanations at "AI Explained" by Terence Parr, CS prof for MS (Data Science) at USF, CA, covering matrix calculus, gradient boosting, random forest "feature importance", partial dependence for codependent variables.

Includes several visualisation tools, for decision trees, lists-of-lists, callstacks and other data structures commonly found in machine learning (or code and compiler debugging).

Also the author of the ANTLR LL(*) parser-generator tools.
Tools above include an ML-based (k-nearest neighbour) code-formatter-generator (pretty-printer), that deduces how to format some unknown programming language from a set of sample programs (which are hopefully well-formatted).
compsci  machinelearning 
5 days ago by stu-rem
Algorithms by Jeff Erickson
This web page contains a free electronic version of my self-published textbook Algorithms, along with other lecture notes I have written for various theoretical computer science classes at the University of Illinois, Urbana-Champaign since 1998.
algorithm  programming  compsci 
5 days ago by rcyphers
How Long Does Free Code Camp Take? (2016)
After digging around online to determine the best place to start, I decided to start working through Free Code Camp. So I set a small initial goal of 2 hours/day and installed RescueTime to track myself. Here’s a glimpse into how it went.
Web  Learning  programming  CompSci  HTML  JavaScript 
5 days ago by mfernando
Julia Evans on Computer Programming (2019)
I’ve been working on explaining computer things I’m learning on this blog for 6 years. I wrote one of my first posts, what does a shell even do? on Sept 30, 2013. Since then, I’ve written 11 zines, 370,000 words on this blog, and given 20 or so talks. . showing how topics traditionally considered “hard” and “scary” are actually accessible and interesting and fun (TCP! / Kernel hacking! / Traceroute! / gzip! / databases! / SSL!)
programming  CompSci  CompArch 
8 days ago by mfernando
You-Dont-Know-JS/ at 2nd-ed · getify/You-Dont-Know-JS
Welcome to the 2nd edition of the widely-acclaimed You Don't Know JS (YDKJS) book series: You Don't Know JS Yet (YDKJSY). If you've read any of the 1st edition of the books, you can expect a refreshed approach in these new books, with plenty of new coverage of what's changed in JS over the last five years. But what I hope and believe you'll still get is the same committment to respecting JS and digging into what really makes it tick. If this is your first time to read these books, I'm glad you're here. Prepare for a deep and extensive journey into all the corners of JavaScript.
JavaScript  programming  CompSci  Web  Learning  Tutorial 
8 days ago by mfernando
List of Prediction Services API's (2010)
There are a handful of companies at present — Flightcaster, for example — who have realised that there is immense opportunity at the intersection of these developments to start applying large-scale machine learning. Hopefully, what the Google Prediction API and other services will provide is the spark for an explosion of new and creative approaches to distilling knowledge from raw information.
statistics  ML  CompSci  Learning 
8 days ago by mfernando
Sorcerer source-code translator-generator
Takes an LL(1) grammar and produces C or C++ parser for a matching AST with actions on terminal recognition (not only after full sentences). The AST should be structured as a tree, with node fields "token", "down" and "right" (similar internal CAR/CADR pointer structure as LISP lists), SORCERER generates code based on this assumption.

Can use to e.g. build tools to translate C expressions to Pascal, translate scientific FORTRAN to something this century, etc, as well as general sed/awk/grep-like transliteration of strings, without needing to be line-oriented.

Supports attributes, syntactic and semantic predicates for context-sensitive structure, disambiguation and back-tracking where necessary.

By Terrence Parr, the author of ANTLR.
compiler_tools  compsci  special_purpose_languages 
9 days ago by stu-rem
ANTLR grammar
Collection of ANTLR grammar examples, no Rust, but includes Dart, Golang (and related V), Kotlin, Python, Lua, Ruby, Scala, Clojure, Swift, C++, Objective C (used in a Swift convertor), C#, Java, Erlang; SystemVerilog, Verilog, VHDL, Z notation; and ANTLR itself.

Also data formats such as ASN, CSV & TSV, JSON, protobuf v3, flatbuffers, RFC-822 date-time and email address, Roman numerals, Unicode, URL, XML, XPath; Memcached and ONC-RPC protocols; ReStructuredText.

As well as older languages, C, B (no BCPL), Algol60, Modula2, Pascal, LISP S-expressions, Prolog, Smalltalk, Logo, Asm (6502, 8080, PDP7, Z80), SNOBOL (but not including the SnoCone preprocessor), Rexx, Fortran77, Cobol85, PL/0, Basic, MUMPS, PHP.

Some application-level stuff like PCRE, MySQL, SQLite, GraphQL, R, Matlab; old PL/SQL, PowerBuilder and Informix 4GL.

Even Morse Code (though without character and word separators) and the Guido music markup language!
compsci  special_purpose_languages  compiler_tools 
10 days ago by stu-rem
Why Ada Is The Language You Want To Be Programming Your Systems With | Hackaday (2019)
The Ada programming language was born in the mid-1970s, when the US Department of Defense (DoD) and the UK’s Ministry Of Defence sought to replace the hundreds of specialized programming languages used for the embedded computer systems that increasingly made up essential parts of military projects. Instead, Ada was designed to be be a single language, capable of running on all of those embedded systems, that offered the same or better level of performance and reliability.
programming  CompSci  Hardware  Engineering  arduino  R-Pi 
11 days ago by mfernando
The Riemann Hypothesis (Part 1) - John Baez (2019)
I’ve been trying to understand the Riemann Hypothesis a bit better. Don’t worry, I’m not trying to prove it — that’s a dangerous quest. In what follows I want to keep things as simple as possible, because I’m finding, as I study this stuff, that people are generally too eager to dive into technical details before sketching out ideas in a rough way. But I will skip over a lot of standard introductory stuff on the Riemann zeta function, since that’s easy to find.
Math  Science  CompSci  programming  Learning 
12 days ago by mfernando

Copy this bookmark:

to read