Quantcast
Channel: Comments for End of Line
Browsing all 63 articles
Browse latest View live

Comment on Getting to Know the Ruby Standard Library – Shellwords by Wojciech...

Just be careful – Shellwords.escape doesn’t care about multibyte chars. Sometime this can be an issue.

View Article



Comment on 3 Browser Based Editors to Watch by A Quick Look at CodeMirror 2 |...

[...] of Line Skip to content HomeAbout ← 3 Browser Based Editors to Watch March 5, 2011 · 1:10 pm ↓ Jump to [...]

View Article

Comment on 3 Browser Based Editors to Watch by Adam Sanderson

Hey Marijn, thanks for letting me know. I took a quick look at <a href='http://endofline.wordpress.com/2011/03/05/a-quick-look-at-codemirror-2/' rel="nofollow">CodeMirror 2</a>, it's...

View Article

Comment on 3 Browser Based Editors to Watch by I link della settimana |...

[...] IDE/Code Editors nel browser: ACE, Cloud9, Eclipse Orion, SourceKit, CodeMirror. [...]

View Article

Comment on 3 Browser Based Editors to Watch by Text Area Html Editor -...

[...] Originally Posted by b. Does anyone know how to use it in the wordpress post editor? Maybe someone at the Ace Google group could answer. Also, found this post reviewing Ace + 2 other editors: 3...

View Article


Comment on Easily Debug Ruby Loading Issues by Bill Burcham

Good one! I had to comment out the gem method override though because of this (starting up a Rails 2.3.11 server): Bill$ ruby -r ./require_inspector.rb ./script/server | tee > requirements.txt...

View Article

Comment on A Quick Look at CodeMirror 2 by A Quick Look at CodeMirror 2

[...] much faster, and I have to say I’m impressed. CodeMirror 2 is using virtual rendering to… [full post] Adam Sanderson End of Line uncategorized 0 0 0 0 0 [...]

View Article

Comment on Getting to Know the Ruby Standard Library – MiniTest::Mock by...

I wonder, why in line 02 of expects the method’s arguments are assigned to new local variables. Why is this done?

View Article


Comment on Customizing the Ruby TestRunner by dubek

Take a look at the turn gem, it might work for what you’re looking for: https://github.com/TwP/turn

View Article


Comment on The Strange Ruby Splat by Ruby’s Unary Operators and How to...

[...] a lot of magic to splatting but in short, * can be considered to be a unary operator that will 'explode' an array or an object [...]

View Article

Comment on The Strange Ruby Splat by TS

you should mention that passing an array to a method with * will pass it as a reference.. e.g.: a = [1,2,3] def plus1(a) a.each_index |i| a[i] += 1 end end plus1(a) => [2,3,4] plus1(a) => [3,4,5]

View Article

Comment on The Strange Ruby Splat by TS

the array can be modified by the method call, and the modified array will be available after method termination

View Article

Comment on The Strange Ruby Splat by Jarmo Pertman

It doesn’t. It will splat it, but since plus1 takes only one argument then the array will be passed as is. The code will work the same if you lose the * (and if you actually check your code, then you...

View Article


Comment on Introducing RubyDiff by dogs tylenol

Perhaps you should update the php server on your webhost, WordPress is kinda slow..`.*`

View Article

Comment on Introducing RubyDiff by get credit card machine

still replies on this post.. WOW.. must be a warzone

View Article


Comment on The Strange Ruby Splat by A Placeholder for Ruby Splat | HashCode

[...] I was reading the code language/splat_spec.rb at master from rubyspec/rubyspec – GitHub and also this post The Strange Ruby Splat. [...]

View Article

Comment on The Strange Ruby Splat by Shairon Toledo

There’s a similar behavior on Ruby that I named it (by myself) as ‘placeholder’ for this gotcha. Example: langs = ["java", "csharp", "ruby", "haskell" ] l1,(*),l3 = *langs #l1 = “java”, l2 = “ruby”...

View Article


Comment on Getting to Know the Ruby Standard Library – TSort by kongo

In 1.9.2 you can pass a default value when instantiating a Hash, this should keep the original sense: @jobs = Hash.new []

View Article

Comment on Fixing an ‘Ambiguous Head’ in Git by Nick

That’s all well and good, but how do you fix it?

View Article

Comment on Hash Tricks by Ruby, le langage Objet par excellence, un véritable...

[...] Post avec des astuces de contruction Hash  (en) [...]

View Article
Browsing all 63 articles
Browse latest View live




Latest Images