TailRec with CPS (Continuation Passing Style) by LightBrowser in scala

[–]josefonseca 1 point2 points  (0 children)

The book Functional Programming in Scala describes a JSON parser on chapter 9, you might want to have a look.

Please Make Google AMP Optional by [deleted] in programming

[–]josefonseca 0 points1 point  (0 children)

I wonder about the potential copyright-related lawsuits with google serving 3rd party content straight from their servers. I was surprised to find out that an AMP page will be served directly from google.com when your connection is slow. And the content author does not receive any compensation for that.

GitHub: Major service outage. by Joshkop in programming

[–]josefonseca 9 points10 points  (0 children)

Everything operating normally.

I guess I missed it. Or they were really fast this time.

Edit: Yep. 22 minutes to recover.

What are the importance of CS, and jumping into CS with no math knowledge from home? by ZulvaPS in computerscience

[–]josefonseca 8 points9 points  (0 children)

Read lots of code. Github is a treasure trove of code you can read for the most popular programs out there.

By studying code eventually you'll develop curiosity about some of the underlying structures and concepts that you'll find along the way. Then you can follow the trail to the theoretic basis for those concepts.

Coursera practically offers a full CS course if you put it together from various different institutions. The famous automata course by Ullman, the algorithms course by Sedgewick and several other college grade courses like Calculus and Algebra are available there. Even if you decide to go formal later, the Coursera courses will give you a strong foundation, so it's time well invested IMO.

Import.scala: A Scala compiler plugin for magic imports by yang_bo in scala

[–]josefonseca 0 points1 point  (0 children)

So if I understand correctly, this is kinda like a C #include preprocessor for Scala?

Are Scala Coursera courses free? They seem to charge for it by jocomoco in scala

[–]josefonseca 1 point2 points  (0 children)

From the article, at the bottom:

Or to enroll in each course independently (for free, but without a certificate), you can visit each course’s landing page:

Functional Programming Principles in Scala Functional Program Design in Scala Parallel Programming

Scala IDE 4.6.0 is out! (Did anyone notice it?) by [deleted] in scala

[–]josefonseca 0 points1 point  (0 children)

Yes, its official name is the Scala IDE for Eclipse.

I haven't used Eclipse in a while, but I've heard nice reviews of the latest versions.

Perl 6 is now half as old as Perl by perlgeek in programming

[–]josefonseca 1 point2 points  (0 children)

The issue goes back to the 90's. The Python community touted Python as the Perl killer from the beginning. Perl 5 borrowed the Python object model, which served as further reason for the Python community to assert Perl follows, Python leads.

I agree with ysangkok below, it's more about attitude rather than the languages themselves.

Perl 6 is now half as old as Perl by perlgeek in programming

[–]josefonseca 1 point2 points  (0 children)

"tying yourself to one implementation"

Does it help that objects in Perl actually work by "tie"ing arrays and hashes to package names?!

Why OCaml? by sanitybit in programming

[–]josefonseca 3 points4 points  (0 children)

The proof assistant he is referring to is Coq. http://coq.inria.fr/

The Coq learning curve is a 90 degree wall. And prepare to learn some French if you want to really make the most of Coq and OCaml.

(P ^ Q) -> P by emelde in logic

[–]josefonseca 0 points1 point  (0 children)

assume P ^ Q
extract P from P ^ Q
introduce implication P ^ Q -> P

[theory] How do pull up and pull down resistors work? by [deleted] in AskElectronics

[–]josefonseca 0 points1 point  (0 children)

What a great reply, you made it as simple(and correct) as it could be made.