HNHacker News
TopNewBestAskShowJobs

wjbr

18 karma · joined March 21, 2011

William Bettridge-Radford

www.williambr.co.uk

submissionscomments
wjbr··on This game is a single 13 KiB file that runs on Windows, Linux and in the Browser
I've been reminded of this while playing Metroid Prime 4.

I wonder what kinds of modern games we could make with these same ideas.

wjbr··on Pretty.c
static int pretty_float_equal (float a, float b) { return fabsf(a - b) < FLT_EPSILON; }
wjbr··on Changing my relationship with GitHub Copilot
I've been enjoying `cody` for exploring old open source code bases.

https://docs.sourcegraph.com/cody/overview

I've not used the copilot like features, but asking questions has been very useful.

wjbr··on Lisp in Space
If the lisp has read macros you can add it yourself.

There's: sweet-expression

https://srfi.schemers.org/srfi-110/srfi-110.html

https://sourceforge.net/p/readable/wiki/Examples/

    define fibfast(n)  ; Typical function notation
      if {n < 2}       ; Indentation, infix {...}
        n              ; Single expr = no new list
        fibup(n 2 1 0) ; Simple function calls

    define fibup(maxnum count n-1 n-2)
      if {maxnum = count}
        {n-1 + n-2}
        fibup maxnum {count + 1} {n-1 + n-2} n-1

    define factorial(n)
      if {n <= 1}
        1
        {n * factorial{n - 1}} ; f{...} => f({...})
wjbr··on Forth: A New Way to Program a Mini Computer (1974)
How would it work with more than two arguments?

  (+ 1 2 3)
wjbr··on Lisp.py
How would you do it?
wjbr··on Microsoft 3D Movie Maker Source Code
I think Foone has been asking about this for 15+ years at this point.

I'd love to see classic Notepad and MS Paint too.

wjbr··on Puny GUI – A tiny cross platform GUI Kit in Janet
https://developer.android.com/ndk

Android NDK

The Android NDK is a toolset that lets you implement parts of your app in native code, using languages such as C and C++. For certain types of apps, this can help you reuse code libraries written in those languages.

wjbr··on NeXT: Steve Jobs’ Dot.com IPO That Never Happened
'The Machine to build the Machines' https://www.youtube.com/watch?v=sT6aphdX0rI
wjbr··on YouCompleteMe, a Fast, As-You-Type, Fuzzy-Search Code Completion Engine for Vim
Shift-tab works with SuperTab in the console.
wjbr··on Hacker Workspaces
RPS had a nice write up in Feb.

http://www.rockpapershotgun.com/2012/02/22/hard-choices-the-...

wjbr··on Open sourcing all my private projects
http://hackety.com/
wjbr··on Show HN: Official Release of Gmelius, A Better Gmail in Chrome, Firefox & Opera
I read the original as an indirect question.

Will anyone be able to pronounce this?

wjbr··on Know Your Gmail Stats using Gmail Meter
I'm using NoScript, all I got was a white page.
wjbr··on A Lisp based programming language I'm creating
If you add significant white space while keeping the prefix notation, it kinda looks like python.

https://gist.github.com/2401588

wjbr··on Take Over The Galaxy with GitHub (DCPU16 support)
Did they ever get released to the public?
wjbr··on Codename: Svbtle by Dustin Curtis
The attack and sustain stages aren't long enough.

If they were longer like the breathing sleep LED on apple laptops it would be less noticeable.

wjbr··on Python Koans: Learn Python by making tests pass
I've got colours on WinXP with cmd.exe.