Hacker News new | ask | show | jobs
by mdp2021 1174 days ago
> I do not have the ability to predict

Not even trying any reasoning. As if what some hope will be an emergent feature was clipped "just to be sure".

2 comments

It can do some basic coding. The code syntax highlighting looks cool.

> Do a quick sort in python

> Here's an example of a quicksort implementation in Python:

def quicksort(array): if len(array) <= 1: return array pivot = array[0] less = [x for x in array[1:] if x <= pivot] greater = [x for x in array[1:] if x > pivot] return quicksort(less) + [pivot] + quicksort(greater)

Quick sort is a terrible test case as it will have numerous training data examples of this exact concept
This is exactly what concerns me...that, and that others will have the non-crippled version.