This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-08-19
Channels
- # admin-announcements (2)
- # beginners (25)
- # boot (93)
- # cider (2)
- # clara (2)
- # cljs-dev (63)
- # cljsjs (3)
- # cljsrn (38)
- # clojure (142)
- # clojure-austin (1)
- # clojure-brasil (2)
- # clojure-czech (1)
- # clojure-dev (7)
- # clojure-greece (1)
- # clojure-russia (170)
- # clojure-spec (11)
- # clojure-uk (65)
- # clojurescript (46)
- # clojurex (1)
- # code-reviews (3)
- # cursive (11)
- # datomic (35)
- # euroclojure (6)
- # events (2)
- # flambo (2)
- # hoplon (115)
- # instaparse (11)
- # jobs (21)
- # jobs-rus (3)
- # lambdaisland (2)
- # off-topic (17)
- # om (35)
- # onyx (161)
- # planck (1)
- # protorepl (7)
- # random (1)
- # re-frame (31)
- # reagent (19)
- # ring-swagger (21)
- # rum (5)
- # spacemacs (3)
- # specter (25)
- # test-check (20)
- # testing (7)
- # untangled (2)
- # yada (50)
Morning.
Is there a Clojure library that helps you work out the optimum packing strategy for a suitcase?
@agile_geek - of course, core.logic 🙂
(now you have two problems)
Excited by submissions to CfP for Clojure eXchange this year! There are some great sounding talks but there's room for more. Submit here. CfP for Clojure eXchange in London 1st-2nd December closes on Tuesday 30th August. If you've been working on a Clojure open source library, have an experience report on how you've used Clojure, or have a creative music/art project using Clojure please submit a talk. https://skillsmatter.com/conferences/7430-clojure-exchange-2016#get_involved
Do you accept rejects from EuroClojure?
@malcolmsparks: I had put money on someone mentioning core.logic 😀
I'm hearing the QI siren 🙂
with 'core.logic' flashing up
Of course we accept rejects from EuroClojure... European CfPs will always be welcome at Clojure eXchange regardless of how the committee votes in September.
at college we had to write a program to solve pentominos, which is a similar problem. I used brute forced and it took about 10mins but the winners caught it down into seconds so there's obviously an algorithm out there. We didn't have the web in those days so much harder to find these algorithms
you need the box version
it still talks about backtracking algos so core.logic will feature somewhere
first you need to approximate all your possessions into coarse voxel structures
Mind you, I would still recommended a 'brute force algorithm' when packing luggage - haha!
I just spend 20 mins trying to figure out why I'd lost the ability to CIDER nrepl-jump in to libraries (jumping into source code is fine, but not code in Java libs) - it turns out I didn't have 'unzip' on my new laptop
That's the real lesson of Ubuntu versus Arch - Ubuntu would have shipped unzip, in Arch, it's an 'option'.
If Arch were a car, windscreen wipers would be an option
(and rightly so)
I took a bottom-down approach to packing.
It got the case closed.
Writing an algorithm to solve the bin packing problem over a telephone - worst tech interview ever!
@rickmoynihan and I bet the job was making a CMS for a crappy website
@malcolmsparks: I installed moved from osx to ubuntu recently (new laptop) and was really happy about the experience. special keyboards functions working out of the box, painless graphics driver install… The user experience is really close to osx. The 2 things really missing are “more applications working on linux” and having a range of pc shipping with ubuntu preinstalled.
I know the case was closed, but hey agile_geek, you never know about your next bag 🙂 https://github.com/reborg/binpack
although you are more searching for https://en.wikipedia.org/wiki/Knapsack_problem for a bag.
@quentin: I have the same missing things about going from Ubuntu (personal) to MacOSX (work). There is a far greater number of the apps I use available on Ubuntu compared to MacOSX, but then maybe I am more familiar with the Ubuntu ones. The Mac laptop is nowhere near as nice as the Lenovo X series in my opinion and you don't get much choice of hardware with a Mac.
@quentin: there is a range of certified Ubuntu laptops available http://www.ubuntu.com/certification/
reborg: I vaguely remember having a go at solving the Knapsack problem some years ago but I can't find my solution anymore. Might give it another go for practice.
only problem is that blasted clickpad on the x240 series. Will need to mod it to the x250 at some point
@malcolmsparks interested to know how you're finding Arch - seems to have a cult following amongst Thinkpad users
guy: yeah. otfrom: has already suggested an OSS project for me to do while I'm off.
Two maybe two and half weeks
@djtango: I just tun the trackpad off in Ubuntu system settings... It's not needed for Emacs...
@jr0cket: I know about the certification but I think it’s still a bit lacking - and not as nice as what you get with osx / windows on this regard (which makes sense of course)
djtango: what's the issue with the touchpad? I have an x1 carbon with Ubuntu and the touchpad works fine.
the touchpad has soft buttons rather than hard buttons - you have to click the actual touchpad to activate a click. When I press the buttons the cursor moves if I'm using the trackpoint
djtango: I'm on Ubuntu 16.04LTS and it works fine on my X1 Carbon. Worked on 15 as well.
hmm, I was on Mint 17 on that device (Ubuntu 14.04). Don't use it so much since I got my work device. (x240 is my personal one)
Drivers have probably been updated in core since then
I'm still pretty keen to mod out the touchpad tbh, the soft buttons are really annoying
It has both
probably a dumb question: is it possible to use a reducer as the reducing function when doing tranducers in order to get parallelism when reducing?
@otfrom: I am not sure but i wouldn't bet on the parallelism working. You could definitely do this using core.async pipeline with transducers
Actually thinking about it that won't reduce in parallel will it. Just transform I think.
would love to have some criticism on this: https://github.com/otfrom/otfrom.copper/blob/f28e839773fa9ea8f8763586e03e8a288cd1b321/src/otfrom/copper.clj#L8-L23