This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-02-01
Channels
- # aleph (71)
- # aws (1)
- # bangalore-clj (4)
- # beginners (36)
- # boot (153)
- # cider (23)
- # clara (9)
- # cljs-dev (67)
- # cljsjs (2)
- # cljsrn (22)
- # clojure (348)
- # clojure-argentina (4)
- # clojure-austin (12)
- # clojure-berlin (9)
- # clojure-dusseldorf (6)
- # clojure-france (4)
- # clojure-italy (4)
- # clojure-russia (358)
- # clojure-spain (2)
- # clojure-spec (28)
- # clojure-uk (109)
- # clojurescript (130)
- # core-typed (1)
- # cursive (35)
- # datascript (6)
- # datomic (18)
- # emacs (12)
- # hoplon (4)
- # klipse (64)
- # lein-figwheel (13)
- # leiningen (3)
- # luminus (4)
- # lumo (51)
- # mount (22)
- # off-topic (83)
- # om (22)
- # om-next (8)
- # onyx (3)
- # pedestal (8)
- # perun (6)
- # portland-or (2)
- # re-frame (50)
- # ring (8)
- # ring-swagger (5)
- # untangled (10)
- # yada (9)
morning.
morning.
Some peeps are having a real bad day....
Yeah... I was glad to read on the more detailed status page(s) that the repos were not affected, just Issues and Merge Requests, but still...
It's nice when companies fuck up, are open about it, and because of that customers support them.
"So in other words, out of 5 backup/replication techniques deployed none are working reliably or set up in the first place.” was just reading through that doc
#fuckcomputers
Morning @jonpither - How are things going with your move to Arch?
@paulspencerwilliams - I agree, transparency is the key at times like this; Gitlab will be fine because they are being clear about what the problem is and how they intend to fix it, so I expect that their customers will feel pretty much that they want to stick around.
Last time I was caught up in a Github snafu the comms were good but not this good...
Hi @maleghast I'm loving it
when I moved from the Mac to Ubuntu, it was nice, but had some niggles, and I wasn't like 'wow, this is amazing'
but moving to Arch and I3, going much more minimal but using a proper window/tiling manager, it just fits the way I want to work
@jonpither - Glad to hear it! Once I am in a position to have a desktop / base somewhere I will be adopting Arch as my main work OS
yeah. I won't lie to you, having @dominicm almost sitting next to me has made the transition very seamless
Also good to know - when I set up a workstation I will have my MBP to fall back on... 😉
Well, I am coming back to the UK, sooner than expected, and once we are settled and I've got some money coming in there will be a desktop machine and a desk and chair just for me for work and play. It's going to have a boot disk for Arch and (sadly) one for Win10 for gaming.
I love working on my Mac, but it's going to be my "on the road" machine and my photography and media machine.
Aww, thanks - I have missed the Clojure community in general and you Juxt fellows and a certain Hugmonster General and a few others in particular.
@maleghast If you buy a dedicated gfx card for gaming, you can instruct linux to not touch it, and do a direct pass through to a VM. Given that CPUs are not a particular bottleneck in gaming anymore (especially with virtualization being supported first class in the CPU) you may find that it's more than fast enough to game on Linux.
https://www.reddit.com/r/pcmasterrace/comments/2z0evz/gpu_passthrough_or_how_to_play_any_game_at_near/ @maleghast
Looks like you must dedicate an input to a monitor / have a second monitor. Only real drawback, not too bad really.
Yep, that looks very interesting. If nothing else it would also provide a Linux / Windows dev environment that could basically just run all the time, allowing me to do website testing on shudder IE without starting up a VM and all of that...
Bore da
(case (type "")
java.lang.String
"foo")
(let [x (type "")]
(cond
(= x java.lang.String)
"foo"))
Only one of these works.@bronsa yeah that's what I was thinking. Must admit that I'm finding some of the behaviours of case quite confusing.
well, case is optimized for constant time dispatching, evaluation test expressions would prevent that
@bronsa ah, didn't realise that was the decision. I thought it might have been a trade-off in order to support the (:a :b)
syntax.
except it's its shitty cousin that only supports a bunch of expressions, not true eval
Explained a little bit of that in this: https://manning-content.s3.amazonaws.com/download/c/5f7f93e-be8a-4b4e-a679-8171b1e761ff/Clojure_Standard_Library_v1_MEAP_sample-function-2.pdf
case is a beautiful engineering piece BTW. It just takes some knowledge to use correctly
it can break because case does a hashCode dispatch (for those types of objects), inlining at the bytecode level the hashcode of the class at compile time -- if on some other JDK the hashcode for that class is different, it's not going to match
(let [drop-services
{:alsmp
{:color :red
:ips ["10.206.6.145"]
:cmd "journalctl -xe --since -1min --no-pager -u dropwizard_alsmp-service -f"}
:alsapi
{:color :green
:ips ["10.206.6.245"
"10.206.6.42"]
:cmd "journalctl -xe --since -1min --no-pager -u dropwizard_alsapi-service -f"}
:dmdis
{:color :blue
:ips ["10.206.5.239"]
:cmd "journalctl -xe --since -1min --no-pager -u dropwizard_dmdis-service -f"}
:mips
{:color :yellow
:ips ["10.206.6.33"]
:cmd "journalctl -xe --since -1min --no-pager -u dropwizard_mips-service -f"}}
cm-infra
{:all
{:color :red
:ips ["10.204.25.240"
"10.204.26.33"
"10.204.24.47"
"10.204.29.23"
That hash feeds into a function that basically multiplexes ssh connections so I can watch logs in realtime.
But I'd find it odd to edit my "code" between runs rather than changing a config file.
(with-awsprofile profile
(with-env sit ;; instances with env tag set to sit
(stream-dropwizard-service alsmp) ;; instances with service tag set to alsmp
(stream-dropwizard-service alspi)
(stream-dropwizard-service dmdis)))
have a look at https://github.com/juxt/aero
https://github.com/jasebell/onyx-kafka-demo/blob/master/resources/config.edn for an example
@mattford also worth looking at https://github.com/weavejester/environ for reading environment variables via clojure.