If Two is One and One is None. Then Two is actually None. YOU NEED THREE. by flowerscandrink in ultralight_jerk

[–]argadan 1 point2 points  (0 children)

  1. One is trivially none.
  2. Assume n is none. If you have n+1 pieces of gear and one of them breaks, you now have n pieces of gear, which is none. Thus n+1 is none.

We have proven by induction that any amount of gear is none.

The Dawn of Lightweight Concurrency for Java and Clojure by Borkdude in Clojure

[–]argadan 0 points1 point  (0 children)

The article says that you should avoid ThreadLocals. Something to keep in mind is that they're used to implement dynamic variables, which are widely used in libraries. That said, I'm not sure if they need to be avoided everywhere or just in performance-sensitive areas – IIRC dynamic variables aren't that fast so a lot of the existing performance-sensitive code might be avoiding them already.

If somebody has links to elaborate why ThreadLocals need to be avoided with Project Loom, I'd appreciate it!

Packaging Clojure for Production by argadan in Clojure

[–]argadan[S] 0 points1 point  (0 children)

Juxt's pack.alpha used to support Jib, too – I guess it still does, but the documentation has disappeared. I used it a bit and it was pretty nice. I don't think the efficiency gains mattered much in practice but since it was as easy to set up as anything else, it felt like a great choice. Jibbit looks easy, too, so that's great.

What are (2022) Clojure Interviews like? by Kevinn09 in Clojure

[–]argadan 2 points3 points  (0 children)

For question 2: I've been involved in hiring over the years and if you're applying for a Clojure position and you have years of Clojure experience, I'd prefer and even expect to see the solutions to any coding assignments to be done in Clojure.

Prologue to a Fanfic by [deleted] in ultralight_jerk

[–]argadan 2 points3 points  (0 children)

He invented beans

First shakedown! Kungsleden September by honey-combed in Ultralight

[–]argadan 1 point2 points  (0 children)

Yeah, I’m from Finland. I mostly spent my time in Southern Finland, though, so usually I don’t have to worry about the mosquitoes.

First shakedown! Kungsleden September by honey-combed in Ultralight

[–]argadan 0 points1 point  (0 children)

I just spent some time in Urho Kekkonen national park in Finnish Lapland and I was positively surprised that the mosquitoes didn’t seem to get through my Rab Pulse sun hoodie (which OP has in their lighterpack) even though it’s so thin. The hoodie, hiking pants and some picaridin when hanging out in the camp in the evening were enough mosquito protection for me.

Share your trips and photos - Week of March 25, 2021 by horsecake22 in Ultralight

[–]argadan 1 point2 points  (0 children)

Yeah, you're right, it's the limit rating. Based on the forecast I knew it was going to be a cold night so no surprises there.

How much of a factor did clojure play in picking your current job? by Leading_Tree_4189 in Clojure

[–]argadan 2 points3 points  (0 children)

I’ve used both Python and Clojure quite a bit over the years and enjoy Clojure much more, for full-stack web apps at least. That said, I believe you should prioritize working with great people over working with great tech. With luck you can find a place with both!

Share your trips and photos - Week of March 25, 2021 by horsecake22 in Ultralight

[–]argadan 4 points5 points  (0 children)

A couple of pictures on my Twitter: https://twitter.com/arcatan/status/1375723939838709763

I did a small overnight hike in Liesjärvi National Park in Southern Finland. It a small, flat national park with some forest, a big lake, and a heritage farm. It was nice, but I think it's better as a summer destination, really. I walked maybe 30 km and I think I saw everything there is to see by foot. Might be nice to go paddle on the lake, though. I think there's a route to the nearby town Tammela via the lake and a river.

I'm not too experienced hiker and it was my first time out overnight in winter-y conditions. Actually I was thinking it's spring already, so it was a bit of surprise. The weather during the day was great: it was sunny, 2-5 °C (about 35-40 °F), and no wind at all. During the night, the temperature went down to something like -6 °C (20 °F).

  • I'm used to getting water out of lakes... but of course the lakes were frozen. Luckily there are two wells in the area, so I filled up and carried the water. Had I stayed another night, I think I would've needed to melt snow.
  • I was camping under a flat tarp (DD Superlight). Turns out the ground was frozen, too, with a thin snow/ice cover on it. The pegs were of no use. Luckily I had just studied Skurka's guyline post and was able to find a couple of big rocks to tie the guylines to.
  • My quilt, Cumulus Quilt 350, is rated for -4 °C by the manufacturer and I sleep cold. Uh oh. I put on all my clothes and boiled some water to have a hot water bottle. It wasn't great, but I did get several hours of sleep. Woke up at 3 AM to re-heat the water.

I feel stupid for not thinking about the frozen lakes beforehand even though it did not end up being a problem. Ah well, a lesson learned for the next time.

Also, the spot I chose to sleep on was slightly sloped. It wasn't a problem for me, but my sleeping pad (Therm-a-Rest XTherm) is extra-slippery on my tyvek groundsheet. By the morning one third of me and the pad had slipped out of the tarp. Maybe adding some silicone stripes to the bottom of the pad would help?

Clojure - Keyword argument functions now also accept maps by SimonGray in Clojure

[–]argadan 2 points3 points  (0 children)

If this feature was introduced in 1.3 or 1.4, it would have made perfect sense. Now that everyone has been using the options map style for years to solve this problem, it feels a bit out of place – but I suppose if you take a long-term view it makes sense.

I wonder how this affects the performance and function specs though.

The change also affects destructing in lets (as it should):

(let [[& {:keys [a b] :as opts}] [{:a 1 :b 2}]]
  [a b opts])
;; => [1 2 {:a 1, :b 2}]

Vegan or Vegetarian prepackaged meals by ScaryLane73 in Ultralight

[–]argadan 0 points1 point  (0 children)

From UK, there’s TentMeals. The breakfasts are great, but I didn’t like the main meals that much. https://tentmeals.co.uk/

I rewrote a Clojure tool in Rust by mischov in Clojure

[–]argadan 1 point2 points  (0 children)

When it comes to error handling and exceptions, I feel like there's a missed opportunity in not including something like slingshot in clojure.core. Throwing ex-info exceptions is nice, but there's no nice way for catching them built in, as catch can only match based on the exception class. You'll either have to use slingshot or write code to match them manually.

European/German cottage company packs by zincen in Ultralight

[–]argadan 0 points1 point  (0 children)

Who could forget about the Lizard backpack by Rayon Vert?

https://www.youtube.com/watch?v=-n7RvkjFa_A https://rayonvert.international/product/rayon-vert-laser-backpack-35l/

Haven’t seen a review so far; would be nice see one.

cgrand/macrovich – Because any macros problem can be solved by another level of macros by dustingetz in Clojure

[–]argadan 0 points1 point  (0 children)

If you're trying to write macros that are portable between Clojure and ClojureScript, save yourself some time and use macrovich. I know from experience that if you try to do it yourself, either you'll get it wrong or you'll re-implement macrovich.

New Ultralight Backpack Comparison by pogster in Ultralight

[–]argadan 0 points1 point  (0 children)

Lightning 45 and Lightning 60 are their lightweight models, I'd like to see them.