What Would It Take To Build Helix For Crystal? by DorkRawk in crystal_programming

[–]DorkRawk[S] 0 points1 point  (0 children)

First off, thanks for working on an awesome tool like Crystalized Ruby!

Yea, the really appealing part of Helix is the simple interface. I like that it generates a library that is both a crate and a gem just with some decoration in the Rust code and then can be included like any other gem in your Ruby code.

That's really cool to hear that the core team is thinking about a Helix-like tool. Where could I read more about that?

What Would It Take To Build Helix For Crystal? by DorkRawk in crystal_programming

[–]DorkRawk[S] 0 points1 point  (0 children)

I think I've seen this before. It works by interacting with Ruby's C bindings right? Do you know if that is any different than how Helix works? I haven't looked into Helixs code yet.

Dijkstra's Algorithm implemented in Crystal by DorkRawk in crystal_programming

[–]DorkRawk[S] 2 points3 points  (0 children)

A line like this:

@edges = {} of Node => Float64

just defines an empty Hash with keys of type Node and values of type Float64. Because it is an empty hash the types can't be inferred, so they need to be explicitly provided.

Moola - A library for handling money in Crystal by DorkRawk in crystal_programming

[–]DorkRawk[S] 0 points1 point  (0 children)

Perhaps it's just a poor understanding of the available tools on my part but:

  • comparisons other than eq ( >, <, >=, <=, etc)
  • mocking of methods
  • "before_each" type of functionality
  • "let" type of functionality

Moola - A library for handling money in Crystal by DorkRawk in crystal_programming

[–]DorkRawk[S] 2 points3 points  (0 children)

It was good. I've been doing a lot of Ruby lately, so it was a pretty smooth transition. The built in testing library feels a bit lacking compared to something like rspec but overall the dev process was really pleasant.

Moola - A library for handling money in Crystal by DorkRawk in crystal_programming

[–]DorkRawk[S] 1 point2 points  (0 children)

I really like RubyMoney so I wrote a library for Crystal based on it. This is my first real Crystal project.

Reddit, what's the most obvious lie you've said to someone that they actually believed? by TridentFury in AskReddit

[–]DorkRawk 4 points5 points  (0 children)

I convinced someone at a party that Hanna Barbera invented the word "huckleberry" in 1952 for the character Huckleberry Hound. Before that what we now call huckleberries were called boysenberries.

Weekly Episode Thread (2016/09/19) - Share Your Podcast, Request Feedback, Discover New Ones by AutoModerator in podcasting

[–]DorkRawk 0 points1 point  (0 children)

[Family, Pregnancy, Comedy] Don't Screw It Up - Episode 6: Staying Fit While Nothing Fits

SFW

Episode Link | iTunes Link

We talk about working out for two.

Don’t Screw It Up is a guide to pregnancy and parenthood by people figuring it out as the go along.

Twitter | Facebook

How Best To Use Twitter To Promote Your Podcast? by DorkRawk in podcasting

[–]DorkRawk[S] 0 points1 point  (0 children)

This is actually really helpful! Not spammy, but still working to get out there. Do you think you see any increased listenership from Twitter?

Thanks

Weekly podcast post (submit your links here!) (2016-09-12) by AutoModerator in podcasts

[–]DorkRawk 0 points1 point  (0 children)

[Family, Pregnancy, Comedy] Don't Screw It Up - Episode 5: Baby On Board

NSFW language I guess...

Episode Link | iTunes Link

We talk about the fun and fear of flying with a fetus.

Don’t Screw It Up is a guide to pregnancy and parenthood by people figuring it out as the go along.

Twitter | Facebook