Jonkman Microblog
  • Login
Show Navigation
  • Public

    • Public
    • Network
    • Groups
    • Popular
    • People

Notices tagged with lisp, page 3

  1. ∑ XahLee (xahlee@noagendasocial.com)'s status on Wednesday, 21-Feb-2018 18:24:09 EST ∑ XahLee ∑ XahLee

    #Emacs #lisp: Unicode Representation in String
    http://ergoemacs.org/emacs/elisp_unicode_representation_in_string.html

    In conversation Wednesday, 21-Feb-2018 18:24:09 EST from noagendasocial.com permalink
  2. ∑ XahLee (xahlee@noagendasocial.com)'s status on Monday, 19-Feb-2018 23:14:58 EST ∑ XahLee ∑ XahLee

    #math free text book.
    Functional Geometry, 2013, Sussman, Wisdom, Farr.
    http://xahlee.info/math/functional_geometry_2013_sussman.html
    Sussman is the same guy who wrote SICP #lisp #racketlang
    #haskell

    In conversation Monday, 19-Feb-2018 23:14:58 EST from noagendasocial.com permalink
  3. ∑ XahLee (xahlee@noagendasocial.com)'s status on Sunday, 18-Feb-2018 20:01:36 EST ∑ XahLee ∑ XahLee

    in my field, i face the same problem the brave guys are. That is, i write tutorial for elite hackers eg #haskell #lisp, #emacs and open source fsf kinda fringes. Then, these fringes, often kept bugging/bitching/pushing for more fringe, so that whatever u do remain fringe.

    In conversation Sunday, 18-Feb-2018 20:01:36 EST from noagendasocial.com permalink
  4. Bob Jonkman (bobjonkmangreen@gs.jonkman.ca)'s status on Thursday, 15-Feb-2018 17:29:35 EST Bob Jonkman Bob Jonkman
    in reply to
    • therubackup
    When I read "expensive brackets" I was sure it was a message about #Lisp
    In conversation Thursday, 15-Feb-2018 17:29:35 EST from web permalink
  5. ∑ XahLee (xahlee@noagendasocial.com)'s status on Thursday, 15-Feb-2018 15:09:35 EST ∑ XahLee ∑ XahLee
    in reply to

    Meaning of “Object” in Computer Languages
    http://xahlee.info/comp/meaning_of_object_in_computer_languages.html
    #java #lisp #python #JavaScript #c

    In conversation Thursday, 15-Feb-2018 15:09:35 EST from noagendasocial.com permalink
  6. ∑ XahLee (xahlee@noagendasocial.com)'s status on Wednesday, 07-Feb-2018 22:07:12 EST ∑ XahLee ∑ XahLee

    Ontology of Programing Language
    http://xahlee.info/comp/programing_ontology.html
    #haskell #ocaml #lisp #python #ruby

    In conversation Wednesday, 07-Feb-2018 22:07:12 EST from noagendasocial.com permalink
  7. ∑ XahLee (xahlee@noagendasocial.com)'s status on Monday, 05-Feb-2018 14:15:26 EST ∑ XahLee ∑ XahLee

    Why #Clojure #lisp is Dense
    http://xahlee.info/comp/clojure_is_hard_to_learn.html

    In conversation Monday, 05-Feb-2018 14:15:26 EST from noagendasocial.com permalink
  8. ∑ XahLee (xahlee@noagendasocial.com)'s status on Monday, 05-Feb-2018 13:54:13 EST ∑ XahLee ∑ XahLee

    i'd have to say, #clojure #lisp has failed, due to, complex intermix with java/jvm, and the clojure community as a cult refusing to listen. While, #golang , @kotlin are thriving. The #kotlin actually replaces clojure, with 10x more users.

    it's funny, that the clojure head Rich Hickey emphasize simplicity, and makes a fuzz about simple may appear hard. But that's a tinted glass look of simplicity. Clojure, the way it forces intermix with java, is more complex than ANY programing language.

    In conversation Monday, 05-Feb-2018 13:54:13 EST from noagendasocial.com permalink
  9. Tuukka (tuturto@mastodon.social)'s status on Saturday, 03-Feb-2018 23:09:18 EST Tuukka Tuukka
    • m455

    @m455 current release doesn't have let and you have to use setv instead. Good news is that the next release will have let again. https://engineersjourney.wordpress.com/2017/09/17/sneak-peek-of-possible-future/ has a bit of info about it. PR has been merged and next release should have this.
    #lisp #hy

    In conversation Saturday, 03-Feb-2018 23:09:18 EST from mastodon.social permalink

    Attachments

    1. File without filename could not get a thumbnail source.
      Sneak peek of possible future
      By tuturto from Engineer's Journey

      As you may be aware, let was dropped not too long time ago from Hy. While being very integral and essential part of Lisp, it was just really hard to get working correctly and thus it was removed. However, gilch, one of core developers of Hy, didn’t give up the idea and eventually came up with a proposal how let could be written.

      At the time of writing, this is still a pull request , so nothing hasn’t been merged into master yet and things could still change. But I wanted to write about this as it’s super cool feature and showcases some really neat tricks you can pull of with Hy.

      If we start hy with hy –spy, REPL will output Python code. This lets us to examine what goes under the hood. Lets start with a simple example:

      => (require [hy.contrib.walk [let]])
      => (let [a 1] a)
      :let_1235 = {}
      :let_1235['a'] = 1
      :let_1235['a']
      1
      

      Let lives currently in contrib, so it needs to be required before using. Examining spied output reveals that let is turned into a dictionary with gensymed name to avoid name collisions. After this, every usage of the given variable is through that dictionary.

      Remember how lot of troubles with the original let was due to hidden function that was used to create a new lexical scope? Lets see how this new one handles that?

      => (defn nested [a b]
      ...   (let [c (+ a b)]
      ...     (let [c 5] c)))
      def nested(a, b):
          :let_1240 = {}
          :let_1240['c'] = (a + b)
          :let_1241 = {}
          :let_1241['c'] = 5
          return :let_1241['c']
      

      We have just one function, no extra scopes or anything. Pretty cool, right? Nested lets are turned into new dictionaries and rest of the code is rewritten to use the correct one. This might sound simple, but it’s not. The macro that takes care of this is long and complicated.

      What about if we try to confuse the macro and do something silly?

      => (defn tricky [a b c]
      ...   (let [c (+ a b)] (print c))
      ...   (let [c (* a b)] (print c))
      ... (print c)
      ... c)
      def tricky(a, b, c):
          :let_1239 = {}
          :let_1239['c'] = (a + b)
          print(:let_1239['c'])
          :let_1240 = {}
          :let_1240['c'] = (a * b)
          print(:let_1240['c'])
          print(c)
          return c
      

      Looks good to me. In each case, symbol c is coming from correct dictionary and in the end the original argument is used correctly.

      I’m super happy to see this coming together and can’t wait for the pr to be merged.

  10. ∑ XahLee (xahlee@noagendasocial.com)'s status on Saturday, 03-Feb-2018 20:33:25 EST ∑ XahLee ∑ XahLee

    coding in #javascript is like being fucked in the ass.

    no other lang i've ever coded is like that. Not even perl or bash. Not #clojure #java #python #ruby #lisp #php #mathematica .

    Fuck javascript

    there are some idiots, e.g. a guy from #racketlang group who wrote a book, saying that syntax is not import. That's the most idiotic claim in entirety of programing literature.

    javascript sucks, primarily due to its syntax.

    In conversation Saturday, 03-Feb-2018 20:33:25 EST from noagendasocial.com permalink
  11. ∑ XahLee (xahlee@noagendasocial.com)'s status on Wednesday, 31-Jan-2018 02:16:57 EST ∑ XahLee ∑ XahLee

    Programing: “var x = y or 1” Considered Harmful
    http://xahlee.info/comp/programing_or_considered_harmful.html
    #python #ruby #JavaScript #haskell #lisp

    In conversation Wednesday, 31-Jan-2018 02:16:57 EST from noagendasocial.com permalink
  12. ∑ XahLee (xahlee@noagendasocial.com)'s status on Tuesday, 30-Jan-2018 16:18:00 EST ∑ XahLee ∑ XahLee

    three programing exercises, from easy to hard
    code it in #python #perl #lisp #haskell before seeing answer

    1, Script to Check HTML File Size
    http://xahlee.info/python/check_html_size.html

    2, Web Crawler
    http://xahlee.info/python/python_simple_web_crawler.html

    3, Construct a Tree Given Its Edges
    http://xahlee.info/python/python_construct_tree_from_edge.html

    In conversation Tuesday, 30-Jan-2018 16:18:00 EST from noagendasocial.com permalink
  13. ∑ XahLee (xahlee@noagendasocial.com)'s status on Thursday, 25-Jan-2018 00:52:33 EST ∑ XahLee ∑ XahLee

    What Does it Mean When a Programing Language Claims “Whitespace is Insignificant”?
    http://xahlee.info/comp/whitespace_in_programing_language.html
    #haskell #ruby #lisp

    In conversation Thursday, 25-Jan-2018 00:52:33 EST from noagendasocial.com permalink
  14. ∑ XahLee (xahlee@noagendasocial.com)'s status on Wednesday, 24-Jan-2018 02:48:26 EST ∑ XahLee ∑ XahLee

    #emacs #lisp Font Lock Mode Basics
    http://ergoemacs.org/emacs/elisp_font_lock_mode.html

    In conversation Wednesday, 24-Jan-2018 02:48:26 EST from noagendasocial.com permalink
  15. ∑ XahLee (xahlee@noagendasocial.com)'s status on Sunday, 14-Jan-2018 06:39:37 EST ∑ XahLee ∑ XahLee

    it seems, in older languages up to 2000, the concept of operator is same as math. But now, there's no clear definition of what's “operator”.
    see
    http://xahlee.info/math/function_and_operators.html
    #lisp #haskell #python

    In conversation Sunday, 14-Jan-2018 06:39:37 EST from noagendasocial.com permalink
  16. ∑ XahLee (xahlee@noagendasocial.com)'s status on Wednesday, 10-Jan-2018 17:24:39 EST ∑ XahLee ∑ XahLee
    in reply to

    To many programer idiots, when they learned about x = y or 3, they think, “omg, this is cool!”, cuz it is not intuitive and short, to them, they learned a fancy trick! And they proceed to tell everyone to use it as “idiom”. #python #JavaScript #haskell #lisp

    In conversation Wednesday, 10-Jan-2018 17:24:39 EST from noagendasocial.com permalink
  17. ∑ XahLee (xahlee@noagendasocial.com)'s status on Wednesday, 10-Jan-2018 17:12:17 EST ∑ XahLee ∑ XahLee

    updated.
    Programing: “or” Considered Harmful. The Short-Circuit Evaluation problem.
    http://xahlee.info/comp/programing_or_considered_harmful.html
    #haskell #lisp #python

    In conversation Wednesday, 10-Jan-2018 17:12:17 EST from noagendasocial.com permalink
  18. ∑ XahLee (xahlee@noagendasocial.com)'s status on Tuesday, 09-Jan-2018 21:18:23 EST ∑ XahLee ∑ XahLee

    Programing: “or” Considered Harmful
    http://xahlee.info/comp/programing_or_considered_harmful.html
    #haskell #lisp #python

    In conversation Tuesday, 09-Jan-2018 21:18:23 EST from noagendasocial.com permalink
  19. ∑ XahLee (xahlee@noagendasocial.com)'s status on Friday, 05-Jan-2018 23:58:18 EST ∑ XahLee ∑ XahLee

    Learn #Python in 1 Hour
    http://xahlee.info/python/python_basics.html

    learn #Linux commands in 1 hour
    http://xahlee.info/linux/linux_common_commands.html

    learn #JavaScript in 1 hour
    http://xahlee.info/js/javascript_basics.html

    Learn Emacs #Lisp in 1 hour
    http://ergoemacs.org/emacs/elisp.html

    In conversation Friday, 05-Jan-2018 23:58:18 EST from noagendasocial.com permalink
  20. ∑ XahLee (xahlee@noagendasocial.com)'s status on Tuesday, 02-Jan-2018 17:02:10 EST ∑ XahLee ∑ XahLee

    Symbolics Space-Cadet Keyboard
    http://xahlee.info/kbd/space-cadet_keyboard.html
    thumb keys 👍 👎 and ☜ ☞ 👈 👉 #lisp #emacs

    In conversation Tuesday, 02-Jan-2018 17:02:10 EST from noagendasocial.com permalink
  • After
  • Before
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

Jonkman Microblog is a social network, courtesy of SOBAC Microcomputer Services. It runs on GNU social, version 1.2.0-beta5, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All Jonkman Microblog content and data are available under the Creative Commons Attribution 3.0 license.

Switch to desktop site layout.