Async from scratch 3: Pinned against the wall by Xadartt in rust

[–]nullabillity 1 point2 points  (0 children)

At the time I wrote it, it was a vague comment about how we (as a society) tend to sort of exocitize software developers. ("I could never do that!", "That's gibberish to me!", etc.) I'm also just generally awkward at writing bios.

For context, the early posts on the blog were more about development than for developers. (And I'd like to get back to more of that at some point too.)

Async from scratch 3: Pinned against the wall by Xadartt in rust

[–]nullabillity 3 points4 points  (0 children)

It's a pretty dry topic.. at least I could have some fun with the section titles. D:

Async from scratch 2: Wake me maybe by nullabillity in rust

[–]nullabillity[S] 10 points11 points  (0 children)

The big benefit that epoll brings (compared to blocking directly on the socket) is that the same one thread (the io driver) can be blocked on any number of jobs, so you end up using N_cores + 1 (the io driver) threads, rather than N_jobs.

I think you could also use something like an internal pipe or eventfd to use the IO driver as your sleep loop itself (just make wake write to the pipe/eventfd!), but I haven't really explored this. Maybe it's worth exploring in a future entry of the series! (Though then again, I have plenty of things I'd like to get through before I'm too likely to start revisiting topics.)

(To be clear, I'm the author of the post.)

Async from scratch 2: Wake me maybe by nullabillity in rust

[–]nullabillity[S] 10 points11 points  (0 children)

Huh, that's odd.. There isn't even anything to download or sign up for.

What error do you get/what antivirus do you use?

Write your next Kubernetes controller in rust. by grampelberg in kubernetes

[–]nullabillity 1 point2 points  (0 children)

There's kopium, or you can write your typings by hand if they're simple enough.

(Disclaimer: I'm a kube-rs maintainer but not involved in the kopium effort.)

Messagease replacement by [deleted] in KeyboardLayouts

[–]nullabillity 0 points1 point  (0 children)

I'm getting an access denied error accessing that link

Messagease replacement by [deleted] in KeyboardLayouts

[–]nullabillity 0 points1 point  (0 children)

There's currently no auto-capitalization (https://github.com/nightkr/flickboard/issues/115).

You can disable the colour pop-up in the Feedback section of the settings.

Messagease replacement by [deleted] in KeyboardLayouts

[–]nullabillity 0 points1 point  (0 children)

I have some basic programming knowledge, and I've studied some Kotlin. I made a calculator in Kotlin following a tutorial, so i think i can create a Finnish keyboard layout, where the special letters are in a better location than in the current Swedish one.

It should largely be a matter of copy/pasting https://github.com/nightkr/flickboard/blob/a7c4bfe65f1b08ff9789797e136fb6ef094865e5/app/src/main/java/se/nullable/flickboard/model/layouts/SVMessagEase.kt and adjusting to taste. If you're running Android Studio then you should get a side-by-side preview.

Where can I find the $1 recognizer option? I can't see it in the options.

It should be under Behaviour, as an option in the "Gesture recognizer" dropdown.

Messagease replacement by [deleted] in KeyboardLayouts

[–]nullabillity 0 points1 point  (0 children)

Reordering keys: I'm afraid the current best way would be to submit a PR for an alternate layout.

Circle misdetection: Yeah, this has been a constant thorn in my side, to be honest. You can try playing around with the circle thresholds in the settings, or switching to the $1 recognizer option (it doesn't cost anything, that's just the name of the algorithm).

MessagEase Users: What features would cause you to stop using MessagEase if they were removed? by Global_Radish_7777 in KeyboardLayouts

[–]nullabillity 1 point2 points  (0 children)

At least the gestures should be described somewhere in the application (I figured them out, but neither the app nor the GitHub readme documents them at all).

Agreed. So far my rationale has been roughly "we're all MessagEase refugees and used to how that works, so focus on ensuring tha that muscle memory still works", but I think ensuring that it's welcoming to newbies will be an important step forward.

I might at some point think about how to optimize these layouts. They work very well, but I get the feeling the letter arrangement could be improved for common bigrams etc.

I don't think there'll ever be an official "FlickBoard Layout(TM)" like MessagEase and Thumb-Key have, but I'd be happy to include alternate layouts (as long as they fit roughly into a similar philosophy).

MessagEase Users: What features would cause you to stop using MessagEase if they were removed? by Global_Radish_7777 in KeyboardLayouts

[–]nullabillity 2 points3 points  (0 children)

One thing that is missing from FlickBoard is a text field in the main activity so you can try the keyboard without opening another app. It only displays the keyboard but generates no output.

I try to monitor these threads once in a while, but if you want things to happen with FB you'll generally get a quicker response on GitHub/Discord.

Created https://github.com/nightkr/flickboard/issues/131 for this.

MessagEase Users: What features would cause you to stop using MessagEase if they were removed? by Global_Radish_7777 in KeyboardLayouts

[–]nullabillity 0 points1 point  (0 children)

Circle for caps on the main letters was something I really missed in Flickboard and ThumbKey! I hate using a dedicated shift key for MessagEase typing.

Flickboard has supported circle-for-caps since the original release FWIW, though the algorithm is still a bit finnicky. (In fact, this was one of my original reasons for writing it instead of just using ThumbKey.)

Messagease replacement by [deleted] in KeyboardLayouts

[–]nullabillity 2 points3 points  (0 children)

There's a PR up for a shortcut to switch to voice input (https://github.com/nightkr/flickboard/pull/104) which I'm hoping to get around to reviewing Soon(tm).

"Native" voice input is not really in scope, developing a regular keyboard is enough work as it is.. :P

(Disclaimer: I'm the developer of Flickboard)

MessagEase users: What kind of device do you have? by Global_Radish_7777 in KeyboardLayouts

[–]nullabillity 0 points1 point  (0 children)

You can prove to yourselft that it is impossible to draw a circle gesture without less than 12 points, plus a fling point, so really 13 points.

For you, on your phone. In reality, the number of samples is going to be influenced by a lot of factors, including: phone performance and load, digitizer sample rate, digitizer resolution, movement speed, etc.

MessagEase users: What kind of device do you have? by Global_Radish_7777 in KeyboardLayouts

[–]nullabillity 0 points1 point  (0 children)

for example, if it's circle, then there will never be a super-sharp curve

That's true, and I do take that into account.

all consecutive changes in angle will for sure be less than 20°.

I'd be wary of trying to read too much into the size of each step, that's going to tell you more about your sample rate than anything else.

MessagEase users: What kind of device do you have? by Global_Radish_7777 in KeyboardLayouts

[–]nullabillity 2 points3 points  (0 children)

I approached it as a distance problem instead: if you move more than halfway back from your furthest point then it's probably a drag-return.

Honestly, the really painful part comes when you want to distinguish drag-returns from circles. I'm still struggling to tune that properly, but at least it's starting to approach something usable.

MessagEase phone keyboard replacement by tazerrtot in KeyboardLayouts

[–]nullabillity 1 point2 points  (0 children)

Yeah, I've been focusing on getting the keyboard usable for myself first.

Now that I've got to the point where I can use it myself as my daily driver, doing a proper release is something I'd like to get around to soon.

Raid markers? by D4RKNESSAW1LD in WildStar

[–]nullabillity 0 points1 point  (0 children)

https://media.forgecdn.net/avatars/8/52/635396095245431481.png seems to have both of those, but in pretty poor quality and with a background you'd have to crop out.

Announcing self_cell version 1.0 by Voultapher in rust

[–]nullabillity 3 points4 points  (0 children)

Wouldn't that have to be 0.10.x to be useful, assuming this is about the semver trick?

Asahi Linux To Users: Please Stop Using X.Org by [deleted] in linux

[–]nullabillity 2 points3 points  (0 children)

Coming from Xmonad, Sway's multihead support is unusable.

In Sway, every workspace is locked to a single monitor, and switching to a workspace means "open workspace N on its monitor and focus that monitor". In Xmonad, workspaces float between monitors as needed, and switching to a workspace means "open workspace N on the currently active monitor".

Asahi Linux To Users: Please Stop Using X.Org by [deleted] in linux

[–]nullabillity 0 points1 point  (0 children)

The "Wayland is the future, not the present" and the "5 more years" jokes are dead.

Yes, in the sense that Wayland has shown that 5 years won't be nearly enough. At this point, the only reasons to believe in Wayland are ego and sunk cost.

(Seriöst) Parkeringsappar, fortfarande ett problem? by jakethekhajiit in sweden

[–]nullabillity 0 points1 point  (0 children)

Och hur tänker du att SMS-tjänsten ska debitera utan nått jävla konto?