1. 4

    Fixing some bugs with the annotations feature in my voice control for chrome extension and adding some more fun plugins: https://www.lipsurf.com

    1. 1

      I’d also like to know What are you using for speech recognition underneath?

      Looks like its something generic since text replacement is used for postprocessing to improve accuracy.

              "please tab": "previous tab",
              "fort worth": "forward",
      

      or even

              "ghost app": "close tab",
              "collect a blonde": "select tab 1",
      
      1. 2
      1. 4

        So while I agree with what alexandria said, this is actually frickin’ fantastic.

        I installed it and gave it a go for its money. Browsed reddit a bit, looked at the help, navigated with annotations…so frickin’ sweet! This is so, so impressive. I’m actually wondering how you have made something so good and professional and are giving it for free. You are a saint.

        And top of all this, the plugin API…is frickin’ sweet itself. Tailored voice controlled sites is the way to go, and here you have created a super easy way to do that.

        I guess you could create a company that creates these tailored experiences.

        I’m definitely keeping this extension installed, and I don’t say that too often :) Hey, how about you create a plugin for lobste.rs? :D

        23:51 EST: I see the source is not open. How can I be sure your extension is not recording what I’m saying, browsing, etc? (Obviously there are non-invasive ways to check, but still)

        I was thinking as an improvement, have an option to keep annotations on always. It is annoying to say “annotate” all the time. As well as “go back” when “back” or “forward” suffice.

        What are you using for speech recognition underneath?

        1. 1

          Thanks for your feedback!

          Hey, how about you create a plugin for lobste.rs? :D

          I probabably will, if no one else does it before me: https://github.com/lipsurf/plugins

          23:51 EST: I see the source is not open.

          The core of it is not open source, but as it is just a chrome extension and written using JS, the source is always visible and verifiable technically

          I was thinking as an improvement, have an option to keep annotations on always. It is annoying to say “annotate” all the time. As well as “go back” when “back” or “forward” suffice.

          The annotations should be staying on? I definitely need to improve those (spent too much time doing Japanese support recently) Also just saying “back” or “forward” should also work, check out the options where you can see all the command words for each plugin.

        1. 5

          While I appreciate the potential uses of this, I have to say that one of the nicest habits to build is paying attention to one’s food.

          Food consumption usually comes in two kinds: Group - so, there are people around you to talk to while you eat Solitary - i.e. you are eating on your own

          What I’ve noticed is that adapting my habits from, say, watching TV while eating, to simply sitting down, looking at my food, and eating, takes me from the frame of mind of food-as-sustenance to food-as-pleasure. What I notice is that usually if I watch or am otherwise distracted while eating food, I will tend to eat it very fast, which, (sure, while causing digestive problems) tends to make the food itself less pleasurable, and usually means I feel peckish shortly after, because while I physically feel full, it’s like my brain has not quite got the message. Whereas if I focus on the food, I am not just more mindful of my surroundings, but of the flavors that my food has. It also tends to mean that I feel fuller for longer, weirdly (as per the reverse of the aforementioned food-hunting). To me, there is a certain mindfulness about it, and it generally makes the days when I do it, more memorable and pleasurable for some reason.

          Aside from the above, I’m really not able to describe why it’s a good thing, and why it feels good to me. But, I encourage the reader of this to try it.

          I hope this doesn’t come off as a ramble, and I’m sorry for any errors in the previous text. I’m low on sleep and ‘spoons’ right now.

          1. 6

            My mom always told me stuff along those lines :) Regardless, the extension is not limited to that use case.

            You could, for instance, setup a voice shortcut to perform a task in the browser that would usually take multiple steps. It can be intricate yet have a simple voice interface. For example, if you wanted to limit yourself on time-sucking sites like facebook, twitter etc. you could make a plugin that allows you to say “open twitter.com for 5 minutes” that would open a self-destructing tab on twitter.

            Now, I don’t think that’s a unique feature in and of itself. However, the fact that there’s no complicated interface to 1) build and 2) for the user to figure out – makes it more impressive and useful IMO.

            1. 1

              I totally disagree with this. I see food as fuel. So I want eating to be as fast and efficient as possible so I can go do something else . If I can use my brain to do something else while my mouth chews, that’s even better. To spend my mind focusing on food is just taking a first step towards food hedonism. In a couple years you end up spending 4 hours at a $300-a-meal restaurant telling your table buddies how the 20g dish in front of your reminds you of your childhood summer in Tuscany.

              So I counter-encourage people to not try this^.

              1. 3

                In a couple years you end up spending 4 hours at a $300-a-meal restaurant telling your table buddies how the 20g dish in front of your reminds you of your childhood summer in Tuscany.

                Sorry, what? I really cannot agree less that that is the end goal here. Enjoying your food is something that everyone should be able to do, like living and working in surroundings that they find pleasant, dressing in clothes that are comfortable, etc. That’s like saying if I take a few minutes to really look and appreciate a sunset, after 5 years I’ll be chasing them for the purpose of doing professional photography. To be able to take pleasure in the world around us is something that, quite frankly, should be a fundamental human right.

                So I want eating to be as fast and efficient as possible so I can go do something else.

                If that’s the case why even eat diverse food at all, just prepare your soylent mulch and gulp that down.

                Something I now realise I forgot to mention, but that is present, is that such meal times are for me an exercise in good mental health – mindfulness in any form is a way of calming the mind and body and engaging in the world. Part of the adjacent point is to avoid overworking one’s self.

          1. 3

            I’ve tried a handful of different shells, and feel there’s lots of room for improvement in the language. xonsh uses python, and that made certain one-liners I had more readable and manageable. I will give this one a try next! Has anyone started using it as their primary shell, any thoughts?

            1. 4

              I’m considering NixOS as my daily driver, so I’m trying to understand it and generate a good initial configuration in a VM. The cognitive leap is being a bit harsh, but looks promising nonetheless!

              1. 2

                Also considering this. Let us know how it goes!

              1. 2

                I use cryfs for this, it’s a transparent fuse filesystem that maps one folder with plaintext (don’t store this in dropbox) into another folder with a bunch of cyphertext blocks (store this in dropbox).

                Doesn’t (yet) work on windows, not sure about mobile, but it’s pretty painless.

                1. 1

                  Although I’d prefer having everything encrypted client-side, this would break all the Dropbox functionality on my phone – hence I went with something in between. Thanks for sharing your interesting setup!

                  1. 0

                    That looks incredibly painful. There’s no way it works on anything but a Linux desktop.

                    1. 3

                      Should work on mac to… but I live my life on linux desktops so that’s good enough for me.

                      Keep in mind that the alternative we are comparing to is “manually click a bunch of buttons to encrypt a PDF for anything you want to keep secure”.

                  1. 2

                    I do have sensitive files on my cloud storage, and never got around to figuring out an ergonomic solution for my needs, so thanks for writing this!

                    I also like the proposed solution, to use PDF encryption, but how secure is it? And can you put arbitrary files into a PDF?

                    1. 2

                      Although you might be able to put arbitrary files into a PDF, I’m not sure why you’d want to do that. The point of converting the images/docs to PDF is so that you can still work with them on other devices including your phone (previewing, printing) without special software.

                      If you need to encrypt files that don’t need to be previewed so to speak, I would use OpenPGP as it’s very straightforward to encrypt any file.

                      With how I lined out the instructions, qpdf (for Linux or Mac) you get full AES 256 bit which is good enough for top secret government data Office 2013 uses AES 128 bit which is still very good and virtually unbroken “would take billions of years to brute force on current hardware” and the newest versions of Office (2016+ AFAIK) use AES 256 bit.

                      Obviously, the strength of your password plays a crucial role!

                    1. 3

                      Working on my fun little side-project chrome extension that lets you navigate a browser with your voice. It’s good for people who have hand/wrist issues and for you slobs that eat while you browse (that’s you – greasy pizza fingers keyboard guy). It is plugin-based (think userscripts for greasemonkey) so you can install site-specific plugins within the extension to work with, for example, the beloved lobste.rs and provide voice commands specifically for the site. You can say things like “click second” and it will show the second article, “back” browser back button, “pause” it will pause a video you’re watching.

                      1. 1

                        sounds fun. Do you mind if I ask a few questions? what API are you going to use for voice analysis? does something like getUserMedia work in background scripts or do you have to inject a content script in every web page?

                        1. 2

                          Just the webkit speech recognition api. Yes, it works in the background continuously with some little tricks. In chrome it goes to google’s servers which are nice and snappy. Doesn’t work in FFX yet but now that mozilla has recently released DeepSpeech there’s potential to do much more interesting things on my own servers potentially in later versions, and bring it to FFX of course.

                          1. 1

                            ah, didn’t know this was a thing. interesting API, Thanks!

                      1. 2

                        Anyone else think the aardvark desktop background looks like the top bit of a skull peering out of the screen…

                        1. 2

                          Maybe not a skull, but I could see a girl’s head with a bow on one side, and a little whisp of hair on the other side, looking sideways, kind of like a certain Japanese food company mascot.

                          To try and keep it on topic, I still don’t know if I’m sold on GNOME, but I’ll definitely at least try it when 18.04 comes out. There’s a big pile of little things across the interfaces that don’t gel with me, but I could see myself switching away from Cinnamon if they (and/or Wayland) got their HiDPI features working better. I don’t see much hope on Cinnamon’s side for the particular issues I am facing as long as it is still on X, but I put up with those because everything else works so well.

                          1. 2

                            I’ve been using the latest Gnome 3 at work and Cinnamon at home – just to experiment. Gnome sacrifices function for form and expects users to memorize more keybindings. When you alt-tab it will group windows of the same application – eg. all your terminals are grouped and you have to Alt-` to switch within the group. The window bar default does not show minimize or restore buttons. And the biggest visible difference, the top bar does not show all your windows in Gnome. If you want to know what’s open you either have to alt-tab, or press the super key to bring up the activities menu. The top bar has a lot of unused space – like new Apple products that lack ports and buttons. To contrast Cinnamon shows each window in the top bar – they’re more like thinkpad and a bit less sexy. I’m going to keep using both because I’m an indecisive person.

                            1. 2

                              There is a gnome3 shell extension to change the alt-tab behaviour back to *normal” and another one to bring minimise/maximise window buttons back.

                              1. 1

                                When you alt-tab it will group windows of the same application

                                It’s behavior from MacOS, I’m using MacOS for about 5 years and still can’t get used to it. However it makes sense there, because focus is applied to application, not window on MacOS. Displayed menu depends on app in focus and you can focus on app without windows. AFAIK, gnome has no such behavior (not tried recent versions).

                                The top bar has a lot of unused space – like new Apple products that lack ports and buttons.

                                I think it was borrowed from early 2000’s mobile phone UIs, almost all old phones (not smartphones) had similar panel too, usually without clock, but with signal strength, battery level, etc indicators. It looks out-of-context on desktop, nowadays industry is too obsessed with bringing handset controls to workstations. IMHO this panel is most frustrating thing in Gnome 3 UI.