Better HN
topnewbestaskshowjobs
Log inSign up

edtechre

-53 karma · joined Apr 15, 2011 (15y ago) · 51 submissions

Submissions

comment 15y ago · link · parent

You could claim the same about getting high off of glue since that affects the mind too. Seriously, what every day experience /doesn't/ affect your mind?

My point stands on its own. Taking action makes a difference, dropping acid does nothing for anyone. End.

comment 15y ago · link · parent

Nowhere did I say I support the war on drugs, prohibition, or any such rubbish. You are free to engage in whatever stupid activity you so choose. Just don't try to claim it was some kind of fulfilling accomplishment, when it was merely shallow recreation.

comment 15y ago · link · parent

Flawless logic here. I guess I should try crack, heroine, or maybe downing some motor oil before coming to the conclusion they're not for me?

comment 15y ago · link · parent

I have no issue with whatever it is you posited after your masturbatory experience. It's just that I don't find your epiphany particularly deep, nor do I see how LSD was even necessary for you to arrive at your destination of nowhere.

You know what actually makes a difference in life? Acquire knowledge, apply that knowledge, make connections and use all of that to HELP other people and change the world. Tripping on shrooms by yourself or with your fellow dunderheads does nothing for anyone, yourself included. Stop pretending it does.

comment 15y ago · link · parent

Instead of doing drugs to experience "enlightenment" (LOL), you could, I don't know... read a book and actually learn something of value.

comment 15y ago · link · parent

How is that enlightening? The doc makes you sound like an imbecile.

comment 15y ago · link · parent

Are you stupid? Zynga's not a young company at more than 4 years. And this is horribly detrimental for any prospect of IPO.

comment 15y ago · link · parent

Same here. I'm thinking ML since it will have programming exercises. I'd likely forget all of the theory otherwise.

comment 15y ago · link · parent

The course has some introductory Linear Algebra videos posted.

I don't think you'd be able to understand multiple regression without some basic knowledge of linear algebra.

comment 15y ago · link · parent

Excellent, many thanks.

I've read O'Reilly's Collective Intelligence. It's a great introductory survey, but it was very light on theory.

I also own Collective Intelligence in Action. It had more explanation of theory than O'Reilly's offering, but most of the chapters devolved into how to use Java data mining framework X.

comment 15y ago · link · parent

And on that note, does anyone have any other good book suggestions regarding ML?

comment 15y ago · link · parent

That's partly why I bought it. My university didn't have a statistics department, so I never had the chance to take a statistics course that was worthwhile.

Statistics and linear algebra really should be required by all CS programs. It's funny that at many schools those courses are not, yet Calculus is. First, Calculus should have been handled in HS. Second, I've never had a use for Calculus professionally or for anything I've worked on in my free time.

comment 15y ago · link · parent

Great book. But I made the mistake of buying this book on Kindle just a few hours before I saw it show up here.

:(

comment 15y ago · link · parent

Nope. What I said is still true. Here is my code in Java:

public List<Integer> mergeSort(List<Integer> list) { // Base case // If list has one (or less) element, return list as is int size = list.size(); if (size <= 1) { return list; }

		// Partition list in half
		int m = size / 2;
		List<Integer> left = new ArrayList<Integer>();
		List<Integer> right = new ArrayList<Integer>();
		for (int i = 0; i < m; i++) {
			left.add(list.get(i));
		}
		for (int i = m; i < size; i++) {
			right.add(list.get(i));
		}
		
		// Recursively merge sort each partition
		left = mergeSort(left);
		right = mergeSort(right);
		
		// If the last element of the left partition is greater than the first element of the right partition
		// The left and right partitions need to be rearranged
		if (left.get(left.size() - 1) > right.get(0)) {
			return merge(left, right);
		// Otherwise left and right partitions are in the correct order
		} else {
			left.addAll(right);
			return left;
		}
	}
	
	protected List<Integer> merge(List<Integer> left, List<Integer> right) {
		List<Integer> result = new ArrayList<Integer>();
		// While both containers are non-empty
		// Move lesser elements to the front of the result, and remove them from their containers
		while (!left.isEmpty() && !right.isEmpty()) {
			if (left.get(0) < right.get(0)) {
				result.add(left.remove(0));
			} else {
				result.add(right.remove(0));
			}
		}
		// The container that still has elements contains elements greater than those in the other container
		// It is assumed that the elements in the container are also already sorted
		// So the non-empty container's elements should be appended to the end of the list
		if (!left.isEmpty()) {
			result.addAll(left);
		} else {
			result.addAll(right);
		}
		return result;
	}

comment 15y ago · link · parent

The article is not "gobbledygook". A well known limitation of NodeJS is its lack of support for parallelism. You have to try to take advantage of parallelism of the OS itself by pre-forking the Node server.

NodeJS is great for applications with a lot of clients, but not for CPU intensive apps. That's why I predict similar technologies built on Erlang, Scala, and Go will have more longevity than NodeJS.

comment 15y ago · link · parent

It /might/ be faster? What? Do you fully understand the invariant of the algorithm? The left should always be less than the right partition. There's no need to re-merge them each call. As it is, you are always comparing all elements in the left and right partitions with the merge when you don't have to!

comment 15y ago · link · parent

Good thing TechCrunch isn't worth reading anymore, or I'd actually be upset.

comment 15y ago · link · parent

The recursive merge sort is not quite correct:

function mergeSort(items){

    if (items.length == 1) {
        return items;
    }

    var middle = Math.floor(items.length / 2),
        left = items.slice(0, middle),
        right = items.slice(middle);

    return merge(mergeSort(left), mergeSort(right));
}

You don't need to run merge on the left and right partitions every call. You only need to do that if the left partition's last element is greater than the right partition's first element. Otherwise, you can just append the right partition to the left, since they are already in sorted order.

comment 15y ago · link · parent

Let me clarify: competing ARM processors :)

Chances are it's not an Intel CPU you're using in your smart phone, tablet, or game console.

comment 15y ago · link · parent

Not if ARM processors continue to gain ground.

comment 15y ago · link · parent

And by technology company I mean:

Hardware (Apple, Amazon) OS (Apple, Google) Cloud services (Google, Amazon, Apple) Web services like email, maps, search (Google)

Facebook has a very large user base. Whoopee. But does that mean staying power? Nope. Just ask Myspace, Yahoo, and countless dot bomb companies. You need to invest in R&D, become a technology provider, and succeed in more than one market. Beyond social networking, what does Facebook have?

This is a horrible article, especially by the Economist's standards.

comment 15y ago · link · parent

Facebook lasting a hundred years? WHAT?! I hardly see Facebook as being in the same league as technology companies like Google, Apple, and Amazon. In fact, I don't really see Facebook as much of a technology company at all, at least in comparison to those I mentioned.

I wonder if the author would have said the same thing about Myspace 5 years ago. I bet he would have.

comment 15y ago · link · parent

And yet no one addressed my point. Vote me down, druggies.
12