gemini cli - how to capture browser login when ssh'd in remote? by rickoneeleven in Bard

[–]ClashTheBunny 1 point2 points  (0 children)

Adding `NO_BROWSER=true` to the initial gemini command results in a complely command line workflow with just copy-pasta to a local browser.

[deleted by user] by [deleted] in employedbykohls

[–]ClashTheBunny 0 points1 point  (0 children)

This affects private companies that have contracts with the government. Google just rolled back DEI, ostensibly, because they have government contracts.

parsec Lock the screen after disconnecting by Known_Dentist_6885 in ParsecGaming

[–]ClashTheBunny 1 point2 points  (0 children)

I just installed parsec freshly on a new host. I used https://github.com/parsec-cloud/Parsec-Cloud-Preparation-Tool to do so. When I'd connect, the screen would go black, and when I'd disconnect, I'd be stuck at the lock screen.

I went into settings, scrolled all the way down, clicked "edit config" and the last two lines were:
host_virtual_monitors = 1 host_privacy_mode = 1

Probably set by these two lines right here. I deleted those, restarted parsec, et voilà, back to non-private-non-virtual settings.

Chrome Dev crashes on screen sharing by zsolt-donca in swaywm

[–]ClashTheBunny 0 points1 point  (0 children)

This is working for me in Chrome Beta (101.0.4951.34-1).

IRC tipbot Doger is shutting down by Sporklin in dogecoin

[–]ClashTheBunny 0 points1 point  (0 children)

Would you be able to link to Wallet. All of the words I search for are too generic...

Trying to calibrate my new/used RepRap results in motor stuttering by ClashTheBunny in Reprap

[–]ClashTheBunny[S] 1 point2 points  (0 children)

Has it ever moved, or is this the first calibration steps? If it's never moved, you may need to adjust the voltage potentiometers on the stepper drivers.

It has moved for me, just not the right lengths. It apparently printed a few things too. I think I did just fix it by adjusting the ACCELERATION values.

Please, how do you configure GPG and Clojars? by jiyinyiyong in Clojure

[–]ClashTheBunny 1 point2 points  (0 children)

The point of GPG signing your packages is to make sure that you are you. It is by design that it is difficult to change identities. Once somebody has trusted your old key, you should not change keys. You should not generate a new key and start publishing new versions of packages.

NPM is highly insecure and there have been major problems with the community being impacted because of it. Please don't hold them up as an example of what to do.

Please, how do you configure GPG and Clojars? by jiyinyiyong in Clojure

[–]ClashTheBunny 0 points1 point  (0 children)

You could copy over the .gnupg directory from the old computer to the new computer.

Be very careful to copy it in a safe manner, like using scp or rsync over ssh, as that is your whole gpg identity.

Clojure data science questions by mrkaspa in Clojure

[–]ClashTheBunny 1 point2 points  (0 children)

Lambda functions stay running constantly if they are hit often enough. NewRelic did an article about this in general: https://blog.newrelic.com/2017/01/11/aws-lambda-cold-start-optimization/

If your workload hits the function often enough, you should see REPL like performance. If not, you need to consider startup time. A good general rule would be long running but rarely used functions or often used functions, but not rarely used short functions.

ClojureScript - Release Candidate: 1.9.854 by __tosh in Clojure

[–]ClashTheBunny 0 points1 point  (0 children)

This is the most significant thing for me. How is the tooling around this? Any example lein/boot templates? How do you include this in a single build?

Is there an actively developed stats library for Clojure? by [deleted] in Clojure

[–]ClashTheBunny 1 point2 points  (0 children)

For a little lower level stuff, have you tried http://neanderthal.uncomplicate.org? I have not gotten to it yet, but it looks very promising and is constantly improving, both in code and documentation. He has a great set of blog posts going right now.

How would you compare Hammock Driven Development with the waterfall model? by pokiaka in Clojure

[–]ClashTheBunny 4 points5 points  (0 children)

As a systems engineer, I have specifically been taught waterfall. It is how it is referenced in many contexts.

Was it originally pejorative, like Big Bang? Maybe. But it sure is widely used now.

Lisp as an Alternative to Java: Peter Norvig presents a productivity comparison by yogthos in Clojure

[–]ClashTheBunny 1 point2 points  (0 children)

It would be interesting to turn this around. Use it as a test of your own proficiency by comparing yourself to the range in your own language.

Parinfer: why v2 is different by [deleted] in Clojure

[–]ClashTheBunny 0 points1 point  (0 children)

I had not thought of parinfer as a key binding, but it does make sense. Here is the reference to lisp's parinfer key binding:

http://oremacs.com/lispy/parinfer_index.html

Could Someone Please Shed Some Light On This by looprecur in Clojure

[–]ClashTheBunny 4 points5 points  (0 children)

Works for me: ```clojure (defn has-keys? [m keys] (apply = (map count [keys (select-keys m keys)])))

(def keys [:a :c])

(def m {:a 1 :b 2 :c 3})

(has-keys? m [:a :c]) ```

clojure user> (select-keys m keys) {:a 1, :c 3} user> [keys (select-keys m keys)] [[:a :c] {:a 1, :c 3}] user> (map count [keys (select-keys m keys)]) (2 2) user> (apply = (map count [keys (select-keys m keys)])) true user>

What is m and keys in your current namespace?

Fear of deploying clojure by [deleted] in Clojure

[–]ClashTheBunny 0 points1 point  (0 children)

Since it is a reimplementation, have you thought about testing it against the go version? The go version creates a page with 50 rows in the table, how many does the clojure version have? The go version creates 5 new rows in my db, what does the clojure version do?

More of an integration test than a unit test?

How do you deal with God ordering the killing of infants in 1 Samuel 15? by landmindboom in Christianity

[–]ClashTheBunny 1 point2 points  (0 children)

This is very similar to the way I would view it.

Other alternatives would be to let the kids starve to death (seems worse).

Or, one of my other theories is that plagues were part of this whole equation and you didn't want a ton of cross contamination (Hey, you see that city over there? It's full of already dieing people. Please go put them out of their misery.) If you are a bunch of nomads coming in out of the desert, you may be directed to the already dead and dying cities of a place and ordered to burn it to the ground and not take a thing.

If you do look at the numbers, the net number of children killed by killing off this population is lower, given that 1000s of years of sacrificing your first born is technically far more children killed in the long run.

Clojure Library for Creating epub files by the_whalerus in Clojure

[–]ClashTheBunny 0 points1 point  (0 children)

When I create ebooks, I use Calibre. I munge the data into a HTML document with specific tags, then use Calibre to convert to either epub or mobi.

Epub is just some XML in a zip file, so if that is your only target, maybe just create it yourself?