Beehaw
  • Communities
  • Create Post
  • search
    Search
  • Login
  • Sign Up
inari ( inari@piefed.zip )  to Programming@programming.devEnglish · 2 months ago

A faster way to calculate the day-of-the-week

www.benjoffe.com

external-link
message-square
6
link
fedilink
68
external-link

A faster way to calculate the day-of-the-week

www.benjoffe.com

inari ( inari@piefed.zip )  to Programming@programming.devEnglish · 2 months ago
message-square
6
link
fedilink
A range of fast modulus techniques that beat compiler output
alert-triangle
You must log in or # to comment.
  • aichan ( aichan@piefed.blahaj.zone ) 
    link
    fedilink
    English
    arrow-up
    21
    ·
    2 months ago

    By the end, you will understand why this code above works.

    I was utterly fooled. Looks cool though!

  • Shin ( Shin@piefed.social ) 
    link
    fedilink
    English
    arrow-up
    10
    ·
    2 months ago

    This is a freaking good read.

  • tracyspcy ( tracyspcy@lemmy.ml ) 
    link
    fedilink
    arrow-up
    4
    ·
    2 months ago

    Bookmarked to read later. Looks interesting from first sight

  • underscores ( underscores@lemmy.zip ) 
    link
    fedilink
    English
    arrow-up
    3
    ·
    2 months ago

    What does two’s complement mean ? I don’t want a comp sci definition per se but like language one, how does saying that make sense ?

    • AbelianGrape ( AbelianGrape@beehaw.org ) 
      link
      fedilink
      arrow-up
      2
      ·
      2 months ago

      It’s the technical name of a thing in comp sci, I’m not sure what other answer you want. It specifically contrasts “one’s complement”.

  • Alavi ( somegeek@programming.dev ) 
    link
    fedilink
    arrow-up
    3
    ·
    2 months ago

    How do you make these types of interactive websites? (the visualizations changing for different codes)

Programming@programming.dev

programming@programming.dev

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !programming@programming.dev

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person’s post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you’re posting long videos try to add in some form of tldr for those who don’t want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 151 users / day
  • 504 users / week
  • 1.69K users / month
  • 4.17K users / 6 months
  • 449 local subscribers
  • 28.7K subscribers
  • 2.93K Posts
  • 22.9K Comments
  • Modlog
  • mods:
  • snowe ( snowe@programming.dev ) 
  • Ategon ( Ategon@programming.dev ) 
  • UlrikHD ( UlrikHD@programming.dev ) 
  • bugsmith ( bugsmith@programming.dev ) 
  • Spyro ( Spyro@programming.dev ) 
  • BE: 0.19.15
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code