Better HN
topnewbestaskshowjobs
Log inSign up

jcw

461 karma · joined Jun 29, 2009 (17y ago) · 142 submissions

Submissions

comment 15y ago · link · parent

my first though, after seeing this, is to write a vim mapping that will let me listen to a file instantly.

comment 15y ago · link · parent

I'm surprised no one has suggested a vim or emacs plugin that does this yet. Anyone?

I don't think this would be too difficult to write in vim, which has built-in auto-complete functions.

comment 15y ago · link · parent

It doesn't look like he used 1.0 in the video. Did I miss something?

comment 15y ago · link · parent

Why is it anti-aliased?

Also, what license is the code?

comment 15y ago · link · parent

Nice! I love little glimpses like this to hacking and the web and the culture around it all in the 90's.

I used to read this during finals, when not sleeping enough and needing some motivation: http://www.jwz.org/gruntle/nscpdorm.html

Finals are in full swing again, time to re-read it.

comment 15y ago · link · parent

LOVE2D provides a very easy way to deploy binaries:

http://love2d.org/wiki/Game_Distribution

Also, py2exe is reliable and not that difficult to set up, but py2app is a bit of a pain. The resultant .app directories are also pretty big. My game is 6.5mb in Windows, and 32mb in OS X.

comment 15y ago · link · parent

Also, I understand that some people (including me) do have fun tinkering with low level details and tiny optimizations, but when you're making a small game with a small (even solo) team, these tasks tend to work against making a good game.

comment 15y ago · link · parent

LOVE2D is a joy to work in. It really is fun, it makes particle effects and physics and sound easy. The community is awesome.

I have been working, since September, on my senior project in Pygame. It isn't fun to work in. The documentation is great, but the community seems dead. Things are not easy in Pygame. Distribution is especially painful, with py2exe and py2app and setuptools. I've had a lot of trouble getting certain sounds to play. I would not recommend it.

Really, go with LOVE2D or Flixel or even Flash if you want to make games in a high level language. Not only that, but if you want to have _fun_ making a game, and not get bogged down in low-level details.

I would not recommend Pygame.

comment 15y ago · link · parent

Yeah, this is funny, there is novelty here, etc. A story counting profanities in source code/commits/etc. pops up every now and then.

I've found that the only real profanity in a source code comment is "HACK".

My swear jar overflows with quarters.

comment 15y ago · link · parent

I'm happy to see that, while he did something wrong, because he was honest and openly remorseful throughout, he ended up not going to prison. The cops even seemed cordial, they let him get breakfast and a smoke.

I wonder how differently things would have played out if he lived in the US.

comment 15y ago · link · parent

Markdown is a good start, the minimal syntax is nice to look at, and it could be poweful with an inline scripting language to define macros (Ruby, Python, Lua).

comment 15y ago · link · parent

I read an article a while back that said after the engineer that wrote GOAL left the company, they stopped using it and went back to pure C++ or something.

Hearing that they use Racket now, that just makes me all happy inside.

comment 15y ago · link · parent

Yeah. I think what you (and I) really want is a phone with a two-color LCD screen from seven years ago.

Actually, I think those are called tracfones, but they have a stigma of being used by only elderly people. Dang it.

comment 15y ago · link · parent

Thanks, I've been looking for a good tutorial on this for a while. Going to try to implement this in Minecraft (it's funny how Minecraft has incidentally made circuitry easier to get into).

comment 15y ago · link · parent

Peter Serafinowicz, one of the two guys that created and wrote the show (he also plays the tall scientist in it), also made the music for it:

http://en.wikipedia.org/wiki/Peter_Serafinowicz#Composer

comment 15y ago · link · parent

I didn't know that, are they still sending out these coupons?

comment 15y ago · link · parent

I could rant about a few things that bug me, but please let 2.8 bring a single-window UI. That would confirm to me that they're slowly getting towards something more usable.

comment 15y ago · link · parent

I've been using this zsh function for a year or two:

        jr () {
            echo "---"
            echo "\n##"`date +" %a %D %l:%M%P"` >> ~/journal.txt 
            cat >> ~/journal.txt
        }
It usually emits 72 dashes, so that I can stay within that margin (manually, heh). Edited to not break HN. The '##' is because I habitually markdown format everything.

comment 15y ago · link · parent

The Little Schemer would be great in this format.

comment 15y ago · link · parent

As a vim user, I very much lament the fact that there's no good way to run an interactive shell or REPL in vim. The screen hack, Conque, the vim-shell patch, etc., don't match Emacs' REPL functionality.

comment 15y ago · link · parent

I have a half-written xterm color scheme generator lying around. Has this also been already made, or is it worth finishing?

comment 15y ago · link · parent

Yep. This kind of stuff can also be done with vimscript, python, or ruby, but macros are short and terse and easy to write. Vim even allows you to record your keypresses and save them to a macro.

comment 15y ago · link · parent

I've been doing some research on small web servers, trying to understand didiwiki's code (a web server and wiki engine in ~2k lines of C):

http://c2.com/cgi/wiki?DidiWiki

This is a nice introduction to writing a minimal web server:

http://www.ibm.com/developerworks/systems/library/es-nweb/in...

comment 15y ago · link · parent

No no no no no no no.

comment 15y ago · link · parent

A little encouragement can inspire someone to do better.

comment 15y ago · link · parent

Why is it that these are a mystery to most command-line users? Any linux documentation that would be useful to intermediate users, like this article, is scattered across the internet. Even published books don't seem to cut it, and man pages are often too terse and dense to be readable. Is there a thorough, concise linux documentation that I don't know about?

comment 16y ago · link · parent

The Greatest Salesman in the World is still being published, I have a copy sitting on my bookshelf right now. It was a gift, and I never read it. If anyone knows, what are the difference between the two?

comment 16y ago · link · parent

I agree. In such a small font it would be easier to make n, m, and w look unique than N, M, and W.
12345