I like it! I found that it doesn't like "=" in the transformation result.
Show HN: A tool that transforms your whole list with just one example
51–60 of 151 posts
Re: Show HN: A tool that transforms your whole list with just one example
#52Any chance of making a plugin for Sublime Text?
Re: Show HN: A tool that transforms your whole list with just one example
#53Re: Show HN: A tool that transforms your whole list with just one example
#54http://www.eecs.berkeley.edu/Pubs/TechRpts/2008/EECS-2008-17...
edit: see below
Re: Show HN: A tool that transforms your whole list with just one example
#55I like it! I found that it doesn't like "=" in the transformation result.
foo, bar
baz, bog
first="foo", second="bar"
first"foo", second"bar"
first"baz", second"bog"Re: Show HN: A tool that transforms your whole list with just one example
#56Re: Show HN: A tool that transforms your whole list with just one example
#57One can achieve the same in sublime text using the multiple cursors and edit feature. This is great for non tech people. For those of you who are wondering what sublime text can do, do give a visit to a sublime text video series on tutsplus, its awesome and teaches you the power of sublime text
Re: Show HN: A tool that transforms your whole list with just one example
#58Earlier quoted context omitted.
My brain doesn't understand what you're trying to do either. Why is Roberto/Carlos on every line?
I formatted their examples to appear like some real data I have that appears like this, obviously not names but descriptions of some projects. I was curious how this would handle it. In any case, get rid of the "/" and its closer to real. Some people have more than two names in their full name. And on a set a little larger you could very well have something close to my second example.
Re: Show HN: A tool that transforms your whole list with just one example
#59This area of research is called "program sketching", which creates programs by example. http://www.eecs.berkeley.edu/Pubs/TechRpts/2008/EECS-2008-17... edit: see below
http://en.wikipedia.org/wiki/Programming_by_example
Sketching means to provide a partial specification, of which details are filled in by the system. But in this case, the user is providing a full description of a single concrete example. These are different concepts.
Re: Show HN: A tool that transforms your whole list with just one example
#60 Input:
Feature: 37, threshold: 4386, +
Feature: 11, threshold: 1, +
Feature: 10, threshold: 13, +
Feature: 0, threshold: 34, +
Feature: 39, threshold: 44, +
Example:
x[37] >= 4386
Output:
x[37] 4386
x[11] 1
x[10] 13
x[0] 34
x[39] 44