由我来组成头部!

RednaxelaFX 2009-09-28
night_stalker 写道
fx 如果要大量存 mark,就给你管理员吧。

给我吧。虽然我不知道除了能置顶和杀广告外还能干什么……
  —— 可以编辑别人的帖子很爽 ……
-- 原来如此 --
iaimstar 2009-09-28
深夜福利

http://220.170.79.48/html/music/20090923/48932.html
RednaxelaFX 2009-09-28
某个能力完美体现了race condition
iaimstar 2009-09-28
什么能力。。。

  -- 请看这帖这页最上面的回复内容 --
RednaxelaFX 2009-09-28
Hello, EcmaScript v5
引用
Wednesday, Sept. 23 , Ecma TC39 approved the final version of the ECMAScript 5 specification
and forwarded it to the Ecma General Assembly for final ratification as an Ecma standard. If
all goes well, it will  be ratified  by the GA in December.

The final versions is now available in Word and PDF forms at
http://wiki.ecmascript.org/doku.php?id=es3.1:es3.1_proposal_working_draft

Allen Wirfs-Brock
ECMASCript 5th Edition Project Editor.
night_stalker 2009-09-28
马克
   256 字节的解构主义诠释
http://meatfighter.com/puls/

再马克一个MSDN blog
  Aaron Stebner's WebLog
night_stalker 2009-09-29
顺手:
  arr << (case c
    when /[+-]/ ; "cell[ptr] ||= 0; cell[ptr] #{c}= 1"
    when '>' ; 'ptr += 1'
    when '<' ; 'ptr -= 1'
    when '[' ; 'while 0 != cell[ptr]'
    when ']' ; 'end'
    when '.' ; 'print (cell[ptr] || 0).chr'
    when ',' ; 'cell[ptr] = STDIN.getc'
  end)


发现 eval 真是好东西 …… 如果去掉引号就变成解释器而不是编译器了。
RednaxelaFX 2009-09-29
class HelloWorldBuilder
  def data
    @data
  end
  
  def self.build &blk
    HelloWorldBuilder.new do |hb|
      hb.instance_eval &blk if block_given?
    end
  end
  
  def generate
    HelloWorldRunner.new @data.join(' ')
  end
  
  def initialize
    @data = []
    yield self if block_given?
  end
  
  class HelloWorldRunner
    def initialize msg
      @msg = msg
    end
    
    def run
      puts @msg
    end
  end
  
  %w[Hello World!].each do |n|
    module_eval do
      define_method n.to_sym do
        @data.unshift n
      end
    end
  end
end

hb = HelloWorldBuilder.build do
  Hello World!
end

hb.generate.run

各种eval的hello world

class HelloWorldBuilder
  def data
    @data
  end
  
  def self.build &blk
    HelloWorldBuilder.new do |hb|
      hb.instance_eval &blk if block_given?
    end
  end
  
  def generate
    HelloWorldRunner.new @data.join(' ')
  end
  
  private
  
  def initialize
    @data = []
    yield self if block_given?
  end
  
  class HelloWorldRunner
    def initialize(msg)
      @msg = msg
    end
    
    def run
      puts @msg
    end
  end
  
  def method_missing(name, *args, &block)
    @data.unshift name
  end
end

hb = HelloWorldBuilder.build do
  Hello World Again!
end

hb.generate.run

各种method_missing的hello world
RednaxelaFX 2009-09-29
各种马克之Joe Duffy篇:
http://www.bluebytesoftware.com/blog/2009/09/29/2ndEditionOfConcurrentProgrammingOnWindows.aspx
他要开写Concurrent Programming on Windows第二版了。

各种马克之Brad Abrams篇:
http://www.slideshare.net/brada/framework-design-guidelines-for-brussels-users-group
10年框架设计指引经验谈,暂时没抓下来,马克

各种马克之Bill Venners篇:
Scala's Stackable Trait Pattern
Abstract Type Members versus Generic Type Parameters in Scala

各种马克之JE问答篇:
http://www.iteye.com/problems/26194
一开始猜只是字符编码问题,Java内部是用UTF-16而Ruby默认是系统编码,但似乎解决了编码差异也还是有问题。马克
http://www.iteye.com/problems/26196
Erlang编程问题。看起来很容易。马克
http://www.iteye.com/problems/26222
Ruby的block与eval的实现问题,马克
http://www.iteye.com/problems/26767
ray_linn大大问Ruby调用Win32 API的问题,马克
http://www.iteye.com/problems/30844
有趣的离散数学题,写程序实现算法求传递闭包,马克

http://stackoverflow.com/questions/252893/how-do-you-change-the-classpath-within-java
爆栈问题:用URLClassLoader来加载不在classpath上的类

各种马克之山寨自己的语言:
http://createyourproglang.com/
tinyrb作者出书了

各种马克之在游戏中使用静态检查技术:
Game Scripting Memo: 静的解析ツールのゲーム開発への導入事例

Java抓内存管理问题马克
http://www.iteye.com/topic/481170

各种马克之链接马克:
Kirill Osenkov: Links
一大堆C#链接

SharpDevelop 4的基于WPF的代码编辑器
Daniel Grunwald: Using AvalonEdit (WPF Text Editor)

各种马克之NyaRuRu三连星:
電卓の話
単位の話
次元の話
顺带马克下Curl

各种马克之虚拟机DIY in C#:
CodeProject: B32Machine -- A Virtual Machine in C#
但貌似比较不太行……

Anton Ertl's site of Forth and Java compiler, etc
东四环屠夫 2009-09-30
史上最淫,地上最荡,bf compiler in bf

http://www.nada.kth.se/~matslina/awib/awib-1.0rc6-BETA.b
Global site tag (gtag.js) - Google Analytics