Documenting All Ruby Specialities.
janlelis / idiosyncratic-ruby.com Goto Github PK
View Code? Open in Web Editor NEWDocumenting All Ruby Specialities ๐๏ธ
Home Page: https://idiosyncratic-ruby.com
Documenting All Ruby Specialities ๐๏ธ
Home Page: https://idiosyncratic-ruby.com
Documenting All Ruby Specialities.
In "What the pack" the definitions for N
and V
say they will generate signed integers per 4 bytes, however the documentation for Array#pack
says that N
and V
will generate unsigned 4-byte integers. The "similar to" bits, L>
for N
and L<
for V
, are actually correct as L
is an unsigned integer per 4 bytes too.
I checked back so see if the definition for N
or V
had changed in older rubies, but it seems like they've always been to generate unsigned values, so I'm guessing this is just a typo.
Hello, First I love your great articles and your unmatched in-depth coverage.
While trying some examples from "https://idiosyncratic-ruby.com/66-ruby-has-character" I found some errors - you use:
"\u{65}" # => "A"
as a codepoint example - but A is 65 in decimal and NOT in hex, thus you get
"\u{65}" # => "e"
You have to change 65 to 41 than all works as expected e.g.
"\u{41}" # => "A"
And some more e.g.
Codepoint | Decimal |
-- | -- | -- | -- | -- | --
U+0065 | 101
needs to get corrected to:
U+0041 | 65
Cheers. Prost.
It's 2017, nobody uses RSS anymore ๐ do you mind to post to Twitter as well? ๐
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.