@SmartFella The USBC is my Dock, so unplugging it would unplug 2 monitors, mouse, keyboard PLUS the undesired computer power. It is all or nothing.
@SmartFella I think the power plugged in to the dock is only 18v (phone), which is too little for the full charge demands . I want the computer to stop making that demand , since it has a direct connection for power.
@SmartFella the Dell Precision has a power pORT for a round AC plug, and also a single USBC port from which I can draw. Power through the dock. Yeah, weird that it has two ways to take a charge
@SmartFella It's not actually my phone charging it. It's a charger that used to be used to charge a phone but is now the power-in for my dock
My Dell laptop has a power cord/port, and it can also be charged by the USBC dock. The BIOS doesn't offer me the ability to turn off USB charging, though, so my low-power phone charger barely manages to charge the computer and power the HDMI connections and peripherals. I hoped the BIOS had the option, but basically I want to be able to say, "don't charge from the USBC when you are also charged in to the power port." Is that too much to ask?
@asamonek Great questions! As a first note, "map" is a higher order function that works basically the same in Clojure, JavaScript, Python, Perl, and many (most?) programming languages.
Importantly, it is NOT to be thought of as returning a subset (that would be the similarly ubiqitous `reduce` function, or in Clojure, variants like `(for)` and `(filter)`). Rather, all map functions across these languages serve to "map" a given function across a plurality of targets (a "collection", in Clojure parlance).
Have you yet encountered the algorithm Map Reduce, made famous by Google's heavy use of it last decade? This feels relevant to your line of inquiry. https://en.wikipedia.org/wiki/MapReduce
I found out about the hardware limit to the number of external screens you can setup. Today I also learned that there is, apparently, a resolution limit too. The TV I was connecting was defaulting to a super-high res and breaking the setup. When I got it to the res I really wanted, everything was better.
To whom it may concern: maybe I am just behind the curve, but if you are getting "reagent/render is deprecated" warnings in your #ClojureScript project, the answer is that the function moved to reflect changes in the React.JS project. Now it's reagent.dom/render
This was fun. I've never had reason to look in to bit operations in Clojure.
---
RT @Endless_WebDev
@kelvinmai I came up with this when I discovered the `bit-xor` core function. You can remove 3 or 4 lines if you don't need to take collections, and it can be adapted to any coll you want (eg maps). Fun!
https://twitter.com/Endless_WebDev/status/1491179309238992897
PHP with suprisingly solid results (thanks, Facebook) but Node in the competitions, only looking to go up thanks to Google's interest in V8. Also, Go rocking it. Wait, are they Goog too?
---
RT @askonomm
@Endless_WebDev Why is JS not good for back-end? I’d say it’s pretty okay https://www.toptal.com/back-end/server-side-io-performance-node-php-java-go
https://twitter.com/askonomm/status/1490975767882174464
The rhetoric is annoying, but the principle is good. This is what decentralized web3 is really about
JavaScript is not good for backend and offline stuff.
React is... a really good thing on JavaScript, but sometimes SSR is wiser than SPA.
Python is great for scripting and new users.
Solidity is good for Etherium (I think).
Clojure is good for... well, everything? No?
---
RT @VittoStack
JavaScript is a tool.
React is a tool.
Python is a tool.
Solidity is a tool.
Concentrate on solving problems with the right tool, not on the tool its…
https://twitter.com/VittoStack/status/1490659106683764737
RT @WIRED
When North Korea hacked US security researchers over a year ago, they had no idea one of them might bring down the country's global communications from his own living room: https://wired.trib.al/ffHNlvG
🎨: Jacqui Vanliew/Getty
Full Stack Clojure web app engineer