HNHacker News
TopNewBestAskShowJobs

gregstoll

208 karma · joined March 4, 2008

My homepage is https://gregstoll.com - I have a bunch of random side projects there.
submissionscomments
gregstoll··on Build Adafruit projects right from Firefox
Nope, our standards position on that is still negative, for one thing.
gregstoll··on Build Adafruit projects right from Firefox
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...
gregstoll··on Build Adafruit projects right from Firefox
Yup! Arduino is one of the things I tested with. (I worked on this for Mozilla)
gregstoll··on Build Adafruit projects right from Firefox
(I submitted a PR for caniuse a few days ago :-) https://github.com/Fyrd/caniuse/pull/7523 )
gregstoll··on Web Serial Support in Firefox
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)
gregstoll··on Ask HN: Share your personal website
https://gregstoll.com is mine
gregstoll··on Firefox Sync actually works
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...
gregstoll··on Pwned, the book
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.
gregstoll··on Old jokes
The author just wrote an article about this as well - https://dynomight.net/no-soap-radio/
gregstoll··on A Note to the Celsius Community
I'm guessing like Mt. Gox, the former bitcoin exchange that halted trading and eventually shut down.
gregstoll··on Parsing baseball files in Rust instead of Python for an 8x speedup
Thanks! Just gave this a try and it didn't seem to help, but I'll remember for next time :-)
gregstoll··on Parsing baseball files in Rust instead of Python for an 8x speedup
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!

gregstoll··on Parsing baseball files in Rust instead of Python for an 8x speedup
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

gregstoll··on Cops can force your finger onto an iPhone to see if it unlocks, says judge
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.

gregstoll··on Hackers Are Hijacking Phone Numbers and Breaking into Email, Bank Accounts
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!)
gregstoll··on In Investing, It’s When You Start and When You Finish (2011)
I'm not sure - most mutual funds include that in their returns, but I'm not sure if stock prices/indexes do.
gregstoll··on In Investing, It’s When You Start and When You Finish (2011)
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/
gregstoll··on Residents in faster places tend to report feeling somewhat happier
I assume it's a measure of the amount of malnutrition.
gregstoll··on The Joke’s on Louis C.K.
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.)

gregstoll··on A Most Peculiar Test Drive
It's in the graphic attached to the NYT article. It's also near the bottom of the Tesla post.
gregstoll··on Microsoft Surface Pro Review
On my Lenovo laptop, there's a BIOS setting to swap them, which I was very happy to find!
gregstoll··on Even Windows 8 early adopters prefer Windows 7 by two to one
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.
gregstoll··on Everything in your life is just a list
I'm a paid user of WorkFlowy and love it...now if it only worked in the browser on Windows Phone!
gregstoll··on NewsBlur (hosted feed reader)
NewsBlur is great - thanks conesus! Bought a subscription a few months ago and it's worked great for me.
gregstoll··on Poll: You and Mobile Development
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.

gregstoll··on Touchdroid - Android for the HP Touchpad
Here's a good thread with patches to apply:

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

gregstoll··on HP TouchPad: Shipping July 1
I believe the spec is 1GB of RAM.
gregstoll··on The Leave
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.
gregstoll··on Bloglines to close
I used Bloglines for a long time, and finally switched away a year or two ago after the lack of innovation and some frustrating problems got to me.

It's sad that Google is the only real game in town when it comes to web-based RSS readers - anyone know of any others?

gregstoll··on How Scribd's HTML5 conversion works ... even when it shouldn't
My respect for how hard it is to convert from .pdf to HTML just went waaaay up. Scribd must have really thought displaying in HTML5 was worth a lot of trouble if they went to all this effort to be precise!
Page 1 of 3Next →