Elektrine
Log in Register
Paige Chat Timeline Gallery Friends Email Drive DNS Private DNS Domains VPN Kairo Nerve
Remote

ellnix

@ellnix@fosstodon.org
mastodon 4.7.3
  • Open on fosstodon.org
0 Followers
0 Following
5 Posts
Joined June 20, 2024
Open post
ellnix @ellnix@fosstodon.org
· 7mo ago
Replying to
@blinry@chaos.social ruby's irb and python have the same feature with the _ variable! IRB: irb(main):001> 5 + 2 => 7 irb(main):002> _ => 7 Python also seems to avoid overriding _ when your statement returns None: >>> 5 + 2 7 >>> _ 7 >>> print("hello world") hello world >>> _ # still 7! 7 >>> None >>> _ # still 7! 7
6
3
2
0
Open post
ellnix @ellnix@fosstodon.org
· 18mo ago
Replying to
@amartya@fosstodon.org Looking forward to more from your blog! Judging by the URL it seems to be just a HTML file, but if you ever decide to make posting more automated, please consider providing an RSS/Atom feed.
1
1
0
0
Open post
ellnix @ellnix@fosstodon.org
· 7mo ago
Replying to
@blinry@chaos.social Due to sheer practicality, I'd give up an entire month's salary before I give up on the Network tab. If I was a better person, I'd know something about the accessibility tab. If my work let me prioritize the way I wanted I would spend all my time on the performance tab. The Firefox profiler and their flame graph is so good, that there's a ruby gem called Vernier (also very good!) whose profile viewer is forked from Firefox: https://vernier.prof/
vernier.prof
0
0
0
0
Open post
ellnix @ellnix@fosstodon.org
· 7mo ago
Replying to

@jer@hachyderm.io @blinry@chaos.social That's a really good one! One liners are well and good, but the real tip is using $_ when golfing to avoid the chars of saving the output of gets to a variable 😆

There are also a bunch of similar global variables for anyone wanting to go down a rabbit hole, especially relating to regex in ruby: https://ruby-doc.org/docs/ruby-doc-bundle/UsersGuide/rg/globalvars.html

ruby-doc.org

Global variables

0
0
0
0
Back
313k7r1n3
Elektrine

Tor hidden service

elekhj7afj4qnrr4yd3bkzslsyo5jgfxw3orgjkhlcxifueodybyiiad.onion

I2P eepsite

j6b6cyk6gjmepjih7jjadxgxvvf3lzzujljuu2v4biemzpg3naya.b32.i2p

Platform

  • Email
  • Chat
  • Timeline
  • VPN
  • DNS

Company

  • About
  • Contact
  • FAQ
  • Lite (no JS)

Legal

  • Terms of Service
  • Privacy Policy
  • Transparency Report
  • Report Abuse
  • Warrant Canary
  • VPN Policy

Support

  • support@elektrine.com
  • Report Security Issue
Mail client setup IMAP mail.elektrine.com:993 POP3 mail.elektrine.com:995 SMTP mail.elektrine.com:465
© 2026 Elektrine. All rights reserved. Server: 09:07:50 UTC