HN user

gregstoll

208 karma

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

Posts6
Comments61
View on HN

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)

Pwned, the book 4 years ago

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.

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!

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

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.)

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.

The Leave 16 years ago

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.

Bloglines to close 16 years ago

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?