News for hackers. Stuff that matters.

jcw

Re:Beats Drum Machine on Saturday May 14, 2011 @03:25PM (#2548357)
my first though, after seeing this, is to write a vim mapping that will let me listen to a file instantly.
Re:What's your favorite text editor/IDE? on Monday March 21, 2011 @09:35AM (#2349553)
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.

Re:Man upgrades Internet Explorer 1.0 to 9.0 on Thursday March 17, 2011 @06:48PM (#2338494)
It doesn't look like he used 1.0 in the video. Did I miss something?
Why is it anti-aliased?

Also, what license is the code?

Re:Jwz's Tent of Doom at Netscape in 1995 on Wednesday March 02, 2011 @09:45PM (#2282511)
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.

Re:Löve 0.7.1 (lua game framework) is released on Friday February 25, 2011 @06:41PM (#2264247)
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.

Re:Löve 0.7.1 (lua game framework) is released on Friday February 25, 2011 @02:19PM (#2263415)
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.
Re:Löve 0.7.1 (lua game framework) is released on Friday February 25, 2011 @02:14PM (#2263396)
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.

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.

Re:The Boy Who Stole Half-Life 2 on Monday February 21, 2011 @11:36AM (#2245974)
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.

Re:Why I do my resume in LaTeX on Saturday February 19, 2011 @11:49AM (#2239319)
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).
Re:Making Crash Bandicoot, by Andy Gavin and Jason Rubin on Thursday February 10, 2011 @09:18AM (#2202000)
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.

Re:John's Phone: a minimalist cell phone on Wednesday January 26, 2011 @10:14AM (#2143494)
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.

Re:Building a 4 bit computer from Transistors on Thursday January 20, 2011 @05:45PM (#2125638)
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).
Re:Look Around You - Maths on Thursday January 13, 2011 @11:09PM (#2102498)
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

Re:What Went Wrong at Borders on Thursday January 13, 2011 @11:14AM (#2100241)
I didn't know that, are they still sending out these coupons?
Re:Plans for Gimp 2.8 and beyond on Wednesday January 12, 2011 @06:39PM (#2098194)
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.
Re:Great Men Keep Journals on Tuesday January 11, 2011 @04:43PM (#2093669)
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.
Re:Learning Advanced JavaScript on Monday January 10, 2011 @11:56AM (#2088958)
The Little Schemer would be great in this format.
Re:Whats New in Emacs 24 on Sunday January 02, 2011 @06:45PM (#2061506)
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.
Re:GNU Emacs Theme Generator (beta) on Thursday December 30, 2010 @07:45PM (#2054073)
I have a half-written xterm color scheme generator lying around. Has this also been already made, or is it worth finishing?
Re:Vim plugin makes Ruby blocks into text objects on Monday December 27, 2010 @04:19PM (#2043690)
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.
Re:Bjoern: A screamingly fast Python WSGI server written in C. on Friday December 24, 2010 @11:44AM (#2037488)
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...

No no no no no no no.
Re:67% don’t get enough positive feedback on Tuesday December 07, 2010 @05:13PM (#1980866)
A little encouragement can inspire someone to do better.
Re:Sick Linux Commands on Saturday December 04, 2010 @11:50AM (#1969577)
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?
Re:How to build discipline and brainwash yourself on Wednesday November 24, 2010 @03:00PM (#1938376)
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?
Re:1 pixel by 5 pixel font on Wednesday November 24, 2010 @02:57PM (#1938367)
I agree. In such a small font it would be easier to make n, m, and w look unique than N, M, and W.
Re:1 pixel by 5 pixel font on Wednesday November 24, 2010 @02:56PM (#1938364)
I wouldn't say your font is completely readable, but each character is unique, so learning to read it would almost be like learning a new alphabet. Perhaps then one could read it fluently.

After working on it, can you easily read text in your font?

Re:Clojure game development wiki on Thursday November 18, 2010 @12:39PM (#1918568)
I've tried to write games in a pure FP style in Scheme, and, like Hague, found that the difficulty is in keeping track of state in a sane and efficient way.

I suspect that Haskell's monads are a solution. Can someone with Haskell experience attest to this?

Older »