Better HN
topnewbestaskshowjobs
Log inSign up

gregstoll

208 karma · joined Mar 4, 2008 (18y ago) · 67 submissions

My homepage is https://gregstoll.com - I have a bunch of random side projects there.
Submissions

comment 6mo ago · link · parent

Nope, our standards position on that is still negative, for one thing.

comment 6mo ago · link · parent

Hopefully it will just work, if not please file a bug! I tested with a variety of hardware and sites but of course I couldn't try everything...

comment 6mo ago · link · parent

Yup! Arduino is one of the things I tested with. (I worked on this for Mozilla)

comment 6mo ago · link · parent

(I submitted a PR for caniuse a few days ago :-) https://github.com/Fyrd/caniuse/pull/7523 )

comment 6mo ago · link · parent

As others have said, you'll get a dialog if any site actually tries to use this. But if you want to fully turn it off, just set "dom.webserial.enabled" to false in about:config (and restart Firefox)

comment 10mo ago · link · parent

https://gregstoll.com is mine

comment 2y ago · link · parent

Many more addons are now available on Android, and any extension can make itself available there (as of this month): https://blog.mozilla.org/en/mozilla/new-extensions-youll-lov...

comment 4y ago · link · parent

To be fair the blog posts have original intros that often give more context about what prompted him to write about that topic at that time.

comment 4y ago · link · parent

The author just wrote an article about this as well - https://dynomight.net/no-soap-radio/

comment 4y ago · link · parent

I'm guessing like Mt. Gox, the former bitcoin exchange that halted trading and eventually shut down.

comment 5y ago · link · parent

Thanks! Just gave this a try and it didn't seem to help, but I'll remember for next time :-)

comment 5y ago · link · parent

Yup, that makes a lot of sense - I didn't realize Python cached so many previous regex's, which is nice!

I did use cprofile a while back and I think at the time it showed a lot of time in the regexp matching. (I don't think I posted about it though) Honestly, once I implemented the parallelism I got less motivated to make it faster. But now I am kinda curious what the speed difference is between Rust and Python if I spend time trying to optimize both.

Thanks for the suggestions!

comment 5y ago · link · parent

OP here. I went ahead and tried using the slicing instead of startswith() a few places, and moving the regexes out to module variables. (thanks for the suggestions!) It did speed up, but just a little bit (from ~32 secs to ~31 secs).

I may try changing the "not doneParsingEvent" checks into something that uses "continue", I'd imagine that would probably help. (although the Rust code is structured the same way) Another thing I've considered is looking at the data and figuring out which cases are more common and checking for those first...

Another thing I considered is

14.

Become a Select Star(wizardzines.com ↗)

2 points · by gregstoll · 6y ago · discuss

comment 7y ago · link · parent

Yes - with Android Pie and above you can add a "Lockdown" option to your Restart/Shutdown menu, see https://android.gadgethacks.com/how-to/quickly-disable-finge...

You can also just restart the phone - at least on mine you can't login for the first time after a restart with a fingerprint.

16.

Famed mathematician claims proof of 160-year-old Riemann hypothesis(newscientist.com ↗)

9 points · by gregstoll · 8y ago · discuss

comment 9y ago · link · parent

The Tech Solidarity guide at https://techsolidarity.org/resources/security_key_gmail.htm has detailed instructions on how to set up 2FA with U2F and then remove SMS 2FA. (I've been holding off because I use Firefox - hopefully U2F will get more support soon!)

comment 10y ago · link · parent

I'm not sure - most mutual funds include that in their returns, but I'm not sure if stock prices/indexes do.

comment 10y ago · link · parent

I liked this chart so much I made my own version that adds options for non-inflation adjusted and dollar-cost averaging instead of lump sum investment: https://gregstoll.com/~gregstoll/stockmarketreturns/

comment 11y ago · link · parent

I assume it's a measure of the amount of malnutrition.

comment 13y ago · link · parent

I wish he had acknowledged the role of good luck. Clearly, he worked hard to get where he is, but how many other comics have done the same?

(I don't know much about the comedy business, though...maybe there just aren't many people who put in as much time as Louis C.K.)

comment 13y ago · link · parent

It's in the graphic attached to the NYT article. It's also near the bottom of the Tesla post.

comment 13y ago · link · parent

On my Lenovo laptop, there's a BIOS setting to swap them, which I was very happy to find!

comment 14y ago · link · parent

You can do the same thing - pressing the Start key does bring up the Metro UI, but if you just start typing there it does the same sort of search for apps/files/etc. that Windows 7 does.

comment 14y ago · link · parent

I'm a paid user of WorkFlowy and love it...now if it only worked in the browser on Windows Phone!

comment 15y ago · link · parent

NewsBlur is great - thanks conesus! Bought a subscription a few months ago and it's worked great for me.

comment 15y ago · link · parent

Still doing some maintenance on webOS for now (firesale TouchPads have been a nice shot in the arm...plus the fact that Palm decided to give a bunch of promo codes away for one of my apps!) but I'm working on an Android app for now and probably Windows Phone after that.

If webOS hardware comes back, I'd love to develop more apps for webOS, though.

comment 15y ago · link · parent

Here's a good thread with patches to apply:

http://forums.precentral.net/hp-touchpad/287848-my-hp-touchp...

comment 15y ago · link · parent

I believe the spec is 1GB of RAM.

comment 15y ago · link · parent

I don't think he meant more important than the holiday itself, but more important than the fact that the markets are closed today, with respect to how Apple's stock price fares.
123