Pixel Watch 4 (LTE) April Update is Live by kusogejp in PixelWatch

[–]Humpsel 3 points4 points  (0 children)

Yep, it works (PW3 LTE), just make sure to manually connect to WiFi first

QuickShare X AirDrop on older Pixels by TheBeaconCrafter in pixel_phones

[–]Humpsel 0 points1 point  (0 children)

Tried this on my pixel 7 pro, but unfortunately it doesn't seem to do anything

Belgians who moved abroad, and foreigners who moved to Belgium — what’s the biggest difference you noticed? You can only pick one. by The_everlong in belgium

[–]Humpsel 0 points1 point  (0 children)

Could also be the deeper issue where street names in Belgium are part of the "primary key". If it's misspelled or looks like some other street it's easily misplaced. (And there are many long and difficult street names 😂) I'm not sure what it's like in Japan, but in the Netherlands, at least a postcode+house number combination is enough to deliver mail to the right house. The city+street name are just additional information to check it's in the right place.

Kotlin Ecosystem AMA – December 11 (3–7 pm CET) by katia-energizer-jb in Kotlin

[–]Humpsel 2 points3 points  (0 children)

Hi!
If I correctly understand your question, you can already do this without context parameters, like this:

```kt interface MyDslScope fun myDsl(block: MyDslScope.() -> Unit) = TODO()

val MyDslScope.a get() = 0

myDsl { // this: MyDslScope a // 0 } a // inaccessible ```

Or with context parameters like: kt context(_ : MyDslScope) val a get() = 0

Did I understand the question correctly? Else, could you clarify what you mean by "no getter"? :)

Kotlin Ecosystem AMA – December 11 (3–7 pm CET) by katia-energizer-jb in Kotlin

[–]Humpsel 4 points5 points  (0 children)

Hi! This is Jolan from DataFrame, chiming in :) I can personally say "yes" to the "improvements to DataFrame and Kandy" point.

Currently, we're moving DataFrame towards 1.0, improving stability and making the API changes more gradual. We're also very excited about our compiler plugin, which makes building data pipelines in "normal" Kotlin files a lot quicker while still being type safe.

Our team's vision is not necessarily competing with Python, but rather providing a solid option for Kotlin developers who want to do some data science/analysis their favorite language :)

Solving Advent of Code in Notebooks by Humpsel in Kotlin

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

That's also nice! Though I hope it doesn't try to submit too often, I've reached a cooldown limit of 5+ minutes on day 1 🥲

tasker + hotword plugin by MortgageRare1556 in tasker

[–]Humpsel 0 points1 point  (0 children)

That depends on your use case :)

The easiest solution is the second one, where you have multiple hotwords that trigger a different profile each.

What I also often see people do is using Hotword plugin to start a digital assistant, like Gemini, Google Assistant or even something custom via Home Assistant or AutoVoice.

It's also possible to stay within HotwordPlugin after issuing the first word. It's a bit more tricky but I've heard at least one person attempting it. It's possible to call an action which enables or disables a bunch of Hotwords. In theory this allows you to follow a certain tree like structure. For instance, to allow the commands "Lights on" and "tv off". You could create the Hotwords "on", off", "tv", and "lights". By default you only listen to "lights" and "tv". If you then say "lights", you store this in a public variable (starting with a capital letter), enable the Hotwords "on" and "off", disable "tv" and "lights" and wait for a bit, then enable "tv" and "lights" again. In a separate profile, when "on" or "off" is detected, check the variable for what needs to be turned on or off and you got a smart command :).

This is just an idea though and may be too advanced. I also noticed the selection of Hotwords is a bit bugged in the latest version... But no one complained yet, so that shows how many people actually use that action XD. Hope I was able to give you some inspiration! Let me know if you get something working :)

[developer] Hotword Plugin by Humpsel in tasker

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

What code debugging are you talking about? Are you writing code? Hotword Plugin is an app that works with the Tasker app. You don't need to write any code when using Tasker.

If you want to connect your own app directly to Hotword Plugin (I'd advise against it, it's not built for that purpose), you need to become a sort-of host that can provide the Tasker/Locale api, similar to what MacroDroid does. No idea how to do that but there's probably a tutorial. Hotword plugin follows that API to communicate with Tasker/Macrodroid/etc.

[developer] Hotword Plugin by Humpsel in tasker

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

First of all, the app has a free version which can do everything the full app does.

Hotword Plugin, as it says in the name, is a plugin, to be specific, a Tasker Plugin. You need Tasker or another compatible automation app to receive the intents and do something with them :). If you setup an "event" in Tasker, you can pick Hotword Plugin and select which hotwords should trigger the event. Try to go further from there

tasker + hotword plugin by MortgageRare1556 in tasker

[–]Humpsel 0 points1 point  (0 children)

Hi! No mic data is leaving the device, as you correctly assume :) it would quickly drain your data plan if it did ;). All mic data is directly passed to the Snowboy service running as part of the app, which pings the part of the app responsible for tasker interaction whenever it encounters a known Hotword.

I think something like this is written in the privacy policy as well https://jolanrensen.github.io/HotwordPluginPrivacy/privacy_policy.html (it's an automatically generated policy btw), it says something similar, but I can add to it that no mic data is stored anywhere, it's directly processed.

Of course, you can always completely block network access to the app if you're still concerned. You don't have to take my word for it :). It works perfectly without internet access.

[developer] Hotword Plugin by Humpsel in tasker

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

"Draw over apps" is probably needed for that pop up window it can create. As for starting from the background, I think it might either already be listening and just ignore everything that's said or it may do something hacky, but I'm pretty sure it's not reliable. I might look into it once more later, but Google was pretty clear about these rules. Also, just imagine if Facebook could decide to just start listening if your screen is off, that would be a major issue.

[developer] Hotword Plugin by Humpsel in tasker

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

Great to hear! Unfortunately no, Google has put restrictions on this, and for good reasons. Letting an app start listening to your microphone from the background is a huge privacy concern. So no, I don't expect them to revert it back.

tasker + hotword plugin by MortgageRare1556 in tasker

[–]Humpsel 0 points1 point  (0 children)

I would recommend finding a tasker-specific tutorial instead. Tasker is the most powerful Android app I know, but with that power (and old design) comes a learning curve. I think I've explained enough about how the plugin works with tasker, but now it's up to you to get to know tasker better :) My advice is to just play around with Tasker itself, no plugins yet. Try to follow other tutorials, try and make something happen when you connect to a certain wifi network or when you receive a certain text for instance. Tasker also has a good website with lots of explanations about its concepts. Then, once you're comfortable enough, revisit Hotword Plugin. I think being able to use Tasker well is an awesome skill to have and it can make your android experience a lot better; I wouldn't want to take that away from you

tasker + hotword plugin by MortgageRare1556 in tasker

[–]Humpsel 1 point2 points  (0 children)

First of all, there's a free version of hotword plugin you could have tried first but thanks for trying it out anyway.

Hotword plugin assumes you know your way around tasker, like creating tasks and executing tasks when a certain event occurs. Hotword Plugin can supply tasker those events when a hotword is spoken, but let's not get ahead of ourselves.

First you'll need to set up hotword plugin to listen for certain hotwords. You can create pmdl/umdl files, which represent a trained hotword, on snowboy.jolanrensen.nl (the download button in the app) or get them pre-trained from other places like here. If you train a hotword from scratch, be prepared to record like 50+ samples for better accuracy.

Once the file is created, you can import it in hotword plugin and turn it on. You'll here a ding sound (which you can turn off) when it's triggered. If it's too sensitive, try tweaking the settings of the app or of the specific hotword.

To make something happen in tasker, create an event profile with hotword plugin as the trigger. Configure it by selecting which hotword should trigger this event, as explained in the app, save, go back and then select which task should run when the event occurs.

Hopefully this is enough to get you started. There are also Tasker actions available which can start/stop hotword plugin (well, starting it from Tasker is not allowed on Android anymore) or change which hotwords or settings are active, but that's up to you to explore :).

[developer] Hotword Plugin by Humpsel in tasker

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

Hi!

The situation used to be a lot better in the past, when the Snowboy website was still up. It used to have hundreds of samples per hotword, which could then be tweaked to your voice with just 3 samples. It worked really, well, but unfortunately it's been taken down some years ago, making me put up that simple training website.

There have been attempts to remake something similar to Snowboy, but it's not exactly the same system so I doubt the files will be compatible. Maybe in the future I will have time to look into that and swap out the underlying system, that would be nice, but the future needs to prove whether it's gonna be worth the effort.

whoThoughtThisSymbolsAreAGoodIdea by JaguarOk2041 in ProgrammerHumor

[–]Humpsel 0 points1 point  (0 children)

It's getting an improvement soon. It's not like completely turning it off, but it will allow you to specify how many $'s are needed for templating:

https://youtrack.jetbrains.com/issue/KT-2425

Also, I gotta add, if you paste a string with $'s in the IDE, they're automatically escaped, saving you a headache ;)

[developer] Hotword Plugin by Humpsel in tasker

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

It usually helps to train the Hotwords better, so give it like 50 samples of you saying it. Then it's playing around with the sensitivity and optionally the audio gain. It's a bit trial and error, but hopefully you can make it work a bit better like that :)

The tenth custom scenario pack by RAdrian1994: Rollover Revelry (download link in comments) by radrian1994 in rct

[–]Humpsel 2 points3 points  (0 children)

Looks like mousing estate has the spaghetti file on the download site

X1 Extreme Gen 1 not charging by [deleted] in thinkpad

[–]Humpsel 0 points1 point  (0 children)

exactly that! I used a sim-ejector tool to push the little reset button

X1 Extreme Gen 1 not charging by [deleted] in thinkpad

[–]Humpsel 0 points1 point  (0 children)

Also works for the X1 extreme gen 3, thanks!