Stories
Slash Boxes
Comments

SoylentNews is people

SoylentNews is powered by your submissions, so send in your scoop. Only 18 submissions in the queue.
posted by LaminatorX on Friday August 14 2015, @01:17PM   Printer-friendly
from the Deus-ex-Machina dept.

I had an interesting idea the other day that chapter one of Genesis didn't make much sense physically, but could as computer code. I wrote an R script that does accomplish this to some extent. The end result I got was impressive visually, but my code was not that faithful to the instructions. Here is how I interpreted the first two verses:


###In the beginning God created the heavens and the earth.
#install.packages("sphereplot")
require(sphereplot)

##Create Heavens
rgl.sphgrid(radius = 5, col.long="", col.lat="",
                        deggap = 15, longtype = "D", add = T, radaxis=F)

http://postimg.org/image/3wvx1cvpd/


##Create Earth
rgl.sphgrid(radius = 1, col.long='', col.lat='',
                        deggap = 15, longtype = "D",add = T, radaxis=F)

http://postimg.org/image/he6w4kx19/

[ED NOTE: These links go to the images output by his code, which is neat, but the image host has some ads that, while not pornographic, may not be safe for work in all settings. Use your judgement. -LaminatorX]


##Now the earth was formless and empty,


##darkness was over the surface of the deep,
bg3d(color=c("darkslategray3","Black"),
          fogtype="exp2", sphere=TRUE, back="fill")

http://postimg.org/image/j3wikf68f/


##and the Spirit of God was hovering over the waters.
view3d(phi=90, theta=180, zoom=.55)

http://postimg.org/image/9aazwxjkd/

Does Soylent have any other ideas on how to interpret these two verses? More verses to come if there is any interest.


Original Submission

 
This discussion has been archived. No new comments can be posted.
Display Options Threshold/Breakthrough Mark All as Read Mark All as Unread
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
  • (Score: 0) by Anonymous Coward on Friday August 14 2015, @01:33PM

    by Anonymous Coward on Friday August 14 2015, @01:33PM (#222812)

    origin tree.x, tree.y
    move 1
    turn 45
    move 1
    turn -45
    move 1
    turn 45
    move 1
    say "mmm"
    move 1
    turn 90
    say "These apples are delish! Want one?

    • (Score: 0, Troll) by Anonymous Coward on Friday August 14 2015, @02:14PM

      by Anonymous Coward on Friday August 14 2015, @02:14PM (#222826)

      Keep it up, you are making this SUCH a nice alternative to slashdot...

  • (Score: 2) by looorg on Friday August 14 2015, @01:45PM

    by looorg (578) on Friday August 14 2015, @01:45PM (#222815)

    I was expecting more of Syntax Error, "does not compute" and that the entire thing would just end with one giant buffer overflow.

    • (Score: 2, Touché) by Ethanol-fueled on Friday August 14 2015, @03:43PM

      by Ethanol-fueled (2792) on Friday August 14 2015, @03:43PM (#222872) Homepage

      Something with syntax errors may not compile, but programs riddled with logic errors will still compile.

      The very same species that wrote the Bible is now writing programs to run autonomous killing machines.

      • (Score: 0) by Anonymous Coward on Friday August 14 2015, @04:14PM

        by Anonymous Coward on Friday August 14 2015, @04:14PM (#222882)

        So ... which role does the "creator" play in this mindfuck? Is it the programmer or the compiler? And how can it claim to be omnipotent if it isn't both? And why does it need code if it is omnipotent?

        • (Score: 0) by Anonymous Coward on Friday August 14 2015, @04:32PM

          by Anonymous Coward on Friday August 14 2015, @04:32PM (#222890)

          Where does Genesis one claim god is omnipotent?

        • (Score: 1) by thegothicguardian on Friday August 14 2015, @04:49PM

          by thegothicguardian (425) on Friday August 14 2015, @04:49PM (#222896)

          And why does it need code if it is omnipotent?

          Omnipotent in the sense that it has detailed log files and a known behavior tree.

  • (Score: 4, Touché) by Anonymous Coward on Friday August 14 2015, @01:47PM

    by Anonymous Coward on Friday August 14 2015, @01:47PM (#222816)

    #install.packages("sphereplot")
    require(sphereplot)

    That's not creation from nothing.

    • (Score: 0) by Anonymous Coward on Friday August 14 2015, @02:52PM

      by Anonymous Coward on Friday August 14 2015, @02:52PM (#222846)

      Where does Genesis say anything about creation from nothing?

    • (Score: 0) by Anonymous Coward on Friday August 14 2015, @09:00PM

      by Anonymous Coward on Friday August 14 2015, @09:00PM (#223007)

      This requires Flash (all religions do). Download the latest version and you should be good to go ... including that old apple & snake exploit.

  • (Score: 0) by Anonymous Coward on Friday August 14 2015, @02:05PM

    by Anonymous Coward on Friday August 14 2015, @02:05PM (#222822)

    >>> from nothing import god
    Traceback (most recent call last):
        File "", line 1, in
    ImportError: No module named 'nothing'
    >>>

    I can't figure this out guys, how do get the nothing module?

  • (Score: 2) by Snotnose on Friday August 14 2015, @02:10PM

    by Snotnose (1623) Subscriber Badge on Friday August 14 2015, @02:10PM (#222824)

    I hit a few NSFW sites daily, but I do it from home. IMHO, Soylent should be a site I can hit from work without worrying about Possibly NSFW images.

    --
    Every time a Christian defends Trump an angel loses it's lunch.
    • (Score: 2) by Nerdfest on Friday August 14 2015, @02:55PM

      by Nerdfest (80) on Friday August 14 2015, @02:55PM (#222848)

      Unfortunately with third party hosted ads, you never know what will be displayed. Use an ad blocker if you can.

    • (Score: 0) by Anonymous Coward on Friday August 14 2015, @03:38PM

      by Anonymous Coward on Friday August 14 2015, @03:38PM (#222867)

      I am submitter AC. Sorry, I had no idea because I block most of what tries to load from most webpages. Is there a preferred image host?

      • (Score: 2) by toygeek on Friday August 14 2015, @06:19PM

        by toygeek (28) on Friday August 14 2015, @06:19PM (#222936) Homepage

        I would suggest imgur. You can link the images directly without any adverts.

        --
        There is no Sig. Okay, maybe a short one. http://miscdotgeek.com
    • (Score: 3, Funny) by Ethanol-fueled on Friday August 14 2015, @04:47PM

      by Ethanol-fueled (2792) on Friday August 14 2015, @04:47PM (#222894) Homepage

      (* Ezekiel 23:20 *)
      (* There she lusted after her lovers, whose genitals were like those of donkeys and whose emission was like that of horses. *)

      Plot[[Abs[Sin[x]]] + 5*Exp[-x^100]*Cos[x], {x, -3, 3}]

      • (Score: 1, Informative) by Anonymous Coward on Friday August 14 2015, @09:22PM

        by Anonymous Coward on Friday August 14 2015, @09:22PM (#223013)

        Plot[[Abs[Sin[x]]] + 5*Exp[-x^100]*Cos[x], {x, -3, 3}]

        This plots nicely when pasted into WolframAlpha...good one!

      • (Score: 0) by Anonymous Coward on Saturday August 15 2015, @01:36AM

        by Anonymous Coward on Saturday August 15 2015, @01:36AM (#223098)


        require(tuneR)
        x=seq(-3,3,length=44100)
        y=abs(sin(x)) + 5*exp(-x^100)*cos(x)
        q=normalize(Wave(left=rep(y,10), pcm=F, samp.rate=44100, bit=32))
        plot(q)
        play(q)

        It sounds like a heartbeat.

    • (Score: 2) by captain normal on Friday August 14 2015, @06:45PM

      by captain normal (2205) on Friday August 14 2015, @06:45PM (#222946)

      I was thinking that Laminator was messing with us by pulling a trick to get us to look. Turns out ABP was blocking the images. Still after turning off ABP, none of the images were as risque as what I see on the beach on a sunny day.

      --
      The Musk/Trump interview appears to have been hacked, but not a DDOS hack...more like A Distributed Denial of Reality.
  • (Score: 3, Funny) by Anonymous Coward on Friday August 14 2015, @02:12PM

    by Anonymous Coward on Friday August 14 2015, @02:12PM (#222825)

    In the beginning God created the heavens and the earth.

    # emerge heavens
    # emerge earth

    Now the earth was formless and empty

    # file earth
    earth: empty

    darkness was over the surface of the deep

    # xgamma
    -> Red  0.000, Green  0.000, Blue  0.000

    and the Spirit of God was hovering over the waters

    # whoami
    root

    • (Score: 2, Funny) by Balderdash on Friday August 14 2015, @02:24PM

      by Balderdash (693) on Friday August 14 2015, @02:24PM (#222831)

      sudo make me a sandwich

      --
      I browse at -1. Free and open discourse requires consideration and review of all attempts at participation.
    • (Score: 2, Funny) by throwaway28 on Friday August 14 2015, @04:39PM

      by throwaway28 (5181) on Friday August 14 2015, @04:39PM (#222893) Journal

      Let there be light: and there was light.

      xgamma -rgamma 0.7 -ggamma 0.7 -bgamma 0.7

  • (Score: 3, Touché) by wonkey_monkey on Friday August 14 2015, @03:32PM

    by wonkey_monkey (279) on Friday August 14 2015, @03:32PM (#222861) Homepage

    I had an interesting idea the other day that chapter one of Genesis didn't make much sense physically, but could as computer code.

    Nope, it's still nonsense.

    --
    systemd is Roko's Basilisk
    • (Score: 2) by Bot on Friday August 14 2015, @09:55PM

      by Bot (3902) on Friday August 14 2015, @09:55PM (#223026) Journal

      Yes, Genesis, a religious book, should focus on scientific discoveries, which men have been able to do on their own: some definitions, basic math concepts, advanced math concepts, some classical, quantum, string, X, Y, Z mechanics. All of this to prove they are genuine, no matter if such a proof cannot exist in the first place, because a sufficient tech advancement is indistinguishable from divine power.
      Only then, when it's reached twelve volumes, you might know something about the Adam guy.

      This makes so much sense, thank you Dawkins and company.

      The funny thing is that whatever atheist, put in the place of a god (that is, for example, admin of a system that is simulating self-aware entities), when first communicating with those entities and try to describe them his world and his idea, not school them about the details of the CPUs hosting the simulation). He'd probably run into uncommunicable concepts (3d for 2d creatures is spatially unconceivable) and so on.

      Atheists pls. You can be atheists without making dumb objections. Study the problem at a manageable level like I did in the previous paragraph instead of playing the philosopher.

      --
      Account abandoned.
  • (Score: 2) by Translation Error on Friday August 14 2015, @04:27PM

    by Translation Error (718) on Friday August 14 2015, @04:27PM (#222888)
    I love the department this one is from.
  • (Score: 3, Insightful) by TrumpetPower! on Friday August 14 2015, @04:35PM

    by TrumpetPower! (590) <ben@trumpetpower.com> on Friday August 14 2015, @04:35PM (#222891) Homepage

    Does Soylent have any other ideas on how to interpret these two verses?

    Erm...you mean, other than the obvious? That it's an ancient faery tale?

    Even if we grant that the first person to tell the story sincerely believed it's a true and accurate description of "The Beginning™" -- doubtful, but whatever -- there's still the fact that he was a member of a society that, were it still extant today, it would be viewed as, by a significant margin, the most superstitious, ignorant, primitive, and barbaric on the planet. In particular, they weren't even pretending to grope towards a reliable way of answering such questions. It would be centuries before anybody would even have a model of the Solar System that we could squint at today and recognize, and that was millennia ago. It's been less than a century since Hubble figured out that there's more to the Universe beyond just the Milky Way, and only very recently that we've come up with a decent map of spacetime roughly covering the theoretically-observable Universe. And, of course, roughly equally recently that we've figured out most of the explanation -- and still to this day remain stymied about how to reconcile Quantum and Relativistic interpretations of gravity so we can complete the explanation.

    So, really. What on Earth is there to "make sense of" these or any other Bible verses, or those of any other faery tale? Perhaps we should be trying to "make sense of" the minifloridians in Space Fights, or why the cow jumps over the moon whenever the cat plays the violin?

    b&

    --
    All but God can prove this sentence true.
    • (Score: 1, Interesting) by Anonymous Coward on Friday August 14 2015, @04:49PM

      by Anonymous Coward on Friday August 14 2015, @04:49PM (#222897)

      The same applies to the simulators of his or her world, and the simulators of their world as well, and so on. In other words, the central line of reasoning of Bostrom’s simulation hypothesis entails that if we run large numbers of simulations in the future, there almost certainly exists a vast hierarchy of nested simulations – universes stacked like matryoshka dolls, one enclosed within the another.

      Bostrom notes that the cost of running a simulation is inherited upwards in the hierarchy, a point that counts against this “multilevel hypothesis.” But the fact is that if simulations are common in the future, it will be much more likely that any given simulator is a simulant than not.

      Not only this but if each simulation spawns a few simulations of their own, there will be far more simulations at the bottom of the hierarchy than the top (where one finds Ultimate Reality). If you had to place a bet, you’d be more likely to lose if you put your money on our world being somewhere at the top rather than the bottom, with loads of simulations stacked above us.

      http://ieet.org/index.php/IEET/more/torres20141103 [ieet.org]

    • (Score: 0) by Anonymous Coward on Saturday August 15 2015, @10:23AM

      by Anonymous Coward on Saturday August 15 2015, @10:23AM (#223214)

      I guess you do not like music or paintings either...

      • (Score: 2) by TrumpetPower! on Saturday August 15 2015, @02:58PM

        by TrumpetPower! (590) <ben@trumpetpower.com> on Saturday August 15 2015, @02:58PM (#223279) Homepage

        On the contrary. I'm a semi-professional musician and an amateur photographer.

        What I don't do is pretend that fiction is reality.

        b&

        --
        All but God can prove this sentence true.
  • (Score: 2, Funny) by Anonymous Coward on Friday August 14 2015, @04:48PM

    by Anonymous Coward on Friday August 14 2015, @04:48PM (#222895)

    Because if it BSODs during Genesis, “Let there be light” will become "driver hell"

    • (Score: 1, Funny) by Anonymous Coward on Friday August 14 2015, @07:10PM

      by Anonymous Coward on Friday August 14 2015, @07:10PM (#222962)

      > Because if it BSODs during Genesis...

      Is that why the sky is blue?

      • (Score: 0) by Anonymous Coward on Friday August 14 2015, @08:57PM

        by Anonymous Coward on Friday August 14 2015, @08:57PM (#223004)

        Blue sky of death, as your atmosphere slowly leaks away the color goes from low to high frequency.

  • (Score: 2) by richtopia on Friday August 14 2015, @05:47PM

    by richtopia (3160) on Friday August 14 2015, @05:47PM (#222919) Homepage Journal

    Treating Genesis as a scholarly work, typically it is accepted that there were two authours contributing (compiled later, they weren't writing it over beers). They are known as the Priestly and NonPriestly authours. The Priestly author's patterns lends itself to programming well, with some of these characteristics exhibited:

    1. Dates and passages of time are well documented
    2. Structure exists in writing style, with one of the best example being the repetitive nature of the 7 days of creation
    3. God is always capitalized (actually different words in Hebrew between god and God) and does not make mistakes

    Now turning Adam and Eve story into a program.... well it might work well if you depend on some evolutionary algorithms.

  • (Score: 0) by Anonymous Coward on Friday August 14 2015, @06:31PM

    by Anonymous Coward on Friday August 14 2015, @06:31PM (#222939)

    dd if=/dev/urandom of=genesis.chapter.one.txt bs=4096 count=666

    That will make about as much sense and a lot less work required. Note the use of /dev/urandom. When they run out of ideas they have to make it up on the spot and it's not quite as well practiced as the tried and true. That's what this is. Let's make it "hip" by throwing in modern buzzwords.

    • (Score: 2) by dyingtolive on Friday August 14 2015, @08:25PM

      by dyingtolive (952) on Friday August 14 2015, @08:25PM (#222993)

      Genesis has more BS than that.

      --
      Don't blame me, I voted for moose wang!
  • (Score: 2) by Phoenix666 on Saturday August 15 2015, @01:28AM

    by Phoenix666 (552) on Saturday August 15 2015, @01:28AM (#223095) Journal

    I rather liked the take on it in the movie Pi [wikipedia.org].

    --
    Washington DC delenda est.
  • (Score: 2) by tadas on Saturday August 15 2015, @02:10AM

    by tadas (3635) on Saturday August 15 2015, @02:10AM (#223110)

    sudo apt-get install heaven earth

    • (Score: 2) by kurenai.tsubasa on Saturday August 15 2015, @05:04AM

      by kurenai.tsubasa (5227) on Saturday August 15 2015, @05:04AM (#223149) Journal

      Unresolved dependencies: quantum-law relativity-kit general-relativity specific-relativity systemd-sephirotd systemd-gufd watchmaker-kit systemd-thirdimpactd

      systemd!

      I recommend we perform an immediate refactor of the code!!! I have serous concerns about systemd-gufd! It clearly has an exhaustion condition [wikipedia.org] that if exploited will cause systemd-thirdimpactd to trigger!

  • (Score: 0) by Anonymous Coward on Saturday August 15 2015, @07:33AM

    by Anonymous Coward on Saturday August 15 2015, @07:33AM (#223180)

    void {NULL}; new var $_WORD; include ('heaven'); include ('earth');

    $light="#FFF"; $_WORD = explode ($heaven, $earth [$light]); echo $_WORD;

  • (Score: 2) by engblom on Saturday August 15 2015, @07:41AM

    by engblom (556) on Saturday August 15 2015, @07:41AM (#223184)

    Very few are aware it is actually not reading "the beginning" in the original Hebrew text. There it is reading "a beginning". Those translating it as "the begninning" consider the text to be poetic and in poetic Hebrew, you can use the "a beginning" form for something determined. To end up with "the beginning", you do not only translate, you also interprete the text.

    Personally, I think "the beginning" is wrong, especially when you take the rest of the Bible into account. We can read that the "angels shouted for joy" when God created the earth. As angels are also created there must have been a beginning before this one if you look at the rest of the Bible.

    • (Score: 0) by Anonymous Coward on Saturday August 15 2015, @08:11AM

      by Anonymous Coward on Saturday August 15 2015, @08:11AM (#223191)

      If you can accept that the Genesis story stems from Sumerian (and likely South African lore before that) then you can find a lot of the missing context and a time line that fits the "continuity errors" of the later religious traditions.

      Good point about the original hebrew, the passages iare encoded with the ~linguistic equivalent~ of a formal code style including multiple levels of data abstraction.

      Still, it's more like the rather than the DOCTYPE.

      QUOTE: www.jewfaq.org/root.htm

      "the first word of the Torah, "bereishit," is usually translated as "in the beginning." The root is Reish-Alef-Shin, which means "head" or "first." (See Hebrew Alphabet to learn the letters). It is the same root as the "Rosh" in "Rosh Hashanah" (first of the year, i.e., Jewish New Year). We add the prefix Beit, a preposition meaning "in," "on," and a number of other things. The word "the" is implied."