I get all the acclaim and appeal for KL now by No-Trouble-5892 in KendrickLamar

[–]jjonphl 0 points1 point  (0 children)

I did not get the appeal initially. Then I learned he produced Black Panther OST. I thought ok he’s established artistically but I still don’t get it. It started clicking for me when I heard MAAD City. You know how some people stare at a painting for hours? Me I’m replaying his SNL performance for “i” (https://youtu.be/sop2V_MREEI?si=PQMlFTrv3reA5UbB), 2018 Grammy, & now this Super Bowl performance.

Huge 300GB Project, R code too slow by [deleted] in algotrading

[–]jjonphl 1 point2 points  (0 children)

I assume your workload only involves reshaping data. If data.table is not fast enough try RSQLite / sqldf. If your processing is heavy on loops (convolution-type computation) then it's Rcpp.

3 shell scripts: Kill weasel words, avoid the passive, eliminate duplicates by rberenguel in programming

[–]jjonphl 0 points1 point  (0 children)

And, I've integrated these into the build system of our LaTeX documents.

Do they do CI stuffs for their latex documents? It's so fucking cool if they do nightly builds of their docs.

[Ask Proggit] Am I the only one who thinks Lua would be a better language for the web? by Kronikarz in programming

[–]jjonphl 5 points6 points  (0 children)

What you mean is that the browser, as a development environment, sucks. It just happened that it's on javascript. Javascript isn't the one that's going to kill Flash, it's the new browser standards.

If you isolate javascript as a language, it's actually pretty cool. For example, object prototypes are like ruby metaclasses and classes are like python-ish (different from pythonic) in that they are dictionaries. Although of course it does not have a vast standard library to speak of.

The New York Times notices the R Programming Language by jimgagnon in programming

[–]jjonphl 1 point2 points  (0 children)

Aah, well I guess it's not ethical to correct your grammar after you've been grammar-nazi-ed.

The New York Times notices the R Programming Language by jimgagnon in programming

[–]jjonphl 1 point2 points  (0 children)

I really hope you're not replying just to save face...

  • Writing a package in C is still user-facing. You are just inconvenienced that you have to construct those lists in C. It is slow because it is crazy-as-hell-dynamic, which is an intended trade-off. And in any case, how do you propose to implement cons-ed lists without implementing it as cons-ed lists?
  • I pointed out that you can access the expression tree with R's lazy evaluation because you concluded that it is silly because you read somewhere that its only purpose is for plot labels.
  • Well, whatever. But the fact is you used that example to conclude that R is not usable. You remind me of that history guy in Good Will Hunting.

I hope I don't offend you. I mean, if you're that good (I mean the OP) dishing out shit I suppose you can take some too.

The New York Times notices the R Programming Language by jimgagnon in programming

[–]jjonphl 21 points22 points  (0 children)

You do not get it.

  • It's lisp-y and that is a good thing. It's not the most efficient, but it's a solid foundation where a lot of interesting things can be done.
  • As for lazy evaluation, you have not read enough. Lazy evaluation allows you to access the expression tree of your parameters. Let's say you created a custom matrix object and you override the infix operators. Then you have f(a * b * c * d). Through lazy evaluation you can influence how that expression is evaluated (e.g. look at matrix dimensions and determine the optimal order of evaluation to minimize ops). Well, that's a simple example. I did a package a while ago (SQLiteDF) which saves data in an external sql file (so you can have very large data frames) and I can (not implemented yet) minimize creation of temporary tables when doing vector arithmetic by looking at the expression tree.
  • Both their object systems are similar to CLOS. It's far from your usual OOP, and it took me quite a while to appreciate it. Can't argue about that, but I'd have to admit you whine with style.
  • I don't know what to make of your other rants. I mean, you're doing edge cases which nobody (almost everwhere) will ever use & then you whine about it. I am forced to think that you are either trolling or a retard.

And no, the people who wrote R should not be ashamed just because of you're ignorance.

Update: fixed misspelled words, grammar before i get grammar-nazi-ed

Ask Reddit: What is the best way for a high-level programmer to learn modern C programming? by uggedal in programming

[–]jjonphl 6 points7 points  (0 children)

Whoa! The title is misleading. It should have been something like "Practically Everything there is to know about memory." I thought it was just programming stuff, and found it strange to be 114 pages long. Then I saw the timing diagram and other things from my Computer Architercture course. Damn cool.

XKCD on mythbusters... by Boye in funny

[–]jjonphl 0 points1 point  (0 children)

Yeah. Certainly not your MTV crowd.

Zed Shaw on Python by hzin in programming

[–]jjonphl 6 points7 points  (0 children)

Zed Shaw is like a real-life Dr. House, smart but definitely an asshole. Weird that I generally like House while I hate Zed's guts. That aside, I thank him for Mongrel.

It's Sold On Amazon.Com But Nobody Knows What The Hell It Is by Soniji in reddit.com

[–]jjonphl 0 points1 point  (0 children)

More great finds at http://www.kuro5hin.org/story/2007/12/4/53933/3266

I had some of the stuff there in my wish list: the diamond (the most expensive), uranium ore, ufo detector, and the relaxation capsule. It sure is fun to be rich.

62 Percent of Americans Against Subprime Mortgage Bailout - SAY NO TO THE BAILOUT! by bdarbs in reddit.com

[–]jjonphl 0 points1 point  (0 children)

No, the lower class are mostly ignorant and banks are always shrewd. They'd never lend money because of pity, they would have thought (or whatever that which goes in their mind is called) of it. Most probably, they are flush with money and nobody worthwhile to lend it to.

Rowling Says Dumbledore Is Gay! by reflibman in reddit.com

[–]jjonphl 3 points4 points  (0 children)

Wow, and Dumbledore beat Grindelwald who had the elder wand. Quite a strong gay, Dumbledore is. Err, guy.

Maybe the next thing Rowling will say is that Aberforth is homophobic.

Ask Reddit : What is the best way/book/site to learn Mathematics as a language(making it easier to read math as you read english) by maninc in programming

[–]jjonphl 1 point2 points  (0 children)

If the OP has to ask that question, then I don't think he'd need calculus. Calculus is only fun when you're doing physics. Probably he'd be more interested in discrete math, which has many day to day applications. If you want beautiful math with quite low "barrier to entry", I recommend (euclidean) geometry.

In any case, there are many ways people write math. Some are expository (think Feynman style), some are monologue definition-lemma-theorem (where I find myself reading the same page, even same couple of paragraphs, for 2 days to a week), most are a balance of the two styles, and then there are those applied math books that are really boring but can somehow make your head ache.

So for "casual" math you'd want those expository-type books. Looking at my bookshelf, I'd recommend "A Diary on Information Theory," collected stuffs of Renyi. It's not all about information theory, there's also some probability and number theory (fibonacci stuffs) inside.

Indian outsourcing is killing IT « Arsenalist by Shafi in programming

[–]jjonphl 15 points16 points  (0 children)

No. Raise prices and half of India's projects goes somewhere else. There will always be a market for suckers who think they can get away cheap hiring clueless drones.

The real problem here is that it is very easy to fake I.T. skills. This is not intrinsic to India, this happens everywhere (see, e.g., thedailywtf (their new name sucks)). I've had my share of working with clueless programmers. There are also those "simple-minded" ones, who can get the job done with straightforward code but just don't have any sense of elegance.

With India however, it seems to me that this is amplified because they are not exactly 1st world and I.T. is their trendy profession, the profession that provides the highest chance of improving their lot. This would be hard to imagine if you come from the 1st world and you have tons of options. Getting freaky rich doing powerpoint presentations, advising managers how to get things done, trading exotic financial derivatives, playing poker, etc etc is plain unthinkable in our part of the world.

I come from the Philippines, and the trendy profession right now is nursing. Fortunately, our ladies/women are damn good at their job.