Furthermore, Russ Cox (author of Go’s regexp library and significant contributor to re2) mentioned this interesting tradeoff.
> Second, Go is using a different algorithm for regexp matching than the C implementations in those other languages. The algorithm Go uses guarantees to complete in time that is linear in the length of the input. The algorithm that Ruby/Python/etc are using can take time exponential in the length of the input, although on trivial cases it typically runs quite fast. In order to guarantee the linear time bound, Go’s algorithm’s best case speed a little slower than the optimistic Ruby/Python/etc algorithm. On the other hand, there are inputs for which Go will return quickly and Ruby/Python/etc need more time than is left before the heat death of the universe. It’s a decent tradeoff.
Yeah, the language of the regex implementation and the API were the two biggest factors. Go’s regexp package only allowed you to run 1 regex expression at a time while hyperscan and re2 allowed you to pass in a set of expressions to run all at once.
We started off using Go's regexp library for our regex needs, but it wasn't made for our unique use case of running 40+ regular expressions over terabytes of data.
Here's our experience benchmarking Go's regexp against Intel Hyperscan and Google re2, hope it's useful!
Agree with the parent commenter some more elaboration on how your seemingly low profitability isn't a concern in the long term would be helpful to understand as I don't see immediately how your investments in the short term will help in the long term. The table makes it seem you spend -$464,071 to make $477,449 but your comment here makes it seems like 460k sales actually only cost 200k in raw materials, which is impressive!
Would you care to share how does this app work under the hood? I think the hacker news audience would be more interested to understand that then to use the app per se haha. Do you parse the page for a bulleted list next to certain keywords?
Also why not just make this a browser extension instead of an app to remove the step requiring the user to scan a QR code?
So schema.org has a standard json schema for recipes. Crawlers use this information to parse and figure out what kind of content lives on the page.
Since google encourages this and ranks pages with schema higher, all recipe blogs and sites add this schema to their html.
This is structured data. I just parse this json.
Not all recipes follow this though. So you may occasionally see error messages for old sites that have not implemented schema.org structure.
Regarding your second question, I built this as a side project to learn flutter. I learned the basics of flutter and wanted to build something with the newly-acquired skill.
Hence the mobile apps and web app. All these are built with flutter. :)
Let me see if I can integrate this inside a browser extension.
ohh interesting, I didn't know about schema.org -- that's pretty cool!
No worries about making it a browser extension. I wasn't sure if you're trying to make this into a business or not. I would envision this working similarly to iOS's reader mode but for recipes. Best of luck!
thanks for the valid feedback -- I'm still trying to figure out what I want to do with my blog and definitely got carried away with SEO/Growth Marketing tips I've incorporated towards the end of the article. I'm not sure whether to go down mtlynch.io 's path of being a solopreneur or Daniel Vasello's deconstructing his career in SWE or a more pure scott aaronson or star slate codex blog.
I'll change it to something less 'fishing' and rather more open if people want be notified of posts. In retrospect, I'd rather just share my stories, guiding principles, and tacit knowledge I've developed than try to sell a course or a guide at the moment
With regards to the title, I hope the story I shared about the uber driver and my experience with the mismatch between my degree and what I had to learn on my own to become employable speaks to why I believe the title is true. I'll consider changing my essay's point of view from 3rd person-ish -- but again I'm still trying to find my voice so it's a work in progress
thanks for reading! I thought the discussion here was pretty cool too
Could you say that for all engineering graduates at the majority of universities (even the bottom 50%)? I know plenty of people who had internships and were effectively employed a year before graduating, but I can't say the majority of people are in that position.
If education is just 2k euros rather than the 15k (public) or 60k (private) in the US, I agree it's much less of an issue for sure because much less is at stake.
It’s 2k only if your family is on the top wealth bracket. For most people is way less and if you are in the lower. Rackets you even get money to attend. Can’t say it was that easy to find employment for everyone graduating in any university… for sure it was for all my class mates (we graduated in computer engineering). I know it was almost equally easy for other majors graduates…