Readit News logoReadit News
jacobevelyn commented on The most otherworldly, mysterious forms of lightning on Earth   nationalgeographic.com/sc... · Posted by u/Anon84
jacobevelyn · 2 months ago
I expected ball lightning to be mentioned in the article: https://en.wikipedia.org/wiki/Ball_lightning
jacobevelyn commented on Ruby 3.5 Feature: Namespace on read   bugs.ruby-lang.org/issues... · Posted by u/ksec
jacobevelyn · 4 months ago
I see a lot of comments here asking about practical motivations for this feature. One I'll share is that in a gem I help maintain, we benchmark git branches of the gem against `main`, and we also benchmark against multiple other gems that sometimes have namespace collisions with each other. To make this work, we use a third-party gem[0] and an anonymous module trick[1] that are each a bit hacky.

That being said, I have no particular stance on whether this feature is a good change to the language; in a decade of Ruby this is the only situation I can recall that really merited it, and the concerns articulated by byroot and others do resonate with me.

[0] https://github.com/panorama-ed/memo_wise/blob/main/benchmark... [1] https://github.com/panorama-ed/memo_wise/blob/main/memo_wise...

jacobevelyn commented on Show HN: Bayleaf – Building a low-profile wireless split keyboard   graz.io/articles/bayleaf-... · Posted by u/sgraz
robenkleene · 6 months ago
For folks looking for something similar that you can buy https://hellonuio.com/
jacobevelyn · 6 months ago
Ooh thank you for the tip!
jacobevelyn commented on Show HN: Bayleaf – Building a low-profile wireless split keyboard   graz.io/articles/bayleaf-... · Posted by u/sgraz
jacobevelyn · 6 months ago
This is the keyboard I’ve been hoping Apple would make for years! I’ve currently got a UHK 60 but would probably switch to this if I could buy it. Especially if it had the standard Apple keyboard layout so my fingers don’t need to relearn things like arrow keys and cmd like when I switch between the UHK and MacBook keyboard.
jacobevelyn commented on The intricacies of implementing memoization in Ruby   denisdefreyne.com/article... · Posted by u/thunderbong
mmahemoff · 8 months ago
I've come across memoize gems before and thought, "do I really need to introduce a dependency when I can save results into a hash", but this makes a convincing argument to leverage a gem like memo_wise. Clean DSL syntax and the perf gains are much nicer than micromanaging it.
jacobevelyn · 8 months ago
memo_wise maintainer here. No pressure from me to try it out, but if you do use it and have any feedback or suggestions please let us know!
jacobevelyn commented on Running Speeds   allendowney.com/blog/2023... · Posted by u/alexmolas
jacobevelyn · 2 years ago
Semi-related: years ago I made a silly little running pace converter site: https://pace.ninja/

I’m not a huge runner but still find myself using it all the time, both for my own occasional running goals and to satisfy my curiosity for questions like “how quickly would an elite sprinter’s pace finish a marathon?”

jacobevelyn commented on Versepad – A text editor for poets   versepad.com/... · Posted by u/notmysql_
powersnail · 3 years ago
How does it determine where are the stresses? Is it based on just the word itself?

I'm very new to English poetry, I might be entirely wrong here. But when I input some famous poems, the way this app puts stresses is quite a bit different from my understanding.

For instance, for

> Bards of Passion and of Mirth,

It sees _and_ as unstressed, the second _of_ as stressed, and _Mirth_ as unstressed, which doesn't quite make sense to me to be honest.

> Tomorrow and tomorrow and tomorrow

It sees both _and_ as unstressed, while my understanding is that this verse is better read as fully iambic, putting stresses on both _and_.

> And what is love? It is a doll dress'd up / For idleness to cosset, nurse and dandle

https://i.imgur.com/raPMDnc.png

It sees four consecutive unstressed syllables. I'm not sure what is the logic here.

jacobevelyn · 3 years ago
Thanks for the thoughtful feedback and questions! The meter detection algorithm is by far the most complex piece of this code, and you're right that it still sometimes generates unintuitive results. I'm always looking for more examples to add to my test suite to make improvements, so I really appreciate you sharing what you tried.

It tends to behave poorly when there's a word it doesn't recognize (like "doll'd"—I hope to add support for more of these poetic spellings just as I added support for spelling words like "dancing" as "dancin'"), so that might be partly at play with some of what you're seeing. But I think there's also something else going on here—it previously didn't ever generate so many consecutive syllables with the same stress, so I probably introduced a regression at some point. I'll investigate and add more tests for that too!

Lastly, a byproduct of my own background and the corpuses I use is that this does work better with "modern" poetry. For example, Shakespeare's Sonnet 29 starts with this line:

> When, in disgrace with fortune and men’s eyes

In the intended iambic pentameter, it would be:

> when, IN disGRACE with FORtune AND men's EYES

I don't know enough history to know if people ever spoke English like that, but that interpretation is way off to a modern reader. If I didn't know it was supposed to be iambic and was trying to diagram the stresses, I'd do something like:

> WHEN, in disGRACE with FORtune and MEN'S EYES

Meter is hard!

jacobevelyn commented on Versepad – A text editor for poets   versepad.com/... · Posted by u/notmysql_
pandatigox · 3 years ago
Amazing! Is it just me though, the rhyme scheme detection seems poor? I've been using the examples from their updates page, and even then it seems to miss internal rhymes?
jacobevelyn · 3 years ago
Hi! You're right that rhyme detection can be improved, and rhyme scheme currently only considers words at the end of each line. I'd love to hear how you'd expect/want an internal rhyme feature to work. What would it look like? How would it avoid clutter when also showing syllables or meter?
jacobevelyn commented on Versepad – A text editor for poets   versepad.com/... · Posted by u/notmysql_
nathell · 3 years ago
It’d be cool to have it support villanelles, where you can type in the first stanza and it’d pre-fill the patterned lines in the remaining five.
jacobevelyn · 3 years ago
Thanks for the feedback! I would love to eventually support multi-stanza forms like villanelles and sestinas but that requires some more thought. Are there other forms or features you'd use?

u/jacobevelyn

KarmaCake day472October 21, 2013
About
Get in touch!

https://ja.cob.land

View Original