HackerTrans
TopNewTrendsCommentsPastAskShowJobs

tincholio

no profile record

comments

tincholio
·3 mesi fa·discuss
Well, way back in the day, dev tools weren't free, either, for the most part.
tincholio
·7 mesi fa·discuss
It's excciting, but I saw a review of a pre-release c2 on youtube [0] the other day, and it seemed extremely slow in the interactions. Otherwise, it seems like a cool device.

[0] https://youtu.be/5titW5dclwg
tincholio
·8 mesi fa·discuss
He looks like Dracula on LinkedIn
tincholio
·8 mesi fa·discuss
My take on this is that when outsourcing the code writing, you miss out on building a mental model of how it works that you do develop when doing it yourself. The degree to which that is a problem is probably variable, I suppose.
tincholio
·9 mesi fa·discuss
Most of those are not really "frameworks" as such (with some exceptions, like Biff or Fulcro), but rather libraries, or curated collections of libraries. Most Clojure people tend to roll their own set of libraries, rather than use actual frameworks.
tincholio
·10 mesi fa·discuss
I've been experimenting with this (it's in Babashka, which is for scripting Clojure, but you can do it with just bash, if your bash-fu is stronger than mine :D ):

    #!/bin/env bb
    
    (ns switch
      (:require [clojure.java.shell :as sh]
                [babashka.process :refer [pipeline pb shell process]]
                [clojure.string :as str]))
    
    (def workspace-ids
      (-> (pipeline (pb "hyprctl workspaces")
                    (pb "grep 'workspace ID'")
                    (pb "awk '{print $3}'"))
          last
          :out
          slurp
          (str/split #"\n")
          (->> (reduce (fn[acc e]
                         (try (let [ee (Integer/parseInt e)]
                                (conj acc ee))
                              (catch Exception e acc))) [])
               (filter #(and (pos? %)
                             (not= 10 %))))))
    
    
    
    (doseq [w workspace-ids]
      (-> (process (str "hyprctl dispatch moveworkspacetomonitor " w " 1"))
          deref
          :exit
          println))
    
    (process "hyprctl dispatch workspace 8")

It basically just moves all workspaces with positive IDs (so not the special workspace) to the external monitor, which seems to have a consistent ID of 1.
tincholio
·10 mesi fa·discuss
Indeed!
tincholio
·10 mesi fa·discuss
I have been having some issues with X/i3 (using i3 as a WM for Plasma), mostly with multiple screen setups (windows getting all screwy when connecting/disconnecting, lots of flickering, etc.), and also with my trackpoint's middle button scrolling randomly going away, and needing to use xinput incantations to fix it. I tried Hyprland with QuickShell, and after some QS-related pains, I just dropped to plain Hyprland. It's been working quite nicely so far. There was a lot of trial and error, and there's still some bits that could use improvement, but overall things just work nicely. The main sticking point for me now is that the screen-sharing and using Flameshot is a bit convoluted, and that the workspaces configuration does not support multiple external monitors (as in, the one in my office, and the one home, it needs some resetting each time I change those, or at least I haven't found the way to configure it properly as I had on i3).

So far, it has been a moderately positive change.
tincholio
·anno scorso·discuss
Mixing can work pretty well. I'm using Plasma with i3 as a WM, and it hits the perfect spot for me. Not sure if the same thing can be done on Wayland, though?
tincholio
·5 anni fa·discuss
Check out Richard Feynman, for example.
tincholio
·5 anni fa·discuss
Well, the first 4 books are some of his best writing, I think... The final 3 suck terribly, and were a great disappointment (to me, of course, maybe some people actually liked them)
tincholio
·6 anni fa·discuss
Thanks for the links!
tincholio
·6 anni fa·discuss
xcape and the compose key are really killer tools. Not having them would really screw with productivity
tincholio
·14 anni fa·discuss
Dude, as a recently minted father, I can't begin to grasp what you guys are going through. I just want to wish you the best of lucks with this.

On a completely unrelated - and irrelevant - note, I find your writings fascinating.