875 karma · joined January 21, 2013
I've just recorded a video where I'll refactor some code for fun. This code adds two arrays one has strings in it like ["1" "2" "3"] the other has numbers like [1 2 3].
Video: https://s3.us-east-2.amazonaws.com/photoblobs/2017-06-22_003...
I do have a couple typos / mis-compiles but that's sort of par for the course. Hope you enjoy!
That sounds like a startup to me.
In which case you'd expect (student-lead) learning outside of school would be superior, as you mentioned.
(or a b c) A function invocation. This comprises a list where the first element
is the function and the rest of the elements are the arguments. first
takes one argument, (1 2), and returns 1.
My problem is, the same way in every lisp I've seen, (1 2) qualifies as a function invocation. I'm not sure how the interpreter would know not to invoke 1 on 2, in these examples: (1 2)
or (first (1 2))I think consumers want to know what is in the food they're eating, so you would get many startups who study what makes something healthy, or finding cheaper ways to list calories and ingredients, instead of listening to the government telling you about the food pyramid etc.
Even if customers deem it too expensive to pay for the nutrition facts, then how do you or others gain the right to intervene in a voluntary act between two people?
I assume you mean it's exploitative on the customer? If two parties voluntarily enter an exchange, who are you to say that it's exploitative? I'm genuinely curious.
That's 100% possible to do in Emacs, while editing plain html, using smartparens-strict-mode. Basically it treats the HTML like lisp code, so by "autobalancing parens" the editor lets you swap-sexps, which would perform the same transformation as the drag and drop in the editor, but much quicker and easier (as long as u can invest in learning the keys.)!
Of course with Hiccup[0] or Reagent[1] code in Clojure/script, it's perfectly possible too. The same keybindings even.
[0] http://hiccup.space [1] http://cljsfiddle.com
(I'm the author of those little projects)
I already mentioned it in this thread but, check out http://hiccup.space to show people how great it works.
For more in depth examples see http://cljsfiddle.com
Also if you're interested in a more interactive (i.e. can process data into html), check out http://cljsfiddle.com
Oh, spec also serves as documentation!
Maybe you'll like more now. :)
I also stayed at Vic's hacker house in San Mateo, where the stoner host and his buddy were often up to no good... One guy actually decided to stop paying rent, and exercise his tenant's rights. Basically things were going horribly there so I was able to convince my fellow tenants to split a 3 bedroom apartment near by.
I get that Vic takes care of the house that he lives in. It's just not the case for all of his properties.
Thanks Eevee! :)