Spyke

Posts

clojure·Clojure programming language discussionbyZak

I have resurrected clojure-android - develop native Clojure on your phone over nREPL

cross-posted from: https://lemmy.world/post/44783455

  • Run native Clojure on Android
  • Develop over nREPL
  • Build for F-Droid or Google Play
  • Write UIs in a declarative DSL with reactive cells
  • Use device sensors as reactive cells
  • Use intent callbacks without wanting to smash your device with a hammer
  • Fast startup - release builds launch in under 2 seconds on a five year old midrange phone
I have resurrected clojure-android - develop native Clojure on your phone over nREPLhttps://github.com/clj-androidOpen linkView original on lemmy.world
clojure·ClojurebyZak

I have resurrected clojure-android - develop native Clojure on your phone over nREPL

  • Run native Clojure on Android
  • Develop over nREPL
  • Build for F-Droid or Google Play
  • Write UIs in a declarative DSL with reactive cells
  • Use device sensors as reactive cells
  • Use intent callbacks without wanting to smash your device with a hammer
  • Fast startup - release builds launch in under 2 seconds on a five year old midrange phone
I have resurrected clojure-android - develop native Clojure on your phone over nREPLhttps://github.com/clj-androidOpen linkView original on lemmy.world
buildapc·BuildapcbyZak

LG 32G810SA-W.AEU for 400€ for photo editing and productivity, or something else?

The LG 32G810SA-W.AEU is available to me for 400€, which is half its typical price. My important use cases are photo editing and software development. I will be calibrating whatever display I buy using a spectrophotometer.

Specs, but here's a quick overview:

Spec-
Diagonal32"
Aspect16:9
Resolution3840x2160
Panel typeIPS
Color gamut95% DCI P3
Refresh144 Hz
Contrast1000:1
Brightness400 nits
GtG response1ms
ConnectivityUSB-C DP + PD (65W), HDMI, DP 1.4, 2xUSB-A (downstream), ethernet
FeaturesWebOS, "HDR400" (fake HDR), FreeSync, G-Sync

In the short term, at least, I'll be running it from a Thinkpad P14s gen3 (AMD), which will drive it at 60Hz. PD is nice, but 65W is a bit weak, and my laptop will drain the battery under sustained load. WebOS doesn't seem like something I'll ever use, and from what I've read, all "HDR" anywhere near this combination of size and price is worthless.

I've been known to do occasional light gaming and watch videos on my PC, which would be improved by the fast response time, but I think color gamut, viewing angles, and contrast get priority in roughly that order. I'm not finding better contrast without either a much higher price or much worse color.

View original on lemmy.world
linux·LinuxbyZak

Rant: I hate the Gnome onscreen keyboard

I mostly use KDE, but my experimentation and internet consensus point to Gnome being the most polished overall experience on a touchscreen. I'm mostly satisfied, except for the keyboard.

There's no number row. There's no second layer available by long-press. There's no setting to change either. There doesn't seem to be a great solution for using a third-party OSK like Onboard, especially on the lockscreen where convenient access to those special characters for those strong passwords we're surely all using might be of use.

The only option that works reliably seems to be a keyboard built as a Gnome extension. This falls pretty short of the feature set Onboard offers.

If I wanted minimalism to the point of hampering usability coupled with barriers to customizing my experience, I'd buy a fucking iPad... except those do have good thrid-party keyboard support. I don't understand what the Gnome team is thinking here.

View original on lemmy.world
linux·LinuxbyZak

Surface Go 2, or something else?

A family member gave me an old convertible Chromebook, which I (of course) installed Linux on for the fun of it. It has convinced me there's a place in my life for a Linux tablet, though it's not quite the right device for me.

The Surface Go 2 seems about right with less size and more memory than the Chromebook, but I figured I should ask if people like anything else. Here are some preferences:

  • 500-600g weight seems about right; the Chromebook is 1100g and that's a bit much
  • 10" or so, 3:2 or 4:3, nothing more oblong
  • Pressure-sensitive stylus support
  • Expandable storage - an SSD I can swap without a heat gun is ideal, but an SD card slot will do
  • Headphone jack
  • x86-64, not ARM
  • 8gb RAM
  • $100ish for used B-grade
View original on lemmy.world

I need a new analyzing charger

My Opus BT-C3100 smells like magic smoke and looks like this. I suppose I could change these resistors and it might be OK, but I could also buy things.

I'm looking for 2-4 slots; it should fit protected 21700s; it shouldn't have a noisy fan that runs all the time like the Opus; USB-C input is preferred, but not required.

I'm broadly aware of what's on the market, but I want to know if you love or hate yours.

View original on lemmy.world

Skilhunt announces M150 v4 with efficient buck/boost driver

For background, it's hard to make a flashlight that works well on both AA batteries (0.8-1.7V potential operating range) and 14500 Li-ion batteries (2.8-4.2V operating range) given that white LEDs need about 3V.

For a long time, companies would make lights designed for AA using a boost driver that increases the output voltage, do just enough so it wouldn't burn out with excessive input voltage, and say that 14500 size Li-ion was "supported". Max output would, indeed be brighter, but low modes were usually far too high, and the flashlights could easily damage batteries that didn't have over-discharge protection.

The Skilhunt M150 was one of the first lights to do a substantially better job. Using a Li-ion battery, it sent the power through a variable-output linear regulator so both battery types could have reasonable modes, and it would shut off to prevent over-discharge. Several competitors use a similar approach today, but linear regulators are inefficient; they just turn the excess voltage to heat.

The ideal solution is either to use a higher-voltage LED configuration and boost the output voltage for both battery types, or to use a driver that can both boost (increase) and buck (decrease) voltage efficiently. The Emisar D3AA is the only light on the market doing AA/14500 with a high-voltage LED configuration (three in series for ~9V), and I believe the new M150 will be the first one using the buck/boost approach (though it's possible Zebralight has done it in the past).

Skilhunt announces M150 v4 with efficient buck/boost driverhttps://budgetlightforum.com/t/skilhunt-offers-ec150-edc-flashlight-is-coming-soon/55534/796Open linkView original on lemmy.world
privacy·PrivacybyZak

Recommend a VPN with residential exit IPs

Some friends have safety concerns that mean they need to appear digitally as if they're inside the USA while being elsewhere physically. Standard commercial VPNs are easy to detect (else I'd recommend Mullvad), so they need an option that looks like a residential connection.

They could potentially DIY it by leaving a VPN server at a relative's house, but I'm asking here for subscription services. It's best if they have a Mac OS app that's foolproof, with a clear visual indication that it's in use, and a feature to block traffic if the VPN is disconnected.

tl;dr: what's the closest residential VPN to Mullvad?

View original on lemmy.world

Giveaway: 3000K Acebeam T35 for 3000 members

In honor of ![email protected] reaching 3000 members (yes, I know that was a couple weeks ago), I'm giving away this Acebeam T35 swapped to a 3000 Kelvin, 95 CRI Luminus SFT40. While not as bright as the original 5000K, low-CRI LED, it's sure to satisfy anyone who misses the incandescent look, but likes LED power.

Only accounts that have made a post or comment to ![email protected] prior to this post may enter. You should have a shipping address in the USA or EU, which can be a package forwarding company if necessary. Entry ends on Februrary 14 2025 at 20:00 UTC.

To enter, leave a top level comment on this post. I will select the winning entry using a random number generator next Friday.

View original on lemmy.world
fediverse·FediversebyZak

Is it currently possible to completely self-host ATProto and interact with BlueSky users?

I don't actually want to do this right now, but I do want to know if it's really decentralized yet. Completely looks like it means each of:

  • A client ✅
  • A personal data server ✅
  • A relay ❓
  • Labelers ✅
  • Feed generators ✅

It looks like the relay might be the bottleneck. If I'm understanding the protocol correctly, a relay could consume less than the whole network so it doesn't have to be ridiculously expensive to operate, but I'm not finding examples of people doing it.

View original on lemmy.world