Deebster,
@Deebster@beehaw.org avatar

Bad link 👎

This article seems to be an incomplete pasting of an old article: What Did Ada Lovelace’s Program Actually Do? I was suspicious when it said “A contemporary interpretation of Ada’s punch card stack using JavaScript might resemble the following” but didn’t have any code.

The real tl;dr is it calculated terms of the Bernoulli series.

eager_eagle,
@eager_eagle@lemmy.world avatar

Interestingly, there haven’t been any identified bugs in Ada’s Bernoulli calculation code. Even as she pioneered programming, it seems bugs weren’t part of her invention.

She got this close to greatness tsk tsk

swordsmanluke,

This is apocryphal anyway. There is a bug in Lovelace’s algorithm.

twobithistory.org/…/ada-lovelace-note-g.html

The article is fascinating, but if you just want to jump to the end…

bugone line of the algorithm has the variables swapped! It calculates v5 / v4 instead of v4 / v5. Not bad considering there wasn’t a computer to run her code on yet, much less a debugger.

eager_eagle,
@eager_eagle@lemmy.world avatar

yassss

go Ada!!

sbv,

A contemporary interpretation of Ada’s punch card stack using JavaScript might resemble the following. This version doesn’t replicate Ada’s code for the Analytic Engine but rather reinterprets the algorithm she employed.

The version of the article I got doesn’t include the code‽

Carighan,
@Carighan@lemmy.world avatar

Yeah this seems ripped/copied from somewhere. The text alludes to something between that paragraph and the next one.

PlutoniumAcid,
@PlutoniumAcid@lemmy.world avatar

Also, that text is barely English. Who wrote that?

Deebster,
@Deebster@programming.dev avatar
ultratiem,
@ultratiem@lemmy.ca avatar

tl;dr: Answer: not much, it was the first computer what were you expecting

kadu,

what were you expecting

Honestly, I think something simple yet useful like a program that could tell us if another program will endlessly loop or will eventually halt. That sounds simple and nice right? We could test our code to see if it will run correctly. Should be trivial enough.

eager_eagle,
@eager_eagle@lemmy.world avatar

“such simple program is left as an exercise for the reader”

💀

  • All
  • Subscribed
  • Moderated
  • Favorites
  • programming@programming.dev
  • DreamBathrooms
  • mdbf
  • ngwrru68w68
  • magazineikmin
  • thenastyranch
  • rosin
  • khanakhh
  • osvaldo12
  • Youngstown
  • slotface
  • Durango
  • kavyap
  • InstantRegret
  • tacticalgear
  • anitta
  • ethstaker
  • provamag3
  • cisconetworking
  • tester
  • GTA5RPClips
  • cubers
  • everett
  • modclub
  • megavids
  • normalnudes
  • Leos
  • JUstTest
  • lostlight
  • All magazines