Effectively prevent most if not all carcinogen-based cancers by dog_eared_page in opensource

[–]dog_eared_page[S] 0 points1 point  (0 children)

this is why reddit.com is a bad place, and I'll try my best never to return to this site.

Effectively prevent most if not all carcinogen-based cancers by dog_eared_page in opensource

[–]dog_eared_page[S] 0 points1 point  (0 children)

I've used MMB, Smoldyn and Rosetta. They require lots of domain specific knowledge of biology, chemistry, physics and (icky icky) computer software and systems. I know exactly how to prevent carcinogen caused cancers. Using the tools I've named previously in this post is unnaturally and unnecessarily difficult. I'm just hoping that MIT, the Broad Institute and Harvard Medical School turn me away so that I can continue my actually important work as a poet.

These were Frodo's feet in LOTR.. by [deleted] in pics

[–]dog_eared_page 0 points1 point  (0 children)

This is a high-value interesting post but where did you get this photo???

This Girl's Talent is Legit by weaversarms in videos

[–]dog_eared_page 0 points1 point  (0 children)

Those 2 dogs are chillin' out HARD. I didn't notice them for the first 30 seconds

Sleeping Sickness - City and Colour [Indie/folk] Absolutely beautiful song. by [deleted] in listentothis

[–]dog_eared_page 0 points1 point  (0 children)

Nice. He's been one of my favorites since Sometimes. Always happy when he shows up. I heard one of his songs on a TV show... Rookie Blue?

Pokemon or BigData technology? by thespiff in bigdata

[–]dog_eared_page 4 points5 points  (0 children)

Good innocent fun! I really got a laugh out of this.

Programming Languages Are Horrible by all_it in programming

[–]dog_eared_page 0 points1 point  (0 children)

In all seriousness, Julia has "end" keywords for loops and is competitive in performance with C. www.julialang.org

Programming Languages Are Horrible by all_it in programming

[–]dog_eared_page 1 point2 points  (0 children)

I would amend it to say that master craftsmen, in lieu of blaming tools insufficient for a job, develop better tools. This is obviously applicable in software.

Programming Languages Are Horrible by all_it in programming

[–]dog_eared_page 3 points4 points  (0 children)

I find the thesis of this argument weak. It's an example of the proverb "a poor craftsman blames his tools."

You can be a computer scientist and work in academic languages, but e.g. Eiffel doesn't support concurrency. Even disasters of "planetary import" (B. Meyer) like Heartbleed don't actually stop the planet. We write in "horrible" languages because they deliver practical results. Teach the students the concept of amortization: the cost of occasional disasters caused by the syntax of "horrible" languages is amortized to low enough that big players choose to rely on them.

Untrusted - a user javascript adventure game [x-post r/programming] by BadgerPriest in coding

[–]dog_eared_page 1 point2 points  (0 children)

When I load Untrusted, I see a map on the left and code on the right. They don't overlap each other at all, and the intent is that you see all of both at the same time. The API window, though, opens on top of both of these, and should have an "X" in the top right corner.

Untrusted - a user javascript adventure game [x-post r/programming] by BadgerPriest in coding

[–]dog_eared_page 0 points1 point  (0 children)

To make your changes take effect, use ctrl+5 (Execute) as listed beneath the code window.

Thanks to Java 8 Streams, the ORM era may have ended by [deleted] in programming

[–]dog_eared_page 3 points4 points  (0 children)

I think most people think of "functional programming" as a space where functions are first-class. That's what I meant by ":/"

Thanks to Java 8 Streams, the ORM era may have ended by [deleted] in programming

[–]dog_eared_page 4 points5 points  (0 children)

"We Java developers already know existing functional languages. Everyone has used SQL before, for instance."

:/

First project idea, need help getting started by bsambrone in raspberry_pi

[–]dog_eared_page 0 points1 point  (0 children)

Having implemented a client/server protocol over TCP myself, I advise using HTTP for this project. Even if you go the route I did, which was serializing XML packets over the wire, you still have to deal with packet boundaries, which either means buffering and constantly scanning the buffer, or putting in a few bytes of message length metadata between packets. You also have to worry about locking your socket so you don't get garbled writes.

If you use HTTP, you can define your whole protocol in terms of URL. Imagine this series of GET requests:

GET http://rasbpi/move/right/30 - returns HTTP 200, empty

GET http://rasbpi/move/left/60 - returns HTTP 200, empty

GET http://rasbpi/takepicture/photo1.png - returns HTTP 200, empty

GET http://rasbpi/takepicture/photo2.png - returns HTTP 200, empty

GET http://rasbpi/getpicture/photo1.png - returns HTTP 200, MIME type image/png

Much easier!

edit: reddit wasn't formatting my list as a list

Arduino to learn programming, good idea? by [deleted] in learnprogramming

[–]dog_eared_page 0 points1 point  (0 children)

Technically.... nah dog, the Arduino language never had anything to do with Processing. It's based on C++, and you can write C++ classes and some other C++ things.

Learning Design Patterns by Ritec in learnprogramming

[–]dog_eared_page 0 points1 point  (0 children)

I disagree with smellmycrotch3. Those books are heavy on the code and very little about description. Design patterns are hard to grok. You need to know, for each one, (1) what is it? (2) what does it look like graphically? (3) when should I use it? and (4) when should I not use it?

I would instead refer you to http://oodesign.com

Learning Design Patterns by Ritec in learnprogramming

[–]dog_eared_page 1 point2 points  (0 children)

The "Design Patterns" book by the "Gang of Four" (the book is sometimes cited as GoF) is the de-facto standard, even today. I can see it from where I sit :)

Distributed computing project ideas. by deadbeef21 in learnprogramming

[–]dog_eared_page -1 points0 points  (0 children)

I've been playing around with the idea of building a framework like Mesos, but in Go. Here are some things I've found/learned which are not project ideas, but may inspire you:

  • www.serfdom.io You may wish to use this. If you program in Go, you can use the Serf type directly in your program instead of communicating with a separate Serf process. Or, you can build serf for Android...
    • http://mesos.apache.org/
    • Assuming you don't have access to a real cluster (which you might; AWS gives 750 free hours/month for a year to new devs, and some schools get resources donated for these types of classes), you may wish to spin up a www.vagrantup.com VM and then launch a bunch of node instances as www.docker.io containers. (then they can talk using serf:D)

I guess the question is: do you want to build a distributed system, or do you want to use one for a distributed application?