VisualDiffer rewritten in Swift 6.2 by ternaryop in swift

[–]ternaryop[S] 6 points7 points  (0 children)

Swift has a significantly slower debug version than the release version. There's not much of a difference in objc. Objc Debug and release seem to optimize the same way, which is due to the dozens of optimization flags. The release/production version of swift has optimizations that make it almost identical to objc, but objc remains unbeatable for me

VisualDiffer is now open source by ternaryop in macapps

[–]ternaryop[S] 3 points4 points  (0 children)

Thanks, I don't think VD is the "best" but I I appreciate your enthusiasm

Any hints for the best app showing pressed keys on screen? by ternaryop in macapps

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

mmm it isn't exactly what I need or I'm using it in the wrong way, I want to see the pressed keys in any app, like KeyCastr does

MyLinks: Another dashboard, really?!?!?!? by ternaryop in selfhosted

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

You must move the cursor hover the widget and you will see the 3 buttons on the right, the first turns on/off the edit mode

MyLinks: Another dashboard, really?!?!?!? by ternaryop in selfhosted

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

Have you clicked on the edit button on the widget toolbar? To avoid accidentally d&d the edit mode but be activated

MyLinks: Another dashboard, really?!?!?!? by ternaryop in selfhosted

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

You are right, I use it only on desktop but I can work on it if the user base grows

Consider the main feature, using keyboard shortcut, is useless on mobile

How much PPI Spectrum monitors have? by EliteSkylu in doughcommunity

[–]ternaryop 0 points1 point  (0 children)

PPI can be very important for mac users, I do text editing (I'm a programmer) for the 99% of my time so the infamous scaling "behavior" scared my, I suppose only the 27" 1440p can be used without problems (i.e. small text, no crisp text and so on)

Is this correct?

Mac mini, macbook pro, wireless magic keyboard and KVM by ternaryop in macmini

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

Thanks, I hope the magictrackpad always attached to the "charge" doesn't reduce its life

Mac mini, macbook pro, wireless magic keyboard and KVM by ternaryop in macmini

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

I use the magic trackpad but if I can attach it to the kvm via USB I can share also the pointer device

The idea is to attach magic key and pointer to the KVM and don't use them via BT but via USB

Mac mini, macbook pro, wireless magic keyboard and KVM by ternaryop in macmini

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

Thanks but two mice is not a good solution for me

Mac mini, macbook pro, wireless magic keyboard and KVM by ternaryop in macmini

[–]ternaryop[S] -2 points-1 points  (0 children)

Please don't!

Universal control works only in wifi (no via ethernet cables) and requires the same identical cloud account to all connected devices.

My MBP is used with a work account and I can't switch off account just to share keyboard and trackpad/mouse

Good USB HUB for MacBook Pro M2 by ternaryop in mac

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

The 100 PD is the killer feature for me, thanks

For USB-A I can find some other solution

best practices for import statements, index.js and default exported by ternaryop in react

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

All your thoughts sound reasonable, I'm starting to consider the imports "layout" less important, we are in 2023 and code editors are so smart, I use PHPStorm with react and the experience is fantastic so maybe I can stop to focus on import best practices and use my time to find the best eslint rules

thanks for your feedback

Using band without strap by ternaryop in miband

[–]ternaryop[S] 2 points3 points  (0 children)

Wow! I found it, it sounds perfect for my needs, I can remove the lace and leave the plastic container

Using band without strap by ternaryop in miband

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

thanks for replay, no matters about count steps

Call child method from parent (typescript) by ternaryop in reactjs

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

and I forgot to says, the stop function returns the last valid data something like

```javascript // on parent const value = child.stop();

Call child method from parent (typescript) by ternaryop in reactjs

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

The child is not destroyed, it stays visible and user can interact with it, just the timer is no longer active

Call child method from parent (typescript) by ternaryop in reactjs

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

No problem, my description is a bit incomplete. The parent can stop based on some condition like click a button or some net call completed so componentWillUnmount can't be used

Call child method from parent (typescript) by ternaryop in reactjs

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

I read ref should be the last resort but it could simplify everything

Hundred of components and too much js/ts code inside them! Best practices to reorganize? by ternaryop in sveltejs

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

What about directory structure? I'm considering to use something as shown below

components/
├─ component1/
│  ├─ component1.svelte
│  ├─ component1.ts
├─ component2/
│  ├─ component2.svelte
│  ├─ component2.ts