h4ck3r.net
A New Old Processor
http://h4ck3r.net/2010/03/02/a-new-old-processor
A New Old Processor. Lisp all the way down. I was talking about the my new-found excitement for designing a processor from scratch. Clearly there’s a lot of previous research and art to draw on in this area. I started going through some ancient, and some newer. There’s a few decent processors on OpenCores. Cycle accurate version of Z80s, 6502s, simple x86s, etc. Lisp Machines and SIMPLE. An interesting exception to this is SIMPLE. Which at the very lowest level is actually an interpreter for a Lisp.
h4ck3r.net
Suppress 'Terminate batch job (Y/N)?' in cmd.exe
http://h4ck3r.net/2013/07/21/suppress-terminate-batch-job
Suppress 'Terminate batch job (Y/N)? In my ongoing rewrite of cmd.exe from the outside. My next target was the extraordinarily aggravating prompt that cmd presents when you Ctrl-C when running a batch file. C: type x.bat pause c: x c: pause Press any key to continue . . . - Press Ctrl-C here Terminate batch job (Y/N)? Yup I pressed Ctrl-C, I’m pretty sure I want to, you know,. That runs the binary. So, I’ve probably hated that prompt for going on 20 years now. No longer! In another internal function.
h4ck3r.net
Amazing code density
http://h4ck3r.net/2014/05/31/amazing-code-density
Take a look at this very brief demo. You might be thinking it’s a bit charitable to call it a demo because it’s kind of lame but it turns out that version is only 8 bytes. That’s a pretty amazing 8 bytes! I was curious how it worked, so I took a look at an updated version that’s been further optimized to be only 7 bytes long, and even fixes the screen not getting fully cleared. Loop: c4 1c LES bx,[si] 9f LAHF ab STOSW 91 XCHG cx,ax eb fa JMP loop 1. C0 Z0 S0 O0 A0 P0 D0 I1 T0. Next, the STOSW stores AX i...
h4ck3r.net
mingl Very Early Progress
http://h4ck3r.net/2009/11/08/mingl-very-early-progress
Mingl Very Early Progress. On Friday at work, I was very irritated with the state of rendering for demo/sample purposes. Of course at EA, there’s a vast array of snazzy engines that do asset management, post processing effects, particles, etc., etc., and are heavily optimized for the consoles and DX9 platforms. Which is where we get to the point of this post. On the way home I was thinking How hard can it be to write a simple, no-dependency rendering library? That you slap into your project to render som...
h4ck3r.net
MinGL texturing
http://h4ck3r.net/2009/11/17/mingl-texturing
In doing an old-school software triangle texture mapper, I’ve been trolling through some old parts of the internet. I’ve found a huge amount of pages (like the semi-reborn venerable 3D Engines List. With pages that have fully 100% dead links. There’s tons of references to flipcode.com and x2ftp.oulu.fi both of which are long gone but well-remembered in some circles. The best reference I remembered was Chris Hecker’s articles in GDMag, and happily he’s got them online now. Anyway, today Jaap. 05, -0.5).
h4ck3r.net
Really? REALLY? WTF.
http://h4ck3r.net/2009/07/25/really-REALLY-wtf
Js x = []; js x[0] = num0; num0 js x[1] = num1; num1 js x[2] = num2; num2 js x num0,num1,num2 js x[1] = str; str js x num0,str,num2 js. Someone please tell me there’s a way to avoid this idiotic behaviour.
interactivepython.org
Benefits of this Interactive Textbook — Programs, Information, and People: Interactive Edition
http://www.interactivepython.org/runestone/static/pip/index.html
Programs, Information, and People. Runestone in social media:. Benefits of this Interactive Textbook. Programs, Information, and People. Learning with Python: Interactive Edition 2.0. Take a tour, experiment with Python, join. Other readers in learning how to write programs in Python that analyze information produced by people, information such as the text they write, the comments and likes they make on Facebook, or the tags that they give to images on flickr. Benefits of this Interactive Textbook. And D...
pythai.blogspot.com
python in thailand: กันยายน 2009
http://pythai.blogspot.com/2009_09_01_archive.html
Import python for everyone in thailand: happycoding(). วันพฤหัสบดีที่ 24 กันยายน พ.ศ. 2552. บนเวบไซต์อีกตัวที่หนึ่งที่น่าสนใจ สามารถใช้งานได้เลยไม่ต้องลงโปรแกรม. ไม่มีความคิดเห็น:. ลิงก์ไปยังบทความนี้. ป้ายกำกับ: browser. วันอังคารที่ 15 กันยายน พ.ศ. 2552. Is MATLAB engine for Python. ไม่มีความคิดเห็น:. ลิงก์ไปยังบทความนี้. ป้ายกำกับ: matlab. วันพฤหัสบดีที่ 3 กันยายน พ.ศ. 2552. อยากลองไพธอน แต่ไม่อยากลงโปรแกรม ใช้ TryPython. ไม่มีความคิดเห็น:. ลิงก์ไปยังบทความนี้. ป้ายกำกับ: browser. Python 2.7.2.
interactivepython.org
Benefits of this Interactive Textbook — Programs, Information, and People: Interactive Edition
http://www.interactivepython.org/runestone/static/pip2/index.html
Programs, Information, and People. Runestone in social media:. Join a Study Group. Programs, Information, and People. Learning with Python: Interactive Edition 2.0. Take a tour, experiment with Python, join. Other readers in learning how to write programs in Python that analyze information produced by people, information such as the text they write, the comments and likes they make on Facebook, or the tags that they give to images on flickr. Benefits of this Interactive Textbook. On line 12: change.