Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

agnos.is Forums

  1. Home
  2. Programmer Humor
  3. I'm new to using Ruby and this tickled me pink

I'm new to using Ruby and this tickled me pink

Scheduled Pinned Locked Moved Programmer Humor
programmerhumor
68 Posts 47 Posters 2 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • cm0002@lemmy.worldC [email protected]
    This post did not contain any content.
    E This user is from outside of this forum
    E This user is from outside of this forum
    [email protected]
    wrote last edited by [email protected]
    #5

    LLM is saying this is a feature of Rails and not particularly Ruby.

    I was surprised Python didn’t have a years parameter but learned about

    relativedelta(years=10)

    C captain_aggravated@sh.itjust.worksC M I noxypaws@pawb.socialN 5 Replies Last reply
    13
    • E [email protected]

      LLM is saying this is a feature of Rails and not particularly Ruby.

      I was surprised Python didn’t have a years parameter but learned about

      relativedelta(years=10)

      C This user is from outside of this forum
      C This user is from outside of this forum
      [email protected]
      wrote last edited by
      #6

      You can add activesupport (I think that’s it) to get it if you don’t want to use all of rails.

      M 1 Reply Last reply
      3
      • E [email protected]

        LLM is saying this is a feature of Rails and not particularly Ruby.

        I was surprised Python didn’t have a years parameter but learned about

        relativedelta(years=10)

        captain_aggravated@sh.itjust.worksC This user is from outside of this forum
        captain_aggravated@sh.itjust.worksC This user is from outside of this forum
        [email protected]
        wrote last edited by
        #7

        Yeah that feels like the kind of smartass thing Python would do.

        1 Reply Last reply
        4
        • E [email protected]

          LLM is saying this is a feature of Rails and not particularly Ruby.

          I was surprised Python didn’t have a years parameter but learned about

          relativedelta(years=10)

          M This user is from outside of this forum
          M This user is from outside of this forum
          [email protected]
          wrote last edited by
          #8

          Yeah its a rails only thing. Rubys biggest issue is its much too intelligent for its own good. Its implicit rather than pythons explicit. Most of the time. That and it's hard to find out where Ruby starts and rails ends.

          That being said I made a ton of good money on rails back about 15 or so years ago. Still excellent for starting out.

          T 1 Reply Last reply
          13
          • C [email protected]

            You can add activesupport (I think that’s it) to get it if you don’t want to use all of rails.

            M This user is from outside of this forum
            M This user is from outside of this forum
            [email protected]
            wrote last edited by
            #9

            That's what I end up seeing for most ruby only scripts. It works!

            1 Reply Last reply
            0
            • cm0002@lemmy.worldC [email protected]
              This post did not contain any content.
              M This user is from outside of this forum
              M This user is from outside of this forum
              [email protected]
              wrote last edited by
              #10

              People still use ruby?

              S L C D sinthesis@lemmy.todayS 5 Replies Last reply
              15
              • cm0002@lemmy.worldC [email protected]
                This post did not contain any content.
                G This user is from outside of this forum
                G This user is from outside of this forum
                [email protected]
                wrote last edited by
                #11

                Fuck Rails sideways

                1 Reply Last reply
                9
                • M [email protected]

                  People still use ruby?

                  S This user is from outside of this forum
                  S This user is from outside of this forum
                  [email protected]
                  wrote last edited by
                  #12

                  I just started a new php gig

                  M blackmist@feddit.ukB 2 Replies Last reply
                  9
                  • cm0002@lemmy.worldC [email protected]
                    This post did not contain any content.
                    F This user is from outside of this forum
                    F This user is from outside of this forum
                    [email protected]
                    wrote last edited by [email protected]
                    #13

                    This implies that integers in ROR are complex objects with properties that would be unhelpful in the majority of scenarios. Is that right?

                    M 1 Reply Last reply
                    8
                    • F [email protected]

                      This implies that integers in ROR are complex objects with properties that would be unhelpful in the majority of scenarios. Is that right?

                      M This user is from outside of this forum
                      M This user is from outside of this forum
                      [email protected]
                      wrote last edited by
                      #14

                      Integers are just integers in ruby, with no structure backing them. They behave like objects, but only in some respects. You can call methods on them, but you can't extend individual numbers with properties for example (which would require them to have structure).

                      1 Reply Last reply
                      2
                      • M [email protected]

                        People still use ruby?

                        L This user is from outside of this forum
                        L This user is from outside of this forum
                        [email protected]
                        wrote last edited by
                        #15

                        The handful of us have moved onto Crystal Lang. It's a statically type checked and compiled dialect of Ruby. Crystal is fun to write code, but the compiler is slower (compared to go-lang/rust)... because... well it's a ruby dialect (with DSL's)... and the 3rd party libraries are limited.

                        M 1 Reply Last reply
                        3
                        • cm0002@lemmy.worldC [email protected]
                          This post did not contain any content.
                          V This user is from outside of this forum
                          V This user is from outside of this forum
                          [email protected]
                          wrote last edited by [email protected]
                          #16

                          I'm gonna be honest, I never was drawn to python. I've been a professional developer for about a decade, and I've written all of one (1) python programs that I can remember (for my own personal use, mind).

                          addie@feddit.ukA 1 Reply Last reply
                          4
                          • L [email protected]

                            The handful of us have moved onto Crystal Lang. It's a statically type checked and compiled dialect of Ruby. Crystal is fun to write code, but the compiler is slower (compared to go-lang/rust)... because... well it's a ruby dialect (with DSL's)... and the 3rd party libraries are limited.

                            M This user is from outside of this forum
                            M This user is from outside of this forum
                            [email protected]
                            wrote last edited by
                            #17

                            This type checking, is it at run time?

                            D 1 Reply Last reply
                            1
                            • S [email protected]

                              I just started a new php gig

                              M This user is from outside of this forum
                              M This user is from outside of this forum
                              [email protected]
                              wrote last edited by
                              #18

                              I fucking love PHP. I know I probably sound crazy to most developers, but PHP 8+ is freaking dope.

                              S 1 Reply Last reply
                              12
                              • M [email protected]

                                I fucking love PHP. I know I probably sound crazy to most developers, but PHP 8+ is freaking dope.

                                S This user is from outside of this forum
                                S This user is from outside of this forum
                                [email protected]
                                wrote last edited by
                                #19

                                Yeah I was also pleasantly surprised having only heard about it before. Lots of good stuff

                                C 1 Reply Last reply
                                2
                                • M [email protected]

                                  is rainbow Brite in porn?

                                  supervisor194@lemmy.worldS This user is from outside of this forum
                                  supervisor194@lemmy.worldS This user is from outside of this forum
                                  [email protected]
                                  wrote last edited by
                                  #20

                                  ahahaha oh come on, the comment was clearly a joke. To be honest, I'd be far more interested in gothly serious sam on the left.

                                  A 1 Reply Last reply
                                  0
                                  • cm0002@lemmy.worldC [email protected]
                                    This post did not contain any content.
                                    diplomjodler3@lemmy.worldD This user is from outside of this forum
                                    diplomjodler3@lemmy.worldD This user is from outside of this forum
                                    [email protected]
                                    wrote last edited by
                                    #21

                                    The Python won't give an accurate date here because it doesn't take into account leap years.

                                    R W eager_eagle@lemmy.worldE blackmist@feddit.ukB 4 Replies Last reply
                                    26
                                    • M [email protected]

                                      People still use ruby?

                                      C This user is from outside of this forum
                                      C This user is from outside of this forum
                                      [email protected]
                                      wrote last edited by
                                      #22

                                      I had a coworker choose RoR for a major project despite the fact that he didn't know it, nobody on his team knew it, nobody at our company knew it, and nobody in the entire state knew it. It ended as one would expect, after three years and millions of dollars spent, with the only revenue it generated being $50K from the original client that had to be refunded to avoid a lawsuit.

                                      1 Reply Last reply
                                      2
                                      • cm0002@lemmy.worldC [email protected]
                                        This post did not contain any content.
                                        nostradavid@programming.devN This user is from outside of this forum
                                        nostradavid@programming.devN This user is from outside of this forum
                                        [email protected]
                                        wrote last edited by
                                        #23

                                        How are the dataframe libraries on Ruby?

                                        1 Reply Last reply
                                        1
                                        • M [email protected]

                                          This type checking, is it at run time?

                                          D This user is from outside of this forum
                                          D This user is from outside of this forum
                                          [email protected]
                                          wrote last edited by
                                          #24

                                          Its AOT compiled.

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups