ruby.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
If you are interested in the Ruby programming language, come join us! Tell us about yourself when signing up. If you just want to join Mastodon, another server will be a better place for you.

Administered by:

Server stats:

1K
active users

#rake

0 posts0 participants0 posts today

Hi, I’m new here, and I guess I should do an #introduction. My name is Ian, and I’m a singer/songwriter from British Columbia, Canada living in Thüringen, Germany. My vehicle of choice to turn my words into song is the #ukulele. I am especially fond of the #baritoneukulele. Here’s a clip of Jan Haasler and myself playing #rake by #TownesVanZandt youtu.be/pYOCX90q6Rk?si=CmjUHt

My Township is trying to either regulate or eliminate gas powered leaf blowers & vacuums. There was a post about it on nextdoor.com, and I tried to engage a landscaper who was complaining about it. He called me a tree hugging pansy. This, my friends, is a big part of the problem. how does one have civil discourse with someone who is uncivilized?

And I challenge the idea it takes twice as much time to rake as it does to vacuum or blow but, yes, I would pay more.

I tend not to agree with Cleaver Greene from Rake often, but he has a point about people (ReplyGuys) who use "Correct" in conversation..

[video clip from the TV show Rake: two women sitting at a table with others, at a birthday dinner in a fancy restaurant. Cleaver is also in attendance]

Leanne's friend:
You know, it's the wretched politics which drives me nuts. It's supposed to be a happy event..

Leanne:
Correct. That is absolutely correct.

Cleaver (interrupting):
Oh, excuse me.. sorry. Linda, isn't it?

Leanne:
Leanne

Cleaver:
Leanne. Sorry to interrupt, Leanne, but I'm curious about something..

Leanne:
Oh, yes?

Cleaver:
I've noticed you say the word "correct" a lot.

Leanne:
Really?

Cleaver:
Yeah

Leanne:
I hadn't noticed

Cleaver:
Yes, when somebody says something that you agree with, you don't say 'yes' or 'uh-huh', or even, 'you go, girl!', you say 'correct'.

Leanne:
...I'm sorry, you've lost me, Cleaver.

Cleaver:
Oh, well it's sort of like a school teacher talking to a ten year old, you know? You're not actually agreeing, you're approving. It's as if the statement is invalid until you deem it so.

Leanne:
Your point being?

Cleaver:
Well, it's like you're an arbiter of the truth. It's a way of being smug and superior, Leanne, which is why so many fuckwits in the city use it. And now it's spread into the mouths of the spouses like some sort of contagion. Your kids'll be saying it soon from the backseat of the four wheel drive Porsche, feeling safe and smug and superior! Buying a Porsche SUV, for the sake of the kids' safety, I don't think I've heard such transparently banal bullshit in my entire life! (Leanne throws a glass of wine in his face)
You go girl!
_____

m.youtube.com/watch?v=2xZEJvDl

A new tool for the #marketgarden made mostly from workshop scraps: A wide #rake to mark drills for #sowing and #planting.
Originally, I wanted to use the metal rake in the first picture for this, but the angle of the pins was just not right.

So I made one from two pieces of batten, a handle bought (as a hoe) from a discounter for 7€, some wood dowels and a bit of hose.

My beds are 80cm wide so the distance between the outer pins is 70cm. This way, I have 5cm to the edges on each side.
There is a total of nine pins. Depending on the number of pieces of hose I put on, I can mark up to nine rows on the bed in one go.
The bed has to be flat though, but here the metal rake comes handy.

7€ and 1 1/4h work - I'm pretty chuffed.

Continued thread

Alternatively, you could define a `task` with the file name to fake a `file` task:

task 'lib/generated.rb' do
...
end

or you could put the file building logic in a task, and have the `file` task depend on it:

task :generate_the_file do
...
end

file 'lib/generated.rb' => :generate_the_file

TIL if you define a rake `file` task that depends on another rake `task` task, it will *always* regenerate the file. This can come in handy if you want to always re-generate the file.

task :foo do
# do some stuff
end

file 'lib/generated.rb' => :foo do
# build lib/generated.rb
end

Replied in thread

@ervan Without changing your actual or setup, you can create multiple tasks to run specific tags or spec files. Then use (or `parallel` from ) to run the tasks on multiple CPUs or cores. For GNU, see the `-j`, `--use-cores-instead-of-threads`, and `--use-sockets-instead-of-threads` flags.

You can also use subshells or background tasks for OS allocation in , , or . Also, consider threading without a GIL on .

Link blog entry for "Tips for writing Rails tasks with Thor instead of Rake": Thor is a great way to write simple CLIs like one-off Rails scripts, but it does have its own gotchas. Here’s how to use Thor in practice. (mattbrictson.com/blog/rails-ta)
, ruby, thor, cli, howto

mattbrictson.comTips for writing Rails tasks with Thor instead of RakeThor is a great way to write simple CLIs like one-off Rails scripts, but it does have its own gotchas. Here’s how to use Thor in practice.

Ported digest-crc to Crystal, which also lead me to making improvements to digest-cr. Fixed a few things, added more CRC algos from pycrc, and did a code spike last night to build C extensions for the pure-Ruby `update` methods and override them when loaded. Appears to work fine when build manually. Now, if only I could get rake-compiler to work... :/

-compiler