Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
stevelosh
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
13 ms
·
61.
▲
by
stevelosh
9y ago
> I was greatly disappointed with this book because none of the 'Game' examples had a graphical interface to them. They are all text based. Chapter 19 is titled "Creating a Graphical, Web-Based Version of Dice of Doom"
62.
▲
by
stevelosh
9y ago
Common Lisp doesn't have it built in, but the cl-interpol library adds this (and you can add your own custom delimiters too). http://weitz.de/cl-interpol/#syntax
63.
▲
by
stevelosh
9y ago
I moved from Clojure to Common Lisp a few years ago. I still use (Neo)Vim, using VLIME for Common Lisp interaction: https://github.com/l04m33/vlime It works great.
64.
▲
by
stevelosh
9y ago
+screen-width+ is 64, which means SBCL can convert the multiply to a left shift if we care about speed and declare types: (defun foo (chip y) (declare (optimize speed) (type chip chip) (type int16 y
65.
▲
by
stevelosh
9y ago
Less typing/reading.
66.
▲
by
stevelosh
9y ago
Vanilla macros are one option. (defmacro html (string) (some-html-parser-library:parse string)) Or you could use a function and a compiler macro to make it more of an optimization -- if the argument is known at compile-time just
67.
▲
by
stevelosh
9y ago
And of course the stuff necessary for word-wrap-in-`format`: (format t "~{~<~%~1,40:;~A~> ~}" '("these" "words" "will" "be" "wrapped" "to" "40
68.
▲
CHIP-8 in Common Lisp: Menus
(stevelosh.com)
1 points
by
stevelosh
10y ago
|
0 comments
69.
▲
CHIP-8 in Common Lisp: Debugging Infrastructure
(stevelosh.com)
3 points
by
stevelosh
10y ago
|
0 comments
70.
▲
CHIP-8 in Common Lisp: Disassembly
(stevelosh.com)
3 points
by
stevelosh
10y ago
|
0 comments
71.
▲
CHIP-8 in Common Lisp: Sound
(stevelosh.com)
1 points
by
stevelosh
10y ago
|
0 comments
72.
▲
CHIP-8 in Common Lisp: Input
(stevelosh.com)
3 points
by
stevelosh
10y ago
|
0 comments
73.
▲
by
stevelosh
10y ago
If you've never done Common Lisp before, it's better to start by looking at `loop`, which is a built-in macro that provides a bunch of different ways to loop/iterate: http://www.gigamonkeys.com/book/loop-
74.
▲
by
stevelosh
10y ago
┌─────┐◀──────── master │Merge│◀──────── bugfix └▲───▲┘ │ │ │ │ │ ┌─┐ │ │B│ │ └▲┘ ┌─┐ │ │A│ │ └▲┘ │ └───┤ │ ┌────────┐ │Ancestor│ └────────┘ Which br
75.
▲
CHIP-8 in Common Lisp: Graphics
(stevelosh.com)
91 points
by
stevelosh
10y ago
|
12 comments
76.
▲
CHIP-8 in Common Lisp: The CPU
(stevelosh.com)
125 points
by
stevelosh
10y ago
|
70 comments
77.
▲
by
stevelosh
10y ago
Oh yeah, I forgot Apple Maps doesn't have bus stops here at all either. Google Maps only draws them when you're zoomed way in, but at least they're there .
78.
▲
by
stevelosh
10y ago
Apple Maps is also garbage in Iceland. One example: Google Maps has walking paths in Reykjavík and Apple doesn't have them at all. For someone who doesn't have a car here (me) that's kind of important.
79.
▲
Playing with Syntax
(stevelosh.com)
3 points
by
stevelosh
10y ago
|
0 comments
80.
▲
August 2016 Lisp Game Jam Postmortem
(stevelosh.com)
4 points
by
stevelosh
10y ago
|
0 comments
81.
▲
What is Symbolic Computation?
(stevelosh.com)
113 points
by
stevelosh
10y ago
|
41 comments
82.
▲
Terrain Generation with Diamond Square
(stevelosh.com)
3 points
by
stevelosh
10y ago
|
1 comments
83.
▲
Terrain Generation with Midpoint Displacement
(stevelosh.com)
68 points
by
stevelosh
11y ago
|
10 comments
84.
▲
by
stevelosh
11y ago
Django's built-in pagination supports this: https://docs.djangoproject.com/en/1.9/topics/pagination/#opt...
85.
▲
by
stevelosh
11y ago
I've only contributed a few patches to Mercurial but meeting Matt and learning from him (mostly on the HG mailing lists) has taught me a lot. He's influenced how I think about and work with code at a really basic level. I wish him
86.
▲
Ludum Dare 34 Postmortem
(stevelosh.com)
3 points
by
stevelosh
11y ago
|
0 comments
87.
▲
What the Hell Are Permutation Patterns?
(stevelosh.com)
2 points
by
stevelosh
11y ago
|
0 comments
88.
▲
Just Beat the Data Out of It: Round 2 with the Bob Ross Twitch Chat
(stevelosh.com)
1 points
by
stevelosh
11y ago
|
0 comments
89.
▲
by
stevelosh
11y ago
Yep I'm bad at copy/paste. Fixed, thanks.
90.
▲
by
stevelosh
11y ago
Not as far as I know. Let me know if you do find it -- I'm kicking myself for not thinking of scraping it then.
More ›