News for hackers. Stuff that matters.

ww2

Re:Why Do Rich People Love Endurance Sports? (2017) on Tuesday January 29, 2019 @10:12AM (#19026900)
your title is more eye-catching in addition to more accurate.
Re:Fortran is still a thing on Tuesday November 27, 2018 @03:46PM (#18546506)
I guess the speed of APL is comparable to python rather than Fortran?
Re:Project Euler on Monday December 11, 2017 @04:09PM (#15900466)
Project Euler is a good place for teenagers to start learning programming, better than the routes of game or website design.
Re:Why LINQ beats SQL on Thursday February 16, 2017 @06:15PM (#13664509)
But LINQ is too slow comparing to vanilla SQL.
Re:Big Picture of Calculus (2010) [video] on Monday February 13, 2017 @11:44AM (#13636611)
When you look at the GPS estimated time of arrival, or check the current MPG or mile left for your car.
Re:Kalman filters and functional programming on Tuesday January 31, 2017 @03:08PM (#13534710)
Kalman filter is a natural example of iterative algorithm. Writing it in Fold does not gain much.
Re:Matrix Multiplication on Friday November 25, 2016 @10:56AM (#13037552)
I think this is overdone and does not help the intuition. two things: (1). the first step of transposing the second matrix 90 degree is unnecessary and confusing. A row vector and a column vector are different. This step confuses the two. (2). All the final elements are independent and should be calculated in parallel, the stepped anime is not necessary and does not reveal this basic fact.
Re:Matrix Multiplication on Friday November 25, 2016 @10:46AM (#13037471)
If you compose two linear transformations into one step, and apply distributive property, you get the matrix multiplication rule.

http://math.stackexchange.com/questions/31725/intuition-behi...

stock price is about the sum of all future cash flow. not current profit level. you can have different forecasts, but you cannot say the act of making forecast itself is nonsense.
Re:Homeschooled with MIT courses at 5, accepted to MIT at 15 on Wednesday November 18, 2015 @09:02AM (#10587682)
"Most of the stuff is rational trivia" --- rational trivia, I like the word.
Re:SICP in Clojure on Tuesday August 11, 2015 @11:24AM (#10041716)
That is just the point, you dont have to limit yourself to "Pythonic". your style can be language agnostic.
Re:Calculus for mathematicians (1997) [pdf] on Thursday May 28, 2015 @09:03PM (#9622142)
try to get the derivative of sin(x) from his approach.
Re:Calculus for mathematicians (1997) [pdf] on Thursday May 28, 2015 @03:09PM (#9620394)
Definition 5.1/5.2 is interesting. It defines derivative at point c, not the derivative function of f. Note that f1(x) is not equal to f'(x) for all x, but f1(c) = f'(c).
Re:Category theory for beginners on Tuesday February 24, 2015 @10:04AM (#9100880)
Good point but examples can also be drawn from other fields like programming rather than from mathematics. So far I found that the link below is very enlightening. http://bartoszmilewski.com/2014/10/28/category-theory-for-pr...
Re:Python: Faster Way on Tuesday December 30, 2014 @10:42AM (#8814991)
Almost none of them are significant.
Re:Math from Three to Seven: Chapters One and Three [pdf] on Tuesday December 30, 2014 @10:09AM (#8814861)
There is a big gap between chapter 1 and chapter 3, which makes me doubt this book is very unrealistic. In chapter 1, it argues kids cannot follow logic, it is not trivial for them to understand the counting with rearrangement; in chapter 3, they suddenly can count c(5,2), and they even can understand this number by using symbols URR.., which requires an algebraic mind.

don't be fooled by the title of the book. The content is beyond 7 year old kids in the US.

Re:The R language, for programmers on Thursday December 04, 2014 @03:29PM (#8701445)
People use R as a convenient tool.i.e., R users are tool/library users, not tool builders in general. Haskell cannot compete with R for this user base.
Re:J Has the Best Development Environment (2009) on Friday September 19, 2014 @03:09PM (#8341971)
one hurdle of J is that the verb train approach is too raw.
Re:2+2=What? Parents rail against Common Core math on Thursday May 15, 2014 @09:47AM (#7749352)
you missed two most important methods:

5+9 = (((((((((5+1)+1)++1)+1)+1)+1)+1)+1)+1) 5+9 = 9 + 5 =...

Re:You never did math in high school on Monday May 05, 2014 @09:17AM (#7698359)
That is correct. Math is a language more than 'logic'/patterns'/ and any other metaphors.
Re:You never did math in high school on Monday May 05, 2014 @08:31AM (#7698142)
Even the music metaphor is the same. And the mention of geometry proof. The blogger is so uncreative.
Re:C++ – From goto to std::transform on Friday April 11, 2014 @10:58AM (#7573220)
The example is too trivial. you could have 100 ways to write "hello world", but it does not matter.
How would a functional language compiler deal with this case? like GHC?
Re:What it's like to use Haskell on Wednesday March 26, 2014 @09:17AM (#7473097)
This is a typical pitfall of many FP code chuck examples. trading efficiency for superficial succinctness.
Re:What it's like to use Haskell on Wednesday March 26, 2014 @09:10AM (#7473052)
learning another script language is totally different from learning Haskell. For the latter it requires much more than syntax translation, which is implied in your comment.
Re:Satoshi Nakamoto denies being Dorian Nakamoto on Friday March 07, 2014 @10:55AM (#7360899)
Why Dorian would say something below? Asked if he was technically able to come up with the idea for bitcoin, Nakamoto responded: "Capability? Yes, but any programmer could do that."

"Yes, but any programmer could do that." ---- Either this Dorian is ignorant or it is his natural response. This quote is weird.

Re:Q – A Data Language on Monday March 03, 2014 @04:27PM (#7336614)
I found that APL/Q/J and vim share the same required mindset. If someone loves one, it is likely he/she will like another.
Re:Wolfram Language on Tuesday February 25, 2014 @10:39AM (#7298157)
From the demo video, it seems a query language to query a database of knowledge. how's this knowledge database maintained and self updated are more interesting than the query language itself.
Name collision with Q/kdb+.

Older »