This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-11-19
Channels
- # beginners (98)
- # boot (9)
- # business (2)
- # cljs-dev (10)
- # clojars (4)
- # clojure (36)
- # clojure-brasil (1)
- # clojure-dev (3)
- # clojure-poland (3)
- # clojure-russia (39)
- # clojure-spec (29)
- # clojure-uk (8)
- # clojurebridge (1)
- # clojurescript (70)
- # component (3)
- # cursive (2)
- # datomic (2)
- # figwheel (1)
- # hoplon (9)
- # klipse (29)
- # off-topic (7)
- # om (3)
- # onyx (11)
- # overtone (3)
- # rdf (1)
- # re-frame (18)
- # schema (1)
- # spacemacs (1)
- # untangled (5)
CIDER is pretty awesome!
My work laptop is basically unusable with emacs, sadly. Lenovo did something super funky and the only 'ctrl' recognized by applications is the right control key; the only 'alt' is the left, with the right alt apparently permanently stuck as AltGr. 😞
@fellshard : please tell us the full model #, so we know to never buy that model
Lenovo W541, they have a habit of 'playing' with their layouts. The navigation buttons are all shuffled, too, approaching 'dev-hostile' levels. (page up/down, home/end)
Couldn't find any BIOS configuration to change it like you can for the 'Fn/Ctrl' swap.
@fellshard: is this fixable via xmodmap (I guess the ctrl/alt issue is not if they happen to map to the same hardware code)
iirc I tried tinkering around with the AHK Colemak mapping I use, but couldn't get it to budge that way. Haven't tried much else yet.
if you do ever switch to Linux, basically all problems, except for "these two distinct keys give same code" is solvable via xmodmap, with sufficient man page reading
There's also the highly expensive https://www.kinesis-ergo.com/ -- but I've found it to be amazing for emacs/cider/clojure, since Ctrl/Alt can be hit with thumb
including both with the same thumb, without twisgint the hand, so things like M-C-x are easy to hit
Hmm, you raise a good question, I don't recall if the problem existed with an external keyboard
It can't screw up with external keyboard UNLESS the motherbaord is like: well, this external keybaord has different keycodes for Alt/Ctrl -- just for giggles, let's mix them to same key.
inspired by https://www.youtube.com/watch?v=BCXsxnnXZBo&list=PLhi8pL3xn1OQW8Ha2kfDQX9zkMeMxqTOs I implemented a mini forth in clojure Alan Perlis talks about langauges that changes the way you think. In terms of forth, can all the benefits of forth be repeated in clojure simply with (def ^:dynamic stack) ? It seems like much of the power of forth comes from the implicit stack -- and I can get all of this with just a stack -- and yet retain all the power of clojure in the implementation of individual words.
anyone know the proper way to declare a java type String[][] in the gen-class :method?
@seancorfield thanks, I will try to find it
@etherfuse the class function is useful for figuring those hints:
user=> (class (to-array-2d []))
[[Ljava.lang.Object;
@roelofw: https://github.com/seancorfield/fw1-clj/tree/master/examples/usermanager
@seancorfield thanks, I could not find it
https://www.youtube.com/watch?v=FihU5JxmnBg <-- amazing talk on debugging Clojure, especially the partial-join example of "inside out eval at the repl" -- are there other cool "debugging clojure" talks -- my clojurre bugs that I find most infuriating are the ones that a static type checker would ahve caught -- and I need to build better intuition for catching these